Home
last modified time | relevance | path

Searched refs:GEPOperator (Results 1 – 25 of 50) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DOperator.cpp22 Type *GEPOperator::getSourceElementType() const { in getSourceElementType()
28 Type *GEPOperator::getResultElementType() const { in getResultElementType()
34 bool GEPOperator::accumulateConstantOffset(const DataLayout &DL, in accumulateConstantOffset()
DConstantFold.cpp550 !cast<GEPOperator>(CE)->getInRangeIndex().hasValue() && in ConstantFoldCastInstruction()
647 GEPOperator *GEPO = cast<GEPOperator>(CE); in ConstantFoldCastInstruction()
1683 GEPOperator *CE1GEP = cast<GEPOperator>(CE1); in evaluateICmpRelation()
1749 GEPOperator *CE2GEP = cast<GEPOperator>(CE2); in evaluateICmpRelation()
2315 Optional<unsigned> IRIndex = cast<GEPOperator>(CE)->getInRangeIndex(); in ConstantFoldGetElementPtr()
2320 cast<GEPOperator>(CE)->getSourceElementType(), CE->getOperand(0), in ConstantFoldGetElementPtr()
2321 NewIndices, InBounds && cast<GEPOperator>(CE)->isInBounds(), in ConstantFoldGetElementPtr()
DValue.cpp477 if (auto *GEP = dyn_cast<GEPOperator>(V)) { in stripPointerCastsAndOffsets()
566 if (auto *GEP = dyn_cast<GEPOperator>(V)) { in stripAndAccumulateConstantOffsets()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DFunctionComparator.h345 int cmpGEPs(const GEPOperator *GEPL, const GEPOperator *GEPR) const;
348 return cmpGEPs(cast<GEPOperator>(GEPL), cast<GEPOperator>(GEPR)); in cmpGEPs()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/Utils/
DLocal.h31 GEPOperator *GEPOp = cast<GEPOperator>(GEP);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DBasicAliasAnalysis.cpp493 const GEPOperator *GEPOp = dyn_cast<GEPOperator>(Op); in DecomposeGEPExpression()
1084 static AliasResult aliasSameBasePointerGEPs(const GEPOperator *GEP1, in aliasSameBasePointerGEPs()
1086 const GEPOperator *GEP2, in aliasSameBasePointerGEPs()
1272 bool BasicAAResult::isGEPBaseAtNegativeOffset(const GEPOperator *GEPOp, in isGEPBaseAtNegativeOffset()
1312 const GEPOperator *GEP1, LocationSize V1Size, const AAMDNodes &V1AAInfo, in aliasGEP()
1341 if (const GEPOperator *GEP2 = dyn_cast<GEPOperator>(V2)) { in aliasGEP()
1653 if (GEPOperator *PV1GEP = dyn_cast<GEPOperator>(PV1)) { in aliasPHI()
1680 if (GEPOperator *PV1GEP = dyn_cast<GEPOperator>(PV1)) { in aliasPHI()
1838 if (!isa<GEPOperator>(V1) && isa<GEPOperator>(V2)) { in aliasCheck()
1844 if (const GEPOperator *GV1 = dyn_cast<GEPOperator>(V1)) { in aliasCheck()
DMemoryBuiltins.cpp590 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) in compute()
608 return visitGEPOperator(cast<GEPOperator>(*CE)); in compute()
748 SizeOffsetType ObjectSizeOffsetVisitor::visitGEPOperator(GEPOperator &GEP) { in visitGEPOperator()
894 } else if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in compute_()
971 ObjectSizeOffsetEvaluator::visitGEPOperator(GEPOperator &GEP) { in visitGEPOperator()
DCFLGraph.h316 void visitGEP(GEPOperator &GEPOp) { in visitGEP()
328 auto *GEPOp = cast<GEPOperator>(&Inst); in visitGetElementPtrInst()
512 auto GEPOp = cast<GEPOperator>(CE); in visitConstantExpr()
DLoads.cpp83 if (const GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in isDereferenceableAndAlignedPointer()
DValueTracking.cpp1928 static bool isGEPKnownNonNull(const GEPOperator *GEP, unsigned Depth, in isGEPKnownNonNull()
2192 if (const GEPOperator *GEP = dyn_cast<GEPOperator>(V)) in isKnownNonZero()
3616 bool llvm::isGEPBasedOnPointerToString(const GEPOperator *GEP, in isGEPBasedOnPointerToString()
3647 if (const GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in getConstantDataArrayInfo()
3882 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in GetUnderlyingObject()
5892 getOffsetFromIndex(const GEPOperator *GEP, unsigned Idx, const DataLayout &DL) { in getOffsetFromIndex()
5932 const GEPOperator *GEP1 = dyn_cast<GEPOperator>(Ptr1); in isPointerOffset()
5933 const GEPOperator *GEP2 = dyn_cast<GEPOperator>(Ptr2); in isPointerOffset()
5945 auto getOffsetFromBase = [&DL](const GEPOperator *GEP, in isPointerOffset()
5947 const GEPOperator *GEP_T = GEP; in isPointerOffset()
[all …]
DInlineCost.cpp275 bool accumulateGEPOffset(GEPOperator &GEP, APInt &Offset);
674 bool CallAnalyzer::accumulateGEPOffset(GEPOperator &GEP, APInt &Offset) { in accumulateGEPOffset()
857 if (!accumulateGEPOffset(cast<GEPOperator>(I), BaseAndOffset.second)) in canFoldInboundsGEP()
1838 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in stripAndComputeInBoundsConstantOffsets()
DConstantFolding.cpp309 auto *GEP = dyn_cast<GEPOperator>(CE); in IsConstantOffsetFromGlobal()
821 Constant *SymbolicallyEvaluateGEP(const GEPOperator *GEP, in SymbolicallyEvaluateGEP()
825 const GEPOperator *InnermostGEP = GEP; in SymbolicallyEvaluateGEP()
877 while (auto *GEP = dyn_cast<GEPOperator>(Ptr)) { in SymbolicallyEvaluateGEP()
1032 if (auto *GEP = dyn_cast<GEPOperator>(InstOrCE)) { in ConstantFoldInstOperandsImpl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DBasicAliasAnalysis.h40 class GEPOperator; variable
175 static bool isGEPBaseAtNegativeOffset(const GEPOperator *GEPOp,
198 AliasResult aliasGEP(const GEPOperator *V1, LocationSize V1Size,
DMemoryBuiltins.h39 class GEPOperator; variable
266 SizeOffsetType visitGEPOperator(GEPOperator &GEP);
335 SizeOffsetEvalType visitGEPOperator(GEPOperator &GEP);
DValueTracking.h34 class GEPOperator; variable
270 bool isGEPBasedOnPointerToString(const GEPOperator *GEP,
DTargetTransformInfoImpl.h873 if (const GEPOperator *GEP = dyn_cast<GEPOperator>(U)) { in getUserCost()
DScalarEvolution.h61 class GEPOperator; variable
572 const SCEV *getGEPExpr(GEPOperator *GEP,
1482 const SCEV *createNodeForGEP(GEPOperator *GEP);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DGetElementPtrTypeIterator.h128 auto *GEPOp = cast<GEPOperator>(GEP); in gep_type_begin()
139 auto &GEPOp = cast<GEPOperator>(GEP); in gep_type_begin()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp286 return cast<GEPOperator>(C)->isInBounds() in remapConstantExpr()
288 cast<GEPOperator>(C)->getSourceElementType(), in remapConstantExpr()
292 cast<GEPOperator>(C)->getSourceElementType(), in remapConstantExpr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DGlobalSplit.cpp60 auto *GEP = dyn_cast<GEPOperator>(U); in splitGlobal()
117 auto *GEP = cast<GEPOperator>(U); in splitGlobal()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/ObjCARC/
DObjCARCContract.cpp703 else if (isa<GEPOperator>(Arg) && in runOnFunction()
704 cast<GEPOperator>(Arg)->hasAllZeroIndices()) in runOnFunction()
705 Arg = cast<GEPOperator>(Arg)->getPointerOperand(); in runOnFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1592 GEPOperator *GEP1 = nullptr, *GEP2 = nullptr; in OptimizePointerDifference()
1596 if (GEPOperator *LHSGEP = dyn_cast<GEPOperator>(LHS)) { in OptimizePointerDifference()
1601 } else if (GEPOperator *RHSGEP = dyn_cast<GEPOperator>(RHS)) { in OptimizePointerDifference()
1612 if (GEPOperator *RHSGEP = dyn_cast<GEPOperator>(RHS)) { in OptimizePointerDifference()
1617 } else if (GEPOperator *LHSGEP = dyn_cast<GEPOperator>(LHS)) { in OptimizePointerDifference()
DInstructionCombining.cpp1182 static bool shouldMergeGEPs(GEPOperator &GEP, GEPOperator &Src) { in shouldMergeGEPs()
1652 static bool isMergedGEPInBounds(GEPOperator &GEP1, GEPOperator &GEP2) { in isMergedGEPInBounds()
1826 NewPN->addIncoming(cast<GEPOperator>(I)->getOperand(DI), in visitGetElementPtrInst()
1842 if (auto *Src = dyn_cast<GEPOperator>(PtrOp)) { in visitGetElementPtrInst()
1843 if (!shouldMergeGEPs(*cast<GEPOperator>(&GEP), *Src)) in visitGetElementPtrInst()
1899 if (auto *SrcGEP = dyn_cast<GEPOperator>(Src->getOperand(0))) in visitGetElementPtrInst()
1934 GEP.setIsInBounds(isMergedGEPInBounds(*Src, *cast<GEPOperator>(&GEP))); in visitGetElementPtrInst()
1951 return isMergedGEPInBounds(*Src, *cast<GEPOperator>(&GEP)) in visitGetElementPtrInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp86 cast<GEPOperator>(CE)->getSourceElementType(), CEOps[0], in createReplacementInstr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DEvaluator.cpp145 cast<GEPOperator>(CE)->isInBounds()) { in isSimpleEnoughPointerToCommit()
441 cast<GEPOperator>(GEP)->isInBounds()); in EvaluateBlock()

12