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()
605 cast<GEPOperator>(Arg)->hasAllZeroIndices()) in runOnFunction()
60 if (GEP->hasAllZeroIndices()) in FindSingleUseIdentifiedObject()
424 bool hasAllZeroIndices() const { in hasAllZeroIndices() function
950 bool hasAllZeroIndices() const;
251 if (cast<GetElementPtrInst>(I)->hasAllZeroIndices()) in getNoopInput()
4369 if (GEPI->hasAllZeroIndices()) { in OptimizeInst()
397 if (!GEP->hasAllZeroIndices()) in stripPointerCastsAndOffsets()
1574 if (CE1GEP->hasAllZeroIndices()) in evaluateICmpRelation()1594 if (CE1GEP->hasAllZeroIndices() && CE2GEP->hasAllZeroIndices()) in evaluateICmpRelation()
1308 bool GetElementPtrInst::hasAllZeroIndices() const { in hasAllZeroIndices() function in GetElementPtrInst
679 if (!G->hasAllZeroIndices()) in performCallSlotOptzn()
1687 if (!GEPI->hasAllZeroIndices()) in isSafePHISelectUseForScalarRepl()
925 if (!GEP->hasAllZeroIndices()) in hasUnsafePHIOrSelectUse()
92 if (!GEPI->hasAllZeroIndices()) in isAllocaPromotable()
83 std::make_pair(I, IsOffset || !GEP->hasAllZeroIndices())); in isOnlyCopiedFromConstantGlobal()
934 if (GEP.hasAllZeroIndices() && !Src.hasAllZeroIndices() && in shouldMergeGEPs()
689 if (GEPLHS->hasAllZeroIndices()) in FoldGEPICmp()694 if (GEPRHS->hasAllZeroIndices()) in FoldGEPICmp()3105 cast<GetElementPtrInst>(LHSI)->hasAllZeroIndices()) in visitICmpInst()
1440 if (GEP->hasAllZeroIndices() && in commonPointerCastTransforms()
155 if (GEP->hasAllZeroIndices() && !hasTrivialKill(GEP->getOperand(0))) in hasTrivialKill()
1031 if (GEPI->hasAllZeroIndices() && GEPI->hasOneUse()) in ReplaceUsesOfMallocWithGlobal()