File: freeze.ll

package info (click to toggle)
llvm-toolchain-13 1%3A13.0.1-11
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,418,840 kB
  • sloc: cpp: 5,290,826; ansic: 996,570; asm: 544,593; python: 188,212; objc: 72,027; lisp: 30,291; f90: 25,395; sh: 24,898; javascript: 9,780; pascal: 9,398; perl: 7,484; ml: 5,432; awk: 3,523; makefile: 2,913; xml: 953; cs: 573; fortran: 539
file content (23 lines) | stat: -rw-r--r-- 667 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
; RUN: llvm-as < %s | llvm-dis > %t.orig
; RUN: llvm-as < %s | llvm-c-test --echo > %t.echo
; RUN: diff -w %t.orig %t.echo

%struct.T = type { i32, i32 }

define i32 @f(i32 %arg, <2 x i32> %arg2, float %arg3, <2 x float> %arg4,
              i8* %arg5, %struct.T %arg6, [2 x i32] %arg7, { i32, i32 } %arg8) {
  %1 = freeze i32 %arg
  %2 = freeze i32 10
  %3 = freeze i32 %1
  %4 = freeze i32 undef
  %5 = freeze i666 11
  %6 = freeze <2 x i32> %arg2
  %7 = freeze float %arg3
  %8 = freeze <2 x float> %arg4
  %9 = freeze i8* %arg5
  %10 = freeze %struct.T %arg6
  %11 = freeze [2 x i32] %arg7
  %12 = freeze { i32, i32 } %arg8
  %13 = freeze i8* null
  ret i32 %1
}