Home
last modified time | relevance | path

Searched refs:init (Results 1 – 25 of 1875) sorted by relevance

12345678910>>...75

/llvm-project-15.0.7/clang/test/OpenMP/
H A Dinterop_messages.cpp12 #pragma omp interop init(target,foo:InteropVar) init(target:Another) in foo()
15 #pragma omp interop init(target:NoDeclVar) init(target:Another) in foo()
25 #pragma omp interop init(InteropVar) init(target:Another) in foo()
32 init(target:Another) in foo()
39 init(target:Another) in foo()
49 init(target:Another) in foo()
59 #pragma omp interop init(target:a+b) init(target:Another) in foo()
69 #pragma omp interop init(target:C) init(target:Another) in foo()
76 init(target:Another) in foo()
80 init(target:Another) in foo()
[all …]
H A Dinterop_ast_print.cpp36 #pragma omp interop init(target:I) in foo1()
54 #pragma omp interop init(target:IRef) in foo1()
83 #pragma omp interop device(dev) depend(inout:ap) init(targetsync:I) in foo1()
115 #pragma omp interop init(prefer_type(1,2,3,4,5,6),targetsync:I) in foo1()
125 #pragma omp interop init(prefer_type(2,4,6,1),targetsync:I) in foo1()
137 #pragma omp interop init( \ in foo1()
148 #pragma omp interop init(prefer_type("level_zero",2,4),targetsync:I) in foo1()
158 #pragma omp interop init(target:I) init(targetsync:J) in foo1()
166 #pragma omp interop init(target:I) use(J) in foo1()
190 #pragma omp interop init(target:I) destroy(J) in foo1()
[all …]
/llvm-project-15.0.7/mlir/lib/TableGen/
H A DAttribute.cpp43 Attribute::Attribute(const DefInit *init) : Attribute(init->getDef()) {} in Attribute() argument
60 auto type = getValueAsString(init); in getStorageType()
68 return getValueAsString(init); in getReturnType()
81 return getValueAsString(init); in getConvertFromStorageCall()
86 return !getValueAsString(init).empty(); in isConstBuildable()
91 return getValueAsString(init); in getConstBuilderTemplate()
109 return getValueAsString(init); in getDefaultValue()
130 return Dialect(init->getDef()); in getDialect()
135 ConstantAttr::ConstantAttr(const DefInit *init) : def(init->getDef()) { in ConstantAttr() argument
154 : EnumAttrCase(init->getDef()) {} in EnumAttrCase()
[all …]
/llvm-project-15.0.7/pstl/test/std/numerics/numeric.ops/
H A Dscan.pass.cpp29 *result = init; in exclusive_scan_serial()
30 init = init + *first; in exclusive_scan_serial()
41 *result = init; in exclusive_scan_serial()
42 init = binary_op(init, *first); in exclusive_scan_serial()
54 init = binary_op(init, *first); in inclusive_scan_serial()
55 *result = init; in inclusive_scan_serial()
103 Iterator3 expected_first, Iterator3, Size n, T init, T trash) in operator ()()
122 test_with_plus(T init, T trash, Convert convert) in test_with_plus() argument
131 expected.end(), in.size(), init, trash); in test_with_plus()
133 expected.end(), in.size(), init, trash); in test_with_plus()
[all …]
H A Dtransform_scan.pass.cpp81 T init, BinaryOperation binary_op) noexcept in transform_inclusive_scan_serial() argument
85 init = binary_op(init, unary_op(*first)); in transform_inclusive_scan_serial()
86 *result = init; in transform_inclusive_scan_serial()
88 return std::make_pair(result, init); in transform_inclusive_scan_serial()
95 T init, BinaryOperation binary_op) noexcept in transform_exclusive_scan_serial() argument
99 *result = init; in transform_exclusive_scan_serial()
100 init = binary_op(init, unary_op(*first)); in transform_exclusive_scan_serial()
102 return std::make_pair(result, init); in transform_exclusive_scan_serial()
107 test(UnaryOp unary_op, Out init, BinaryOp binary_op, Out trash) in test() argument
113 Out tmp = init; in test()
[all …]
H A Dreduce.pass.cpp25 operator()(Policy&& exec, Iterator first, Iterator last, T init, BinaryOp binary, T expected) in operator ()()
27 T result_r = std::reduce(exec, first, last, init, binary); in operator ()()
34 test_long_form(T init, BinaryOp binary_op, F f) in test_long_form() argument
39 T expected(init); in test_long_form()
72 operator()(Policy&& exec, Iterator first, Iterator last, Sum init, Sum expected) in operator ()()
76 Sum r0 = init + reduce(exec, first, last); in operator ()()
79 Sum r1 = reduce(exec, first, last, init); in operator ()()
90 Sum init(42, OddTag()); in test_short_forms() local
91 Sum expected(init); in test_short_forms()
95 invoke_on_all_policies(test_two_short_forms(), in.begin(), in.end(), init, expected); in test_short_forms()
[all …]
/llvm-project-15.0.7/lldb/unittests/Utility/
H A DDataEncoderTest.cpp22 DataEncoder encoder(init.data(), init.size(), lldb::eByteOrderLittle, in TEST()
172 DataEncoder encoder(init.data(), init.size(), lldb::eByteOrderLittle, in TEST()
196 DataEncoder encoder(init.data(), init.size(), lldb::eByteOrderBig, in TEST()
221 DataEncoder encoder(init.data(), init.size(), lldb::eByteOrderLittle, in TEST()
240 DataEncoder encoder(init.data(), init.size(), lldb::eByteOrderBig, in TEST()
258 DataEncoder encoder(init.data(), init.size(), lldb::eByteOrderLittle, in TEST()
273 DataEncoder encoder(init.data(), init.size(), lldb::eByteOrderBig, in TEST()
288 DataEncoder encoder(init.data(), init.size(), lldb::eByteOrderLittle, in TEST()
318 DataEncoder encoder(init.data(), init.size(), lldb::eByteOrderBig, in TEST()
433 DataEncoder encoder(init.data(), init.size(), lldb::eByteOrderBig, in TEST()
[all …]
/llvm-project-15.0.7/mlir/include/mlir/Dialect/SparseTensor/Pipelines/
H A DPasses.h35 desc("Set the parallelization strategy"), init(0)};
38 init(0)};
40 *this, "vl", desc("Set the vector length"), init(1)};
46 desc("Enable vector length agnostic vectorization"), init(false)};
49 desc("Run only the inplacability analysis"), init(false)};
75 init(false)};
80 init(true)};
84 init(false)};
88 init(false)};
92 init(false)};
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Dmfma-loop.ll242 %init = bitcast i32 %tid to float
243 %tmp0 = insertelement <32 x float> undef, float %init, i32 0
244 %tmp1 = insertelement <32 x float> %tmp0, float %init, i32 1
245 %tmp2 = insertelement <32 x float> %tmp1, float %init, i32 2
246 %tmp3 = insertelement <32 x float> %tmp2, float %init, i32 3
247 %tmp4 = insertelement <32 x float> %tmp3, float %init, i32 4
248 %tmp5 = insertelement <32 x float> %tmp4, float %init, i32 5
249 %tmp6 = insertelement <32 x float> %tmp5, float %init, i32 6
250 %tmp7 = insertelement <32 x float> %tmp6, float %init, i32 7
415 %init = bitcast i32 %tid to float
[all …]
/llvm-project-15.0.7/llvm/test/MC/MachO/
H A Dtls.s5 .globl _c$tlv$init
7 _c$tlv$init:
15 .quad _c$tlv$init
18 .globl _d$tlv$init
20 _d$tlv$init:
28 .quad _d$tlv$init
30 .tbss _a$tlv$init, 4, 2
36 .quad _a$tlv$init
38 .tbss _b$tlv$init, 4, 2
44 .quad _b$tlv$init
/llvm-project-15.0.7/lldb/test/API/lang/objc/bitfield_ivars/
H A Dmain.m17 -(id)init; method
21 -(id)init { method
22 self = [super init];
33 -(id)init; method
37 -(id)init { method
38 self = [super init];
39 hb = [[HasBitfield alloc] init];
56 - (id)init { method
57 return (self = [super init]);
62 ContainsAHasBitfield *chb = [[ContainsAHasBitfield alloc] init];
[all …]
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DCommandFlags.cpp207 cl::init(false)); in CGOPT()
213 cl::init(false)); in CGOPT()
219 cl::init(false)); in CGOPT()
226 cl::init(false)); in CGOPT()
232 cl::init(false)); in CGOPT()
239 cl::init(false)); in CGOPT()
330 cl::init(true)); in CGOPT()
342 cl::init("")); in CGOPT()
353 cl::init(true)); in CGOPT()
382 cl::init(true)); in CGOPT()
[all …]
/llvm-project-15.0.7/clang/test/CodeGenObjC/
H A Drelated-result-type.m5 - (id)init; method
18 NSString *str1 = [[[NSString alloc] init] retain];
27 NSString *str1 = NSString.alloc.init.retain;
31 - (id)init; method
35 // CHECK: define internal {{.*}}i8* @"\01-[Test2 init]"
36 - (id)init { method
39 return [super init];
44 - (id)init; method
48 // CHECK: define internal {{.*}}i8* @"\01-[Test3 init]"
49 - (id)init { method
[all …]
/llvm-project-15.0.7/clang/test/Analysis/
H A Dself-init.m19 -(id)init; method
66 -(id)init; method
71 -(id)init { method
87 self = [super init];
95 [super init];
152 [super init];
170 [super init];
195 self = [super init];
205 self = [super init];
211 [super init];
[all …]
/llvm-project-15.0.7/llvm/test/Analysis/ScalarEvolution/
H A Dshift-op.ll3 define void @test0(i32 %init) {
19 define void @test1(i32 %init) {
35 define void @test2(i32 %init) {
40 ; depending on %init.
54 define void @test3(i32* %init.ptr) {
58 %init = load i32, i32* %init.ptr, !range !0
71 define void @test4(i32* %init.ptr) {
75 %init = load i32, i32* %init.ptr, !range !1
94 %init = load i32, i32* %init.ptr, !range !1
125 define void @test7(i32 %init) {
[all …]
/llvm-project-15.0.7/llvm/unittests/CodeGen/
H A DAsmPrinterDwarfTest.cpp38 bool init(const std::string &TripleStr, unsigned DwarfVersion, in init() function in __anon5e2e47990111::AsmPrinterFixtureBase
49 bool init(const std::string &TripleStr, unsigned DwarfVersion, in init() function in __anon5e2e47990111::AsmPrinterEmitDwarfSymbolReferenceTest
90 if (!init("x86_64-pc-linux", /*DwarfVersion=*/4, dwarf::DWARF32)) in TEST_F()
104 if (!init("x86_64-pc-linux", /*DwarfVersion=*/4, dwarf::DWARF32)) in TEST_F()
113 if (!init("x86_64-pc-linux", /*DwarfVersion=*/4, dwarf::DWARF64)) in TEST_F()
127 if (!init("x86_64-pc-linux", /*DwarfVersion=*/4, dwarf::DWARF64)) in TEST_F()
137 bool init(const std::string &TripleStr, unsigned DwarfVersion, in init() function in __anon5e2e47990111::AsmPrinterEmitDwarfStringOffsetTest
152 if (!init("x86_64-pc-linux", /*DwarfVersion=*/4, dwarf::DWARF32)) in TEST_F()
201 bool init(const std::string &TripleStr, unsigned DwarfVersion, in init() function in __anon5e2e47990111::AsmPrinterEmitDwarfOffsetTest
327 bool init(const std::string &TripleStr, unsigned DwarfVersion, in init() function in __anon5e2e47990111::AsmPrinterEmitDwarfUnitLengthAsHiLoDiffTest
[all …]
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dinfinite-loop.mm8 -(instancetype)init; method
17 -(instancetype)init; method
50 NSArray *arr = [[NSArray alloc] init];
54 [arr addObject: [[I alloc] init]];
59 NSArray *arr = [[NSArray alloc] init];
62 [arr addObject: [[I alloc] init]];
71 [arr addObject: [[I alloc] init]];
79 [arr addObject: [[I alloc] init]];
87 -(instancetype)init; method
115 [arr addObject: [[I alloc] init]];
[all …]
/llvm-project-15.0.7/clang/test/ARCMT/
H A Dinit.m8 -init; method
12 -init; method
19 -(id) init { method
20 [self init];
22 [a init];
23 a = [[A alloc] init];
29 [super init];
34 [self init];
35 [super init];
H A Dinit.m.result8 -init;
12 -init;
19 -(id) init {
20 if (!(self = [self init])) return nil;
22 [a init];
23 a = [[A alloc] init];
29 if (!(self = [super init])) return nil;
34 [self init];
35 [super init];
/llvm-project-15.0.7/lldb/test/API/lang/objc/objc-dyn-sbtype/
H A Dmain.m5 -(id) init; method
10 - (id) init { method
11 return (self = [super init]);
24 -(id) init; method
29 - (id) init { method
30 self = [super init];
47 NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
48 NSObject* object = [[MyDerivedClass alloc] init];
49 MyBaseClass* base = [[MyDerivedClass alloc] init];
/llvm-project-15.0.7/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/
H A Dmake_shared.array.unbounded.pass.cpp116 int init = 42; in main() local
119 assert(ptr[i] == init); in main()
124 int init[3] = {42, 43, 44}; in main() local
134 int init[3][2] = {{31, 32}, {41, 42}, {51, 52}}; in main() local
182 DestroyInReverseOrder init(&count); in main() local
193 DestroyInReverseOrder init[3] = {&count, &count, &count}; in main() local
240 CountCopies init(&copies); in main() local
247 CountCopies init[3] = {&copies, &copies, &copies}; in main() local
363 Sentinel init; in main() local
378 Sentinel init[3] = {}; in main() local
[all …]
H A Dmake_shared.array.bounded.pass.cpp75 int init = 42; in main() local
78 assert(ptr[i] == init); in main()
83 int init[3] = {42, 43, 44}; in main() local
93 int init[3][2] = {{31, 32}, {41, 42}, {51, 52}}; in main() local
141 DestroyInReverseOrder init(&count); in main() local
152 DestroyInReverseOrder init[3] = {&count, &count, &count}; in main() local
199 CountCopies init(&copies); in main() local
206 CountCopies init[3] = {&copies, &copies, &copies}; in main() local
322 Sentinel init; in main() local
337 Sentinel init[3] = {}; in main() local
[all …]
H A Dallocate_shared.array.bounded.pass.cpp76 int init = 42; in main() local
79 assert(ptr[i] == init); in main()
84 int init[3] = {42, 43, 44}; in main() local
94 int init[3][2] = {{31, 32}, {41, 42}, {51, 52}}; in main() local
142 DestroyInReverseOrder init(&count); in main() local
200 CountCopies init(&copies); in main() local
207 CountCopies init[3] = {&copies, &copies, &copies}; in main() local
323 Sentinel init; in main() local
338 Sentinel init[3] = {}; in main() local
353 Sentinel init[3][2] = {}; in main() local
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/GlobalISel/
H A Dllvm.amdgcn.ds.gws.init.ll1 …rs < %S/../llvm.amdgcn.ds.gws.init.ll | FileCheck -enable-var-scope -check-prefixes=GCN,LOOP %S/..…
2 …rs < %S/../llvm.amdgcn.ds.gws.init.ll | FileCheck -enable-var-scope -check-prefixes=GCN,LOOP %S/..…
3 …rs < %S/../llvm.amdgcn.ds.gws.init.ll | FileCheck -enable-var-scope -check-prefixes=GCN,LOOP %S/..…
4 …/../llvm.amdgcn.ds.gws.init.ll | FileCheck -enable-var-scope -check-prefixes=GCN,NOLOOP,NOLOOP-GIS…
5 …/../llvm.amdgcn.ds.gws.init.ll | FileCheck -enable-var-scope -check-prefixes=GCN,NOLOOP,NOLOOP-GIS…
6 …/../llvm.amdgcn.ds.gws.init.ll | FileCheck -enable-var-scope -check-prefixes=GCN,NOLOOP,NOLOOP-GIS…
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/tests/
H A Dquarantine_test.cpp73 Cache.init(); in TEST()
74 ToDeallocate.init(); in TEST()
83 Cache.init(); in TEST()
103 From.init(); in TEST()
106 Cache.init(); in TEST()
131 From.init(); in TEST()
132 Cache.init(); in TEST()
161 Cache.init(); in TEST()
164 From.init(); in TEST()
196 Cache.init(); in TEST()
[all …]

12345678910>>...75