Searched refs:hasAllConstantIndices (Results 1 – 25 of 26) sorted by relevance
12
53 if (VPtr == GEP->getPointerOperand() && GEP->hasAllConstantIndices()) { in findLoadCallsAtConstantOffset()
3099 GLHS->hasAllConstantIndices() && GRHS->hasAllConstantIndices() && in SimplifyICmpInst()
62 if (!GEP->hasAllConstantIndices()) in getUnderlyingObjectWithOffset()
123 if (GEPI->hasAllConstantIndices()) in analyzeBasicBlock()210 if (GEP->hasAllConstantIndices()) in CountCodeReductionForAlloca()
1497 if (GEP == 0 || !GEP->hasAllConstantIndices()) return Ptr; in GetPointerBaseWithConstantOffset()
292 bool hasAllConstantIndices() const { in hasAllConstantIndices() function
821 bool hasAllConstantIndices() const;
435 bool hasAllConstantIndices() const { in hasAllConstantIndices() function
1022 bool hasAllConstantIndices() const;
349 if (TD && GEP1->hasAllConstantIndices() && GEP2->hasAllConstantIndices()) { in isEquivalentGEP()
158 !GEP->hasAllConstantIndices())) in FoldPHIArgGEPIntoPHI()281 if (AI->isStaticAlloca() && GEP->hasAllConstantIndices()) in isSafeAndProfitableToSinkLoad()
263 if (!GEP->hasAllConstantIndices()) break; in visitCallInst()
1348 GEP->hasAllConstantIndices()) { in commonPointerCastTransforms()
1043 !isa<BitCastInst>(BCI->getOperand(0)) && GEP.hasAllConstantIndices() && in visitGetElementPtrInst()
149 !GEP->hasAllConstantIndices())) in FoldPHIArgGEPIntoPHI()270 if (AI->isStaticAlloca() && GEP->hasAllConstantIndices()) in isSafeAndProfitableToSinkLoad()
860 if (GEP->hasAllConstantIndices() && GEP->getNumIndices() == 1 && in getAsConstantIndexedAddress()893 if (!GEPLHS->hasAllConstantIndices()) in transformToIndexedCompare()973 (GEPLHS->hasAllConstantIndices() || GEPLHS->hasOneUse()) && in FoldGEPICmp()974 (GEPRHS->hasAllConstantIndices() || GEPRHS->hasOneUse()) && in FoldGEPICmp()
1452 (GEP2 && !GEP2->hasAllConstantIndices() && !GEP2->hasOneUse())) in OptimizePointerDifference()
502 if (!cast<GEPOperator>(I)->hasAllConstantIndices()) in shouldSpeculateInstrs()
892 if (GEP->hasAllConstantIndices()) in splitGEP()
1844 if (!GEP->hasAllConstantIndices()) in chainToBasePointerCost()
450 if (!GEP->hasAllConstantIndices()) in stripPointerCastsAndOffsets()
134 if (!GEP->hasAllConstantIndices()) in IsSafeComputationToRemove()
451 if (!GEP->hasAllConstantIndices()) in CanConvertToScalar()
277 if (!cast<GetElementPtrInst>(I)->hasAllConstantIndices()) in DominatesMergePoint()
1416 bool GetElementPtrInst::hasAllConstantIndices() const { in hasAllConstantIndices() function in GetElementPtrInst