/external/llvm/unittests/ADT/ |
D | PointerSumTypeTest.cpp | 17 enum Kinds { Float, Int1, Int2 }; enumerator 22 PointerSumTypeMember<Int1, int *>, 29 b(SumType::create<Int1>(&i1)), c(SumType::create<Int2>(&i2)), n() {} in PointerSumTypeTest() 41 EXPECT_EQ(Int1, b.getTag()); in TEST_F() 48 EXPECT_FALSE(a.is<Int1>()); in TEST_F() 51 EXPECT_TRUE(b.is<Int1>()); in TEST_F() 54 EXPECT_FALSE(c.is<Int1>()); in TEST_F() 60 EXPECT_EQ(nullptr, a.get<Int1>()); in TEST_F() 63 EXPECT_EQ(&i1, b.get<Int1>()); in TEST_F() 66 EXPECT_EQ(nullptr, c.get<Int1>()); in TEST_F() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/ |
D | PointerSumTypeTest.cpp | 17 enum Kinds { Float, Int1, Int2 }; enumerator 22 PointerSumTypeMember<Int1, int *>, 29 b(SumType::create<Int1>(&i1)), c(SumType::create<Int2>(&i2)), n() {} in PointerSumTypeTest() 41 EXPECT_EQ(Int1, b.getTag()); in TEST_F() 48 EXPECT_FALSE(a.is<Int1>()); in TEST_F() 51 EXPECT_TRUE(b.is<Int1>()); in TEST_F() 54 EXPECT_FALSE(c.is<Int1>()); in TEST_F() 60 EXPECT_EQ(nullptr, a.get<Int1>()); in TEST_F() 63 EXPECT_EQ(&i1, b.get<Int1>()); in TEST_F() 66 EXPECT_EQ(nullptr, c.get<Int1>()); in TEST_F() [all …]
|
/external/swiftshader/third_party/LLVM/unittests/VMCore/ |
D | ConstantsTest.cpp | 19 IntegerType* Int1 = IntegerType::get(getGlobalContext(), 1); in TEST() local 20 Constant* One = ConstantInt::get(Int1, 1, true); in TEST() 21 Constant* Zero = ConstantInt::get(Int1, 0); in TEST() 22 Constant* NegOne = ConstantInt::get(Int1, static_cast<uint64_t>(-1), true); in TEST() 23 EXPECT_EQ(NegOne, ConstantInt::getSigned(Int1, -1)); in TEST() 24 Constant* Undef = UndefValue::get(Int1); in TEST()
|
D | InstructionsTest.cpp | 29 IntegerType* Int1 = IntegerType::get(C, 1); in TEST() local 30 Constant* One = ConstantInt::get(Int1, 1, true); in TEST() 67 IntegerType* Int1 = IntegerType::get(C, 1); in TEST() local 68 Constant* One = ConstantInt::get(Int1, 1, true); in TEST()
|
/external/clang/test/Index/ |
D | complete-interfaces.m | 4 @class Int1, Int2, Int3, Int4; 23 // CHECK-CC1: ObjCInterfaceDecl:{TypedText Int1} 28 // CHECK-CC2: ObjCInterfaceDecl:{TypedText Int1} 33 // CHECK-CC3: ObjCInterfaceDecl:{TypedText Int1} 37 // CHECK-CC4: ObjCInterfaceDecl:{TypedText Int1} 42 // CHECK-CC5: ObjCInterfaceDecl:{TypedText Int1}
|
/external/clang/test/CodeGenObjC/ |
D | compatibility-alias.m | 3 @interface Int1 @end interface 5 typedef Int1 Int1Typedef;
|
D | encode-test.m | 6 @class Int1; 12 @interface Int1 { interface 18 @implementation Int1 implementation 55 Int1 *sBase;
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/ |
D | ConstantsTest.cpp | 26 IntegerType *Int1 = IntegerType::get(Context, 1); in TEST() local 27 Constant* One = ConstantInt::get(Int1, 1, true); in TEST() 28 Constant* Zero = ConstantInt::get(Int1, 0); in TEST() 29 Constant* NegOne = ConstantInt::get(Int1, static_cast<uint64_t>(-1), true); in TEST() 30 EXPECT_EQ(NegOne, ConstantInt::getSigned(Int1, -1)); in TEST() 31 Constant* Undef = UndefValue::get(Int1); in TEST() 361 Constant *Int1 = ConstantExpr::getPtrToInt(G1, IntTy); in TEST() local 363 ASSERT_NE(Int1, Int2); in TEST() 366 new GlobalVariable(*M, IntTy, false, GlobalValue::ExternalLinkage, Int1); in TEST() 367 ASSERT_EQ(Int1, Ref->getInitializer()); in TEST()
|
D | InstructionsTest.cpp | 49 IntegerType* Int1 = IntegerType::get(C, 1); in TEST() local 50 Constant* One = ConstantInt::get(Int1, 1, true); in TEST() 139 IntegerType* Int1 = IntegerType::get(C, 1); in TEST() local 140 Constant* One = ConstantInt::get(Int1, 1, true); in TEST()
|
/external/llvm/unittests/IR/ |
D | ConstantsTest.cpp | 26 IntegerType *Int1 = IntegerType::get(Context, 1); in TEST() local 27 Constant* One = ConstantInt::get(Int1, 1, true); in TEST() 28 Constant* Zero = ConstantInt::get(Int1, 0); in TEST() 29 Constant* NegOne = ConstantInt::get(Int1, static_cast<uint64_t>(-1), true); in TEST() 30 EXPECT_EQ(NegOne, ConstantInt::getSigned(Int1, -1)); in TEST() 31 Constant* Undef = UndefValue::get(Int1); in TEST() 360 Constant *Int1 = ConstantExpr::getPtrToInt(G1, IntTy); in TEST() local 362 ASSERT_NE(Int1, Int2); in TEST() 365 new GlobalVariable(*M, IntTy, false, GlobalValue::ExternalLinkage, Int1); in TEST() 366 ASSERT_EQ(Int1, Ref->getInitializer()); in TEST()
|
D | InstructionsTest.cpp | 37 IntegerType* Int1 = IntegerType::get(C, 1); in TEST() local 38 Constant* One = ConstantInt::get(Int1, 1, true); in TEST() 127 IntegerType* Int1 = IntegerType::get(C, 1); in TEST() local 128 Constant* One = ConstantInt::get(Int1, 1, true); in TEST()
|
/external/spirv-llvm/lib/SPIRV/ |
D | SPIRVReader.cpp | 135 getMDTwoInt(LLVMContext *Context, unsigned Int1, unsigned Int2) { in getMDTwoInt() argument 137 ValueVec.push_back(ConstantAsMetadata::get(ConstantInt::get(Type::getInt32Ty(*Context), Int1))); in getMDTwoInt()
|