| /llvm-project/clang/test/OpenMP/ |
| H A D | interop_messages.cpp | 13 #pragma omp interop init(target,foo:InteropVar) init(target:Another) in foo() 16 #pragma omp interop init(target:NoDeclVar) init(target:Another) in foo() 26 #pragma omp interop init(InteropVar) init(target:Another) in foo() 29 #pragma omp interop init(target InteropVar) in foo() 32 #pragma omp interop init(prefer_type(1,+,3),target:InteropVar) \ in foo() 33 init(target:Another) in foo() 39 #pragma omp interop init(prefer_type(1,"sycl",3),target:IntVar) \ in foo() 40 init(target:Another) in foo() 49 #pragma omp interop init(prefer_type(1,"sycl",3),target:SVar) \ in foo() 50 init(target:Another) in foo() [all …]
|
| H A D | interop_ast_print.cpp | 46 #pragma omp interop init(target:o1) in static_member_func() 49 #pragma omp interop init(target: to) in static_member_func() 52 #pragma omp interop init(target: T::to) in static_member_func() 55 #pragma omp interop init(target: S::so) in static_member_func() 61 #pragma omp interop init(target:o1) in S() 63 #pragma omp interop use(o1) init(target:o2) in S() 65 #pragma omp interop use(o2) init(target:o3) in S() 74 #pragma omp interop init(target:so) in foo() 87 #pragma omp interop init(target:I) in foo1() 105 #pragma omp interop init(target:IRef) in foo1() [all …]
|
| /llvm-project/mlir/lib/TableGen/ |
| H A D | Attribute.cpp | 28 static StringRef getValueAsString(const Init *init) { in getValueAsString() argument 29 if (const auto *str = dyn_cast<StringInit>(init)) in getValueAsString() 43 Attribute::Attribute(const DefInit *init) : Attribute(init->getDef()) {} in Attribute() argument 59 const auto *init = def->getValueInit("storageType"); in getStorageType() local 60 auto type = getValueAsString(init); in getStorageType() 67 const auto *init = def->getValueInit("returnType"); in getReturnType() local 68 return getValueAsString(init); in getReturnType() 80 const auto *init = def->getValueInit("convertFromStorage"); in getConvertFromStorageCall() local 81 return getValueAsString(init); in getConvertFromStorageCall() 85 const auto *init = def->getValueInit("constBuilderCall"); isConstBuildable() local 90 const auto *init = def->getValueInit("constBuilderCall"); getConstBuilderTemplate() local 103 const auto *init = def->getValueInit("defaultValue"); hasDefaultValue() local 108 const auto *init = def->getValueInit("defaultValue"); getDefaultValue() local 129 if (DefInit *init = dyn_cast<DefInit>(record->getValue())) getDialect() local 137 ConstantAttr(const DefInit * init) ConstantAttr() argument 155 EnumAttrCase(const llvm::DefInit * init) EnumAttrCase() argument 175 EnumAttr(const llvm::DefInit * init) EnumAttr() argument [all...] |
| /llvm-project/libcxx/test/std/algorithms/alg.nonmodifying/alg.fold/ |
| H A D | requirements.compile.pass.cpp | 129 static_assert(!requires(std::ranges::subrange<S*, S*> r, S init, F f) { in requires_decaying_invoke_result() 130 std::ranges::fold_left_with_iter(r.begin(), r.end(), init, f); in requires_decaying_invoke_result() 132 static_assert(!requires(std::ranges::subrange<S*, S*> r, S init, F f) { in requires_decaying_invoke_result() 133 std::ranges::fold_left_with_iter(r, init, f); in requires_decaying_invoke_result() 136 static_assert(!requires(std::ranges::subrange<S*, S*> r, S init, F f) { in requires_decaying_invoke_result() 137 std::ranges::fold_left(r.begin(), r.end(), init, f); in requires_decaying_invoke_result() 139 …ic_assert(!requires(std::ranges::subrange<S*, S*> r, S init, F f) { std::ranges::fold_left(r, init… in requires_decaying_invoke_result() 152 static_assert(!requires(std::ranges::subrange<T*, T*> r, T init) { in requires_movable_init() 153 std::ranges::fold_left_with_iter(r.begin(), r.end(), init, &T::apply); in requires_movable_init() 155 static_assert(!requires(std::ranges::subrange<T*, T*> r, T init) { in requires_movable_init() [all …]
|
| /llvm-project/lldb/unittests/Utility/ |
| H A D | DataEncoderTest.cpp | 18 const std::vector<uint8_t> init = {1, 2, 3, 4, 5, 6, 7, 8}; in TEST() local 22 DataEncoder encoder(init.data(), init.size(), lldb::eByteOrderLittle, in TEST() 38 ASSERT_EQ(encoder.PutU8(init.size(), 15), UINT32_MAX); in TEST() 169 const std::vector<uint8_t> init = {1, 2, 3, 4, 5, 6, 7, 8}; in TEST() local 172 DataEncoder encoder(init.data(), init.size(), lldb::eByteOrderLittle, in TEST() 188 ASSERT_EQ(encoder.PutU16(init.size(), 15), UINT32_MAX); in TEST() 193 const std::vector<uint8_t> init = {1, 2, 3, 4, 5, 6, 7, 8}; in TEST() local 196 DataEncoder encoder(init.data(), init.size(), lldb::eByteOrderBig, in TEST() 212 ASSERT_EQ(encoder.PutU16(init.size(), 15), UINT32_MAX); in TEST() 217 const std::vector<uint8_t> init = {1, 2, 3, 4, 5, 6, 7, 8}; in TEST() local [all …]
|
| /llvm-project/pstl/test/std/numerics/numeric.ops/ |
| H A D | scan.pass.cpp | 25 exclusive_scan_serial(InputIterator first, InputIterator last, OutputIterator result, T init) in exclusive_scan_serial() argument 29 *result = init; in exclusive_scan_serial() 30 init = init + *first; in exclusive_scan_serial() 37 exclusive_scan_serial(InputIterator first, InputIterator last, OutputIterator result, T init, Binar… in exclusive_scan_serial() argument 41 *result = init; in exclusive_scan_serial() 42 init = binary_op(init, *first); in exclusive_scan_serial() 50 …(InputIterator first, InputIterator last, OutputIterator result, BinaryOperation binary_op, T init) in inclusive_scan_serial() argument 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 ()() [all …]
|
| H A D | transform_scan.pass.cpp | 42 …Iterator out_last, OutputIterator expected_first, OutputIterator, Size n, UnaryOp unary_op, T init, in operator ()() 49 …ansform_inclusive_scan(std::execution::seq, first, last, expected_first, binary_op, unary_op, init) in operator ()() 50 …: transform_exclusive_scan(std::execution::seq, first, last, expected_first, init, binary_op, unar… in operator ()() 51 …rr2 = inclusive ? transform_inclusive_scan(exec, first, last, out_first, binary_op, unary_op, init) in operator ()() 52 … : transform_exclusive_scan(exec, first, last, out_first, init, binary_op, unary_op); in operator ()() 81 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 [all …]
|
| H A D | reduce.pass.cpp | 25 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() 46 …T result = transform_reduce_serial(in.cfbegin(), in.cfend(), init, binary_op, [](const T& t) { ret… in test_long_form() 49 …invoke_on_all_policies(test_long_forms_for_one_policy(), in.begin(), in.end(), init, binary_op, ex… in test_long_form() 50 …invoke_on_all_policies(test_long_forms_for_one_policy(), in.cbegin(), in.cend(), init, binary_op, … in test_long_form() 60 …operator()(pstl::execution::parallel_policy, Iterator first, Iterator last, Sum init, Sum expected) in operator ()() 65 …stl::execution::parallel_unsequenced_policy, Iterator first, Iterator last, Sum init, Sum expected) in operator ()() 72 operator()(Policy&& exec, Iterator first, Iterator last, Sum init, Sum expected) in operator ()() [all …]
|
| /llvm-project/llvm/test/CodeGen/AMDGPU/ |
| H A D | mfma-loop.ll | 267 %init = bitcast i32 %tid to float 268 %tmp0 = insertelement <32 x float> undef, float %init, i32 0 269 %tmp1 = insertelement <32 x float> %tmp0, float %init, i32 1 270 %tmp2 = insertelement <32 x float> %tmp1, float %init, i32 2 271 %tmp3 = insertelement <32 x float> %tmp2, float %init, i32 3 272 %tmp4 = insertelement <32 x float> %tmp3, float %init, i32 4 273 %tmp5 = insertelement <32 x float> %tmp4, float %init, i32 5 274 %tmp6 = insertelement <32 x float> %tmp5, float %init, i32 6 275 %tmp7 = insertelement <32 x float> %tmp6, float %init, i32 7 276 %tmp8 = insertelement <32 x float> %tmp7, float %init, i32 8 [all …]
|
| /llvm-project/llvm/lib/CodeGen/ |
| H A D | CommandFlags.cpp | 127 cl::value_desc("cpu-name"), cl::init("")); in CGOPT() 156 cl::init(ThreadModel::POSIX), in CGOPT() 174 cl::init(0)); in CGOPT() 179 cl::init(ExceptionHandling::None), in CGOPT() 195 "filetype", cl::init(CodeGenFileType::AssemblyFile), in CGOPT() 209 cl::init(FramePointerKind::None), in CGOPT() 225 cl::init(false)); in CGOPT() 231 cl::init(false)); in CGOPT() 237 cl::init(false)); in CGOPT() 244 cl::init(fals in CGOPT() [all...] |
| /llvm-project/llvm/unittests/CodeGen/ |
| H A D | AsmPrinterDwarfTest.cpp | 41 bool init(const std::string &TripleStr, unsigned DwarfVersion, in init() function in __anon07ae94fc0111::AsmPrinterFixtureBase 52 bool init(const std::string &TripleStr, unsigned DwarfVersion, in init() function in __anon07ae94fc0111::AsmPrinterEmitDwarfSymbolReferenceTest 54 if (!AsmPrinterFixtureBase::init(TripleStr, DwarfVersion, DwarfFormat)) in init() 76 if (!init("x86_64-pc-windows", /*DwarfVersion=*/4, dwarf::DWARF32)) in TEST_F() 84 if (!init("x86_64-pc-windows", /*DwarfVersion=*/4, dwarf::DWARF32)) in TEST_F() 93 if (!init("x86_64-pc-linux", /*DwarfVersion=*/4, dwarf::DWARF32)) in TEST_F() 107 if (!init("x86_64-pc-linux", /*DwarfVersion=*/4, dwarf::DWARF32)) in TEST_F() 116 if (!init("x86_64-pc-linux", /*DwarfVersion=*/4, dwarf::DWARF64)) in TEST_F() 130 if (!init("x86_64-pc-linux", /*DwarfVersion=*/4, dwarf::DWARF64)) in TEST_F() 140 bool init(cons function in __anon07ae94fc0111::AsmPrinterEmitDwarfStringOffsetTest 204 bool init(const std::string &TripleStr, unsigned DwarfVersion, init() function in __anon07ae94fc0111::AsmPrinterEmitDwarfOffsetTest 330 bool init(const std::string &TripleStr, unsigned DwarfVersion, init() function in __anon07ae94fc0111::AsmPrinterEmitDwarfUnitLengthAsHiLoDiffTest 394 bool init(const std::string &TripleStr, unsigned DwarfVersion, init() function in __anon07ae94fc0111::AsmPrinterHandlerTest 444 bool init(const std::string &TripleStr, unsigned DwarfVersion, init() function in __anon07ae94fc0111::AsmPrinterDebugHandlerTest [all...] |
| /llvm-project/mlir/include/mlir/Dialect/SparseTensor/Pipelines/ |
| H A D | Passes.h | 36 ::llvm::cl::init(mlir::SparseParallelizationStrategy::kNone), 58 ::llvm::cl::init(mlir::SparseEmitStrategy::kFunctional), 72 init(true)}; 76 desc("Run only the inplacability analysis"), init(false)}; 80 desc("Enable zero-initialization of memory buffers"), init(false)}; 90 init(true)}; 94 init(0)}; 101 init(false)}; 106 init(true)}; 110 init(fals [all...] |
| /llvm-project/clang/test/CodeGenObjC/ |
| H A D | related-result-type.m | 5 - (id)init; method 17 NSString *str1 = [[[NSString alloc] init] retain]; 25 NSString *str1 = NSString.alloc.init.retain; 29 - (id)init; method 33 // CHECK: define internal {{.*}}ptr @"\01-[Test2 init]" 34 - (id)init { method 36 return [super init]; 41 - (id)init; method 45 // CHECK: define internal {{.*}}ptr @"\01-[Test3 init]" 46 - (id)init { method [all …]
|
| /llvm-project/clang/test/Analysis/ |
| H A D | self-init.m | 19 -(id)init; method 66 -(id)init; method 71 -(id)init { method 72 …ndleFailureInMethod:_cmd object:self file:[NSString stringWithUTF8String:"init.m"] lineNumber:21 d… 87 self = [super init]; 95 [super init]; 99 …ected-warning {{Returning 'self' while it is not set to the result of '[(super or self) init...]'}} 103 if ((self = [super init])) 130 if ((self = [super init])) { 152 [super init]; [all …]
|
| /llvm-project/lldb/test/API/lang/objc/bitfield_ivars/ |
| H A D | main.m | 17 -(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/llvm/test/MC/MachO/ |
| H A D | tls.s | 5 .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/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/ |
| H A D | make_shared.array.bounded.pass.cpp | 71 int init = 42; in main() local 72 std::shared_ptr<Array> ptr = std::make_shared<Array>(init); in main() 74 assert(ptr[i] == init); in main() 79 int init[3] = {42, 43, 44}; in main() local 80 std::shared_ptr<Array> ptr = std::make_shared<Array>(init); in main() 89 int init[3][2] = {{31, 32}, {41, 42}, {51, 52}}; in main() local 90 std::shared_ptr<Array> ptr = std::make_shared<Array>(init); in main() 137 DestroyInReverseOrder init(&count); in main() local 140 std::shared_ptr<Array> ptr = std::make_shared<Array>(init); in main() 148 DestroyInReverseOrder init[3] = {&count, &count, &count}; in main() local [all …]
|
| H A D | make_shared.array.unbounded.pass.cpp | 112 int init = 42; in main() local 113 std::shared_ptr<Array> ptr = std::make_shared<Array>(8, init); in main() 115 assert(ptr[i] == init); in main() 120 int init[3] = {42, 43, 44}; in main() local 121 std::shared_ptr<Array> ptr = std::make_shared<Array>(8, init); in main() 130 int init[3][2] = {{31, 32}, {41, 42}, {51, 52}}; in main() local 131 std::shared_ptr<Array> ptr = std::make_shared<Array>(8, init); in main() 178 DestroyInReverseOrder init(&count); in main() local 181 std::shared_ptr<Array> ptr = std::make_shared<Array>(8, init); in main() 189 DestroyInReverseOrder init[3] = {&count, &count, &count}; in main() local [all …]
|
| H A D | allocate_shared.array.bounded.pass.cpp | 72 int init = 42; in main() local 73 std::shared_ptr<Array> ptr = std::allocate_shared<Array>(std::allocator<Array>(), init); in main() 75 assert(ptr[i] == init); in main() 80 int init[3] = {42, 43, 44}; in main() local 81 std::shared_ptr<Array> ptr = std::allocate_shared<Array>(std::allocator<Array>(), init); in main() 90 int init[3][2] = {{31, 32}, {41, 42}, {51, 52}}; in main() local 91 std::shared_ptr<Array> ptr = std::allocate_shared<Array>(std::allocator<Array>(), init); in main() 138 DestroyInReverseOrder init(&count); in main() local 141 std::shared_ptr<Array> ptr = std::allocate_shared<Array>(std::allocator<Array>(), init); in main() 149 DestroyInReverseOrder init[3] = {&count, &count, &count}; in main() local [all …]
|
| /llvm-project/mlir/python/mlir/dialects/linalg/ |
| H A D | __init__.py | 74 init = _get_op_result_or_value(outs[0]) 75 result_types = [init.type] if isinstance(init.type, RankedTensorType) else [] 80 init=init, 96 init = _get_op_result_or_value(outs[0]) 97 result_types = [init.type] if isinstance(init.type, RankedTensorType) else [] 102 init=init, [all...] |
| /llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
| H A D | infinite-loop.mm | 8 -(instancetype)init; method 17 -(instancetype)init; method 57 id x = [[I alloc] init]; 71 NSArray *arr = [[NSArray alloc] init]; 75 [arr addObject: [[I alloc] init]]; 80 NSArray *arr = [[NSArray alloc] init]; 83 [arr addObject: [[I alloc] init]]; 88 NSArray *arr = [[NSArray alloc] init]; 92 [arr addObject: [[I alloc] init]]; 97 NSArray *arr = [[NSArray alloc] init]; [all …]
|
| /llvm-project/clang/test/ARCMT/ |
| H A D | init.m | 8 -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 D | init.m.result | 8 -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/lldb/test/API/lang/objc/objc-dyn-sbtype/ |
| H A D | main.m | 5 -(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/compiler-rt/lib/scudo/standalone/tests/ |
| H A D | quarantine_test.cpp | 39 Into.init(FakePtr, 4UL); in TEST() 41 From.init(FakePtr, 8UL); in TEST() 65 From.init(FakePtr, 8UL); in TEST() 73 Cache.init(); in TEST() 74 ToDeallocate.init(); in TEST() 83 Cache.init(); in TEST() 88 ToDeallocate.init(); in TEST() 103 From.init(); in TEST() 106 Cache.init(); in TEST() 114 ToDeallocate.init(); in TEST() [all …]
|