Searched defs:Int32PtrTy (Results 1 - 2 of 2) sorted by relevance

/external/llvm/unittests/IR/
H A DConstantsTest.cpp127 Type *Int32PtrTy = Type::getInt32PtrTy(C); local
130 VectorType *Int32PtrVecTy = VectorType::get(Int32PtrTy, 4);
139 EXPECT_EQ(Constant::getNullValue(Int32PtrTy),
141 Constant::getNullValue(Int8PtrTy), Int32PtrTy)); local
H A DInstructionsTest.cpp190 Type *Int32PtrTy = PointerType::get(Int32Ty, 0); local
202 Type *V2Int32PtrTy = VectorType::get(Int32PtrTy, 2);
203 Type *V4Int32PtrTy = VectorType::get(Int32PtrTy, 4);
225 EXPECT_FALSE(CastInst::isBitCastable(Int32PtrTy, Int32PtrAS1Ty));
226 EXPECT_FALSE(CastInst::isBitCastable(Int32PtrAS1Ty, Int32PtrTy));
239 EXPECT_FALSE(CastInst::isBitCastable(Int32PtrTy, V2Int32PtrTy));
240 EXPECT_FALSE(CastInst::isBitCastable(V2Int32PtrTy, Int32PtrTy));
242 EXPECT_TRUE(CastInst::isBitCastable(Int32PtrTy, Int64PtrTy));

Completed in 431 milliseconds