Searched refs:hasAllZeroIndices (Results 1 – 22 of 22) sorted by relevance
139 cast<GetElementPtrInst>(I)->hasAllZeroIndices()); in IsNoopInstruction()
495 if (GI->hasAllZeroIndices()) in traceAICall()526 if (GI->hasAllZeroIndices()) in traceBitCast()556 if (GI->hasAllZeroIndices()) in traceGEP()
533 bool hasAllZeroIndices() const { in hasAllZeroIndices() function
1125 bool hasAllZeroIndices() const;
664 cast<GEPOperator>(Arg)->hasAllZeroIndices()) in run()
99 if (GEP->hasAllZeroIndices()) in FindSingleUseIdentifiedObject()
281 if (cast<GetElementPtrInst>(I)->hasAllZeroIndices()) in getNoopInput()
7879 if (GEPI->hasAllZeroIndices()) { in optimizeInst()
1620 if (CE1GEP->hasAllZeroIndices()) in evaluateICmpRelation()1640 if (CE1GEP->hasAllZeroIndices() && CE2GEP->hasAllZeroIndices()) in evaluateICmpRelation()
623 if (!GEP->hasAllZeroIndices()) in stripPointerCastsAndOffsets()
1778 bool GetElementPtrInst::hasAllZeroIndices() const { in hasAllZeroIndices() function in GetElementPtrInst
86 if (!GEPI->hasAllZeroIndices()) in isAllocaPromotable()
6490 if (!GEP->isInBounds() || !GEP->hasAllZeroIndices()) in passingValueIsAlwaysUndefined()
1333 if (GEP.hasAllZeroIndices() && !Src.hasAllZeroIndices() && in shouldMergeGEPs()1862 return (GEP1.isInBounds() || GEP1.hasAllZeroIndices()) && in isMergedGEPInBounds()1863 (GEP2.isInBounds() || GEP2.hasAllZeroIndices()); in isMergedGEPInBounds()
74 ValuesToInspect.emplace_back(I, IsOffset || !GEP->hasAllZeroIndices()); in isOnlyCopiedFromConstantMemory()
950 if (!GEPLHS->getType()->isVectorTy() && GEPLHS->hasAllZeroIndices()) in foldGEPICmp()956 if (!GEPRHS->getType()->isVectorTy() && GEPRHS->hasAllZeroIndices()) in foldGEPICmp()3309 cast<GetElementPtrInst>(LHSI)->hasAllZeroIndices()) in foldICmpInstWithConstantNotInt()
2030 if (GEP->hasAllZeroIndices() && in commonPointerCastTransforms()
338 if (GEP->hasAllZeroIndices()) { in getInvariantGroupPointerDependency()
4533 if (OffsetZero && !GEP->hasAllZeroIndices()) in findAllocaForValue()
872 if (cast<GetElementPtrInst>(&I)->hasAllZeroIndices()) in computeBBInlineCost()
957 if (!G->hasAllZeroIndices()) in performCallSlotOptzn()
991 if (!GEP->hasAllZeroIndices()) in hasUnsafePHIOrSelectUse()