Home
last modified time | relevance | path

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

123

/external/llvm/lib/IR/
DOperator.cpp9 Type *GEPOperator::getSourceElementType() const { in getSourceElementType()
15 Type *GEPOperator::getResultElementType() const { in getResultElementType()
21 bool GEPOperator::accumulateConstantOffset(const DataLayout &DL, in accumulateConstantOffset()
DValue.cpp442 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in stripPointerCastsAndOffsets()
509 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in stripAndAccumulateInBoundsConstantOffsets()
/external/llvm/lib/Target/NVPTX/
DNVPTXFavorNonGenericAddrSpaces.cpp109 Value *hoistAddrSpaceCastFromGEP(GEPOperator *GEP, int Depth);
149 GEPOperator *GEP, int Depth) { in hoistAddrSpaceCastFromGEP()
237 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) in hoistAddrSpaceCastFrom()
DNVPTXGenericToNVVM.cpp337 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/
DLoopDependenceAnalysis.cpp246 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()
DBasicAliasAnalysis.cpp285 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()
DLoads.cpp61 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in getUnderlyingObjectWithOffset()
/external/llvm/lib/Analysis/
DBasicAliasAnalysis.cpp377 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()
DMemoryBuiltins.cpp425 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()
DLoads.cpp76 if (const GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in isDereferenceableAndAlignedPointer()
DInlineCost.cpp140 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/
DGetElementPtrTypeIterator.h98 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/
DValue.cpp322 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/
DBasicAliasAnalysis.h159 static bool isGEPBaseAtNegativeOffset(const GEPOperator *GEPOp,
181 AliasResult aliasGEP(const GEPOperator *V1, uint64_t V1Size,
DMemoryBuiltins.h192 SizeOffsetType visitGEPOperator(GEPOperator &GEP);
257 SizeOffsetEvalType visitGEPOperator(GEPOperator &GEP);
DValueTracking.h31 class GEPOperator; variable
203 bool isGEPBasedOnPointerToString(const GEPOperator *GEP);
DTargetTransformInfoImpl.h507 if (const GEPOperator *GEP = dyn_cast<GEPOperator>(U)) { in getUserCost()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DMergeFunctions.cpp181 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/
DOperator.h225 class GEPOperator
227 ~GEPOperator(); // DO NOT IMPLEMENT
/external/llvm/include/llvm/Transforms/Utils/
DLocal.h190 GEPOperator *GEPOp = cast<GEPOperator>(GEP);
/external/llvm/lib/Transforms/ObjCARC/
DObjCARCContract.cpp605 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/
DInstCombineAddSub.cpp1413 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/
DMemCpyOptimizer.cpp38 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/
DInstructionCombining.cpp789 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/
DMergeFunctions.cpp355 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()

123