Home
last modified time | relevance | path

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

12345678

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DInferAddressSpaces.cpp325 V->getType()->getPointerAddressSpace() == FlatAddrSpace) { in appendsFlatAddressExpressionToPostorderStack()
397 if (TopVal->getType()->getPointerAddressSpace() == FlatAddrSpace) in collectFlatAddressExpressions()
455 assert(Src->getType()->getPointerAddressSpace() == NewAddrSpace); in cloneInstructionWithNewAddressSpace()
515 assert(CE->getOperand(0)->getType()->getPointerAddressSpace() == in cloneConstantExprWithNewAddressSpace()
529 if (Src0->getType()->getPointerAddressSpace() == in cloneConstantExprWithNewAddressSpace()
530 Src1->getType()->getPointerAddressSpace()) { in cloneConstantExprWithNewAddressSpace()
584 V->getType()->getPointerAddressSpace() == FlatAddrSpace); in cloneValueWithNewAddressSpace()
702 I->second : Src0->getType()->getPointerAddressSpace(); in updateAddressSpace()
706 J->second : Src1->getType()->getPointerAddressSpace(); in updateAddressSpace()
728 I->second : PtrOperand->getType()->getPointerAddressSpace(); in updateAddressSpace()
[all …]
DMemCpyOptimizer.cpp954 if (cpySrc->getType()->getPointerAddressSpace() != in performCallSlotOptzn()
955 cpyDest->getType()->getPointerAddressSpace()) in performCallSlotOptzn()
959 cpySrc->getType()->getPointerAddressSpace() != in performCallSlotOptzn()
960 CS.getArgument(i)->getType()->getPointerAddressSpace()) in performCallSlotOptzn()
1356 if (MDep->getSource()->getType()->getPointerAddressSpace() != in processByValArgument()
1357 ByValArg->getType()->getPointerAddressSpace()) in processByValArgument()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUAliasAnalysis.cpp108 unsigned asA = LocA.Ptr->getType()->getPointerAddressSpace(); in alias()
109 unsigned asB = LocB.Ptr->getType()->getPointerAddressSpace(); in alias()
122 if (Base->getType()->getPointerAddressSpace() == AS.CONSTANT_ADDRESS || in pointsToConstantMemory()
123 Base->getType()->getPointerAddressSpace() == AS.CONSTANT_ADDRESS_32BIT) { in pointsToConstantMemory()
/external/llvm/lib/Target/NVPTX/
DNVPTXInferAddressSpaces.cpp203 V->getType()->getPointerAddressSpace() == in appendsGenericAddressExpressionToPostorderStack()
286 assert(Src->getType()->getPointerAddressSpace() == NewAddrSpace); in cloneInstructionWithNewAddressSpace()
342 assert(CE->getOperand(0)->getType()->getPointerAddressSpace() == in cloneConstantExprWithNewAddressSpace()
386 V->getType()->getPointerAddressSpace() == in cloneValueWithNewAddressSpace()
495 OperandAS = PtrOperand->getType()->getPointerAddressSpace(); in updateAddressSpace()
520 if (V->getType()->getPointerAddressSpace() != NewAddrSpace) { in rewriteWithNewAddressSpaces()
DNVPTXTargetTransformInfo.cpp59 unsigned AS = LI->getPointerAddressSpace(); in isSourceOfDivergence()
/external/llvm/lib/Transforms/Vectorize/
DLoadStoreVectorizer.cpp71 unsigned getPointerAddressSpace(Value *I);
217 unsigned Vectorizer::getPointerAddressSpace(Value *I) { in getPointerAddressSpace() function in Vectorizer
219 return L->getPointerAddressSpace(); in getPointerAddressSpace()
221 return S->getPointerAddressSpace(); in getPointerAddressSpace()
229 unsigned ASA = getPointerAddressSpace(A); in isConsecutiveAccess()
230 unsigned ASB = getPointerAddressSpace(B); in isConsecutiveAccess()
519 unsigned AS = Ptr->getType()->getPointerAddressSpace(); in collectInstructions()
555 unsigned AS = Ptr->getType()->getPointerAddressSpace(); in collectInstructions()
682 unsigned AS = S0->getPointerAddressSpace(); in vectorizeStoreChain()
757 if (S0->getPointerAddressSpace() != 0) in vectorizeStoreChain()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DLoadStoreVectorizer.cpp129 unsigned getPointerAddressSpace(Value *I);
286 unsigned Vectorizer::getPointerAddressSpace(Value *I) { in getPointerAddressSpace() function in Vectorizer
288 return L->getPointerAddressSpace(); in getPointerAddressSpace()
290 return S->getPointerAddressSpace(); in getPointerAddressSpace()
298 unsigned ASA = getPointerAddressSpace(A); in isConsecutiveAccess()
299 unsigned ASB = getPointerAddressSpace(B); in isConsecutiveAccess()
743 unsigned AS = Ptr->getType()->getPointerAddressSpace(); in collectInstructions()
790 unsigned AS = Ptr->getType()->getPointerAddressSpace(); in collectInstructions()
926 unsigned AS = S0->getPointerAddressSpace(); in vectorizeStoreChain()
994 if (S0->getPointerAddressSpace() != 0) in vectorizeStoreChain()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp321 V->getType()->getPointerAddressSpace()); in replace()
415 SrcTy->getPointerAddressSpace()); in visitAllocaInst()
418 if (AI.getType()->getPointerAddressSpace() == in visitAllocaInst()
419 SrcTy->getPointerAddressSpace()) { in visitAllocaInst()
458 unsigned AS = LI.getPointerAddressSpace(); in combineLoadToNewType()
465 NewPtr->getType()->getPointerAddressSpace() == AS)) in combineLoadToNewType()
523 unsigned AS = SI.getPointerAddressSpace(); in combineStoreToNewValue()
967 if (NullPointerIsDefined(SI.getFunction(), SI.getPointerAddressSpace())) in canSimplifyNullStoreOrGEP()
974 !NullPointerIsDefined(SI.getFunction(), SI.getPointerAddressSpace())); in canSimplifyNullStoreOrGEP()
981 !NullPointerIsDefined(LI.getFunction(), GEPI->getPointerAddressSpace())) in canSimplifyNullLoadOrGEP()
[all …]
/external/llvm/lib/Transforms/Scalar/
DLoadCombine.cpp100 unsigned BitWidth = DL.getPointerSizeInBits(LI.getPointerAddressSpace()); in getPointerOffsetPair()
208 FirstLP.POP.Pointer->getType()->getPointerAddressSpace(); in combineLoads()
218 Ptr->getType()->getPointerAddressSpace())), in combineLoads()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DLoopAccessAnalysis.cpp794 unsigned ASi = PtrI->getType()->getPointerAddressSpace(); in canCheckPtrAtRT()
795 unsigned ASj = PtrJ->getType()->getPointerAddressSpace(); in canCheckPtrAtRT()
919 UnderlyingObj->getType()->getPointerAddressSpace())) in processMemAccesses()
1120 if (Ptr->getType()->getPointerAddressSpace() != in sortPtrAccesses()
1121 Ptr0->getType()->getPointerAddressSpace()) in sortPtrAccesses()
1166 return L->getPointerAddressSpace(); in getAddressSpaceOperand()
1168 return S->getPointerAddressSpace(); in getAddressSpaceOperand()
1439 if (APtr->getType()->getPointerAddressSpace() != in isDependent()
1440 BPtr->getType()->getPointerAddressSpace()) in isDependent()
2068 unsigned AS = Ptr->getType()->getPointerAddressSpace(); in expandBounds()
[all …]
/external/llvm/include/llvm/IR/
DOperator.h407 unsigned getPointerAddressSpace() const { in getPointerAddressSpace() function
408 return getPointerOperandType()->getPointerAddressSpace(); in getPointerAddressSpace()
476 unsigned getPointerAddressSpace() const { in getPointerAddressSpace() function
DInstructions.h279 unsigned getPointerAddressSpace() const { in getPointerAddressSpace() function
280 return getPointerOperand()->getType()->getPointerAddressSpace(); in getPointerAddressSpace()
405 unsigned getPointerAddressSpace() const { in getPointerAddressSpace() function
406 return getPointerOperand()->getType()->getPointerAddressSpace(); in getPointerAddressSpace()
613 unsigned getPointerAddressSpace() const {
614 return getPointerOperand()->getType()->getPointerAddressSpace();
785 unsigned getPointerAddressSpace() const {
786 return getPointerOperand()->getType()->getPointerAddressSpace();
942 return getPointerAddressSpace();
977 unsigned getPointerAddressSpace() const {
[all …]
/external/llvm/lib/Target/X86/
DX86TargetObjectFile.cpp81 if (LHS->getType()->getPointerAddressSpace() != 0 || in lowerRelativeReference()
82 RHS->getType()->getPointerAddressSpace() != 0) in lowerRelativeReference()
/external/llvm/lib/Analysis/
DLoopAccessAnalysis.cpp677 unsigned ASi = PtrI->getType()->getPointerAddressSpace(); in canCheckPtrAtRT()
678 unsigned ASj = PtrJ->getType()->getPointerAddressSpace(); in canCheckPtrAtRT()
990 return L->getPointerAddressSpace(); in getAddressSpaceOperand()
992 return S->getPointerAddressSpace(); in getAddressSpaceOperand()
1195 if (APtr->getType()->getPointerAddressSpace() != in isDependent()
1196 BPtr->getType()->getPointerAddressSpace()) in isDependent()
1793 unsigned AS = Ptr->getType()->getPointerAddressSpace(); in expandBounds()
1851 unsigned AS0 = A.Start->getType()->getPointerAddressSpace(); in addRuntimeChecks()
1852 unsigned AS1 = B.Start->getType()->getPointerAddressSpace(); in addRuntimeChecks()
1854 assert((AS0 == B.End->getType()->getPointerAddressSpace()) && in addRuntimeChecks()
[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.cpp381 EXPECT_TRUE(String1a->getType()->getPointerAddressSpace() == 0); in TEST_F()
382 EXPECT_TRUE(String1b->getType()->getPointerAddressSpace() == 0); in TEST_F()
383 EXPECT_TRUE(String2->getType()->getPointerAddressSpace() == 1); in TEST_F()
384 EXPECT_TRUE(String3->getType()->getPointerAddressSpace() == 2); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DOperator.h479 unsigned getPointerAddressSpace() const { in getPointerAddressSpace() function
480 return getPointerOperandType()->getPointerAddressSpace(); in getPointerAddressSpace()
555 unsigned getPointerAddressSpace() const { in getPointerAddressSpace() function
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DValueTest.cpp71 EXPECT_EQ(1u, Dummy1->getType()->getPointerAddressSpace()); in TEST()
88 EXPECT_EQ(1u, DummyCast1->getType()->getPointerAddressSpace()); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DMachineMemOperand.h55 AddrSpace = v ? v->getType()->getPointerAddressSpace() : 0; in V()
75 AddrSpace = ValPtr->getType()->getPointerAddressSpace(); in V()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DOperator.cpp38 DL.getIndexSizeInBits(getPointerAddressSpace()) && in accumulateConstantOffset()
DInstructions.cpp2354 if (SrcTy->getPointerAddressSpace() != DstTy->getPointerAddressSpace()) in isEliminableCastPair()
2402 if (SrcTy->getPointerAddressSpace() != DstTy->getPointerAddressSpace()) in isEliminableCastPair()
2413 SrcTy->getPointerAddressSpace() != MidTy->getPointerAddressSpace() && in isEliminableCastPair()
2414 MidTy->getPointerAddressSpace() == DstTy->getPointerAddressSpace() && in isEliminableCastPair()
2433 MidTy->getPointerAddressSpace() == DstTy->getPointerAddressSpace() && in isEliminableCastPair()
2445 SrcTy->getPointerAddressSpace() == MidTy->getPointerAddressSpace() && in isEliminableCastPair()
2595 if (S->getType()->getPointerAddressSpace() != Ty->getPointerAddressSpace()) in CreatePointerBitCastOrAddrSpaceCast()
2608 if (S->getType()->getPointerAddressSpace() != Ty->getPointerAddressSpace()) in CreatePointerBitCastOrAddrSpaceCast()
2876 if (DestTy->getPointerAddressSpace() != SrcTy->getPointerAddressSpace()) in getCastOpcode()
/external/llvm/lib/IR/
DOperator.cpp24 DL.getPointerSizeInBits(getPointerAddressSpace()) && in accumulateConstantOffset()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp323 unsigned AS = LI.getPointerAddressSpace(); in combineLoadToNewType()
396 unsigned AS = SI.getPointerAddressSpace(); in combineStoreToNewValue()
851 if (isa<ConstantPointerNull>(GEPI0) && GEPI->getPointerAddressSpace() == 0){ in visitLoadInst()
865 (isa<ConstantPointerNull>(Op) && LI.getPointerAddressSpace() == 0)) { in visitLoadInst()
904 LI.getPointerAddressSpace() == 0) { in visitLoadInst()
911 LI.getPointerAddressSpace() == 0) { in visitLoadInst()
1242 if (isa<ConstantPointerNull>(Ptr) && SI.getPointerAddressSpace() == 0) { in visitStoreInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DVNCoercion.cpp290 unsigned AS = Src->getType()->getPointerAddressSpace(); in analyzeLoadFromClobberingMemInst()
391 PointerType::get(DestPTy, PtrVal->getType()->getPointerAddressSpace()); in getLoadValueForLoad()
465 unsigned AS = Src->getType()->getPointerAddressSpace(); in getMemInstValueForLoadHelper()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp181 if (isa<ConstantPointerNull>(GEPI0) && GEPI->getPointerAddressSpace() == 0){ in visitLoadInst()
195 (isa<ConstantPointerNull>(Op) && LI.getPointerAddressSpace() == 0)) { in visitLoadInst()
451 if (isa<ConstantPointerNull>(Ptr) && SI.getPointerAddressSpace() == 0) { in visitStoreInst()

12345678