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/include/llvm/Analysis/
DObjCARCAnalysisUtils.h135 cast<GetElementPtrInst>(I)->hasAllZeroIndices()); in IsNoopInstruction()
/external/llvm/include/llvm/IR/
DOperator.h421 bool hasAllZeroIndices() const { in hasAllZeroIndices() function
DInstructions.h1026 bool hasAllZeroIndices() const;
/external/llvm/lib/Transforms/ObjCARC/
DObjCARCContract.cpp605 cast<GEPOperator>(Arg)->hasAllZeroIndices()) in runOnFunction()
DObjCARCOpts.cpp60 if (GEP->hasAllZeroIndices()) in FindSingleUseIdentifiedObject()
/external/llvm/lib/IR/
DValue.cpp438 if (!GEP->hasAllZeroIndices()) in stripPointerCastsAndOffsets()
DConstantFold.cpp1580 if (CE1GEP->hasAllZeroIndices()) in evaluateICmpRelation()
1600 if (CE1GEP->hasAllZeroIndices() && CE2GEP->hasAllZeroIndices()) in evaluateICmpRelation()
DInstructions.cpp1577 bool GetElementPtrInst::hasAllZeroIndices() const { in hasAllZeroIndices() function in GetElementPtrInst
/external/llvm/lib/CodeGen/
DAnalysis.cpp254 if (cast<GetElementPtrInst>(I)->hasAllZeroIndices()) in getNoopInput()
DCodeGenPrepare.cpp5182 if (GEPI->hasAllZeroIndices()) { in optimizeInst()
/external/llvm/lib/Transforms/Utils/
DPromoteMemoryToRegister.cpp82 if (!GEPI->hasAllZeroIndices()) in isAllocaPromotable()
/external/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp681 if (!G->hasAllZeroIndices()) in performCallSlotOptzn()
DScalarReplAggregates.cpp1688 if (!GEPI->hasAllZeroIndices()) in isSafePHISelectUseForScalarRepl()
DSROA.cpp921 if (!GEP->hasAllZeroIndices()) in hasUnsafePHIOrSelectUse()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp84 std::make_pair(I, IsOffset || !GEP->hasAllZeroIndices())); in isOnlyCopiedFromConstantGlobal()
DInstructionCombining.cpp994 if (GEP.hasAllZeroIndices() && !Src.hasAllZeroIndices() && in shouldMergeGEPs()
DInstCombineCompares.cpp682 if (GEPLHS->hasAllZeroIndices()) in FoldGEPICmp()
687 if (GEPRHS->hasAllZeroIndices()) in FoldGEPICmp()
3197 cast<GetElementPtrInst>(LHSI)->hasAllZeroIndices()) in visitICmpInst()
DInstCombineCasts.cpp1518 if (GEP->hasAllZeroIndices() && in commonPointerCastTransforms()
/external/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp156 if (GEP->hasAllZeroIndices() && !hasTrivialKill(GEP->getOperand(0))) in hasTrivialKill()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp1031 if (GEPI->hasAllZeroIndices() && GEPI->hasOneUse()) in ReplaceUsesOfMallocWithGlobal()