Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DObjCARCAnalysisUtils.h142 cast<GetElementPtrInst>(I)->hasAllZeroIndices()); in IsNoopInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFAbstractMemberAccess.cpp563 if (GI->hasAllZeroIndices()) in traceAICall()
594 if (GI->hasAllZeroIndices()) in traceBitCast()
624 if (GI->hasAllZeroIndices()) in traceGEP()
H A DBPFPreserveStaticOffset.cpp409 return GEP->hasAllZeroIndices(); in allZeroIndices()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DOperator.h446 bool hasAllZeroIndices() const { in hasAllZeroIndices() function
H A DInstructions.h1114 bool hasAllZeroIndices() const;
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp1180 if (CE1GEP->hasAllZeroIndices()) in evaluateICmpRelation()
1192 if (CE1GEP->hasAllZeroIndices() && CE2GEP->hasAllZeroIndices()) in evaluateICmpRelation()
H A DValue.cpp641 if (!GEP->hasAllZeroIndices()) in stripPointerCastsAndOffsets()
H A DInstructions.cpp1781 bool GetElementPtrInst::hasAllZeroIndices() const { in hasAllZeroIndices() function in GetElementPtrInst
/freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARCContract.cpp670 cast<GEPOperator>(Arg)->hasAllZeroIndices()) in run()
H A DObjCARCOpts.cpp96 if (GEP->hasAllZeroIndices()) in FindSingleUseIdentifiedObject()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DAnalysis.cpp351 if (cast<GetElementPtrInst>(I)->hasAllZeroIndices()) in getNoopInput()
H A DCodeGenPrepare.cpp8292 if (GEPI->hasAllZeroIndices()) { in optimizeInst()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DPromoteMemoryToRegister.cpp87 if (!GEPI->hasAllZeroIndices()) in isAllocaPromotable()
H A DSimplifyCFG.cpp7400 if (!GEP->isInBounds() || !GEP->hasAllZeroIndices()) in passingValueIsAlwaysUndefined()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp1798 if (GEP.hasAllZeroIndices() && !Src.hasAllZeroIndices() && in shouldMergeGEPs()
2110 return (GEP1.isInBounds() || GEP1.hasAllZeroIndices()) && in isMergedGEPInBounds()
2111 (GEP2.isInBounds() || GEP2.hasAllZeroIndices()); in isMergedGEPInBounds()
H A DInstCombineLoadStoreAlloca.cpp97 Worklist.emplace_back(I, IsOffset || !GEP->hasAllZeroIndices()); in isOnlyCopiedFromConstantMemory()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DPartialInlining.cpp819 if (cast<GetElementPtrInst>(&I)->hasAllZeroIndices()) in computeBBInlineCost()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryDependenceAnalysis.cpp332 if (GEP->hasAllZeroIndices()) { in getInvariantGroupPointerDependency()
H A DMemorySSA.cpp2472 if (GEP->hasAllZeroIndices()) in getInvariantGroupClobberingInstruction()
H A DValueTracking.cpp6090 if (OffsetZero && !GEP->hasAllZeroIndices()) in findAllocaForValue()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp984 if (!G->hasAllZeroIndices()) in performCallSlotOptzn()
H A DSROA.cpp1361 if (!GEP->hasAllZeroIndices()) in hasUnsafePHIOrSelectUse()