Home
last modified time | relevance | path

Searched refs:Int32PtrTy (Results 1 – 15 of 15) sorted by relevance

/external/llvm/lib/Transforms/Instrumentation/
DSanitizerCoverage.cpp217 Type *Int32PtrTy = PointerType::getUnqual(IRB.getInt32Ty()); in runOnModule() local
222 M.getOrInsertFunction(SanCovName, VoidTy, Int32PtrTy, nullptr)); in runOnModule()
224 M.getOrInsertFunction(SanCovWithCheckName, VoidTy, Int32PtrTy, nullptr)); in runOnModule()
245 M.getOrInsertFunction(SanCovTraceEnterName, VoidTy, Int32PtrTy, nullptr)); in runOnModule()
247 M.getOrInsertFunction(SanCovTraceBBName, VoidTy, Int32PtrTy, nullptr)); in runOnModule()
276 IRB.CreatePointerCast(RealGuardArray, Int32PtrTy)); in runOnModule()
304 {Int32PtrTy, IntptrTy, Int8PtrTy, Int8PtrTy}, in runOnModule()
305 {IRB.CreatePointerCast(RealGuardArray, Int32PtrTy), in runOnModule()
544 Type *Int32PtrTy = PointerType::getUnqual(IRB.getInt32Ty()); in InjectCoverageAtBlock() local
545 GuardP = IRB.CreateIntToPtr(GuardP, Int32PtrTy); in InjectCoverageAtBlock()
DEfficiencySanitizer.cpp373 auto *Int32PtrTy = Type::getInt32PtrTy(*Ctx); in createCacheFragInfoGV() local
389 StructType::get(Int8PtrTy, Int32Ty, Int32Ty, Int32PtrTy, Int32PtrTy, in createCacheFragInfoGV()
455 Offset == nullptr ? ConstantPointerNull::get(Int32PtrTy) : in createCacheFragInfoGV()
456 ConstantExpr::getPointerCast(Offset, Int32PtrTy), in createCacheFragInfoGV()
457 Size == nullptr ? ConstantPointerNull::get(Int32PtrTy) : in createCacheFragInfoGV()
458 ConstantExpr::getPointerCast(Size, Int32PtrTy), in createCacheFragInfoGV()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DConstantsTest.cpp133 Type *Int32PtrTy = Type::getInt32PtrTy(C); in TEST() local
136 VectorType *Int32PtrVecTy = VectorType::get(Int32PtrTy, 4); in TEST()
145 EXPECT_EQ(Constant::getNullValue(Int32PtrTy), in TEST()
147 Constant::getNullValue(Int8PtrTy), Int32PtrTy)); in TEST()
165 ConstantExpr::getIntToPtr(K, Int32PtrTy), Int32Ptr1Ty)); in TEST()
168 ConstantExpr::getIntToPtr(K, Int32Ptr1Ty), Int32PtrTy)); in TEST()
170 Constant *NullInt32Ptr0 = Constant::getNullValue(Int32PtrTy); in TEST()
174 EXPECT_NE(Constant::getNullValue(Int32PtrTy), in TEST()
178 ConstantExpr::getAddrSpaceCast(NullInt32Ptr1, Int32PtrTy)); in TEST()
DInstructionsTest.cpp202 Type *Int32PtrTy = PointerType::get(Int32Ty, 0); in TEST() local
214 Type *V2Int32PtrTy = VectorType::get(Int32PtrTy, 2); in TEST()
215 Type *V4Int32PtrTy = VectorType::get(Int32PtrTy, 4); in TEST()
237 EXPECT_FALSE(CastInst::isBitCastable(Int32PtrTy, Int32PtrAS1Ty)); in TEST()
238 EXPECT_FALSE(CastInst::isBitCastable(Int32PtrAS1Ty, Int32PtrTy)); in TEST()
251 EXPECT_FALSE(CastInst::isBitCastable(Int32PtrTy, V2Int32PtrTy)); in TEST()
252 EXPECT_FALSE(CastInst::isBitCastable(V2Int32PtrTy, Int32PtrTy)); in TEST()
254 EXPECT_TRUE(CastInst::isBitCastable(Int32PtrTy, Int64PtrTy)); in TEST()
/external/llvm/unittests/IR/
DConstantsTest.cpp133 Type *Int32PtrTy = Type::getInt32PtrTy(C); in TEST() local
136 VectorType *Int32PtrVecTy = VectorType::get(Int32PtrTy, 4); in TEST()
145 EXPECT_EQ(Constant::getNullValue(Int32PtrTy), in TEST()
147 Constant::getNullValue(Int8PtrTy), Int32PtrTy)); in TEST()
165 ConstantExpr::getIntToPtr(K, Int32PtrTy), Int32Ptr1Ty)); in TEST()
168 ConstantExpr::getIntToPtr(K, Int32Ptr1Ty), Int32PtrTy)); in TEST()
170 Constant *NullInt32Ptr0 = Constant::getNullValue(Int32PtrTy); in TEST()
174 EXPECT_NE(Constant::getNullValue(Int32PtrTy), in TEST()
178 ConstantExpr::getAddrSpaceCast(NullInt32Ptr1, Int32PtrTy)); in TEST()
DInstructionsTest.cpp190 Type *Int32PtrTy = PointerType::get(Int32Ty, 0); in TEST() local
202 Type *V2Int32PtrTy = VectorType::get(Int32PtrTy, 2); in TEST()
203 Type *V4Int32PtrTy = VectorType::get(Int32PtrTy, 4); in TEST()
225 EXPECT_FALSE(CastInst::isBitCastable(Int32PtrTy, Int32PtrAS1Ty)); in TEST()
226 EXPECT_FALSE(CastInst::isBitCastable(Int32PtrAS1Ty, Int32PtrTy)); in TEST()
239 EXPECT_FALSE(CastInst::isBitCastable(Int32PtrTy, V2Int32PtrTy)); in TEST()
240 EXPECT_FALSE(CastInst::isBitCastable(V2Int32PtrTy, Int32PtrTy)); in TEST()
242 EXPECT_TRUE(CastInst::isBitCastable(Int32PtrTy, Int64PtrTy)); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DPreISelIntrinsicLowering.cpp33 Type *Int32PtrTy = Int32Ty->getPointerTo(); in lowerLoadRelative() local
45 Value *OffsetPtrI32 = B.CreateBitCast(OffsetPtr, Int32PtrTy); in lowerLoadRelative()
/external/llvm/lib/CodeGen/
DPreISelIntrinsicLowering.cpp33 Type *Int32PtrTy = Int32Ty->getPointerTo(); in lowerLoadRelative() local
45 Value *OffsetPtrI32 = B.CreateBitCast(OffsetPtr, Int32PtrTy); in lowerLoadRelative()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DEfficiencySanitizer.cpp385 auto *Int32PtrTy = Type::getInt32PtrTy(*Ctx); in createCacheFragInfoGV() local
401 StructType::get(Int8PtrTy, Int32Ty, Int32Ty, Int32PtrTy, Int32PtrTy, in createCacheFragInfoGV()
465 Offset == nullptr ? ConstantPointerNull::get(Int32PtrTy) in createCacheFragInfoGV()
466 : ConstantExpr::getPointerCast(Offset, Int32PtrTy), in createCacheFragInfoGV()
467 Size == nullptr ? ConstantPointerNull::get(Int32PtrTy) in createCacheFragInfoGV()
468 : ConstantExpr::getPointerCast(Size, Int32PtrTy), in createCacheFragInfoGV()
DSanitizerCoverage.cpp234 Type *IntptrTy, *IntptrPtrTy, *Int64Ty, *Int64PtrTy, *Int32Ty, *Int32PtrTy, member in __anon1001c3990111::SanitizerCoverageModule
305 Int32PtrTy = PointerType::getUnqual(IRB.getInt32Ty()); in runOnModule()
382 SanCovTracePCGuardName, VoidTy, Int32PtrTy)); in runOnModule()
390 Ctor = CreateInitCallsForSections(M, SanCovTracePCGuardInitName, Int32PtrTy, in runOnModule()
776 Int32PtrTy); in InjectCoverageAtBlock()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonLoopIdiomRecognition.cpp2251 Type *Int32PtrTy = Type::getInt32PtrTy(Ctx); in processCopyingStore() local
2255 Int32PtrTy, Int32PtrTy, Int32Ty); in processCopyingStore()
2268 Value *Op0 = (StoreBasePtr->getType() == Int32PtrTy) in processCopyingStore()
2270 : CondBuilder.CreateBitCast(StoreBasePtr, Int32PtrTy); in processCopyingStore()
2271 Value *Op1 = (LoadBasePtr->getType() == Int32PtrTy) in processCopyingStore()
2273 : CondBuilder.CreateBitCast(LoadBasePtr, Int32PtrTy); in processCopyingStore()
/external/llvm/lib/Transforms/IPO/
DLowerTypeTests.cpp221 Type *Int32PtrTy; member
999 LTT->Int32PtrTy = PointerType::getUnqual(LTT->Int32Ty); in init()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DLowerTypeTests.cpp339 PointerType *Int32PtrTy = PointerType::getUnqual(Int32Ty); member in __anondb9e6fc60111::LowerTypeTestsModule
1513 lowerTypeTestCalls(TypeIds, ConstantPointerNull::get(Int32PtrTy), in buildBitSetsFromFunctionsWASM()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp3900 Type *Int32PtrTy = Int32Ty->getPointerTo(); in SimplifyRelativeLoad() local
3912 Int32Ty, ConstantExpr::getBitCast(Ptr, Int32PtrTy), in SimplifyRelativeLoad()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DInstructionSimplify.cpp4640 Type *Int32PtrTy = Int32Ty->getPointerTo(); in SimplifyRelativeLoad() local
4652 Int32Ty, ConstantExpr::getBitCast(Ptr, Int32PtrTy), in SimplifyRelativeLoad()