/external/llvm/lib/Target/X86/ |
D | X86TargetObjectFile.cpp | 95 if (SubLHS->getPointerAddressSpace() != 0 || in getExecutableRelativeSymbol() 96 SubRHS->getPointerAddressSpace() != 0) in getExecutableRelativeSymbol()
|
/external/llvm/include/llvm/IR/ |
D | Operator.h | 406 unsigned getPointerAddressSpace() const { in getPointerAddressSpace() function 407 return getPointerOperandType()->getPointerAddressSpace(); in getPointerAddressSpace() 475 unsigned getPointerAddressSpace() const { in getPointerAddressSpace() function
|
D | Instructions.h | 291 unsigned getPointerAddressSpace() const { in getPointerAddressSpace() function 292 return getPointerOperand()->getType()->getPointerAddressSpace(); in getPointerAddressSpace() 415 unsigned getPointerAddressSpace() const { in getPointerAddressSpace() function 416 return getPointerOperand()->getType()->getPointerAddressSpace(); in getPointerAddressSpace() 623 unsigned getPointerAddressSpace() const { 624 return getPointerOperand()->getType()->getPointerAddressSpace(); 794 unsigned getPointerAddressSpace() const { 795 return getPointerOperand()->getType()->getPointerAddressSpace(); 951 return getPointerAddressSpace(); 986 unsigned getPointerAddressSpace() const { [all …]
|
/external/llvm/unittests/IR/ |
D | ValueTest.cpp | 71 EXPECT_EQ(1u, Dummy1->getType()->getPointerAddressSpace()); in TEST() 88 EXPECT_EQ(1u, DummyCast1->getType()->getPointerAddressSpace()); in TEST()
|
D | IRBuilderTest.cpp | 371 EXPECT_TRUE(String1a->getType()->getPointerAddressSpace() == 0); in TEST_F() 372 EXPECT_TRUE(String1b->getType()->getPointerAddressSpace() == 0); in TEST_F() 373 EXPECT_TRUE(String2->getType()->getPointerAddressSpace() == 1); in TEST_F() 374 EXPECT_TRUE(String3->getType()->getPointerAddressSpace() == 2); in TEST_F()
|
/external/llvm/lib/IR/ |
D | Operator.cpp | 18 DL.getPointerSizeInBits(getPointerAddressSpace()) && in accumulateConstantOffset()
|
D | Instructions.cpp | 2457 if (SrcTy->getPointerAddressSpace() != DstTy->getPointerAddressSpace()) in isEliminableCastPair() 2511 if (SrcTy->getPointerAddressSpace() != DstTy->getPointerAddressSpace()) in isEliminableCastPair() 2523 SrcTy->getPointerAddressSpace() != MidTy->getPointerAddressSpace() && in isEliminableCastPair() 2524 MidTy->getPointerAddressSpace() == DstTy->getPointerAddressSpace() && in isEliminableCastPair() 2543 MidTy->getPointerAddressSpace() == DstTy->getPointerAddressSpace() && in isEliminableCastPair() 2555 SrcTy->getPointerAddressSpace() == MidTy->getPointerAddressSpace() && in isEliminableCastPair() 2705 if (S->getType()->getPointerAddressSpace() != Ty->getPointerAddressSpace()) in CreatePointerBitCastOrAddrSpaceCast() 2718 if (S->getType()->getPointerAddressSpace() != Ty->getPointerAddressSpace()) in CreatePointerBitCastOrAddrSpaceCast() 2983 if (DestTy->getPointerAddressSpace() != SrcTy->getPointerAddressSpace()) in getCastOpcode()
|
D | AutoUpgrade.cpp | 848 SrcTy->getPointerAddressSpace() != DestTy->getPointerAddressSpace()) { in UpgradeBitCastInst() 868 SrcTy->getPointerAddressSpace() != DestTy->getPointerAddressSpace()) { in UpgradeBitCastExpr()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineLoadStoreAlloca.cpp | 321 unsigned AS = LI.getPointerAddressSpace(); in combineLoadToNewType() 393 unsigned AS = SI.getPointerAddressSpace(); in combineStoreToNewValue() 816 if (isa<ConstantPointerNull>(GEPI0) && GEPI->getPointerAddressSpace() == 0){ in visitLoadInst() 830 (isa<ConstantPointerNull>(Op) && LI.getPointerAddressSpace() == 0)) { in visitLoadInst() 866 LI.getPointerAddressSpace() == 0) { in visitLoadInst() 873 LI.getPointerAddressSpace() == 0) { in visitLoadInst() 1105 if (isa<ConstantPointerNull>(Ptr) && SI.getPointerAddressSpace() == 0) { in visitStoreInst()
|
/external/llvm/lib/Analysis/ |
D | LoopAccessAnalysis.cpp | 630 unsigned ASi = PtrI->getType()->getPointerAddressSpace(); in canCheckPtrAtRT() 631 unsigned ASj = PtrJ->getType()->getPointerAddressSpace(); in canCheckPtrAtRT() 1046 if (APtr->getType()->getPointerAddressSpace() != in isDependent() 1047 BPtr->getType()->getPointerAddressSpace()) in isDependent() 1641 unsigned AS = Ptr->getType()->getPointerAddressSpace(); in expandBounds() 1698 unsigned AS0 = A.Start->getType()->getPointerAddressSpace(); in addRuntimeChecks() 1699 unsigned AS1 = B.Start->getType()->getPointerAddressSpace(); in addRuntimeChecks() 1701 assert((AS0 == B.End->getType()->getPointerAddressSpace()) && in addRuntimeChecks() 1702 (AS1 == A.End->getType()->getPointerAddressSpace()) && in addRuntimeChecks()
|
D | CostModel.cpp | 431 SI->getPointerAddressSpace()); in getInstructionCost() 437 LI->getPointerAddressSpace()); in getInstructionCost()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoadCombine.cpp | 196 FirstLP.POP.Pointer->getType()->getPointerAddressSpace(); in combineLoads() 206 Ptr->getType()->getPointerAddressSpace())), in combineLoads()
|
D | LoopLoadElimination.cpp | 70 assert(LoadPtrType->getPointerAddressSpace() == in isDependenceDistanceOfOne() 71 StorePtr->getType()->getPointerAddressSpace() && in isDependenceDistanceOfOne()
|
D | NaryReassociate.cpp | 337 unsigned AddrSpace = GEP->getPointerAddressSpace(); in isGEPFoldable() 361 DL->getPointerSizeInBits(GEP->getType()->getPointerAddressSpace()); in requiresSignExtension()
|
D | LoopIdiomRecognize.cpp | 506 unsigned DestAS = DestPtr->getType()->getPointerAddressSpace(); in processLoopStridedStore() 643 unsigned StrAS = SI->getPointerAddressSpace(); in processLoopStoreOfLoopLoad() 668 unsigned LdAS = LI->getPointerAddressSpace(); in processLoopStoreOfLoopLoad()
|
D | SeparateConstOffsetFromGEP.cpp | 774 Builder.getInt8PtrTy(Variadic->getType()->getPointerAddressSpace()); in lowerToSingleIndexGEPs() 913 unsigned AddrSpace = GEP->getPointerAddressSpace(); in splitGEP() 1048 GEP->getPointerAddressSpace()); in splitGEP()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXTargetTransformInfo.cpp | 59 unsigned AS = LI->getPointerAddressSpace(); in isSourceOfDivergence()
|
D | NVPTXLowerKernelArgs.cpp | 166 if (Ptr->getType()->getPointerAddressSpace() == ADDRESS_SPACE_GLOBAL) in markPointerAsGlobal()
|
D | NVPTXFavorNonGenericAddrSpaces.cpp | 201 Src->getType()->getPointerAddressSpace()); in hoistAddrSpaceCastFromBitCast()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUTargetTransformInfo.cpp | 168 return Load->getPointerAddressSpace() == AMDGPUAS::PRIVATE_ADDRESS; in isSourceOfDivergence()
|
D | SITypeRewriter.cpp | 81 PointerType::get(v4i32,PtrTy->getPointerAddressSpace())); in visitLoadInst()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCLoopPreIncPrep.cpp | 201 unsigned PtrAddrSpace = PtrValue->getType()->getPointerAddressSpace(); in runOnLoop() 316 BasePtr->getType()->getPointerAddressSpace()); in runOnLoop()
|
D | PPCLoopDataPrefetch.cpp | 173 unsigned PtrAddrSpace = PtrValue->getType()->getPointerAddressSpace(); in runOnLoop()
|
/external/llvm/lib/Transforms/Utils/ |
D | CloneModule.cpp | 100 I->getType()->getPointerAddressSpace(), in CloneModule()
|
/external/llvm/lib/ExecutionEngine/Orc/ |
D | IndirectionUtils.cpp | 188 OrigA.getType()->getPointerAddressSpace(), in cloneGlobalAliasDecl()
|