| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | ConstantsTest.cpp | 131 Type *Int32PtrTy = Type::getInt32PtrTy(C); in TEST() local 134 VectorType *Int32PtrVecTy = FixedVectorType::get(Int32PtrTy, 4); in TEST() 137 VectorType *Int32PtrScalableVecTy = ScalableVectorType::get(Int32PtrTy, 4); in TEST() 146 EXPECT_EQ(Constant::getNullValue(Int32PtrTy), in TEST() 148 Int32PtrTy)); in TEST() 177 ConstantExpr::getIntToPtr(K, Int32PtrTy), Int32Ptr1Ty)); in TEST() 179 ConstantExpr::getIntToPtr(K, Int32Ptr1Ty), Int32PtrTy)); in TEST() 181 Constant *NullInt32Ptr0 = Constant::getNullValue(Int32PtrTy); in TEST() 185 EXPECT_NE(Constant::getNullValue(Int32PtrTy), in TEST() 189 ConstantExpr::getAddrSpaceCast(NullInt32Ptr1, Int32PtrTy)); in TEST()
|
| H A D | InstructionsTest.cpp | 216 Type *Int32PtrTy = PointerType::get(Int32Ty, 0); in TEST() local 229 Type *V2Int32PtrTy = FixedVectorType::get(Int32PtrTy, 2); in TEST() 230 Type *VScaleV2Int32PtrTy = ScalableVectorType::get(Int32PtrTy, 2); in TEST() 231 Type *V4Int32PtrTy = FixedVectorType::get(Int32PtrTy, 4); in TEST() 250 EXPECT_FALSE(CastInst::isBitCastable(Int32PtrTy, Int32PtrAS1Ty)); in TEST() 251 EXPECT_FALSE(CastInst::isBitCastable(Int32PtrAS1Ty, Int32PtrTy)); in TEST() 263 EXPECT_FALSE(CastInst::isBitCastable(Int32PtrTy, V2Int32PtrTy)); in TEST() 264 EXPECT_FALSE(CastInst::isBitCastable(V2Int32PtrTy, Int32PtrTy)); in TEST() 266 EXPECT_TRUE(CastInst::isBitCastable(Int32PtrTy, Int64PtrTy)); in TEST() 406 Type *Int32PtrTy = PointerType::get(Int32Ty, 0); in TEST() local [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULateCodeGenPrepare.cpp | 163 PointerType *Int32PtrTy = Type::getInt32PtrTy(LI.getContext(), AS); in visitLoadInst() local 170 Int32PtrTy); in visitLoadInst()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | PreISelIntrinsicLowering.cpp | 36 Type *Int32PtrTy = Int32Ty->getPointerTo(); in lowerLoadRelative() local 47 Value *OffsetPtrI32 = B.CreateBitCast(OffsetPtr, Int32PtrTy); in lowerLoadRelative()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | SanitizerCoverage.cpp | 261 *Int32PtrTy, *Int16PtrTy, *Int16Ty, *Int8Ty, *Int8PtrTy, *Int1Ty, member in __anon7982b8060111::ModuleSanitizerCoverage 388 Int32PtrTy = PointerType::getUnqual(IRB.getInt32Ty()); in instrumentModule() 433 M.getOrInsertFunction(SanCovLoad4, VoidTy, Int32PtrTy); in instrumentModule() 444 M.getOrInsertFunction(SanCovStore4, VoidTy, Int32PtrTy); in instrumentModule() 478 M.getOrInsertFunction(SanCovTracePCGuardName, VoidTy, Int32PtrTy); in instrumentModule() 875 Type *PointerType[5] = {Int8PtrTy, Int16PtrTy, Int32PtrTy, Int64PtrTy, in InjectTraceForLoadsAndStores() 958 Int32PtrTy); in InjectCoverageAtBlock()
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonLoopIdiomRecognition.cpp | 2267 Type *Int32PtrTy = Type::getInt32PtrTy(Ctx); in processCopyingStore() local 2271 HexagonVolatileMemcpyName, VoidTy, Int32PtrTy, Int32PtrTy, Int32Ty); in processCopyingStore() 2282 Value *Op0 = (StoreBasePtr->getType() == Int32PtrTy) in processCopyingStore() 2284 : CondBuilder.CreateBitCast(StoreBasePtr, Int32PtrTy); in processCopyingStore() 2285 Value *Op1 = (LoadBasePtr->getType() == Int32PtrTy) in processCopyingStore() 2287 : CondBuilder.CreateBitCast(LoadBasePtr, Int32PtrTy); in processCopyingStore()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | LowerTypeTests.cpp | 414 PointerType *Int32PtrTy = PointerType::getUnqual(Int32Ty); member in __anon131d77d30111::LowerTypeTestsModule 1616 lowerTypeTestCalls(TypeIds, ConstantPointerNull::get(Int32PtrTy), in buildBitSetsFromFunctionsWASM()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | InstructionSimplify.cpp | 5585 Type *Int32PtrTy = Int32Ty->getPointerTo(); in simplifyRelativeLoad() local 5597 Int32Ty, ConstantExpr::getBitCast(Ptr, Int32PtrTy), in simplifyRelativeLoad()
|