/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Operator.cpp | 22 Type *GEPOperator::getSourceElementType() const { in getSourceElementType() 28 Type *GEPOperator::getResultElementType() const { in getResultElementType() 34 bool GEPOperator::accumulateConstantOffset(const DataLayout &DL, in accumulateConstantOffset()
|
D | ConstantFold.cpp | 550 !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()
|
D | Value.cpp | 477 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/ |
D | FunctionComparator.h | 345 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/ |
D | Local.h | 31 GEPOperator *GEPOp = cast<GEPOperator>(GEP);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | BasicAliasAnalysis.cpp | 493 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()
|
D | MemoryBuiltins.cpp | 590 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()
|
D | CFLGraph.h | 316 void visitGEP(GEPOperator &GEPOp) { in visitGEP() 328 auto *GEPOp = cast<GEPOperator>(&Inst); in visitGetElementPtrInst() 512 auto GEPOp = cast<GEPOperator>(CE); in visitConstantExpr()
|
D | Loads.cpp | 83 if (const GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in isDereferenceableAndAlignedPointer()
|
D | ValueTracking.cpp | 1928 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 …]
|
D | InlineCost.cpp | 275 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()
|
D | ConstantFolding.cpp | 309 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/ |
D | BasicAliasAnalysis.h | 40 class GEPOperator; variable 175 static bool isGEPBaseAtNegativeOffset(const GEPOperator *GEPOp, 198 AliasResult aliasGEP(const GEPOperator *V1, LocationSize V1Size,
|
D | MemoryBuiltins.h | 39 class GEPOperator; variable 266 SizeOffsetType visitGEPOperator(GEPOperator &GEP); 335 SizeOffsetEvalType visitGEPOperator(GEPOperator &GEP);
|
D | ValueTracking.h | 34 class GEPOperator; variable 270 bool isGEPBasedOnPointerToString(const GEPOperator *GEP,
|
D | TargetTransformInfoImpl.h | 873 if (const GEPOperator *GEP = dyn_cast<GEPOperator>(U)) { in getUserCost()
|
D | ScalarEvolution.h | 61 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/ |
D | GetElementPtrTypeIterator.h | 128 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/ |
D | NVPTXGenericToNVVM.cpp | 286 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/ |
D | GlobalSplit.cpp | 60 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/ |
D | ObjCARCContract.cpp | 703 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/ |
D | InstCombineAddSub.cpp | 1592 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()
|
D | InstructionCombining.cpp | 1182 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/ |
D | XCoreLowerThreadLocal.cpp | 86 cast<GEPOperator>(CE)->getSourceElementType(), CEOps[0], in createReplacementInstr()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | Evaluator.cpp | 145 cast<GEPOperator>(CE)->isInBounds()) { in isSimpleEnoughPointerToCommit() 441 cast<GEPOperator>(GEP)->isInBounds()); in EvaluateBlock()
|