/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPUAliasAnalysis.cpp | 81 unsigned asA = LocA.Ptr->getType()->getPointerAddressSpace(); in alias() 82 unsigned asB = LocB.Ptr->getType()->getPointerAddressSpace(); in alias() 108 if (LI->getPointerAddressSpace() == AMDGPUAS::CONSTANT_ADDRESS) in alias() 132 unsigned AS = Loc.Ptr->getType()->getPointerAddressSpace(); in pointsToConstantMemory() 138 AS = Base->getType()->getPointerAddressSpace(); in pointsToConstantMemory()
|
D | AMDGPULateCodeGenPrepare.cpp | 110 unsigned AS = LI.getPointerAddressSpace(); in canWidenScalarExtLoad() 164 unsigned AS = LI.getPointerAddressSpace(); in visitLoadInst()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | InferAddressSpaces.cpp | 259 P2I->getOperand(0)->getType()->getPointerAddressSpace(), in isNoopPtrIntCastPair() 260 I2P->getType()->getPointerAddressSpace()); in isNoopPtrIntCastPair() 398 if (V->getType()->getPointerAddressSpace() == FlatAddrSpace && in appendsFlatAddressExpressionToPostorderStack() 475 if (TopVal->getType()->getPointerAddressSpace() == FlatAddrSpace) in collectFlatAddressExpressions() 539 assert(Src->getType()->getPointerAddressSpace() == NewAddrSpace); in cloneInstructionWithNewAddressSpace() 611 assert(Src->getType()->getPointerAddressSpace() == NewAddrSpace); in cloneInstructionWithNewAddressSpace() 635 assert(CE->getOperand(0)->getType()->getPointerAddressSpace() == in cloneConstantExprWithNewAddressSpace() 649 if (Src0->getType()->getPointerAddressSpace() == in cloneConstantExprWithNewAddressSpace() 650 Src1->getType()->getPointerAddressSpace()) { in cloneConstantExprWithNewAddressSpace() 661 assert(Src->getType()->getPointerAddressSpace() == NewAddrSpace); in cloneConstantExprWithNewAddressSpace() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | InferAddressSpaces.cpp | 323 V->getType()->getPointerAddressSpace() == FlatAddrSpace) { in appendsFlatAddressExpressionToPostorderStack() 395 if (TopVal->getType()->getPointerAddressSpace() == FlatAddrSpace) in collectFlatAddressExpressions() 453 assert(Src->getType()->getPointerAddressSpace() == NewAddrSpace); in cloneInstructionWithNewAddressSpace() 513 assert(CE->getOperand(0)->getType()->getPointerAddressSpace() == in cloneConstantExprWithNewAddressSpace() 527 if (Src0->getType()->getPointerAddressSpace() == in cloneConstantExprWithNewAddressSpace() 528 Src1->getType()->getPointerAddressSpace()) { in cloneConstantExprWithNewAddressSpace() 589 V->getType()->getPointerAddressSpace() == FlatAddrSpace); in cloneValueWithNewAddressSpace() 709 I->second : Src0->getType()->getPointerAddressSpace(); in updateAddressSpace() 713 J->second : Src1->getType()->getPointerAddressSpace(); in updateAddressSpace() 735 I->second : PtrOperand->getType()->getPointerAddressSpace(); in updateAddressSpace() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUAliasAnalysis.cpp | 81 unsigned asA = LocA.Ptr->getType()->getPointerAddressSpace(); in alias() 82 unsigned asB = LocB.Ptr->getType()->getPointerAddressSpace(); in alias() 95 unsigned AS = Base->getType()->getPointerAddressSpace(); in pointsToConstantMemory()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXInferAddressSpaces.cpp | 203 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()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | LoadStoreVectorizer.cpp | 71 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-10.0/llvm/lib/Transforms/Vectorize/ |
D | LoadStoreVectorizer.cpp | 130 unsigned getPointerAddressSpace(Value *I); 304 unsigned Vectorizer::getPointerAddressSpace(Value *I) { in getPointerAddressSpace() function in Vectorizer 306 return L->getPointerAddressSpace(); in getPointerAddressSpace() 308 return S->getPointerAddressSpace(); in getPointerAddressSpace() 316 unsigned ASA = getPointerAddressSpace(A); in isConsecutiveAccess() 317 unsigned ASB = getPointerAddressSpace(B); in isConsecutiveAccess() 776 unsigned AS = Ptr->getType()->getPointerAddressSpace(); in collectInstructions() 823 unsigned AS = Ptr->getType()->getPointerAddressSpace(); in collectInstructions() 960 unsigned AS = S0->getPointerAddressSpace(); in vectorizeStoreChain() 1023 if (S0->getPointerAddressSpace() != DL.getAllocaAddrSpace()) { in vectorizeStoreChain() [all …]
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | Operator.h | 506 unsigned getPointerAddressSpace() const { in getPointerAddressSpace() function 507 return getPointerOperandType()->getPointerAddressSpace(); in getPointerAddressSpace() 596 unsigned getPointerAddressSpace() const { in getPointerAddressSpace() function 627 return getPointerOperand()->getType()->getPointerAddressSpace(); in getSrcAddressSpace() 631 return getType()->getPointerAddressSpace(); in getDestAddressSpace()
|
/external/llvm-project/llvm/lib/Transforms/Vectorize/ |
D | LoadStoreVectorizer.cpp | 129 unsigned getPointerAddressSpace(Value *I); 287 unsigned Vectorizer::getPointerAddressSpace(Value *I) { in getPointerAddressSpace() function in Vectorizer 289 return L->getPointerAddressSpace(); in getPointerAddressSpace() 291 return S->getPointerAddressSpace(); in getPointerAddressSpace() 299 unsigned ASA = getPointerAddressSpace(A); in isConsecutiveAccess() 300 unsigned ASB = getPointerAddressSpace(B); in isConsecutiveAccess() 818 unsigned AS = Ptr->getType()->getPointerAddressSpace(); in collectInstructions() 865 unsigned AS = Ptr->getType()->getPointerAddressSpace(); in collectInstructions() 1002 unsigned AS = S0->getPointerAddressSpace(); in vectorizeStoreChain() 1065 if (S0->getPointerAddressSpace() != DL.getAllocaAddrSpace()) { in vectorizeStoreChain() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineLoadStoreAlloca.cpp | 320 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() 462 NewPtr->getType()->getPointerAddressSpace() == AS)) in combineLoadToNewType() 487 unsigned AS = SI.getPointerAddressSpace(); in combineStoreToNewValue() 935 if (NullPointerIsDefined(SI.getFunction(), SI.getPointerAddressSpace())) in canSimplifyNullStoreOrGEP() 942 !NullPointerIsDefined(SI.getFunction(), SI.getPointerAddressSpace())); in canSimplifyNullStoreOrGEP() 949 !NullPointerIsDefined(LI.getFunction(), GEPI->getPointerAddressSpace())) in canSimplifyNullLoadOrGEP() [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoadCombine.cpp | 100 unsigned BitWidth = DL.getPointerSizeInBits(LI.getPointerAddressSpace()); in getPointerOffsetPair() 208 FirstLP.POP.Pointer->getType()->getPointerAddressSpace(); in combineLoads() 218 Ptr->getType()->getPointerAddressSpace())), in combineLoads()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | VNCoercion.cpp | 51 StoredTy->getPointerAddressSpace() != in canCoerceMustAliasedValueToLoad() 52 LoadTy->getPointerAddressSpace()) { in canCoerceMustAliasedValueToLoad() 411 unsigned AS = Src->getType()->getPointerAddressSpace(); in analyzeLoadFromClobberingMemInst() 516 PointerType::get(DestTy, PtrVal->getType()->getPointerAddressSpace()); in getLoadValueForLoad() 592 unsigned AS = Src->getType()->getPointerAddressSpace(); in getMemInstValueForLoadHelper()
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombineLoadStoreAlloca.cpp | 313 V->getType()->getPointerAddressSpace()); in replace() 417 unsigned SrcAddrSpace = TheSrc->getType()->getPointerAddressSpace(); in visitAllocaInst() 467 unsigned AS = LI.getPointerAddressSpace(); in combineLoadToNewType() 471 NewPtr->getType()->getPointerAddressSpace() == AS)) in combineLoadToNewType() 490 unsigned AS = SI.getPointerAddressSpace(); in combineStoreToNewValue() 906 if (NullPointerIsDefined(SI.getFunction(), SI.getPointerAddressSpace())) in canSimplifyNullStoreOrGEP() 913 !NullPointerIsDefined(SI.getFunction(), SI.getPointerAddressSpace())); in canSimplifyNullStoreOrGEP() 920 !NullPointerIsDefined(LI.getFunction(), GEPI->getPointerAddressSpace())) in canSimplifyNullLoadOrGEP() 925 !NullPointerIsDefined(LI.getFunction(), LI.getPointerAddressSpace()))) in canSimplifyNullLoadOrGEP() 1020 LI.getPointerAddressSpace())) in visitLoadInst() [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86TargetObjectFile.cpp | 81 if (LHS->getType()->getPointerAddressSpace() != 0 || in lowerRelativeReference() 82 RHS->getType()->getPointerAddressSpace() != 0) in lowerRelativeReference()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | LoopAccessAnalysis.cpp | 794 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() 1165 return L->getPointerAddressSpace(); in getAddressSpaceOperand() 1167 return S->getPointerAddressSpace(); in getAddressSpaceOperand() 1458 if (APtr->getType()->getPointerAddressSpace() != in isDependent() 1459 BPtr->getType()->getPointerAddressSpace()) in isDependent() 2152 unsigned AS = Ptr->getType()->getPointerAddressSpace(); in expandBounds() [all …]
|
/external/llvm/include/llvm/IR/ |
D | Operator.h | 407 unsigned getPointerAddressSpace() const { in getPointerAddressSpace() function 408 return getPointerOperandType()->getPointerAddressSpace(); in getPointerAddressSpace() 476 unsigned getPointerAddressSpace() const { in getPointerAddressSpace() function
|
/external/llvm/lib/Analysis/ |
D | LoopAccessAnalysis.cpp | 677 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/ |
D | ValueTest.cpp | 71 EXPECT_EQ(1u, Dummy1->getType()->getPointerAddressSpace()); in TEST() 88 EXPECT_EQ(1u, DummyCast1->getType()->getPointerAddressSpace()); in TEST()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Operator.cpp | 37 DL.getIndexSizeInBits(getPointerAddressSpace()) && in accumulateConstantOffset()
|
/external/llvm/lib/IR/ |
D | Operator.cpp | 24 DL.getPointerSizeInBits(getPointerAddressSpace()) && in accumulateConstantOffset()
|
/external/llvm-project/llvm/unittests/IR/ |
D | ValueTest.cpp | 70 EXPECT_EQ(1u, Dummy1->getType()->getPointerAddressSpace()); in TEST() 87 EXPECT_EQ(1u, DummyCast1->getType()->getPointerAddressSpace()); in TEST()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | MachineMemOperand.h | 52 AddrSpace = v ? v->getType()->getPointerAddressSpace() : 0; in V() 72 AddrSpace = ValPtr->getType()->getPointerAddressSpace(); in V()
|
/external/llvm-project/llvm/include/llvm/CodeGen/ |
D | MachineMemOperand.h | 53 AddrSpace = v ? v->getType()->getPointerAddressSpace() : 0; in V() 73 AddrSpace = ValPtr->getType()->getPointerAddressSpace(); in V()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | Operator.h | 506 unsigned getPointerAddressSpace() const { in getPointerAddressSpace() function 507 return getPointerOperandType()->getPointerAddressSpace(); in getPointerAddressSpace() 582 unsigned getPointerAddressSpace() const { in getPointerAddressSpace() function
|