| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | TypeMetadataUtils.cpp | 128 if (EVI->getNumIndices() == 1 && EVI->getIndices()[0] == 0) { in findDevirtualizableCallsForTypeCheckedLoad() 132 if (EVI->getNumIndices() == 1 && EVI->getIndices()[0] == 1) { in findDevirtualizableCallsForTypeCheckedLoad()
|
| H A D | LazyValueInfo.cpp | 1082 if (EVI->getNumIndices() == 1 && *EVI->idx_begin() == 0) in solveBlockValueExtractValue() 1353 if (EVI->getNumIndices() == 1 && *EVI->idx_begin() == 1) in getValueFromCondition()
|
| H A D | ValueTracking.cpp | 2126 if (EVI->getNumIndices() != 1) break; in computeKnownBitsFromOperator() 3782 if (!GEPA || GEPA->getNumIndices() != 1 || !isa<Constant>(GEPA->idx_begin())) in isNonEqualPointersWithRecursiveGEP() 6316 unsigned size = I->getNumIndices() + idx_range.size(); in FindInsertedValue() 7276 assert(EVI->getNumIndices() == 1 && "Obvious from CI's type"); in isOverflowIntrinsicNoWrap()
|
| /freebsd/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 | 166 if (EVI->getNumIndices() != 1) in substituteLPadValues()
|
| H A D | InterleavedAccessPass.cpp | 625 if (!Extract || Extract->getNumIndices() != 1) in lowerDeinterleaveIntrinsic()
|
| H A D | AtomicExpandPass.cpp | 1554 assert(EV->getNumIndices() == 1 && EV->getIndices()[0] <= 1 && in expandAtomicCmpXchg()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | LoopIdiomVectorize.cpp | 368 if (GEPA->getNumIndices() > 1 || GEPB->getNumIndices() > 1) in recognizeByteCompare() 371 Value *IdxA = GEPA->getOperand(GEPA->getNumIndices()); in recognizeByteCompare() 372 Value *IdxB = GEPB->getOperand(GEPB->getNumIndices()); in recognizeByteCompare()
|
| H A D | LoadStoreVectorizer.cpp | 1198 for (unsigned I = 0, E = GEPA->getNumIndices() - 1; I < E; ++I) { in getConstantOffsetComplexAddrs()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/ |
| H A D | Instruction.h | 1013 unsigned getNumIndices() const { in getNumIndices() function 1014 return cast<llvm::InsertValueInst>(Val)->getNumIndices(); in getNumIndices() 1155 unsigned getNumIndices() const { in getNumIndices() function 1156 return cast<llvm::ExtractValueInst>(Val)->getNumIndices(); in getNumIndices() 1727 unsigned getNumIndices() const { in getNumIndices() function 1728 return cast<llvm::GetElementPtrInst>(Val)->getNumIndices(); in getNumIndices()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Operator.h | 480 unsigned getNumIndices() const { // Note: always non-negative
|
| H A D | Instructions.h | 1091 unsigned getNumIndices() const { // Note: always non-negative 2491 unsigned getNumIndices() const { 2599 unsigned getNumIndices() const {
|
| H A D | PatternMatch.h | 3019 !(I->getNumIndices() == 1 && I->getIndices()[0] == (unsigned)Ind)) 3051 I->getNumIndices() == 1 && Ind == I->getIndices()[0];
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPerfHintAnalysis.cpp | 163 for (unsigned I = 1, E = GEP->getNumIndices() + 1; I != E; ++I) in isIndirectAccess()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 2593 if (GEP.getNumIndices() != 1) in canonicalizeGEPOfConstGEPI8() 2655 if (NumVarIndices != Src->getNumIndices()) { in visitGEPOfGEP() 2680 drop_end(Src->indices(), Src->getNumIndices() - NumVarIndices)); in visitGEPOfGEP() 2953 if (GEP.getNumIndices() == 1 && in shouldCanonicalizeGEPToPtrAdd() 3199 if (GEP.getNumIndices() == 1) { in visitGetElementPtrInst() 3318 if (GEP.getNumIndices() == 1) { in visitGetElementPtrInst()
|
| H A D | InstCombineLoadStoreAlloca.cpp | 1174 if (!CI || IV->getNumIndices() != 1 || CI->getZExtValue() != *IV->idx_begin()) in likeBitCastFromVector()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopFlatten.cpp | 690 if (GEP->getNumIndices() == 1 && CheckGEP(GEP, GEP->getOperand(1))) in checkOverflow()
|
| H A D | NewGVN.cpp | 1269 AggregateValueExpression(I->getNumOperands(), II->getNumIndices()); in createAggregateValueExpression() 1276 AggregateValueExpression(I->getNumOperands(), EI->getNumIndices()); in createAggregateValueExpression() 1875 if (WO && EI->getNumIndices() == 1 && *EI->idx_begin() == 0) in performSymbolicAggrValueEvaluation()
|
| H A D | Scalarizer.cpp | 868 unsigned NumIndices = GEPI.getNumIndices(); in visitGetElementPtrInst()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SCCPSolver.cpp | 1447 if (EVI.getNumIndices() != 1) in visitExtractValueInst() 1475 if (IVI.getNumIndices() != 1) in visitInsertValueInst()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | AggressiveInstCombine.cpp | 550 if (!GEP || !GEP->hasNoUnsignedSignedWrap() || GEP->getNumIndices() != 2) in tryToRecognizeTableBasedCttz()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | Execution.cpp | 1897 unsigned Num = I.getNumIndices(); in visitExtractValueInst() 1943 unsigned Num = I.getNumIndices(); in visitInsertValueInst()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | MVEGatherScatterLowering.cpp | 1194 if (GEP->getNumIndices() != 1 || !isa<Constant>(Offsets)) in foldGEP()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Core.cpp | 3253 return GEP->getNumIndices(); in LLVMGetNumIndices() 3255 return EV->getNumIndices(); in LLVMGetNumIndices() 3257 return IV->getNumIndices(); in LLVMGetNumIndices()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroSplit.cpp | 500 if (!EVI || EVI->getNumIndices() != 1) in replaceRetconOrAsyncSuspendUses()
|