File: alignment-2.ll

package info (click to toggle)
llvm-toolchain-16 1%3A16.0.6-15~deb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,634,792 kB
  • sloc: cpp: 6,179,261; ansic: 1,216,205; asm: 741,319; python: 196,614; objc: 75,325; f90: 49,640; lisp: 32,396; pascal: 12,286; sh: 9,394; perl: 7,442; ml: 5,494; awk: 3,523; makefile: 2,723; javascript: 1,206; xml: 886; fortran: 581; cs: 573
file content (29 lines) | stat: -rw-r--r-- 1,631 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
; RUN: llc < %s -mtriple i386-apple-darwin10 | FileCheck %s
; <rdar://problem/10058036>

%struct._psqlSettings = type { ptr, i32, ptr, i8, %struct.printQueryOpt, ptr, i8, i32, ptr, i8, i32, ptr, ptr, ptr, i64, i8, ptr, ptr, i8, i8, i8, i8, i8, i32, i32, i32, i32, i32, ptr, ptr, ptr, i32 }
%struct.pg_conn = type opaque
%struct.__sFILE = type { ptr, i32, i32, i16, i16, %struct.__sbuf, i32, ptr, ptr, ptr, ptr, ptr, %struct.__sbuf, ptr, i32, [3 x i8], [1 x i8], %struct.__sbuf, i32, i64 }
%struct.__sbuf = type { ptr, i32 }
%struct.__sFILEX = type opaque
%struct.printQueryOpt = type { %struct.printTableOpt, ptr, i8, ptr, ptr, i8, i8, ptr }
%struct.printTableOpt = type { i32, i8, i16, i16, i8, i8, i8, i32, ptr, ptr, ptr, i8, ptr, i32, i32, i32 }
%struct.printTextFormat = type { ptr, [4 x %struct.printTextLineFormat], ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i8 }
%struct.printTextLineFormat = type { ptr, ptr, ptr, ptr }
%struct._variable = type { ptr, ptr, ptr, ptr }
%struct.pg_result = type opaque

@pset = external global %struct._psqlSettings

define signext i8 @do_lo_list() nounwind optsize ssp {
bb:
; CHECK:     do_lo_list
; Make sure we do not use movaps for the global variable.
; It is okay to use movaps for writing the local variable on stack.
; CHECK-NOT: movaps {{[0-9]*}}(%{{[a-z]*}}), {{%xmm[0-9]}}
  %myopt = alloca %struct.printQueryOpt, align 4
  call void @llvm.memcpy.p0.p0.i32(ptr align 4 %myopt, ptr align 4 getelementptr inbounds (%struct._psqlSettings, ptr @pset, i32 0, i32 4), i32 76, i1 false)
  ret i8 0
}

declare void @llvm.memcpy.p0.p0.i32(ptr nocapture, ptr nocapture, i32, i1) nounwind