Home
last modified time | relevance | path

Searched refs:SrcGEP (Results 1 – 10 of 10) sorted by relevance

/external/llvm-project/llvm/lib/Transforms/Utils/
DLowerMemIntrinsics.cpp69 Value *SrcGEP = in createMemCpyLoopKnownSize() local
71 Value *Load = LoopBuilder.CreateAlignedLoad(LoopOpType, SrcGEP, in createMemCpyLoopKnownSize()
112 Value *SrcGEP = RBuilder.CreateInBoundsGEP( in createMemCpyLoopKnownSize() local
115 RBuilder.CreateAlignedLoad(OpTy, SrcGEP, PartSrcAlign, SrcIsVolatile); in createMemCpyLoopKnownSize()
185 Value *SrcGEP = LoopBuilder.CreateInBoundsGEP(LoopOpType, SrcAddr, LoopIndex); in createMemCpyLoopUnknownSize() local
186 Value *Load = LoopBuilder.CreateAlignedLoad(LoopOpType, SrcGEP, PartSrcAlign, in createMemCpyLoopUnknownSize()
238 Value *SrcGEP = in createMemCpyLoopUnknownSize() local
240 Value *Load = ResBuilder.CreateAlignedLoad(Int8Type, SrcGEP, PartSrcAlign, in createMemCpyLoopUnknownSize()
362 Value *SrcGEP = FwdLoopBuilder.CreateInBoundsGEP(EltTy, SrcAddr, FwdCopyPhi); in createMemMoveLoop() local
364 FwdLoopBuilder.CreateAlignedLoad(EltTy, SrcGEP, PartSrcAlign, "element"); in createMemMoveLoop()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLowerMemIntrinsics.cpp73 Value *SrcGEP = in createMemCpyLoopKnownSize() local
75 Value *Load = LoopBuilder.CreateLoad(LoopOpType, SrcGEP, SrcIsVolatile); in createMemCpyLoopKnownSize()
115 Value *SrcGEP = RBuilder.CreateInBoundsGEP( in createMemCpyLoopKnownSize() local
117 Value *Load = RBuilder.CreateLoad(OpTy, SrcGEP, SrcIsVolatile); in createMemCpyLoopKnownSize()
183 Value *SrcGEP = LoopBuilder.CreateInBoundsGEP(LoopOpType, SrcAddr, LoopIndex); in createMemCpyLoopUnknownSize() local
184 Value *Load = LoopBuilder.CreateLoad(LoopOpType, SrcGEP, SrcIsVolatile); in createMemCpyLoopUnknownSize()
235 Value *SrcGEP = in createMemCpyLoopUnknownSize() local
237 Value *Load = ResBuilder.CreateLoad(Int8Type, SrcGEP, SrcIsVolatile); in createMemCpyLoopUnknownSize()
/external/llvm-project/llvm/lib/IR/
DInstruction.cpp286 if (auto *SrcGEP = dyn_cast<GetElementPtrInst>(V)) in copyIRFlags() local
288 DestGEP->setIsInBounds(SrcGEP->isInBounds() | DestGEP->isInBounds()); in copyIRFlags()
311 if (auto *SrcGEP = dyn_cast<GetElementPtrInst>(V)) in andIRFlags() local
313 DestGEP->setIsInBounds(SrcGEP->isInBounds() & DestGEP->isInBounds()); in andIRFlags()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DInstruction.cpp262 if (auto *SrcGEP = dyn_cast<GetElementPtrInst>(V)) in copyIRFlags() local
264 DestGEP->setIsInBounds(SrcGEP->isInBounds() | DestGEP->isInBounds()); in copyIRFlags()
287 if (auto *SrcGEP = dyn_cast<GetElementPtrInst>(V)) in andIRFlags() local
289 DestGEP->setIsInBounds(SrcGEP->isInBounds() & DestGEP->isInBounds()); in andIRFlags()
/external/llvm/lib/Analysis/
DDependenceAnalysis.cpp3333 GEPOperator *SrcGEP = dyn_cast<GEPOperator>(SrcPtr); in depends() local
3335 if (SrcGEP && DstGEP && in depends()
3336 SrcGEP->getPointerOperandType() == DstGEP->getPointerOperandType()) { in depends()
3337 const SCEV *SrcPtrSCEV = SE->getSCEV(SrcGEP->getPointerOperand()); in depends()
3344 (SrcGEP->getNumOperands() == DstGEP->getNumOperands()); in depends()
3346 unsigned Pairs = UsefulGEP ? SrcGEP->idx_end() - SrcGEP->idx_begin() : 1; in depends()
3351 for (GEPOperator::const_op_iterator SrcIdx = SrcGEP->idx_begin(), in depends()
3352 SrcEnd = SrcGEP->idx_end(), in depends()
3767 GEPOperator *SrcGEP = dyn_cast<GEPOperator>(SrcPtr); in getSplitIteration() local
3769 if (SrcGEP && DstGEP && in getSplitIteration()
[all …]
/external/llvm-project/llvm/lib/Analysis/
DDependenceAnalysis.cpp1045 if (auto *SrcGEP = dyn_cast<GetElementPtrInst>(Ptr)) in isKnownNonNegative() local
1046 Inbounds = SrcGEP->isInBounds(); in isKnownNonNegative()
3325 auto *SrcGEP = dyn_cast<GetElementPtrInst>(SrcPtr); in tryDelinearizeFixedSize() local
3327 if (!SrcGEP || !DstGEP) in tryDelinearizeFixedSize()
3331 SE->getIndexExpressionsFromGEP(SrcGEP, SrcSubscripts, SrcSizes); in tryDelinearizeFixedSize()
3344 Value *SrcBasePtr = SrcGEP->getOperand(0); in tryDelinearizeFixedSize()
3360 << "SrcGEP:" << *SrcGEP << "\n" in tryDelinearizeFixedSize()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1494 if (GEPOperator *SrcGEP = in visitGetElementPtrInst() local
1496 if (SrcGEP->getNumOperands() == 2 && shouldMergeGEPs(*Src, *SrcGEP)) in visitGetElementPtrInst()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1899 if (auto *SrcGEP = dyn_cast<GEPOperator>(Src->getOperand(0))) in visitGetElementPtrInst() local
1900 if (SrcGEP->getNumOperands() == 2 && shouldMergeGEPs(*Src, *SrcGEP)) in visitGetElementPtrInst()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp2065 if (auto *SrcGEP = dyn_cast<GEPOperator>(Src->getOperand(0))) in visitGetElementPtrInst() local
2066 if (SrcGEP->getNumOperands() == 2 && shouldMergeGEPs(*Src, *SrcGEP)) in visitGetElementPtrInst()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DDependenceAnalysis.cpp1043 if (auto *SrcGEP = dyn_cast<GetElementPtrInst>(Ptr)) in isKnownNonNegative() local
1044 Inbounds = SrcGEP->isInBounds(); in isKnownNonNegative()