Home
last modified time | relevance | path

Searched refs:getNumIndices (Results 1 – 25 of 26) sorted by relevance

12

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DTypeMetadataUtils.cpp112 if (EVI->getNumIndices() == 1 && EVI->getIndices()[0] == 0) { in findDevirtualizableCallsForTypeCheckedLoad()
116 if (EVI->getNumIndices() == 1 && EVI->getIndices()[0] == 1) { in findDevirtualizableCallsForTypeCheckedLoad()
H A DLazyValueInfo.cpp1012 if (EVI->getNumIndices() == 1 && *EVI->idx_begin() == 0) in solveBlockValueExtractValue()
1166 if (EVI->getNumIndices() == 1 && *EVI->idx_begin() == 1) in getValueFromConditionImpl()
H A DValueTracking.cpp1733 if (EVI->getNumIndices() != 1) break; in computeKnownBitsFromOperator()
4028 unsigned size = I->getNumIndices() + idx_range.size(); in FindInsertedValue()
4840 assert(EVI->getNumIndices() == 1 && "Obvious from CI's type"); in isOverflowIntrinsicNoWrap()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DDwarfEHPrepare.cpp95 if (SelIVI->getNumIndices() == 1 && *SelIVI->idx_begin() == 1) { in GetExceptionObject()
98 ExcIVI->getNumIndices() == 1 && *ExcIVI->idx_begin() == 0) { in GetExceptionObject()
H A DSjLjEHPrepare.cpp151 if (EVI->getNumIndices() != 1) in substituteLPadValues()
H A DAtomicExpandPass.cpp1338 assert(EV->getNumIndices() == 1 && EV->getIndices()[0] <= 1 && in expandAtomicCmpXchg()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUPerfHintAnalysis.cpp169 for (unsigned I = 1, E = GEP->getNumIndices() + 1; I != E; ++I) in isIndirectAccess()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp443 Operands.reserve(GEP->getNumIndices()); in doPromotion()
630 Indices.reserve(GEP->getNumIndices()); in isSafeToPromoteArgument()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DOperator.h513 unsigned getNumIndices() const { // Note: always non-negative in getNumIndices() function
H A DInstructions.h1103 unsigned getNumIndices() const { // Note: always non-negative
2401 unsigned getNumIndices() const {
2532 unsigned getNumIndices() const {
H A DPatternMatch.h2374 !(I->getNumIndices() == 1 && I->getIndices()[0] == (unsigned)Ind))
2406 I->getNumIndices() == 1 && Ind == I->getIndices()[0];
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DSCCPSolver.cpp815 if (EVI.getNumIndices() != 1) in visitExtractValueInst()
841 if (IVI.getNumIndices() != 1) in visitInsertValueInst()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DVPlan.h948 IsIndexLoopInvariant(GEP->getNumIndices(), false) {} in VPWidenGEPRecipe()
955 IsIndexLoopInvariant(GEP->getNumIndices(), false) { in VPWidenGEPRecipe()
H A DLoadStoreVectorizer.cpp402 for (unsigned I = 0, E = GEPA->getNumIndices() - 1; I < E; ++I) { in lookThroughComplexAddresses()
H A DSLPVectorizer.cpp481 if (EI->getNumIndices() != 1) in getExtractIndex()
6763 if (GEP->getNumIndices() > 1 || isa<Constant>(Idx)) in collectSeedInstructions()
8250 assert(GEP->getNumIndices() == 1 || !isa<Constant>(GEPIdx)); in vectorizeGEPIndices()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DNewGVN.cpp1225 AggregateValueExpression(I->getNumOperands(), II->getNumIndices()); in createAggregateValueExpression()
1232 AggregateValueExpression(I->getNumOperands(), EI->getNumIndices()); in createAggregateValueExpression()
1791 if (WO && EI->getNumIndices() == 1 && *EI->idx_begin() == 0) in performSymbolicAggrValueEvaluation()
H A DScalarizer.cpp637 unsigned NumIndices = GEPI.getNumIndices(); in visitGetElementPtrInst()
H A DGVN.cpp361 if (WO != nullptr && EI->getNumIndices() == 1 && *EI->idx_begin() == 0) { in createExtractvalueExpr()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp1933 unsigned Num = I.getNumIndices(); in visitExtractValueInst()
1979 unsigned Num = I.getNumIndices(); in visitInsertValueInst()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp1064 if (!CI || IV->getNumIndices() != 1 || CI->getZExtValue() != *IV->idx_begin()) in likeBitCastFromVector()
H A DInstCombineVectorOps.cpp832 if (EVI->getNumIndices() != 1 || EltIdx != EVI->getIndices().front()) in foldAggregateConstructionIntoAggregateReuse()
H A DInstCombineCompares.cpp529 if (GEP->getNumIndices() != 1 || !GEP->isInBounds() || in canRewriteGEPAsOffset()
737 if (GEP->hasAllConstantIndices() && GEP->getNumIndices() == 1 && in getAsConstantIndexedAddress()
H A DInstructionCombining.cpp2154 if (GEP.getNumIndices() == 1 && !IsGEPSrcEleScalable) { in visitGetElementPtrInst()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DCore.cpp3022 return GEP->getNumIndices(); in LLVMGetNumIndices()
3024 return EV->getNumIndices(); in LLVMGetNumIndices()
3026 return IV->getNumIndices(); in LLVMGetNumIndices()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp522 if (!EVI || EVI->getNumIndices() != 1) in replaceRetconOrAsyncSuspendUses()

12