Home
last modified time | relevance | path

Searched refs:fn2 (Results 1 – 25 of 170) sorted by relevance

1234567

/llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/
H A Dipra.ll2 ; allocation is correct for a test case where the called function (@fn2)
3 ; itself has a call (to @fn1). @fn1 defines %r0l, while @fn2 defines
4 ; %r0d. The RegUsageInfo for @fn2 must include %r0h.
9 ; CHECK: fn2 Clobbered Registers: {{.*}} $r0h
25 define void @fn2() {
43 call void @fn2()
/llvm-project-15.0.7/lld/test/ELF/
H A Demit-relocs-icf.s24 .section .text.fn2,"ax",@progbits,unique,1
25 .globl fn2
26 .type fn2,@function
27 fn2: label
32 callq fn2@PLT
H A Demit-relocs.s26 # CHECK-NEXT: 0x201133 R_X86_64_PLT32 fn2 0xFFFFFFFFFFFFFFFC
85 # CHECK-NEXT: Name: fn2
106 .section .text.fn2,"ax",@progbits,unique,1
107 .globl fn2
108 .type fn2,@function
109 fn2: label
114 callq fn2@PLT
H A Darm-exidx-script-order.s43 .global fn2
44 .type fn2, %function
45 fn2: label
H A Dexclude-libs.s42 .globl fn, fn2, foo
45 call fn2@PLT
/llvm-project-15.0.7/llvm/test/Transforms/Inline/
H A D2008-09-02-NoInline.ll4 define i32 @fn2() noinline {
5 ; CHECK-LABEL: define i32 @fn2()
13 %r = call i32 @fn2()
14 ; CHECK: call i32 @fn2()
H A Dinline-cost-attributes.ll12 define void @fn2() "function-inline-threshold"="41" {
13 ; INLINER-LABEL: Inlining calls in: fn2
21 ; COST-LABEL: define void @fn2()
51 ; INLINER-NEXT: NOT Inlining (cost=535, threshold=41), Call: call void @fn2()
55 call void @fn2()
/llvm-project-15.0.7/clang/test/Sema/
H A Dunused-expr.c84 int fn2() __attribute__ ((pure));
88 if (fn1() < 0 || fn2(2,1) < 0 || fn3(2) < 0) // no warnings in t6()
92 …fn2(92, 21); // expected-warning {{ignoring return value of function declared with pure attribute… in t6()
132 #define M3(a) (t3(a), fn2())
136 #define M7() fn2()
143 NOP((t3(i), fn2())); // expected-warning {{ignoring return value}} in t11()
H A Dalloc-size.c53 __attribute__((alloc_size(1))) void *fn2(int i);
58 my_malloc_fn_pointer_type f3 = fn2; in main()
59 my_other_malloc_fn_pointer_type f4 = fn2; in main()
H A Darm-cmse-no-diag.c6 void (*fn2)(int, union U) __attribute__((cmse_nonsecure_call)); variable
9 fn2(0, u); in xyzzy()
/llvm-project-15.0.7/clang/test/Modules/Inputs/overloadable-attrs/
H A Da.h5 constexpr int fn2() { return 1; } in fn2() function
6 constexpr int fn2() __attribute__((enable_if(0, ""))) { return 0; } in fn2() function
24 constexpr int fn2(void *const a) { return 0; } in fn2() function
25 constexpr int fn2(void *const a __attribute__((pass_object_size(0)))) { in fn2() function
/llvm-project-15.0.7/llvm/test/DebugInfo/MIR/X86/
H A Ddbginfo-entryvals.mir4 #extern void fn2(int);
15 # fn2 (a);
32 tail call void @fn2(i32 7), !dbg !18
36 declare !dbg !4 dso_local void @fn2(i32) local_unnamed_addr
50 …!4 = !DISubprogram(name: "fn2", scope: !1, file: !1, line: 11, flags: DIFlagPrototyped, spFlags: D…
78 …TAILJMPd64 @fn2, csr_64, implicit $rsp, implicit $ssp, implicit $rsp, implicit $ssp, implicit kill…
H A Davoid-single-entry-value-location.mir19 tail call void @fn2(i32 7), !dbg !18
23 declare !dbg !4 dso_local void @fn2(i32) local_unnamed_addr
36 …!4 = !DISubprogram(name: "fn2", scope: !1, file: !1, line: 1, type: !5, flags: DIFlagPrototyped, s…
65 …TAILJMPd64 @fn2, csr_64, implicit $rsp, implicit $ssp, implicit $rsp, implicit $ssp, implicit kill…
/llvm-project-15.0.7/llvm/test/Transforms/SimplifyCFG/
H A Dannotations.ll16 ; CHECK-NEXT: call void @fn2()
32 call void @fn2()
49 ; CHECK-NEXT: call void @fn2()
65 call void @fn2()
84 ; CHECK-NEXT: call void @fn2()
101 call void @fn2()
121 ; CHECK-NEXT: call void @fn2()
138 call void @fn2()
143 declare void @fn2()
/llvm-project-15.0.7/llvm/test/DebugInfo/X86/
H A Ddbg-call-site-undef-params.ll6 ;; fn2 (long int a, long int b, long int c)
12 ;; return fn2(14, 23, 34);
19 ; CHECK: DW_AT_abstract_origin ({{.*}} "fn2")
28 define dso_local i64 @fn2(i64 %a, i64 %b, i64 %c) local_unnamed_addr !dbg !7 {
44 %call = tail call i64 @fn2(i64 undef, i64 undef, i64 undef), !dbg !26
63 !7 = distinct !DISubprogram(name: "fn2", scope: !1, file: !1, line: 4, type: !8, scopeLine: 5, flag…
/llvm-project-15.0.7/lld/test/COFF/
H A Dorder.test5 # RUN: echo fn2 >> %t.order
12 # CHECK: fn2
20 # DEFAULT: fn2
28 # RUN: echo fn2 >> %t2.order
77 - Name: fn2
H A Dorder-i386.test4 # RUN: echo fn2 >> %t.order
9 # CHECK: fn2
13 # DEFAULT: fn2
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dx86-plt-relative-reloc.ll5 …i32 sub (i32 ptrtoint (ptr @fn2 to i32), i32 ptrtoint (ptr getelementptr ([4 x i32], ptr @vtable, …
10 declare void @fn2() unnamed_addr
15 ; CHECK-NEXT: .long (fn2@PLT-vtable)-4
H A Dx86-64-plt-relative-reloc.ll5 …i32 trunc (i64 sub (i64 ptrtoint (ptr @fn2 to i64), i64 ptrtoint (ptr getelementptr ([5 x i32], pt…
11 declare void @fn2() unnamed_addr
17 ; CHECK-NEXT: .long (fn2@PLT-vtable)-4
/llvm-project-15.0.7/llvm/test/CodeGen/ARM/
H A Dplt-relative-reloc.ll5 …i32 sub (i32 ptrtoint (void ()* @fn2 to i32), i32 ptrtoint (i32* getelementptr ([4 x i32], [4 x i3…
10 declare void @fn2() unnamed_addr
15 ; CHECK-NEXT: .long (fn2(prel31)-vtable)-4
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dms-interface.cpp15 void fn2() {
32 void fn2();
47 void fn2() final;
/llvm-project-15.0.7/llvm/test/Transforms/JumpThreading/
H A Dpr26096.ll13 call void @fn2(i1 %B)
17 call void @fn2(i1 %B)
21 define internal void @fn2(i1 %B) unnamed_addr {
34 ; CHECK-LABEL: define internal void @fn2(
/llvm-project-15.0.7/llvm/test/tools/llvm-locstats/
H A Dlocstats.ll21 ;extern int fn2 (int);
34 ; local -= fn2(a);
38 ; local += fn2(a);
43 ; local -= fn2 (local2);
82 %11 = tail call i32 @fn2(i32 %3), !dbg !27
91 %15 = tail call i32 @fn2(i32 %3), !dbg !30
104 %22 = tail call i32 @fn2(i32 7), !dbg !34
110 declare dso_local i32 @fn2(i32) local_unnamed_addr
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A DtestComparesi32gtu.ll26 declare signext i32 @fn2(...) local_unnamed_addr #1
44 ; BE-NEXT: bl fn2
65 ; LE-NEXT: bl fn2
80 ; CHECK-P10-LE-NEXT: b fn2@notoc
81 ; CHECK-P10-LE-NEXT: #TC_RETURNd8 fn2@notoc 0
95 ; CHECK-P10-BE-NEXT: bl fn2
116 ; CHECK-P10-CMP-LE-NEXT: bl fn2
133 ; CHECK-P10-CMP-BE-NEXT: b fn2@notoc
134 ; CHECK-P10-CMP-BE-NEXT: #TC_RETURNd8 fn2@notoc 0
144 %call = tail call signext i32 bitcast (i32 (...)* @fn2 to i32 (i32)*)(i32 signext %conv) #2
H A DtestComparesi32ltu.ll28 declare signext i32 @fn2(...) local_unnamed_addr #1
46 ; BE-NEXT: bl fn2
67 ; LE-NEXT: bl fn2
82 ; CHECK-P10-LE-NEXT: b fn2@notoc
83 ; CHECK-P10-LE-NEXT: #TC_RETURNd8 fn2@notoc 0
97 ; CHECK-P10-BE-NEXT: bl fn2
118 ; CHECK-P10-CMP-LE-NEXT: bl fn2
135 ; CHECK-P10-CMP-BE-NEXT: b fn2@notoc
136 ; CHECK-P10-CMP-BE-NEXT: #TC_RETURNd8 fn2@notoc 0
145 %call = tail call signext i32 bitcast (i32 (...)* @fn2 to i32 (i32)*)(i32 signext %conv) #2

1234567