Home
last modified time | relevance | path

Searched refs:use (Results 1 – 25 of 14306) sorted by relevance

12345678910>>...573

/external/llvm-project/clang/test/Modules/
Dno-linkage.cpp29 void use(int);
31 use(Typedef().n); in use_things()
32 use(NS::n); in use_things()
33 use(AliasDecl); in use_things()
34 use(UsingDecl); in use_things()
35 use(RealNS::n); in use_things()
36 use(Struct(0)); in use_things()
37 use(Variable); in use_things()
38 use(AnotherNS); in use_things()
39 use(Enumerator); in use_things()
[all …]
Dusing-decl.cpp41 template<typename T> int use(T);
43 use(conflicting_hidden_using_decl); in test_conflicting()
44 use(conflicting_hidden_using_decl_fn()); in test_conflicting()
45 use(conflicting_hidden_using_decl_var); in test_conflicting()
46 use(conflicting_hidden_using_decl_fn_2()); in test_conflicting()
47 use(conflicting_hidden_using_decl_var_2); in test_conflicting()
48 use(conflicting_hidden_using_decl_mixed_1()); in test_conflicting()
49 use(conflicting_hidden_using_decl_mixed_2); in test_conflicting()
50 use(conflicting_hidden_using_decl_mixed_3()); in test_conflicting()
51 use(conflicting_hidden_using_decl_mixed_4()); in test_conflicting()
[all …]
/external/clang/test/Modules/
Dno-linkage.cpp29 void use(int);
31 use(Typedef().n); in use_things()
32 use(NS::n); in use_things()
33 use(AliasDecl); in use_things()
34 use(UsingDecl); in use_things()
35 use(RealNS::n); in use_things()
36 use(Struct(0)); in use_things()
37 use(Variable); in use_things()
38 use(AnotherNS); in use_things()
39 use(Enumerator); in use_things()
[all …]
Dusing-decl.cpp41 template<typename T> int use(T);
43 use(conflicting_hidden_using_decl); in test_conflicting()
44 use(conflicting_hidden_using_decl_fn()); in test_conflicting()
45 use(conflicting_hidden_using_decl_var); in test_conflicting()
46 use(conflicting_hidden_using_decl_fn_2()); in test_conflicting()
47 use(conflicting_hidden_using_decl_var_2); in test_conflicting()
48 use(conflicting_hidden_using_decl_mixed_1()); in test_conflicting()
49 use(conflicting_hidden_using_decl_mixed_2); in test_conflicting()
50 use(conflicting_hidden_using_decl_mixed_3()); in test_conflicting()
51 use(conflicting_hidden_using_decl_mixed_4()); in test_conflicting()
[all …]
/external/llvm-project/clang/test/CXX/basic/basic.def.odr/
Dp2.cpp5 void use(int);
22 use(a); in f()
26 use(arr[i]); in f()
27 use(i[arr]); in f()
28 use((+arr)[i]); // expected-error {{reference to local variable}} in f()
29 use(i[+arr]); // expected-error {{reference to local variable}} in f()
32 use(s.x); in f()
33 use(s.f()); // expected-error {{reference to local variable}} in f()
34 use((&s)->x); // expected-error {{reference to local variable}} in f()
35 use(ps->x); // ok (lvalue-to-rvalue conversion applied to id-expression) in f()
[all …]
/external/llvm-project/llvm/test/CodeGen/AMDGPU/
Dattr-amdgpu-flat-work-group-size-vgpr-limit.ll266 call void asm sideeffect "; use $0", "v"(i32 %v0)
267 call void asm sideeffect "; use $0", "v"(i32 %v1)
268 call void asm sideeffect "; use $0", "v"(i32 %v2)
269 call void asm sideeffect "; use $0", "v"(i32 %v3)
270 call void asm sideeffect "; use $0", "v"(i32 %v4)
271 call void asm sideeffect "; use $0", "v"(i32 %v5)
272 call void asm sideeffect "; use $0", "v"(i32 %v6)
273 call void asm sideeffect "; use $0", "v"(i32 %v7)
274 call void asm sideeffect "; use $0", "v"(i32 %v8)
275 call void asm sideeffect "; use $0", "v"(i32 %v9)
[all …]
Dbranch-relax-spill.ll127 tail call void asm sideeffect "; reg use $0", "{s0}"(i32 %sgpr0) #0
128 tail call void asm sideeffect "; reg use $0", "{s1}"(i32 %sgpr1) #0
129 tail call void asm sideeffect "; reg use $0", "{s2}"(i32 %sgpr2) #0
130 tail call void asm sideeffect "; reg use $0", "{s3}"(i32 %sgpr3) #0
131 tail call void asm sideeffect "; reg use $0", "{s4}"(i32 %sgpr4) #0
132 tail call void asm sideeffect "; reg use $0", "{s5}"(i32 %sgpr5) #0
133 tail call void asm sideeffect "; reg use $0", "{s6}"(i32 %sgpr6) #0
134 tail call void asm sideeffect "; reg use $0", "{s7}"(i32 %sgpr7) #0
135 tail call void asm sideeffect "; reg use $0", "{s8}"(i32 %sgpr8) #0
136 tail call void asm sideeffect "; reg use $0", "{s9}"(i32 %sgpr9) #0
[all …]
/external/llvm-project/clang/test/CodeGen/
Dinit-memset.c3 void use(void *);
9 use(a); in test_small()
16 use(a); in test_small_same()
23 use(a); in test_different()
30 use(a); in test_all_zeros()
37 use(a); in test_all_a()
45 use(a); in test_most_zeros()
52 use(a); in test_most_a()
57 void *a[] = {&use, &use, &use, &use, &use, &use}; in test_pointers()
65 use(a); in test_pointers()
/external/llvm-project/clang/test/CodeGenCXX/
Dmember-expr-references-variable.cpp16 void use(int n, const char *c);
23 use(1, Struct::name); in scalarStaticVariableInMemberExpr()
26 use(2, s.name); in scalarStaticVariableInMemberExpr()
28 use(3, ptr->name); in scalarStaticVariableInMemberExpr()
31 use(4, ref.name); in scalarStaticVariableInMemberExpr()
34 use(5, Struct(2).name); in scalarStaticVariableInMemberExpr()
37 use(6, getPtr()->name); in scalarStaticVariableInMemberExpr()
42 void use(int n, __complex float v);
45 use(1, Struct::complexValue); in complexStaticVariableInMemberExpr()
52 use(2, s.complexValue); in complexStaticVariableInMemberExpr()
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dcopy_prop_arrays.cpp112 var_inst, [&store_inst, var_inst](Instruction* use) { in FindStoreInstruction() argument
113 if (use->opcode() == SpvOpStore && in FindStoreInstruction()
114 use->GetSingleWordInOperand(kStorePointerInOperand) == in FindStoreInstruction()
117 store_inst = use; in FindStoreInstruction()
156 return get_def_use_mgr()->WhileEachUser(ptr_inst, [this](Instruction* use) { in HasNoStores() argument
157 if (use->opcode() == SpvOpLoad) { in HasNoStores()
159 } else if (use->opcode() == SpvOpAccessChain) { in HasNoStores()
160 return HasNoStores(use); in HasNoStores()
161 } else if (use->IsDecoration() || use->opcode() == SpvOpName) { in HasNoStores()
163 } else if (use->opcode() == SpvOpStore) { in HasNoStores()
[all …]
/external/deqp-deps/SPIRV-Tools/source/opt/
Dcopy_prop_arrays.cpp112 var_inst, [&store_inst, var_inst](Instruction* use) { in FindStoreInstruction() argument
113 if (use->opcode() == SpvOpStore && in FindStoreInstruction()
114 use->GetSingleWordInOperand(kStorePointerInOperand) == in FindStoreInstruction()
117 store_inst = use; in FindStoreInstruction()
156 return get_def_use_mgr()->WhileEachUser(ptr_inst, [this](Instruction* use) { in HasNoStores() argument
157 if (use->opcode() == SpvOpLoad) { in HasNoStores()
159 } else if (use->opcode() == SpvOpAccessChain) { in HasNoStores()
160 return HasNoStores(use); in HasNoStores()
161 } else if (use->IsDecoration() || use->opcode() == SpvOpName) { in HasNoStores()
163 } else if (use->opcode() == SpvOpStore) { in HasNoStores()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dcopy_prop_arrays.cpp112 var_inst, [&store_inst, var_inst](Instruction* use) { in FindStoreInstruction() argument
113 if (use->opcode() == SpvOpStore && in FindStoreInstruction()
114 use->GetSingleWordInOperand(kStorePointerInOperand) == in FindStoreInstruction()
117 store_inst = use; in FindStoreInstruction()
156 return get_def_use_mgr()->WhileEachUser(ptr_inst, [this](Instruction* use) { in HasNoStores() argument
157 if (use->opcode() == SpvOpLoad) { in HasNoStores()
159 } else if (use->opcode() == SpvOpAccessChain) { in HasNoStores()
160 return HasNoStores(use); in HasNoStores()
161 } else if (use->IsDecoration() || use->opcode() == SpvOpName) { in HasNoStores()
163 } else if (use->opcode() == SpvOpStore) { in HasNoStores()
[all …]
/external/llvm-project/llvm/test/Transforms/SCCP/
Dbinaryops-constexprs.ll4 declare void @use.i32(i32)
5 declare void @use.i1(i1)
10 ; CHECK-NEXT: call void @use.i32(i32 0)
12 ; CHECK-NEXT: call void @use.i32(i32 [[AND_2]])
13 ; CHECK-NEXT: call void @use.i1(i1 true)
14 ; CHECK-NEXT: call void @use.i1(i1 false)
16 ; CHECK-NEXT: call void @use.i1(i1 [[COND_1]])
17 ; CHECK-NEXT: call void @use.i32(i32 4)
22 call void @use.i32(i32 %and.1)
24 call void @use.i32(i32 %and.2)
[all …]
Dconditions-ranges.ll4 declare void @use(i1)
14 ; CHECK-NEXT: call void @use(i1 false)
15 ; CHECK-NEXT: call void @use(i1 false)
16 ; CHECK-NEXT: call void @use(i1 false)
17 ; CHECK-NEXT: call void @use(i1 true)
18 ; CHECK-NEXT: call void @use(i1 true)
20 ; CHECK-NEXT: call void @use(i1 [[C_1]])
22 ; CHECK-NEXT: call void @use(i1 [[C_2]])
24 ; CHECK-NEXT: call void @use(i1 [[C_3]])
27 ; CHECK-NEXT: call void @use(i1 false)
[all …]
Dassume.ll4 declare void @use(i1)
13 ; CHECK-NEXT: call void @use(i1 true)
15 ; CHECK-NEXT: call void @use(i1 [[C2]])
16 ; CHECK-NEXT: call void @use(i1 false)
18 ; CHECK-NEXT: call void @use(i1 [[C4]])
19 ; CHECK-NEXT: call void @use(i1 true)
21 ; CHECK-NEXT: call void @use(i1 [[C6]])
22 ; CHECK-NEXT: call void @use(i1 false)
24 ; CHECK-NEXT: call void @use(i1 [[C8]])
32 call void @use(i1 %c1)
[all …]
/external/llvm-project/llvm/test/Transforms/InstSimplify/
Dassume_icmp.ll5 declare void @use(i1)
11 ; CHECK-NEXT: call void @use(i1 true)
12 ; CHECK-NEXT: call void @use(i1 true)
13 ; CHECK-NEXT: call void @use(i1 false)
14 ; CHECK-NEXT: call void @use(i1 false)
15 ; CHECK-NEXT: call void @use(i1 false)
16 ; CHECK-NEXT: call void @use(i1 false)
17 ; CHECK-NEXT: call void @use(i1 true)
18 ; CHECK-NEXT: call void @use(i1 true)
25 call void @use(i1 %cmp2)
[all …]
/external/clang/test/SemaObjC/
Darc-repeated-weak.mm1 …-has-weak -fobjc-arc -fblocks -Wno-objc-root-class -std=c++11 -Warc-repeated-use-of-weak -verify %s
16 extern void use(id); function
22use(a.weakProp); // expected-warning{{weak property 'weakProp' is accessed multiple times in this …
23 use(a.weakProp); // expected-note{{also accessed here}}
25 use(a.strongProp);
26 use(a.strongProp); // no-warning
28 use(a.weakProp); // expected-note{{also accessed here}}
32 use(a.weakProp); // no-warning
33 use(a.strongProp); // no-warning
57 use(a.weakProp); // expected-warning{{weak property 'weakProp' is accessed multiple times}}
[all …]
/external/clang/test/Modules/Inputs/declare-use/
Dmodule.map11 use XA
12 // Intentionally doesn't use XB to show that -fdecl-use isn't transitive.
17 use XA
18 // Intentionally doesn't use XB to show that -fdecl-use isn't transitive.
23 use XA
24 use XB
29 use XA
30 use XB
36 use XC
37 use XE
[all …]
/external/llvm-project/clang/test/Modules/Inputs/declare-use/
Dmodule.map11 use XA
12 // Intentionally doesn't use XB to show that -fdecl-use isn't transitive.
17 use XA
18 // Intentionally doesn't use XB to show that -fdecl-use isn't transitive.
23 use XA
24 use XB
29 use XA
30 use XB
36 use XC
37 use XE
[all …]
/external/mesa3d/src/freedreno/ir3/
Dir3_cp_postsched.c50 struct ir3_instruction *use, in has_conflicting_write() argument
53 assert(src->block == use->block); in has_conflicting_write()
58 foreach_instr_rev (instr, &use->node) { in has_conflicting_write()
103 valid_flags(struct ir3_instruction *use, struct ir3_instruction *mov) in valid_flags() argument
107 foreach_src_n (reg, n, use) { in valid_flags()
111 if (!ir3_valid_flags(use, n, reg->flags | src->flags)) in valid_flags()
139 foreach_ssa_use (use, mov) { in instr_cp_postsched()
140 if (use->block != mov->block) in instr_cp_postsched()
143 if (is_meta(use)) in instr_cp_postsched()
146 if (has_conflicting_write(mov, use, src->array.id, offset)) in instr_cp_postsched()
[all …]
/external/llvm-project/flang/test/Semantics/
Dresolve17.f9052 use m4a
53 use m4b
76 use m5a
77 use m5b, g => gg
100 use m6a, g => gg
101 use m6b, g => gg
130 use m7a
131 use m7b
132 use m7c
159 use m8a
[all …]
/external/llvm-project/clang/test/SemaObjC/
Darc-repeated-weak.mm1 …-has-weak -fobjc-arc -fblocks -Wno-objc-root-class -std=c++11 -Warc-repeated-use-of-weak -verify %s
2 …has-weak -fobjc-weak -fblocks -Wno-objc-root-class -std=c++11 -Warc-repeated-use-of-weak -verify %s
17 extern void use(id); function
23use(a.weakProp); // expected-warning{{weak property 'weakProp' is accessed multiple times in this …
24 use(a.weakProp); // expected-note{{also accessed here}}
26 use(a.strongProp);
27 use(a.strongProp); // no-warning
29 use(a.weakProp); // expected-note{{also accessed here}}
33 use(a.weakProp); // no-warning
34 use(a.strongProp); // no-warning
[all …]
/external/llvm-project/llvm/test/MC/RISCV/
Dmachine-csr-names-invalid.s6 csrrs t1, pmpcfg1, zero # CHECK-NEED-RV32: :[[@LINE]]:11: error: system register use requires an op…
7 csrrs t1, pmpcfg3, zero # CHECK-NEED-RV32: :[[@LINE]]:11: error: system register use requires an op…
9 csrrs t1, mcycleh, zero # CHECK-NEED-RV32: :[[@LINE]]:11: error: system register use requires an op…
10 csrrs t1, minstreth, zero # CHECK-NEED-RV32: :[[@LINE]]:11: error: system register use requires an …
12 csrrs t1, mhpmcounter3h, zero # CHECK-NEED-RV32: :[[@LINE]]:11: error: system register use requires…
13 csrrs t1, mhpmcounter4h, zero # CHECK-NEED-RV32: :[[@LINE]]:11: error: system register use requires…
14 csrrs t1, mhpmcounter5h, zero # CHECK-NEED-RV32: :[[@LINE]]:11: error: system register use requires…
15 csrrs t1, mhpmcounter6h, zero # CHECK-NEED-RV32: :[[@LINE]]:11: error: system register use requires…
16 csrrs t1, mhpmcounter7h, zero # CHECK-NEED-RV32: :[[@LINE]]:11: error: system register use requires…
17 csrrs t1, mhpmcounter8h, zero # CHECK-NEED-RV32: :[[@LINE]]:11: error: system register use requires…
[all …]
Duser-csr-names-invalid.s6 csrrs t1, cycleh, zero # CHECK-NEED-RV32: :[[@LINE]]:11: error: system register use requires an opt…
7 csrrs t1, timeh, zero # CHECK-NEED-RV32: :[[@LINE]]:11: error: system register use requires an opti…
8 csrrs t1, instreth, zero # CHECK-NEED-RV32: :[[@LINE]]:11: error: system register use requires an o…
10 csrrs t1, hpmcounter3h, zero # CHECK-NEED-RV32: :[[@LINE]]:11: error: system register use requires …
11 csrrs t1, hpmcounter4h, zero # CHECK-NEED-RV32: :[[@LINE]]:11: error: system register use requires …
12 csrrs t1, hpmcounter5h, zero # CHECK-NEED-RV32: :[[@LINE]]:11: error: system register use requires …
13 csrrs t1, hpmcounter6h, zero # CHECK-NEED-RV32: :[[@LINE]]:11: error: system register use requires …
14 csrrs t1, hpmcounter7h, zero # CHECK-NEED-RV32: :[[@LINE]]:11: error: system register use requires …
15 csrrs t1, hpmcounter8h, zero # CHECK-NEED-RV32: :[[@LINE]]:11: error: system register use requires …
16 csrrs t1, hpmcounter9h, zero # CHECK-NEED-RV32: :[[@LINE]]:11: error: system register use requires …
[all …]
/external/llvm-project/lldb/test/API/functionalities/param_entry_vals/basic_entry_values/
Dmain.cpp6 template <typename... T> __attribute__((optnone)) void use(T...) {} in use() function
17 use<int &>(sink); in func1()
18 use<int &>(dummy); in func1()
28 use<int &, int>(sink, x); in func2()
29 use<int &, int>(dummy, 0); in func2()
39 use<int &, int *>(sink, p); in func3()
40 use<int &, int *>(dummy, nullptr); in func3()
47 use<int &, int>(sink, x); in func4_amb()
48 use<int &, int>(dummy, 0); in func4_amb()
75 use<int &, int>(sink, x); in func7()
[all …]

12345678910>>...573