Home
last modified time | relevance | path

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

1234

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DInferAddressSpaces.cpp323 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 …]
DMemCpyOptimizer.cpp864 if (cpySrc->getType()->getPointerAddressSpace() != in performCallSlotOptzn()
865 cpyDest->getType()->getPointerAddressSpace()) in performCallSlotOptzn()
869 cpySrc->getType()->getPointerAddressSpace() != in performCallSlotOptzn()
870 CS.getArgument(i)->getType()->getPointerAddressSpace()) in performCallSlotOptzn()
1290 if (MDep->getSource()->getType()->getPointerAddressSpace() != in processByValArgument()
1291 ByValArg->getType()->getPointerAddressSpace()) in processByValArgument()
DSROA.cpp788 LI.getPointerAddressSpace() != DL.getAllocaAddrSpace()) in visitLoadInst()
803 SI.getPointerAddressSpace() != DL.getAllocaAddrSpace()) in visitStoreInst()
1660 Ptr, IRB.getInt8PtrTy(PointerTy->getPointerAddressSpace()), in getAdjustedPtr()
1731 return cast<PointerType>(NewTy)->getPointerAddressSpace() == in canConvertValue()
1732 cast<PointerType>(OldTy)->getPointerAddressSpace(); in canConvertValue()
2499 unsigned AS = LI.getPointerAddressSpace(); in visitLoadInst()
2703 unsigned AS = SI.getPointerAddressSpace(); in visitStoreInst()
2956 unsigned OtherAS = OtherPtrTy->getPointerAddressSpace(); in visitMemTransferInst()
3096 Type *PointerTy = IRB.getInt8PtrTy(OldPtr->getType()->getPointerAddressSpace()); in visitIntrinsicInst()
3860 auto AS = LI->getPointerAddressSpace(); in presplitLoadsAndStores()
[all …]
DSeparateConstOffsetFromGEP.cpp820 Builder.getInt8PtrTy(Variadic->getType()->getPointerAddressSpace()); in lowerToSingleIndexGEPs()
960 unsigned AddrSpace = GEP->getPointerAddressSpace(); in splitGEP()
1096 GEP->getPointerAddressSpace()); in splitGEP()
DLoopLoadElimination.cpp105 assert(LoadPtrType->getPointerAddressSpace() == in isDependenceDistanceOfOne()
106 StorePtr->getType()->getPointerAddressSpace() && in isDependenceDistanceOfOne()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUAliasAnalysis.cpp81 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()
DAMDGPUMCInstLower.cpp241 auto SrcAddr = Op->getType()->getPointerAddressSpace(); in lowerAddrSpaceCast()
243 auto DstAddr = CE->getType()->getPointerAddressSpace(); in lowerAddrSpaceCast()
DAMDGPUAnnotateUniformValues.cpp128 return Load.getPointerAddressSpace() == AMDGPUAS::GLOBAL_ADDRESS; in visitLoadInst()
DAMDGPUTargetTransformInfo.cpp617 return Load->getPointerAddressSpace() == AMDGPUAS::PRIVATE_ADDRESS || in isSourceOfDivergence()
618 Load->getPointerAddressSpace() == AMDGPUAS::FLAT_ADDRESS; in isSourceOfDivergence()
694 unsigned NewAS = NewV->getType()->getPointerAddressSpace(); in rewriteIntrinsicWithAddressSpace()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DLoadStoreVectorizer.cpp130 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 …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp320 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 …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.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()
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 …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineMemOperand.h52 AddrSpace = v ? v->getType()->getPointerAddressSpace() : 0; in V()
72 AddrSpace = ValPtr->getType()->getPointerAddressSpace(); in V()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DOperator.cpp37 DL.getIndexSizeInBits(getPointerAddressSpace()) && in accumulateConstantOffset()
DInstructions.cpp303 getType()->getPointerAddressSpace())) in isReturnNonNull()
2632 if (SrcTy->getPointerAddressSpace() != DstTy->getPointerAddressSpace()) in isEliminableCastPair()
2680 if (SrcTy->getPointerAddressSpace() != DstTy->getPointerAddressSpace()) in isEliminableCastPair()
2691 SrcTy->getPointerAddressSpace() != MidTy->getPointerAddressSpace() && in isEliminableCastPair()
2692 MidTy->getPointerAddressSpace() == DstTy->getPointerAddressSpace() && in isEliminableCastPair()
2711 MidTy->getPointerAddressSpace() == DstTy->getPointerAddressSpace() && in isEliminableCastPair()
2723 SrcTy->getPointerAddressSpace() == MidTy->getPointerAddressSpace() && in isEliminableCastPair()
2873 if (S->getType()->getPointerAddressSpace() != Ty->getPointerAddressSpace()) in CreatePointerBitCastOrAddrSpaceCast()
2886 if (S->getType()->getPointerAddressSpace() != Ty->getPointerAddressSpace()) in CreatePointerBitCastOrAddrSpaceCast()
3154 if (DestTy->getPointerAddressSpace() != SrcTy->getPointerAddressSpace()) in getCastOpcode()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DOperator.h506 unsigned getPointerAddressSpace() const { in getPointerAddressSpace() function
507 return getPointerOperandType()->getPointerAddressSpace(); in getPointerAddressSpace()
582 unsigned getPointerAddressSpace() const { in getPointerAddressSpace() function
DInstructions.h301 unsigned getPointerAddressSpace() const { in getPointerAddressSpace() function
302 return getPointerOperandType()->getPointerAddressSpace(); in getPointerAddressSpace()
435 unsigned getPointerAddressSpace() const { in getPointerAddressSpace() function
436 return getPointerOperandType()->getPointerAddressSpace(); in getPointerAddressSpace()
647 unsigned getPointerAddressSpace() const {
648 return getPointerOperand()->getType()->getPointerAddressSpace();
838 unsigned getPointerAddressSpace() const {
839 return getPointerOperand()->getType()->getPointerAddressSpace();
1004 return getPointerAddressSpace();
1047 unsigned getPointerAddressSpace() const {
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DVNCoercion.cpp328 unsigned AS = Src->getType()->getPointerAddressSpace(); in analyzeLoadFromClobberingMemInst()
429 PointerType::get(DestTy, PtrVal->getType()->getPointerAddressSpace()); in getLoadValueForLoad()
503 unsigned AS = Src->getType()->getPointerAddressSpace(); in getMemInstValueForLoadHelper()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXTargetTransformInfo.cpp81 unsigned AS = LI->getPointerAddressSpace(); in isSourceOfDivergence()
DNVPTXLowerArgs.cpp179 if (Ptr->getType()->getPointerAddressSpace() == ADDRESS_SPACE_GLOBAL) in markPointerAsGlobal()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DAtomicExpandPass.cpp382 Addr->getType()->getPointerAddressSpace()); in convertAtomicLoadToIntegerType()
469 Addr->getType()->getPointerAddressSpace()); in convertAtomicStoreToIntegerType()
508 unsigned AS = Addr->getType()->getPointerAddressSpace(); in createCmpXchgInstFun()
659 Ret.WordType->getPointerTo(Addr->getType()->getPointerAddressSpace()); in createMaskInstrs()
1063 Addr->getType()->getPointerAddressSpace()); in convertCmpXchgToIntegerType()
1706 auto PtrTypeAS = PointerOperand->getType()->getPointerAddressSpace(); in expandAtomicOpToLibcall()
1716 unsigned AllocaAS = AllocaCASExpected->getType()->getPointerAddressSpace(); in expandAtomicOpToLibcall()
1747 unsigned AllocaAS = AllocaResult->getType()->getPointerAddressSpace(); in expandAtomicOpToLibcall()
DTargetLoweringObjectFileImpl.cpp813 if (LHS->getType()->getPointerAddressSpace() != 0 || in lowerRelativeReference()
814 RHS->getType()->getPointerAddressSpace() != 0 || LHS->isThreadLocal() || in lowerRelativeReference()
1577 if (LHS->getType()->getPointerAddressSpace() != 0 || in lowerRelativeReference()
1578 RHS->getType()->getPointerAddressSpace() != 0) in lowerRelativeReference()
1793 if (LHS->getType()->getPointerAddressSpace() != 0 || in lowerRelativeReference()
1794 RHS->getType()->getPointerAddressSpace() != 0 || LHS->isThreadLocal() || in lowerRelativeReference()
DInterleavedLoadCombinePass.cpp967 DL.getIndexSizeInBits(PtrTy->getPointerAddressSpace()); in computePolynomialFromPointer()
1033 Polynomial(DL.getIndexSizeInBits(PtrTy->getPointerAddressSpace()), 0); in computePolynomialFromPointer()
1211 InsertionPoint->getPointerAddressSpace()); in combine()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86InterleavedAccess.cpp145 if (cast<LoadInst>(Inst)->getPointerAddressSpace()) in isSupported()
205 VecBasePtrTy = VecBaseTy->getPointerTo(LI->getPointerAddressSpace()); in decompose()
210 VecBasePtrTy = VecBaseTy->getPointerTo(LI->getPointerAddressSpace()); in decompose()
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
Dbuilder.cpp212 pType->getPointerAddressSpace()); in GetVectorType()

1234