Home
last modified time | relevance | path

Searched refs:hasAllZeroIndices (Results 1 – 21 of 21) sorted by relevance

/external/llvm/unittests/IR/
DInstructionsTest.cpp364 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()
/external/llvm/lib/Transforms/ObjCARC/
DObjCARC.h135 cast<GetElementPtrInst>(I)->hasAllZeroIndices()); in IsNoopInstruction()
DObjCARCContract.cpp605 cast<GEPOperator>(Arg)->hasAllZeroIndices()) in runOnFunction()
DObjCARCOpts.cpp60 if (GEP->hasAllZeroIndices()) in FindSingleUseIdentifiedObject()
/external/llvm/include/llvm/IR/
DOperator.h424 bool hasAllZeroIndices() const { in hasAllZeroIndices() function
DInstructions.h950 bool hasAllZeroIndices() const;
/external/llvm/lib/CodeGen/
DAnalysis.cpp251 if (cast<GetElementPtrInst>(I)->hasAllZeroIndices()) in getNoopInput()
DCodeGenPrepare.cpp4369 if (GEPI->hasAllZeroIndices()) { in OptimizeInst()
/external/llvm/lib/IR/
DValue.cpp397 if (!GEP->hasAllZeroIndices()) in stripPointerCastsAndOffsets()
DConstantFold.cpp1574 if (CE1GEP->hasAllZeroIndices()) in evaluateICmpRelation()
1594 if (CE1GEP->hasAllZeroIndices() && CE2GEP->hasAllZeroIndices()) in evaluateICmpRelation()
DInstructions.cpp1308 bool GetElementPtrInst::hasAllZeroIndices() const { in hasAllZeroIndices() function in GetElementPtrInst
/external/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp679 if (!G->hasAllZeroIndices()) in performCallSlotOptzn()
DScalarReplAggregates.cpp1687 if (!GEPI->hasAllZeroIndices()) in isSafePHISelectUseForScalarRepl()
DSROA.cpp925 if (!GEP->hasAllZeroIndices()) in hasUnsafePHIOrSelectUse()
/external/llvm/lib/Transforms/Utils/
DPromoteMemoryToRegister.cpp92 if (!GEPI->hasAllZeroIndices()) in isAllocaPromotable()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp83 std::make_pair(I, IsOffset || !GEP->hasAllZeroIndices())); in isOnlyCopiedFromConstantGlobal()
DInstructionCombining.cpp934 if (GEP.hasAllZeroIndices() && !Src.hasAllZeroIndices() && in shouldMergeGEPs()
DInstCombineCompares.cpp689 if (GEPLHS->hasAllZeroIndices()) in FoldGEPICmp()
694 if (GEPRHS->hasAllZeroIndices()) in FoldGEPICmp()
3105 cast<GetElementPtrInst>(LHSI)->hasAllZeroIndices()) in visitICmpInst()
DInstCombineCasts.cpp1440 if (GEP->hasAllZeroIndices() && in commonPointerCastTransforms()
/external/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp155 if (GEP->hasAllZeroIndices() && !hasTrivialKill(GEP->getOperand(0))) in hasTrivialKill()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp1031 if (GEPI->hasAllZeroIndices() && GEPI->hasOneUse()) in ReplaceUsesOfMallocWithGlobal()