| /llvm-project-15.0.7/libcxxabi/test/ |
| H A D | unwind_06.pass.cpp | 30 double a = get(0); in try1() 31 double b = get(1); in try1() 33 a += get(1) + b; in try1() 35 return get(0)+a+b; in try1() 39 double a = get(0); in try2() 40 double b = get(1); in try2() 41 double c = get(2); in try2() 49 double a = get(0); in try3() 50 double b = get(1); in try3() 51 double c = get(2); in try3() [all …]
|
| /llvm-project-15.0.7/mlir/unittests/Dialect/Utils/ |
| H A D | StructuredOpsUtilsTest.cpp | 26 auto mapA = AffineMapAttr::get(AffineMap::get(3, 0, {m, k}, &context)); in TEST() 27 auto mapB = AffineMapAttr::get(AffineMap::get(3, 0, {k, n}, &context)); in TEST() 28 auto mapC = AffineMapAttr::get(AffineMap::get(3, 0, {m, n}, &context)); in TEST() 39 auto mapA = AffineMapAttr::get(AffineMap::get(3, 0, {m, k}, &context)); in TEST() 40 auto mapB = AffineMapAttr::get(AffineMap::get(3, 0, {k, n}, &context)); in TEST() 41 auto mapC = AffineMapAttr::get(AffineMap::get(3, 0, {m, n}, &context)); in TEST() 52 auto mapA = AffineMapAttr::get(AffineMap::get(3, 0, {m, k}, &context)); in TEST() 53 auto mapB = AffineMapAttr::get(AffineMap::get(3, 0, {k, n}, &context)); in TEST() 54 auto mapC = AffineMapAttr::get(AffineMap::get(3, 0, {m, n}, &context)); in TEST() 65 auto mapA = AffineMapAttr::get(AffineMap::get(3, 0, {k, n}, &context)); in TEST() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/readability/ |
| H A D | redundant-smartptr-get.cpp | 11 T* get() const; 19 T* get() const; 32 Bar* get(); 36 int* get(); 42 Bar* get(); 45 Bar* get(); 51 int* get(); 53 T* get(); 104 i = *ip2.get(); in Positive() 116 if (up->get()); in Positive() [all …]
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | ValueTypes.cpp | 39 VT.LLVMTy = IntegerType::get(Context, BitWidth); in getExtendedIntegerVT() 196 case MVT::i128: return IntegerType::get(Context, 128); in getTypeForEVT() 206 case MVT::i64x8: return IntegerType::get(Context, 512); in getTypeForEVT() 209 return PointerType::get(StructType::create(Context), 10); in getTypeForEVT() 212 return PointerType::get(Type::getInt8Ty(Context), 20); in getTypeForEVT() 214 return FixedVectorType::get(Type::getInt1Ty(Context), 1); in getTypeForEVT() 216 return FixedVectorType::get(Type::getInt1Ty(Context), 2); in getTypeForEVT() 218 return FixedVectorType::get(Type::getInt1Ty(Context), 4); in getTypeForEVT() 220 return FixedVectorType::get(Type::getInt1Ty(Context), 8); in getTypeForEVT() 240 return FixedVectorType::get(Type::getInt8Ty(Context), 1); in getTypeForEVT() [all …]
|
| /llvm-project-15.0.7/mlir/test/python/ir/ |
| H A D | affine_map.py | 32 d0 = AffineDimExpr.get(0) 33 d1 = AffineDimExpr.get(1) 67 AffineMap.get(1, 1, [1]) 126 d0 = AffineDimExpr.get(0) 127 d1 = AffineDimExpr.get(1) 128 d2 = AffineDimExpr.get(2) 182 d0, d1, d2 = (AffineDimExpr.get(0), AffineDimExpr.get(1), 184 s0, s1, s2 = (AffineSymbolExpr.get(0), AffineSymbolExpr.get(1), 209 d0, d1, d2 = (AffineDimExpr.get(0), AffineDimExpr.get(1), 211 s0, s1, s2 = (AffineSymbolExpr.get(0), AffineSymbolExpr.get(1), [all …]
|
| H A D | affine_expr.py | 87 d11 = AffineDimExpr.get(1) 88 d2 = AffineDimExpr.get(2) 130 d1 = AffineDimExpr.get(1) 131 d2 = AffineDimExpr.get(2) 157 d1 = AffineDimExpr.get(1) 185 d1 = AffineDimExpr.get(1) 226 d1 = AffineDimExpr.get(1) 375 expr = AffineAddExpr.get(AffineDimExpr.get(0), AffineDimExpr.get(2)) 378 map1 = AffineAddExpr.get(AffineDimExpr.get(0), AffineSymbolExpr.get(1)) 379 map2 = AffineAddExpr.get(AffineDimExpr.get(1), AffineSymbolExpr.get(0)) [all …]
|
| /llvm-project-15.0.7/clang/lib/Format/ |
| H A D | FormatToken.h | 898 kw_in = &IdentTable.get("in"); in AdditionalKeywords() 899 kw_of = &IdentTable.get("of"); in AdditionalKeywords() 907 kw_as = &IdentTable.get("as"); in AdditionalKeywords() 914 kw_get = &IdentTable.get("get"); in AdditionalKeywords() 917 kw_is = &IdentTable.get("is"); in AdditionalKeywords() 918 kw_let = &IdentTable.get("let"); in AdditionalKeywords() 921 kw_set = &IdentTable.get("set"); in AdditionalKeywords() 924 kw_var = &IdentTable.get("var"); in AdditionalKeywords() 976 kw_out = &IdentTable.get("out"); in AdditionalKeywords() 978 kw_ref = &IdentTable.get("ref"); in AdditionalKeywords() [all …]
|
| /llvm-project-15.0.7/mlir/unittests/IR/ |
| H A D | AttributeTest.cpp | 35 IntegerType boolTy = IntegerType::get(&context, 1); in TEST() 60 IntegerType boolTy = IntegerType::get(&context, 1); in TEST() 113 Attribute value = IntegerAttr::get(intTy, 109); in TEST() 137 Attribute value = FloatAttr::get(floatTy, 10.0); in TEST() 145 Attribute value = FloatAttr::get(floatTy, 10.0); in TEST() 154 OpaqueType::get(StringAttr::get(&context, "test"), "string"); in TEST() 163 OpaqueType::get(StringAttr::get(&context, "test"), "string"); in TEST() 177 ComplexType complexType = ComplexType::get(IntegerType::get(&context, 64)); in TEST() 191 ComplexType complexType = ComplexType::get(IntegerType::get(&context, 64)); in TEST() 213 Type stringTy = OpaqueType::get(StringAttr::get(&context, "test"), "string"); in TEST() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/variant/variant.get/ |
| H A D | get_index.pass.cpp | 50 assert(std::get<0>(v) == 42); in test_const_lvalue_get() 64 assert(std::get<1>(v) == 42); in test_const_lvalue_get() 73 assert(&std::get<0>(v) == &x); in test_const_lvalue_get() 80 assert(&std::get<0>(v) == &x); in test_const_lvalue_get() 87 assert(&std::get<0>(v) == &x); in test_const_lvalue_get() 98 assert(std::get<0>(v) == 42); in test_lvalue_get() 104 assert(std::get<1>(v) == 42); in test_lvalue_get() 113 assert(&std::get<0>(v) == &x); in test_lvalue_get() 120 assert(&std::get<0>(v) == &x); in test_lvalue_get() 127 assert(&std::get<0>(v) == &x); in test_lvalue_get() [all …]
|
| H A D | get_type.pass.cpp | 35 ASSERT_NOT_NOEXCEPT(std::get<int>(v)); in test_const_lvalue_get() 42 ASSERT_NOT_NOEXCEPT(std::get<int>(v)); in test_const_lvalue_get() 44 assert(std::get<int>(v) == 42); in test_const_lvalue_get() 58 assert(std::get<const long>(v) == 42); in test_const_lvalue_get() 67 assert(&std::get<int &>(v) == &x); in test_const_lvalue_get() 74 assert(&std::get<int &&>(v) == &x); in test_const_lvalue_get() 90 ASSERT_NOT_NOEXCEPT(std::get<int>(v)); in test_lvalue_get() 92 assert(std::get<int>(v) == 42); in test_lvalue_get() 98 assert(std::get<const long>(v) == 42); in test_lvalue_get() 107 assert(&std::get<int &>(v) == &x); in test_lvalue_get() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.elem/ |
| H A D | get_non_const.pass.cpp | 33 constexpr S() : a{1,Empty{}}, k(std::get<0>(a)), e(std::get<1>(a)) {} in S() 44 assert(std::get<0>(t) == 3); in main() 45 std::get<0>(t) = 2; in main() 46 assert(std::get<0>(t) == 2); in main() 52 assert(std::get<1>(t) == 5); in main() 53 std::get<0>(t) = "four"; in main() 54 std::get<1>(t) = 4; in main() 56 assert(std::get<1>(t) == 4); in main() 65 std::get<0>(t) = 2.5; in main() 66 std::get<1>(t) = "four"; in main() [all …]
|
| H A D | tuple.by.type.pass.cpp | 29 assert ( std::get<cf>(t1).real() == 1 ); // find at the end in main() 30 assert ( std::get<cf>(t1).imag() == 2 ); in main() 36 assert ( std::get<std::string>(t2) == "Hi" ); in main() 37 assert (( std::get<cf>(t2) == cf{ 1,2 } )); in main() 42 static_assert ( std::get<int>(p5) == 1, "" ); in main() 43 static_assert ( std::get<const int>(p5) == 2, "" ); in main() 48 const int &i1 = std::get<int>(p5); in main() 49 const int &i2 = std::get<const int>(p5); in main() 57 upint p = std::get<upint>(std::move(t)); // get rvalue in main() 67 assert(std::get<upint>(t) != nullptr); in main() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | ValueMapTest.cpp | 48 VM[this->BitcastV.get()] = 7; in TYPED_TEST() 67 VM[this->BitcastV.get()] = 7; in TYPED_TEST() 124 VM[this->BitcastV.get()] = 2; in TYPED_TEST() 125 VM[this->AddV.get()] = 3; in TYPED_TEST() 168 VM[this->BitcastV.get()] = 7; in TYPED_TEST() 169 VM[this->AddV.get()] = 9; in TYPED_TEST() 204 VM[this->BitcastV.get()] = 7; in TYPED_TEST() 219 VM[this->BitcastV.get()] = 7; in TYPED_TEST() 253 VM[this->BitcastV.get()] = 7; in TYPED_TEST() 285 VM[this->BitcastV.get()] = 7; in TYPED_TEST() [all …]
|
| H A D | ValueHandleTest.cpp | 37 WeakVH WVH(BitcastV.get()); in TEST_F() 38 EXPECT_EQ(BitcastV.get(), WVH); in TEST_F() 47 WVH = BitcastV.get(); in TEST_F() 81 Value *BV = BitcastV.get(); in TEST_F() 159 Value *BV = BitcastV.get(); in TEST_F() 236 Value *BV = BitcastV.get(); in TEST_F() 272 RVH = BitcastV.get(); in TEST_F() 302 RVH = BitcastV.get(); in TEST_F() 424 A1 = BitcastV.get(); in TEST_F() 426 A2 = BitcastV.get(); in TEST_F() [all …]
|
| H A D | MetadataTest.cpp | 182 ConstantAsMetadata::get(ConstantInt::get(Context, APInt(8, 0))); in TEST_F() 248 Metadata *Args[] = {Temp.get(), MDNode::get(Context, None)}; in TEST_F() 556 ConstantAsMetadata *Op = ConstantAsMetadata::get(GV.get()); in TEST_F() 795 ConstantAsMetadata *Op = ConstantAsMetadata::get(GV.get()); in TEST_F() 818 ConstantAsMetadata *Op = ConstantAsMetadata::get(GV.get()); in TEST_F() 833 Metadata *NullOps[] = {ConstantAsMetadata::get(GV2.get())}; in TEST_F() 913 EXPECT_EQ(Temp.get(), Ref.get()); in TEST_F() 3207 auto *MD = ValueAsMetadata::get(GV0.get()); in TEST_F() 3224 auto *N = MDTuple::get(Context, {Temp1.get()}); in TEST_F() 3281 auto *MD0 = ValueAsMetadata::get(GV0.get()); in TEST_F() [all …]
|
| /llvm-project-15.0.7/lldb/tools/debugserver/source/ |
| H A D | RNBServices.cpp | 77 pidCFNumber.get()); in GetProcesses() 105 if (cf_pid_path.get()) in GetProcesses() 112 ::CFDictionarySetValue(appInfoDict.get(), in GetProcesses() 147 CFIndex count = sbsAppIDs.get() ? ::CFArrayGetCount(sbsAppIDs.get()) : 0; in ListApplications() 165 pidCFNumber.get()); in ListApplications() 180 if (executablePath.get() != NULL) { in ListApplications() 187 if (iconImagePath.get() != NULL) { in ListApplications() 195 if (localizedDisplayName.get() != NULL) { in ListApplications() 196 ::CFDictionarySetValue(appInfoDict.get(), in ListApplications() 202 ::CFArrayAppendValue(plistMutableArray.get(), appInfoDict.get()); in ListApplications() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/ranges/range.utility/range.subrange/ |
| H A D | get.pass.cpp | 22 std::get<I>(std::declval<S>()); 37 ASSERT_SAME_TYPE(decltype(std::get<0>(r)), It); in test() 38 ASSERT_SAME_TYPE(decltype(std::get<1>(r)), Sent); in test() 39 ASSERT_SAME_TYPE(decltype(std::get<0>(static_cast<R&&>(r))), It); in test() 40 ASSERT_SAME_TYPE(decltype(std::get<1>(static_cast<R&&>(r))), Sent); in test() 56 ASSERT_SAME_TYPE(decltype(std::get<0>(r)), It); in test() 57 ASSERT_SAME_TYPE(decltype(std::get<1>(r)), Sent); in test() 58 ASSERT_SAME_TYPE(decltype(std::get<0>(static_cast<R&&>(r))), It); in test() 59 ASSERT_SAME_TYPE(decltype(std::get<1>(static_cast<R&&>(r))), Sent); in test() 77 ASSERT_SAME_TYPE(decltype(std::get<1>(r)), Sent); in test() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.creation/ |
| H A D | tuple_cat.pass.cpp | 56 assert(std::get<0>(t) == 1); in main() 92 assert(std::get<0>(t) == 1); in main() 93 assert(std::get<1>(t) == 2); in main() 97 assert(std::get<0>(t) == 0); in main() 98 assert(std::get<1>(t) == 0); in main() 99 assert(std::get<2>(t) == 0); in main() 103 assert(std::get<0>(t) == 2); in main() 104 assert(std::get<1>(t) == 1); in main() 117 assert(std::get<0>(t3) == 2); in main() 123 assert(std::get<0>(t3) == 2); in main() [all …]
|
| /llvm-project-15.0.7/clang/unittests/Analysis/ |
| H A D | ExprMutationAnalyzerTest.cpp | 112 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST() 313 EXPECT_TRUE(isMutated(Results, AST.get())); in TEST() 500 EXPECT_THAT(mutatedBy(Results, AST.get()), in TEST() 506 EXPECT_THAT(mutatedBy(Results, AST.get()), in TEST() 512 EXPECT_THAT(mutatedBy(Results, AST.get()), in TEST() 518 EXPECT_THAT(mutatedBy(Results, AST.get()), in TEST() 527 EXPECT_THAT(mutatedBy(Results, AST.get()), in TEST() 533 EXPECT_THAT(mutatedBy(Results, AST.get()), in TEST() 539 EXPECT_THAT(mutatedBy(Results, AST.get()), in TEST() 545 EXPECT_THAT(mutatedBy(Results, AST.get()), in TEST() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/containers/sequences/array/array.tuple/ |
| H A D | get.pass.cpp | 28 assert(std::get<0>(array) == 3.3); in tests() 29 std::get<0>(array) = 99.1; in tests() 30 assert(std::get<0>(array) == 99.1); in tests() 34 assert(std::get<0>(array) == 3.3); in tests() 35 assert(std::get<1>(array) == 4.4); in tests() 36 std::get<0>(array) = 99.1; in tests() 37 std::get<1>(array) = 99.2; in tests() 43 assert(std::get<0>(array) == 3.3); in tests() 44 assert(std::get<1>(array) == 4.4); in tests() 45 assert(std::get<2>(array) == 5.5); in tests() [all …]
|
| /llvm-project-15.0.7/lldb/source/Host/macosx/cfcpp/ |
| H A D | CFCMutableDictionary.cpp | 119 if (cf_number.get()) { in AddValueSInt8() 134 if (cf_number.get()) { in SetValueSInt8() 149 if (cf_number.get()) { in AddValueSInt16() 164 if (cf_number.get()) { in SetValueSInt16() 179 if (cf_number.get()) { in AddValueSInt32() 194 if (cf_number.get()) { in SetValueSInt32() 209 if (cf_number.get()) { in AddValueSInt64() 224 if (cf_number.get()) { in SetValueSInt64() 242 if (cf_number.get()) { in AddValueUInt8() 418 if (cf_str.get()) { in AddValueCString() [all …]
|
| /llvm-project-15.0.7/mlir/unittests/Interfaces/ |
| H A D | DataLayoutInterfacesTest.cpp | 55 static CustomDataLayoutSpec get(MLIRContext *ctx, in get() function 57 return Base::get(ctx, entries); in get() 76 static SingleQueryType get(MLIRContext *ctx) { return Base::get(ctx); } in get() function 115 static TypeNoLayout get(MLIRContext *ctx) { return Base::get(ctx); } in get() function 238 return SingleQueryType::get(parser.getContext()); in parseType() 254 DataLayout layout(module.get()); in TEST() 256 EXPECT_EQ(layout.getTypeSize(Float16Type::get(&ctx)), 2u); in TEST() 328 EXPECT_EQ(layout.getTypeSize(Float16Type::get(&ctx)), 6u); in TEST() 361 sum += layout.getTypeSize(SingleQueryType::get(&ctx)); in TEST() 364 sum += layout.getTypeSize(SingleQueryType::get(&ctx)); in TEST() [all …]
|
| /llvm-project-15.0.7/flang/lib/Parser/ |
| H A D | unparse.cpp | 414 Walk(std::get<0>(x.t)), Put(':'), Walk(std::get<1>(x.t)); in Unparse() 788 Walk(std::get<0>(x.t)), Put(':'), Walk(std::get<1>(x.t)); in Unparse() 1016 Walk(std::get<Name>(x.t)), Put('='), Walk(std::get<1>(x.t)); in Unparse() 1598 Walk(std::get<Name>(x.t)), Walk(":", std::get<std::optional<Name>>(x.t)); in Unparse() 2244 Walk(std::get<0>(x.t)); in Unparse() 2246 Walk(std::get<2>(x.t)); in Unparse() 2259 Walk(std::get<0>(x.t)); in Unparse() 2261 Walk(std::get<2>(x.t)); in Unparse() 2272 Walk(std::get<0>(x.t)); in Unparse() 2274 Walk(std::get<2>(x.t)); in Unparse() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/ADT/ |
| H A D | PointerSumTypeTest.cpp | 58 EXPECT_EQ(&f, a.get<Float>()); in TEST_F() 59 EXPECT_EQ(nullptr, a.get<Int1>()); in TEST_F() 60 EXPECT_EQ(nullptr, a.get<Int2>()); in TEST_F() 62 EXPECT_EQ(&i1, b.get<Int1>()); in TEST_F() 63 EXPECT_EQ(nullptr, b.get<Int2>()); in TEST_F() 65 EXPECT_EQ(nullptr, c.get<Int1>()); in TEST_F() 66 EXPECT_EQ(&i2, c.get<Int2>()); in TEST_F() 71 EXPECT_EQ(nullptr, n.get<Int1>()); in TEST_F() 85 EXPECT_EQ(&i2, b.get<Int2>()); in TEST_F() 90 EXPECT_EQ(&i1, b.get<Int2>()); in TEST_F() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/Target/ARM/ |
| H A D | InstSizes.cpp | 98 runChecks(TM.get(), II, "", in TEST() 103 runChecks(TM.get(), II, "", in TEST() 108 runChecks(TM.get(), II, "", in TEST() 113 runChecks(TM.get(), II, "", in TEST() 122 runChecks(TM.get(), II, "", in TEST() 127 runChecks(TM.get(), II, "", in TEST() 132 runChecks(TM.get(), II, "", in TEST() 137 runChecks(TM.get(), II, "", in TEST() 142 runChecks(TM.get(), II, "", in TEST() 147 runChecks(TM.get(), II, "", in TEST() [all …]
|