| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | TypeMetadataUtils.cpp | 112 if (EVI->getNumIndices() == 1 && EVI->getIndices()[0] == 0) { in findDevirtualizableCallsForTypeCheckedLoad() 116 if (EVI->getNumIndices() == 1 && EVI->getIndices()[0] == 1) { in findDevirtualizableCallsForTypeCheckedLoad()
|
| H A D | LazyValueInfo.cpp | 1012 if (EVI->getNumIndices() == 1 && *EVI->idx_begin() == 0) in solveBlockValueExtractValue() 1165 if (EVI->getNumIndices() == 1 && *EVI->idx_begin() == 1) in getValueFromConditionImpl()
|
| H A D | ValueTracking.cpp | 1775 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 D | DwarfEHPrepare.cpp | 101 if (SelIVI->getNumIndices() == 1 && *SelIVI->idx_begin() == 1) { in GetExceptionObject() 104 ExcIVI->getNumIndices() == 1 && *ExcIVI->idx_begin() == 0) { in GetExceptionObject()
|
| H A D | SjLjEHPrepare.cpp | 151 if (EVI->getNumIndices() != 1) in substituteLPadValues()
|
| H A D | AtomicExpandPass.cpp | 1379 assert(EV->getNumIndices() == 1 && EV->getIndices()[0] <= 1 && in expandAtomicCmpXchg()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPerfHintAnalysis.cpp | 170 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 D | ArgumentPromotion.cpp | 442 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 D | Operator.h | 522 unsigned getNumIndices() const { // Note: always non-negative in getNumIndices() function
|
| H A D | PatternMatch.h | 2382 !(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 D | Instructions.h | 1114 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 D | SCCPSolver.cpp | 845 if (EVI.getNumIndices() != 1) in visitExtractValueInst() 871 if (IVI.getNumIndices() != 1) in visitInsertValueInst()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ConstantFold.cpp | 2118 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 D | Core.cpp | 3033 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 D | VPlan.h | 972 IsIndexLoopInvariant(GEP->getNumIndices(), false) {} in VPWidenGEPRecipe() 979 IsIndexLoopInvariant(GEP->getNumIndices(), false) { in VPWidenGEPRecipe()
|
| H A D | LoadStoreVectorizer.cpp | 477 for (unsigned I = 0, E = GEPA->getNumIndices() - 1; I < E; ++I) { in lookThroughComplexAddresses()
|
| H A D | SLPVectorizer.cpp | 485 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 D | NewGVN.cpp | 1225 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 D | Scalarizer.cpp | 642 unsigned NumIndices = GEPI.getNumIndices(); in visitGetElementPtrInst()
|
| H A D | GVN.cpp | 360 if (WO != nullptr && EI->getNumIndices() == 1 && *EI->idx_begin() == 0) { in createExtractvalueExpr()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | Execution.cpp | 1933 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 D | InstCombineLoadStoreAlloca.cpp | 1076 if (!CI || IV->getNumIndices() != 1 || CI->getZExtValue() != *IV->idx_begin()) in likeBitCastFromVector()
|
| H A D | InstCombineVectorOps.cpp | 897 if (EVI->getNumIndices() != 1 || EltIdx != EVI->getIndices().front()) in foldAggregateConstructionIntoAggregateReuse()
|
| H A D | InstCombineCompares.cpp | 552 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 D | CoroSplit.cpp | 525 if (!EVI || EVI->getNumIndices() != 1) in replaceRetconOrAsyncSuspendUses()
|