Searched refs:hasAllZeroIndices (Results 1 – 22 of 22) sorted by relevance
148 cast<GetElementPtrInst>(I)->hasAllZeroIndices()); in IsNoopInstruction()
428 if (GI->hasAllZeroIndices()) in traceAICall()459 if (GI->hasAllZeroIndices()) in traceBitCast()489 if (GI->hasAllZeroIndices()) in traceGEP()
521 bool hasAllZeroIndices() const { in hasAllZeroIndices() function
1082 bool hasAllZeroIndices() const;
704 cast<GEPOperator>(Arg)->hasAllZeroIndices()) in runOnFunction()
98 if (GEP->hasAllZeroIndices()) in FindSingleUseIdentifiedObject()
292 if (cast<GetElementPtrInst>(I)->hasAllZeroIndices()) in getNoopInput()
7153 if (GEPI->hasAllZeroIndices()) { in optimizeInst()
1186 if (GEP.hasAllZeroIndices() && !Src.hasAllZeroIndices() && in shouldMergeGEPs()1657 return (GEP1.isInBounds() || GEP1.hasAllZeroIndices()) && in isMergedGEPInBounds()1658 (GEP2.isInBounds() || GEP2.hasAllZeroIndices()); in isMergedGEPInBounds()
87 ValuesToInspect.emplace_back(I, IsOffset || !GEP->hasAllZeroIndices()); in isOnlyCopiedFromConstantGlobal()
964 if (!GEPLHS->getType()->isVectorTy() && GEPLHS->hasAllZeroIndices()) in foldGEPICmp()970 if (!GEPRHS->getType()->isVectorTy() && GEPRHS->hasAllZeroIndices()) in foldGEPICmp()3179 cast<GetElementPtrInst>(LHSI)->hasAllZeroIndices()) in foldICmpInstWithConstantNotInt()
1811 if (GEP->hasAllZeroIndices() && in commonPointerCastTransforms()
1730 if (CE1GEP->hasAllZeroIndices()) in evaluateICmpRelation()1750 if (CE1GEP->hasAllZeroIndices() && CE2GEP->hasAllZeroIndices()) in evaluateICmpRelation()
483 if (!GEP->hasAllZeroIndices()) in stripPointerCastsAndOffsets()
1656 bool GetElementPtrInst::hasAllZeroIndices() const { in hasAllZeroIndices() function in GetElementPtrInst
94 if (!GEPI->hasAllZeroIndices()) in isAllocaPromotable()
822 if (!G->hasAllZeroIndices()) in performCallSlotOptzn()
977 if (!GEP->hasAllZeroIndices()) in hasUnsafePHIOrSelectUse()
862 if (cast<GetElementPtrInst>(&I)->hasAllZeroIndices()) in computeBBInlineCost()
1048 if (GEPI->hasAllZeroIndices() && GEPI->hasOneUse()) in ReplaceUsesOfMallocWithGlobal()
412 if (GEP->hasAllZeroIndices()) { in getInvariantGroupPointerDependency()
350 if (GEP->hasAllZeroIndices() && !hasTrivialKill(GEP->getOperand(0))) in hasTrivialKill()