| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | TypeMetadataUtils.cpp | 115 if (EVI->getNumIndices() == 1 && EVI->getIndices()[0] == 0) { in findDevirtualizableCallsForTypeCheckedLoad() 119 if (EVI->getNumIndices() == 1 && EVI->getIndices()[0] == 1) { in findDevirtualizableCallsForTypeCheckedLoad()
|
| H A D | LazyValueInfo.cpp | 1054 if (EVI->getNumIndices() == 1 && *EVI->idx_begin() == 0) in solveBlockValueExtractValue() 1269 if (EVI->getNumIndices() == 1 && *EVI->idx_begin() == 1) in getValueFromCondition()
|
| H A D | ValueTracking.cpp | 1667 if (EVI->getNumIndices() != 1) break; in computeKnownBitsFromOperator() 3074 if (!GEPA || GEPA->getNumIndices() != 1 || !isa<Constant>(GEPA->idx_begin())) in isNonEqualPointersWithRecursiveGEP() 5582 unsigned size = I->getNumIndices() + idx_range.size(); in FindInsertedValue() 6489 assert(EVI->getNumIndices() == 1 && "Obvious from CI's type"); in isOverflowIntrinsicNoWrap()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64LoopIdiomTransform.cpp | 333 if (GEPA->getNumIndices() > 1 || GEPB->getNumIndices() > 1) in recognizeByteCompare() 336 Value *IdxA = GEPA->getOperand(GEPA->getNumIndices()); in recognizeByteCompare() 337 Value *IdxB = GEPB->getOperand(GEPB->getNumIndices()); in recognizeByteCompare()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | DwarfEHPrepare.cpp | 102 if (SelIVI->getNumIndices() == 1 && *SelIVI->idx_begin() == 1) { in GetExceptionObject() 105 ExcIVI->getNumIndices() == 1 && *ExcIVI->idx_begin() == 0) { in GetExceptionObject()
|
| H A D | SjLjEHPrepare.cpp | 169 if (EVI->getNumIndices() != 1) in substituteLPadValues()
|
| H A D | AtomicExpandPass.cpp | 1421 assert(EV->getNumIndices() == 1 && EV->getIndices()[0] <= 1 && in expandAtomicCmpXchg()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPerfHintAnalysis.cpp | 166 for (unsigned I = 1, E = GEP->getNumIndices() + 1; I != E; ++I) in isIndirectAccess()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Operator.h | 435 unsigned getNumIndices() const { // Note: always non-negative in getNumIndices() function
|
| H A D | PatternMatch.h | 2577 !(I->getNumIndices() == 1 && I->getIndices()[0] == (unsigned)Ind)) 2609 I->getNumIndices() == 1 && Ind == I->getIndices()[0]; 2636 if (GEP->getNumIndices() == 1 && DerefTy &&
|
| H A D | Instructions.h | 1103 unsigned getNumIndices() const { // Note: always non-negative 2533 unsigned getNumIndices() const { 2663 unsigned getNumIndices() const {
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ConstantFold.cpp | 1476 NewIndices.reserve(Idxs.size() + GEP->getNumIndices()); in foldGEPOfGEP() 1505 NewIndices.reserve(Idxs.size() + GEP->getNumIndices()); in foldGEPOfGEP() 1534 if (IRIndex && *IRIndex == GEP->getNumIndices() - 1) in foldGEPOfGEP()
|
| H A D | Core.cpp | 3027 return GEP->getNumIndices(); in LLVMGetNumIndices() 3029 return EV->getNumIndices(); in LLVMGetNumIndices() 3031 return IV->getNumIndices(); in LLVMGetNumIndices()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopFlatten.cpp | 683 if (GEP->getNumIndices() == 1 && CheckGEP(GEP, GEP->getOperand(1))) in checkOverflow()
|
| H A D | NewGVN.cpp | 1228 AggregateValueExpression(I->getNumOperands(), II->getNumIndices()); in createAggregateValueExpression() 1235 AggregateValueExpression(I->getNumOperands(), EI->getNumIndices()); in createAggregateValueExpression() 1830 if (WO && EI->getNumIndices() == 1 && *EI->idx_begin() == 0) in performSymbolicAggrValueEvaluation()
|
| H A D | Scalarizer.cpp | 817 unsigned NumIndices = GEPI.getNumIndices(); in visitGetElementPtrInst()
|
| H A D | GVN.cpp | 398 if (WO != nullptr && EI->getNumIndices() == 1 && *EI->idx_begin() == 0) { in createExtractvalueExpr()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SCCPSolver.cpp | 1309 if (EVI.getNumIndices() != 1) in visitExtractValueInst() 1337 if (IVI.getNumIndices() != 1) in visitInsertValueInst()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | AggressiveInstCombine.cpp | 539 if (!GEP || !GEP->isInBounds() || GEP->getNumIndices() != 2) in tryToRecognizeTableBasedCttz()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 2168 if (NumVarIndices != Src->getNumIndices()) { in visitGEPOfGEP() 2204 Src->getNumIndices() - NumVarIndices)); in visitGEPOfGEP() 2565 if (GEP.getNumIndices() == 1 && !IsGEPSrcEleScalable) { in visitGetElementPtrInst() 2614 if (GEP.getNumIndices() == 1) { in visitGetElementPtrInst()
|
| H A D | InstCombineLoadStoreAlloca.cpp | 1131 if (!CI || IV->getNumIndices() != 1 || CI->getZExtValue() != *IV->idx_begin()) in likeBitCastFromVector()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | LoadStoreVectorizer.cpp | 1183 for (unsigned I = 0, E = GEPA->getNumIndices() - 1; I < E; ++I) { in getConstantOffsetComplexAddrs()
|
| /freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | MVEGatherScatterLowering.cpp | 1190 if (GEP->getNumIndices() != 1 || !isa<Constant>(Offsets)) in foldGEP()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroSplit.cpp | 609 if (!EVI || EVI->getNumIndices() != 1) in replaceRetconOrAsyncSuspendUses()
|