/external/llvm/lib/IR/ |
D | Operator.cpp | 9 Type *GEPOperator::getSourceElementType() const { in getSourceElementType() 15 Type *GEPOperator::getResultElementType() const { in getResultElementType() 21 bool GEPOperator::accumulateConstantOffset(const DataLayout &DL, in accumulateConstantOffset()
|
D | Value.cpp | 442 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in stripPointerCastsAndOffsets() 509 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in stripAndAccumulateInBoundsConstantOffsets()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXFavorNonGenericAddrSpaces.cpp | 109 Value *hoistAddrSpaceCastFromGEP(GEPOperator *GEP, int Depth); 149 GEPOperator *GEP, int Depth) { in hoistAddrSpaceCastFromGEP() 237 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) in hoistAddrSpaceCastFrom()
|
D | NVPTXGenericToNVVM.cpp | 337 return cast<GEPOperator>(C)->isInBounds() in remapConstantExpr() 339 cast<GEPOperator>(C)->getSourceElementType(), in remapConstantExpr() 343 cast<GEPOperator>(C)->getSourceElementType(), in remapConstantExpr()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | LoopDependenceAnalysis.cpp | 246 const GEPOperator *aGEP = dyn_cast<GEPOperator>(aPtr); in analysePair() 247 const GEPOperator *bGEP = dyn_cast<GEPOperator>(bPtr); in analysePair() 258 for(GEPOperator::const_op_iterator aIdx = aGEP->idx_begin(), in analysePair()
|
D | BasicAliasAnalysis.cpp | 285 const GEPOperator *GEPOp = dyn_cast<GEPOperator>(Op); in DecomposeGEPExpression() 528 AliasResult aliasGEP(const GEPOperator *V1, uint64_t V1Size, 853 BasicAliasAnalysis::aliasGEP(const GEPOperator *GEP1, uint64_t V1Size, in aliasGEP() 863 if (const GEPOperator *GEP2 = dyn_cast<GEPOperator>(V2)) { in aliasGEP() 1193 if (!isa<GEPOperator>(V1) && isa<GEPOperator>(V2)) { in aliasCheck() 1198 if (const GEPOperator *GV1 = dyn_cast<GEPOperator>(V1)) { in aliasCheck()
|
D | Loads.cpp | 61 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in getUnderlyingObjectWithOffset()
|
/external/llvm/lib/Analysis/ |
D | BasicAliasAnalysis.cpp | 377 const GEPOperator *GEPOp = dyn_cast<GEPOperator>(Op); in DecomposeGEPExpression() 820 static AliasResult aliasSameBasePointerGEPs(const GEPOperator *GEP1, in aliasSameBasePointerGEPs() 822 const GEPOperator *GEP2, in aliasSameBasePointerGEPs() 982 bool BasicAAResult::isGEPBaseAtNegativeOffset(const GEPOperator *GEPOp, in isGEPBaseAtNegativeOffset() 1018 AliasResult BasicAAResult::aliasGEP(const GEPOperator *GEP1, uint64_t V1Size, in aliasGEP() 1045 if (const GEPOperator *GEP2 = dyn_cast<GEPOperator>(V2)) { in aliasGEP() 1342 if (GEPOperator *PV1GEP = dyn_cast<GEPOperator>(PV1)) { in aliasPHI() 1488 if (!isa<GEPOperator>(V1) && isa<GEPOperator>(V2)) { in aliasCheck() 1494 if (const GEPOperator *GV1 = dyn_cast<GEPOperator>(V1)) { in aliasCheck()
|
D | MemoryBuiltins.cpp | 425 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) in compute() 443 return visitGEPOperator(cast<GEPOperator>(*CE)); in compute() 568 SizeOffsetType ObjectSizeOffsetVisitor::visitGEPOperator(GEPOperator &GEP) { in visitGEPOperator() 703 } else if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in compute_() 780 ObjectSizeOffsetEvaluator::visitGEPOperator(GEPOperator &GEP) { in visitGEPOperator()
|
D | Loads.cpp | 76 if (const GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in isDereferenceableAndAlignedPointer()
|
D | InlineCost.cpp | 140 bool accumulateGEPOffset(GEPOperator &GEP, APInt &Offset); 306 bool CallAnalyzer::accumulateGEPOffset(GEPOperator &GEP, APInt &Offset) { in accumulateGEPOffset() 397 if (!accumulateGEPOffset(cast<GEPOperator>(I), BaseAndOffset.second)) { in visitGetElementPtr() 1166 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in stripAndComputeInBoundsConstantOffsets()
|
/external/llvm/include/llvm/IR/ |
D | GetElementPtrTypeIterator.h | 98 auto *GEPOp = cast<GEPOperator>(GEP); in gep_type_begin() 109 auto &GEPOp = cast<GEPOperator>(GEP); in gep_type_begin()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Value.cpp | 322 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in stripPointerCasts() 363 if (const GEPOperator *GEP = dyn_cast<GEPOperator>(this)) { in isDereferenceablePointer()
|
/external/llvm/include/llvm/Analysis/ |
D | BasicAliasAnalysis.h | 159 static bool isGEPBaseAtNegativeOffset(const GEPOperator *GEPOp, 181 AliasResult aliasGEP(const GEPOperator *V1, uint64_t V1Size,
|
D | MemoryBuiltins.h | 192 SizeOffsetType visitGEPOperator(GEPOperator &GEP); 257 SizeOffsetEvalType visitGEPOperator(GEPOperator &GEP);
|
D | ValueTracking.h | 31 class GEPOperator; variable 203 bool isGEPBasedOnPointerToString(const GEPOperator *GEP);
|
D | TargetTransformInfoImpl.h | 507 if (const GEPOperator *GEP = dyn_cast<GEPOperator>(U)) { in getUserCost()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
D | MergeFunctions.cpp | 181 bool isEquivalentGEP(const GEPOperator *GEP1, const GEPOperator *GEP2); 184 return isEquivalentGEP(cast<GEPOperator>(GEP1), cast<GEPOperator>(GEP2)); in isEquivalentGEP() 345 bool FunctionComparator::isEquivalentGEP(const GEPOperator *GEP1, in isEquivalentGEP() 346 const GEPOperator *GEP2) { in isEquivalentGEP()
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | Operator.h | 225 class GEPOperator 227 ~GEPOperator(); // DO NOT IMPLEMENT
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | Local.h | 190 GEPOperator *GEPOp = cast<GEPOperator>(GEP);
|
/external/llvm/lib/Transforms/ObjCARC/ |
D | ObjCARCContract.cpp | 605 else if (isa<GEPOperator>(Arg) && in runOnFunction() 606 cast<GEPOperator>(Arg)->hasAllZeroIndices()) in runOnFunction() 607 Arg = cast<GEPOperator>(Arg)->getPointerOperand(); in runOnFunction()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 1413 GEPOperator *GEP1 = nullptr, *GEP2 = nullptr; in OptimizePointerDifference() 1417 if (GEPOperator *LHSGEP = dyn_cast<GEPOperator>(LHS)) { in OptimizePointerDifference() 1422 } else if (GEPOperator *RHSGEP = dyn_cast<GEPOperator>(RHS)) { in OptimizePointerDifference() 1433 if (GEPOperator *RHSGEP = dyn_cast<GEPOperator>(RHS)) { in OptimizePointerDifference() 1438 } else if (GEPOperator *LHSGEP = dyn_cast<GEPOperator>(LHS)) { in OptimizePointerDifference()
|
/external/llvm/lib/Transforms/Scalar/ |
D | MemCpyOptimizer.cpp | 38 static int64_t GetOffsetFromIndex(const GEPOperator *GEP, unsigned Idx, in GetOffsetFromIndex() 83 GEPOperator *GEP1 = dyn_cast<GEPOperator>(Ptr1); in IsPointerOffset() 84 GEPOperator *GEP2 = dyn_cast<GEPOperator>(Ptr2); in IsPointerOffset()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 789 static bool shouldMergeGEPs(GEPOperator &GEP, GEPOperator &Src) { in shouldMergeGEPs() 844 if (GEPOperator *Src = dyn_cast<GEPOperator>(PtrOp)) { in visitGetElementPtrInst() 845 if (!shouldMergeGEPs(*cast<GEPOperator>(&GEP), *Src)) in visitGetElementPtrInst() 851 if (GEPOperator *SrcGEP = in visitGetElementPtrInst() 852 dyn_cast<GEPOperator>(Src->getOperand(0))) in visitGetElementPtrInst()
|
/external/llvm/lib/Transforms/IPO/ |
D | MergeFunctions.cpp | 355 int cmpGEPs(const GEPOperator *GEPL, const GEPOperator *GEPR) const; 358 return cmpGEPs(cast<GEPOperator>(GEPL), cast<GEPOperator>(GEPR)); in cmpGEPs() 1069 int FunctionComparator::cmpGEPs(const GEPOperator *GEPL, in cmpGEPs() 1070 const GEPOperator *GEPR) const { in cmpGEPs()
|