Home
last modified time | relevance | path

Searched refs:getPointerAddressSpace (Results 1 – 25 of 75) sorted by relevance

123

/external/llvm/lib/Target/X86/
DX86TargetObjectFile.cpp95 if (SubLHS->getPointerAddressSpace() != 0 || in getExecutableRelativeSymbol()
96 SubRHS->getPointerAddressSpace() != 0) in getExecutableRelativeSymbol()
/external/llvm/include/llvm/IR/
DOperator.h406 unsigned getPointerAddressSpace() const { in getPointerAddressSpace() function
407 return getPointerOperandType()->getPointerAddressSpace(); in getPointerAddressSpace()
475 unsigned getPointerAddressSpace() const { in getPointerAddressSpace() function
DInstructions.h291 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/
DValueTest.cpp71 EXPECT_EQ(1u, Dummy1->getType()->getPointerAddressSpace()); in TEST()
88 EXPECT_EQ(1u, DummyCast1->getType()->getPointerAddressSpace()); in TEST()
DIRBuilderTest.cpp371 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/
DOperator.cpp18 DL.getPointerSizeInBits(getPointerAddressSpace()) && in accumulateConstantOffset()
DInstructions.cpp2457 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()
DAutoUpgrade.cpp848 SrcTy->getPointerAddressSpace() != DestTy->getPointerAddressSpace()) { in UpgradeBitCastInst()
868 SrcTy->getPointerAddressSpace() != DestTy->getPointerAddressSpace()) { in UpgradeBitCastExpr()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp321 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/
DLoopAccessAnalysis.cpp630 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()
DCostModel.cpp431 SI->getPointerAddressSpace()); in getInstructionCost()
437 LI->getPointerAddressSpace()); in getInstructionCost()
/external/llvm/lib/Transforms/Scalar/
DLoadCombine.cpp196 FirstLP.POP.Pointer->getType()->getPointerAddressSpace(); in combineLoads()
206 Ptr->getType()->getPointerAddressSpace())), in combineLoads()
DLoopLoadElimination.cpp70 assert(LoadPtrType->getPointerAddressSpace() == in isDependenceDistanceOfOne()
71 StorePtr->getType()->getPointerAddressSpace() && in isDependenceDistanceOfOne()
DNaryReassociate.cpp337 unsigned AddrSpace = GEP->getPointerAddressSpace(); in isGEPFoldable()
361 DL->getPointerSizeInBits(GEP->getType()->getPointerAddressSpace()); in requiresSignExtension()
DLoopIdiomRecognize.cpp506 unsigned DestAS = DestPtr->getType()->getPointerAddressSpace(); in processLoopStridedStore()
643 unsigned StrAS = SI->getPointerAddressSpace(); in processLoopStoreOfLoopLoad()
668 unsigned LdAS = LI->getPointerAddressSpace(); in processLoopStoreOfLoopLoad()
DSeparateConstOffsetFromGEP.cpp774 Builder.getInt8PtrTy(Variadic->getType()->getPointerAddressSpace()); in lowerToSingleIndexGEPs()
913 unsigned AddrSpace = GEP->getPointerAddressSpace(); in splitGEP()
1048 GEP->getPointerAddressSpace()); in splitGEP()
/external/llvm/lib/Target/NVPTX/
DNVPTXTargetTransformInfo.cpp59 unsigned AS = LI->getPointerAddressSpace(); in isSourceOfDivergence()
DNVPTXLowerKernelArgs.cpp166 if (Ptr->getType()->getPointerAddressSpace() == ADDRESS_SPACE_GLOBAL) in markPointerAsGlobal()
DNVPTXFavorNonGenericAddrSpaces.cpp201 Src->getType()->getPointerAddressSpace()); in hoistAddrSpaceCastFromBitCast()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUTargetTransformInfo.cpp168 return Load->getPointerAddressSpace() == AMDGPUAS::PRIVATE_ADDRESS; in isSourceOfDivergence()
DSITypeRewriter.cpp81 PointerType::get(v4i32,PtrTy->getPointerAddressSpace())); in visitLoadInst()
/external/llvm/lib/Target/PowerPC/
DPPCLoopPreIncPrep.cpp201 unsigned PtrAddrSpace = PtrValue->getType()->getPointerAddressSpace(); in runOnLoop()
316 BasePtr->getType()->getPointerAddressSpace()); in runOnLoop()
DPPCLoopDataPrefetch.cpp173 unsigned PtrAddrSpace = PtrValue->getType()->getPointerAddressSpace(); in runOnLoop()
/external/llvm/lib/Transforms/Utils/
DCloneModule.cpp100 I->getType()->getPointerAddressSpace(), in CloneModule()
/external/llvm/lib/ExecutionEngine/Orc/
DIndirectionUtils.cpp188 OrigA.getType()->getPointerAddressSpace(), in cloneGlobalAliasDecl()

123