Searched refs:hasAllZeroIndices (Results 1 – 25 of 34) sorted by relevance
12
368 EXPECT_FALSE(GepII0->hasAllZeroIndices()); in TEST()369 EXPECT_FALSE(GepII1->hasAllZeroIndices()); in TEST()370 EXPECT_FALSE(GepII2->hasAllZeroIndices()); in TEST()371 EXPECT_FALSE(GepII3->hasAllZeroIndices()); in TEST()
136 cast<GetElementPtrInst>(I)->hasAllZeroIndices()); in IsNoopInstruction()
279 bool hasAllZeroIndices() const { in hasAllZeroIndices() function
422 bool hasAllZeroIndices() const { in hasAllZeroIndices() function
323 if (!GEP->hasAllZeroIndices()) in stripPointerCasts()
606 cast<GEPOperator>(Arg)->hasAllZeroIndices()) in runOnFunction()
60 if (GEP->hasAllZeroIndices()) in FindSingleUseIdentifiedObject()
253 if (cast<GetElementPtrInst>(I)->hasAllZeroIndices()) in getNoopInput()
446 if (!GEP->hasAllZeroIndices()) in stripPointerCastsAndOffsets()
1597 if (CE1GEP->hasAllZeroIndices()) in evaluateICmpRelation()1617 if (CE1GEP->hasAllZeroIndices() && CE2GEP->hasAllZeroIndices()) in evaluateICmpRelation()
82 if (!GEPI->hasAllZeroIndices()) in isAllocaPromotable()
642 if (G->hasAllZeroIndices()) in performCallSlotOptzn()
550 if (GEP->hasAllZeroIndices()) in FindSingleUseIdentifiedObject()1892 cast<GetElementPtrInst>(I)->hasAllZeroIndices()); in isNoopInstruction()3706 cast<GEPOperator>(Arg)->hasAllZeroIndices()) in runOnFunction()
1110 if (GEPI->hasAllZeroIndices()) { in OptimizeInst()
1580 if (!GEPI->hasAllZeroIndices()) in isSafePHISelectUseForScalarRepl()2511 isOffset || !GEP->hasAllZeroIndices(), in isOnlyCopiedFromConstantGlobal()
793 if (GEP.hasAllZeroIndices() && !Src.hasAllZeroIndices() && in shouldMergeGEPs()
1334 if (GEP->hasAllZeroIndices()) { in commonPointerCastTransforms()
112 if (!GEPI->hasAllZeroIndices()) in isAllocaPromotable()
309 if (!GEPOp->hasAllZeroIndices()) in DecomposeGEPExpression()
84 std::make_pair(I, IsOffset || !GEP->hasAllZeroIndices())); in isOnlyCopiedFromConstantGlobal()
990 if (GEP.hasAllZeroIndices() && !Src.hasAllZeroIndices() && in shouldMergeGEPs()
1005 if (GEPLHS->hasAllZeroIndices()) in FoldGEPICmp()1010 if (GEPRHS->hasAllZeroIndices()) in FoldGEPICmp()3645 cast<GetElementPtrInst>(LHSI)->hasAllZeroIndices()) in visitICmpInst()
1521 if (GEP->hasAllZeroIndices() && in commonPointerCastTransforms()
872 if (!G->hasAllZeroIndices()) in performCallSlotOptzn()
158 if (GEP->hasAllZeroIndices() && !hasTrivialKill(GEP->getOperand(0))) in hasTrivialKill()