Home
last modified time | relevance | path

Searched refs:fn (Results 1 – 25 of 504) sorted by relevance

12345678910>>...21

/llvm-project-15.0.7/clang/utils/VtableTest/
H A Dgen.cc156 funcs[i] = fn; in gs()
162 if (ret_types[s][fn]) { in gs()
164 ret_types[s][fn], fn); in gs()
170 ret_types[s][fn] = ret_type; in gs()
181 final_override[s][fn] = s; in gs()
182 old_func = fn; in gs()
189 for (int fn = 0; fn < N_FUNCS*FUNCSPACING; ++fn) { in gs() local
230 funcs[n_funcs++] = fn; in gs()
235 if (!ret_types[s][fn]) { in gs()
241 s, ret_type, fn); in gs()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_win_dll_thunk.h94 static fntype fn = (fntype)__sanitizer::dllThunkGetRealAddrOrDie(#name); \
95 fn(); \
102 static fntype fn = (fntype)__sanitizer::dllThunkGetRealAddrOrDie(#name); \
103 fn(arg); \
110 static fntype fn = (fntype)__sanitizer::dllThunkGetRealAddrOrDie(#name); \
111 fn(arg1, arg2); \
118 static fntype fn = (fntype)__sanitizer::dllThunkGetRealAddrOrDie(#name); \
119 fn(arg1, arg2, arg3); \
126 static fntype fn = (fntype)__sanitizer::dllThunkGetRealAddrOrDie(#name); \
127 return fn(); \
[all …]
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DRegionGraphTraits.h57 static NodeRef getEntryNode(GraphType fn) { return &fn->front(); }
60 static nodes_iterator nodes_begin(GraphType fn) {
61 return nodes_iterator(fn->begin());
63 static nodes_iterator nodes_end(GraphType fn) {
64 return nodes_iterator(fn->end());
74 static NodeRef getEntryNode(GraphType fn) { return &fn.Graph->front(); }
77 static nodes_iterator nodes_begin(GraphType fn) {
78 return nodes_iterator(fn.Graph->begin());
80 static nodes_iterator nodes_end(GraphType fn) {
81 return nodes_iterator(fn.Graph->end());
/llvm-project-15.0.7/llvm/test/Transforms/SimplifyCFG/
H A Dduplicate-landingpad.ll6 declare void @fn()
26 invoke void @fn()
30 invoke void @fn()
47 call void @fn()
76 invoke void @fn()
80 invoke void @fn()
89 call void @fn()
98 call void @fn()
126 invoke void @fn()
130 invoke void @fn()
[all …]
/llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/range.cmp/
H A Dnot_equal_to.pass.cpp42 auto fn = std::ranges::not_equal_to(); in test() local
44 assert(fn(MoveOnly(41), MoveOnly(42))); in test()
49 assert(fn(a, b)); in test()
50 assert(!fn(std::move(a), std::move(b))); in test()
52 assert(fn(1, 2)); in test()
53 assert(!fn(2, 2)); in test()
54 assert(fn(2, 1)); in test()
56 assert(fn(2, 1L)); in test()
59 assert(!fn(PtrAndNotEqOperator(), PtrAndNotEqOperator())); in test()
H A Dgreater_equal.pass.cpp35 auto fn = std::ranges::greater_equal(); in test() local
37 assert(fn(MoveOnly(42), MoveOnly(42))); in test()
41 assert(fn(a, b)); in test()
42 assert(!fn(std::move(a), std::move(b))); in test()
44 assert(fn(2, 2)); in test()
45 assert(fn(2, 1)); in test()
46 assert(!fn(1, 2)); in test()
48 assert(fn(2, 1L)); in test()
H A Dless_equal.pass.cpp35 auto fn = std::ranges::less_equal(); in test() local
37 assert(fn(MoveOnly(41), MoveOnly(42))); in test()
42 assert(fn(a, b)); in test()
43 assert(!fn(std::move(a), std::move(b))); in test()
45 assert(fn(1, 2)); in test()
46 assert(fn(2, 2)); in test()
47 assert(!fn(2, 1)); in test()
49 assert(!fn(2, 1L)); in test()
H A Dgreater.pass.cpp35 auto fn = std::ranges::greater(); in test() local
37 assert(fn(MoveOnly(42), MoveOnly(41))); in test()
41 assert(!fn(a, b)); in test()
42 assert(fn(std::move(a), std::move(b))); in test()
44 assert(!fn(2, 2)); in test()
45 assert(!fn(1, 2)); in test()
46 assert(fn(2, 1)); in test()
48 assert(fn(2, 1L)); in test()
H A Dless.pass.cpp35 auto fn = std::ranges::less(); in test() local
37 assert(fn(MoveOnly(41), MoveOnly(42))); in test()
41 assert(!fn(a, b)); in test()
42 assert(fn(std::move(a), std::move(b))); in test()
44 assert(fn(1, 2)); in test()
45 assert(!fn(2, 2)); in test()
46 assert(!fn(2, 1)); in test()
48 assert(!fn(2, 1L)); in test()
H A Dequal_to.pass.cpp36 auto fn = std::ranges::equal_to(); in test() local
38 assert(fn(MoveOnly(42), MoveOnly(42))); in test()
42 assert(!fn(a, b)); in test()
43 assert(fn(std::move(a), std::move(b))); in test()
45 assert(!fn(1, 2)); in test()
46 assert(!fn(2, 1)); in test()
47 assert(fn(2, 2)); in test()
49 assert(!fn(2, 1L)); in test()
/llvm-project-15.0.7/openmp/tools/analyzer/
H A Danalyzer.py21 def demangle(fn): argument
23 match = expr.search(fn)
24 function = match.group(1) if match else fn
27 def getLine(fn): argument
29 match = expr.search(fn)
33 for (fn, usages) in expr.findall(usageStr):
34 info = usageDict[fn] if fn in usageDict else dict()
35 info["Name"] = demangle(fn)
36 info["DebugLoc"] = {"File" : "unknown", "Line": getLine(fn), "Column" : 0}
38 usageDict[fn] = info
/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DGCOV.cpp114 GCOVFunction *fn = nullptr; in readGCNO() local
121 fn = functions.back().get(); in readGCNO()
122 fn->ident = buf.getWord(); in readGCNO()
126 buf.readString(fn->Name); in readGCNO()
146 identToFunction[fn->ident] = fn; in readGCNO()
234 GCOVFunction *fn = nullptr; in readGCDA() local
267 fn = It->second; in readGCDA()
270 errs() << fn->Name in readGCDA()
282 errs() << fn->Name in readGCDA()
297 version < GCOV::V408 ? *fn->blocks.back() : *fn->blocks[1]; in readGCDA()
[all …]
/llvm-project-15.0.7/openmp/libomptarget/DeviceRTL/include/
H A Dgenerated_microtask_cases.gen3 ))fn)(&global_tid, &bound_tid
8 , void *))fn)(&global_tid, &bound_tid
24 ))fn)(&global_tid, &bound_tid
31 , void *))fn)(&global_tid, &bound_tid
53 ))fn)(&global_tid, &bound_tid
90 ))fn)(&global_tid, &bound_tid
135 ))fn)(&global_tid, &bound_tid
188 ))fn)(&global_tid, &bound_tid
249 ))fn)(&global_tid, &bound_tid
318 ))fn)(&global_tid, &bound_tid
[all …]
/llvm-project-15.0.7/mlir/test/Transforms/
H A Dtest-inlining.mlir7 %fn = "test.functional_region_op"() ({
13 %0 = call_indirect %fn(%arg0) : (i32) -> i32
23 %fn = "test.functional_region_op"() ({
30 call_indirect %fn() : () -> ()
41 %fn = "test.functional_region_op"() ({
48 call_indirect %fn() : () -> ()
59 %fn = "test.functional_region_op"() ({
62 call_indirect %fn() : () -> ()
/llvm-project-15.0.7/llvm/test/CodeGen/ARM/
H A Dtail-dup.ll5 ; CHECK-LABEL: fn:
10 @fn.codetable = internal unnamed_addr constant [3 x i8*] [i8* blockaddress(@fn, %RETURN), i8* block…
12 define i32 @fn(i32* nocapture %opcodes) nounwind readonly ssp {
15 %arrayidx = getelementptr inbounds [3 x i8*], [3 x i8*]* @fn.codetable, i32 0, i32 %0
21 %arrayidx2 = getelementptr inbounds [3 x i8*], [3 x i8*]* @fn.codetable, i32 0, i32 %1
27 %arrayidx4 = getelementptr inbounds [3 x i8*], [3 x i8*]* @fn.codetable, i32 0, i32 %2
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/misc/
H A Dunused-parameters.cpp32 void f(void (*fn)()) {;} in f() argument
42 void u(void (*fn)());
45 bool useLambda(int (*fn)(int));
84 static void staticFunctionH(void (*fn)());
86 static void staticFunctionH(void (*fn)()) {;} in staticFunctionH() argument
149 static void s(void (*fn)()) {;} in s() argument
171 void w(void (*fn)()) {;} in w() argument
281 using fn = void(int); typedef
282 void f(fn *);
/llvm-project-15.0.7/llvm/test/CodeGen/Thumb2/
H A Difcvt-minsize.ll4 declare i32 @fn(i32) #0
12 ; CHECK-NEXT: bl fn
18 ; CHECK-NEXT: bl fn
22 %call = tail call i32 @fn(i32 %a) #2
27 %call1 = tail call i32 @fn(i32 0) #2
42 ; CHECK-NEXT: bl fn
47 ; CHECK-NEXT: bl fn
52 %call = tail call i32 @fn(i32 %a) #2
57 %call1 = tail call i32 @fn(i32 0) #2
75 ; CHECK-NEXT: bl fn
[all …]
/llvm-project-15.0.7/lld/test/ELF/
H A Demit-relocs-icf.s9 # CHECK-NEXT: R_X86_64_PLT32 fn 0xFFFFFFFFFFFFFFFC
13 .section .text.fn,"ax",@progbits,unique,0
14 .globl fn
15 .type fn,@function
16 fn: label
21 callq fn@PLT
/llvm-project-15.0.7/llvm/test/Transforms/GVN/
H A Dpr46054-md-nonlocaldefcache-cleanup.ll14 ; CHECK-NEXT: call void @fn(i64 1)
21 ; CHECK-NEXT: call void @fn(i64 1)
28 call void @fn(i64 %QQ)
36 call void @fn(i64 %QQ.1)
40 declare void @fn(i64)
50 ; CHECK-NEXT: call void @fn.ptr(i64* null)
57 ; CHECK-NEXT: call void @fn.ptr(i64* null)
64 call void @fn.ptr(i64* %QQ)
72 call void @fn.ptr(i64* %QQ.1)
77 declare void @fn.ptr(i64 *)
/llvm-project-15.0.7/llvm/test/tools/llvm-ml/
H A Dindirect_branch.asm22 fn PROC label
126 call fn
127 jmp fn
129 ; CHECK: call fn
130 ; CHECK-NEXT: jmp fn
133 call [fn]
134 jmp [fn]
136 ; CHECK: call fn
137 ; CHECK-NEXT: jmp fn
142 jmp qword ptr [fn]
[all …]
/llvm-project-15.0.7/llvm/test/Bindings/OCaml/
H A Dbitreader.ml22 let fn = Sys.argv.(1) in
25 test (Llvm_bitwriter.write_bitcode_file m fn);
31 let mb = Llvm.MemoryBuffer.of_file fn in
43 let mb = Llvm.MemoryBuffer.of_file (fn ^ ".bogus") in
52 let mb = Llvm.MemoryBuffer.of_file fn in
63 let fn = fn ^ ".txt" in
64 begin let oc = open_out fn in
72 let mb = Llvm.MemoryBuffer.of_file fn in
H A Dcore.ml584 let p1 = param fn 0 in
585 let p2 = param fn 1 in
611 let p1 = param fn 0 in
612 let p2 = param fn 1 in
664 delete_function fn;
678 let params = params fn in
701 insist (None = gc fn);
704 set_gc None fn;
705 insist (None = gc fn);
888 let p = param fn 0 in
[all …]
/llvm-project-15.0.7/libc/AOR_v20.02/math/test/rtest/
H A Ddotest.c1524 switch (fn->type) { in vet_for_decline()
1573 switch (fn->type) { in vet_for_decline()
1630 void docase(Testable *fn, uint32 *args) { in docase() argument
1645 printf("func=%s", fn->name); in docase()
1649 switch (fn->type) { in docase()
1718 switch (fn->type) { in docase()
1879 switch (fn->type) { in docase()
1983 if (fn->type == rred) { in docase()
2054 if (fn->type == rredf) { in docase()
2150 fn->cases(args, fn->caseparam1, fn->caseparam2); in gencases()
[all …]
/llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/
H A DF_incomplete.pass.cpp33 std::function<IncompleteReturnType ()> fn; member
51 X.fn = test_fn; in test_pr34298()
54 assert(X2.fn); in test_pr34298()
56 X2.fn(); in test_pr34298()
62 assert(!X2.fn); in test_pr34298()
/llvm-project-15.0.7/clang/test/CXX/basic/basic.lookup/basic.lookup.unqual/
H A Dp3.cpp5 typedef int fn; typedef
9 friend void fn();
11 int i = fn(1); in g()
18 friend void fn(A &);
23 int i = fn(a); in g()

12345678910>>...21