Searched refs:hasAllZeroIndices (Results 1 – 21 of 21) sorted by relevance
364 EXPECT_FALSE(GepII0->hasAllZeroIndices()); in TEST()365 EXPECT_FALSE(GepII1->hasAllZeroIndices()); in TEST()366 EXPECT_FALSE(GepII2->hasAllZeroIndices()); in TEST()367 EXPECT_FALSE(GepII3->hasAllZeroIndices()); in TEST()
135 cast<GetElementPtrInst>(I)->hasAllZeroIndices()); in IsNoopInstruction()
421 bool hasAllZeroIndices() const { in hasAllZeroIndices() function
1026 bool hasAllZeroIndices() const;
605 cast<GEPOperator>(Arg)->hasAllZeroIndices()) in runOnFunction()
60 if (GEP->hasAllZeroIndices()) in FindSingleUseIdentifiedObject()
438 if (!GEP->hasAllZeroIndices()) in stripPointerCastsAndOffsets()
1580 if (CE1GEP->hasAllZeroIndices()) in evaluateICmpRelation()1600 if (CE1GEP->hasAllZeroIndices() && CE2GEP->hasAllZeroIndices()) in evaluateICmpRelation()
1577 bool GetElementPtrInst::hasAllZeroIndices() const { in hasAllZeroIndices() function in GetElementPtrInst
254 if (cast<GetElementPtrInst>(I)->hasAllZeroIndices()) in getNoopInput()
5182 if (GEPI->hasAllZeroIndices()) { in optimizeInst()
82 if (!GEPI->hasAllZeroIndices()) in isAllocaPromotable()
681 if (!G->hasAllZeroIndices()) in performCallSlotOptzn()
1688 if (!GEPI->hasAllZeroIndices()) in isSafePHISelectUseForScalarRepl()
921 if (!GEP->hasAllZeroIndices()) in hasUnsafePHIOrSelectUse()
84 std::make_pair(I, IsOffset || !GEP->hasAllZeroIndices())); in isOnlyCopiedFromConstantGlobal()
994 if (GEP.hasAllZeroIndices() && !Src.hasAllZeroIndices() && in shouldMergeGEPs()
682 if (GEPLHS->hasAllZeroIndices()) in FoldGEPICmp()687 if (GEPRHS->hasAllZeroIndices()) in FoldGEPICmp()3197 cast<GetElementPtrInst>(LHSI)->hasAllZeroIndices()) in visitICmpInst()
1518 if (GEP->hasAllZeroIndices() && in commonPointerCastTransforms()
156 if (GEP->hasAllZeroIndices() && !hasTrivialKill(GEP->getOperand(0))) in hasTrivialKill()
1031 if (GEPI->hasAllZeroIndices() && GEPI->hasOneUse()) in ReplaceUsesOfMallocWithGlobal()