Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/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()
1165 if (EVI->getNumIndices() == 1 && *EVI->idx_begin() == 1) in getValueFromConditionImpl()
H A DValueTracking.cpp1775 if (EVI->getNumIndices() != 1) break; in computeKnownBitsFromOperator()
4070 unsigned size = I->getNumIndices() + idx_range.size(); in FindInsertedValue()
4882 assert(EVI->getNumIndices() == 1 && "Obvious from CI's type"); in isOverflowIntrinsicNoWrap()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DDwarfEHPrepare.cpp101 if (SelIVI->getNumIndices() == 1 && *SelIVI->idx_begin() == 1) { in GetExceptionObject()
104 ExcIVI->getNumIndices() == 1 && *ExcIVI->idx_begin() == 0) { in GetExceptionObject()
H A DSjLjEHPrepare.cpp151 if (EVI->getNumIndices() != 1) in substituteLPadValues()
H A DAtomicExpandPass.cpp1379 assert(EV->getNumIndices() == 1 && EV->getIndices()[0] <= 1 && in expandAtomicCmpXchg()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPerfHintAnalysis.cpp170 for (unsigned I = 1, E = GEP->getNumIndices() + 1; I != E; ++I) in isIndirectAccess()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp442 Operands.reserve(GEP->getNumIndices()); in doPromotion()
629 Indices.reserve(GEP->getNumIndices()); in isSafeToPromoteArgument()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DOperator.h522 unsigned getNumIndices() const { // Note: always non-negative in getNumIndices() function
H A DPatternMatch.h2382 !(I->getNumIndices() == 1 && I->getIndices()[0] == (unsigned)Ind))
2414 I->getNumIndices() == 1 && Ind == I->getIndices()[0];
2443 if (GEP->getNumIndices() == 1 && isa<ScalableVectorType>(DerefTy) &&
H A DInstructions.h1114 unsigned getNumIndices() const { // Note: always non-negative
2413 unsigned getNumIndices() const {
2543 unsigned getNumIndices() const {
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSCCPSolver.cpp845 if (EVI.getNumIndices() != 1) in visitExtractValueInst()
871 if (IVI.getNumIndices() != 1) in visitInsertValueInst()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp2118 NewIndices.reserve(Idxs.size() + GEP->getNumIndices()); in foldGEPOfGEP()
2165 NewIndices.reserve(Idxs.size() + GEP->getNumIndices()); in foldGEPOfGEP()
2189 if (IRIndex && *IRIndex == GEP->getNumIndices() - 1) in foldGEPOfGEP()
H A DCore.cpp3033 return GEP->getNumIndices(); in LLVMGetNumIndices()
3035 return EV->getNumIndices(); in LLVMGetNumIndices()
3037 return IV->getNumIndices(); in LLVMGetNumIndices()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlan.h972 IsIndexLoopInvariant(GEP->getNumIndices(), false) {} in VPWidenGEPRecipe()
979 IsIndexLoopInvariant(GEP->getNumIndices(), false) { in VPWidenGEPRecipe()
H A DLoadStoreVectorizer.cpp477 for (unsigned I = 0, E = GEPA->getNumIndices() - 1; I < E; ++I) { in lookThroughComplexAddresses()
H A DSLPVectorizer.cpp485 if (EI->getNumIndices() != 1) in getExtractIndex()
7080 if (GEP->getNumIndices() > 1 || isa<Constant>(Idx)) in collectSeedInstructions()
8731 assert(GEP->getNumIndices() == 1 || !isa<Constant>(GEPIdx)); in vectorizeGEPIndices()
/freebsd-13.1/contrib/llvm-project/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.cpp642 unsigned NumIndices = GEPI.getNumIndices(); in visitGetElementPtrInst()
H A DGVN.cpp360 if (WO != nullptr && EI->getNumIndices() == 1 && *EI->idx_begin() == 0) { in createExtractvalueExpr()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp1933 unsigned Num = I.getNumIndices(); in visitExtractValueInst()
1979 unsigned Num = I.getNumIndices(); in visitInsertValueInst()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp1076 if (!CI || IV->getNumIndices() != 1 || CI->getZExtValue() != *IV->idx_begin()) in likeBitCastFromVector()
H A DInstCombineVectorOps.cpp897 if (EVI->getNumIndices() != 1 || EltIdx != EVI->getIndices().front()) in foldAggregateConstructionIntoAggregateReuse()
H A DInstCombineCompares.cpp552 if (GEP->getNumIndices() != 1 || !GEP->isInBounds() || in canRewriteGEPAsOffset()
760 if (GEP->hasAllConstantIndices() && GEP->getNumIndices() == 1 && in getAsConstantIndexedAddress()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp525 if (!EVI || EVI->getNumIndices() != 1) in replaceRetconOrAsyncSuspendUses()

12