Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DTypeMetadataUtils.cpp115 if (EVI->getNumIndices() == 1 && EVI->getIndices()[0] == 0) { in findDevirtualizableCallsForTypeCheckedLoad()
119 if (EVI->getNumIndices() == 1 && EVI->getIndices()[0] == 1) { in findDevirtualizableCallsForTypeCheckedLoad()
H A DLazyValueInfo.cpp1054 if (EVI->getNumIndices() == 1 && *EVI->idx_begin() == 0) in solveBlockValueExtractValue()
1269 if (EVI->getNumIndices() == 1 && *EVI->idx_begin() == 1) in getValueFromCondition()
H A DValueTracking.cpp1667 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 DAArch64LoopIdiomTransform.cpp333 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 DDwarfEHPrepare.cpp102 if (SelIVI->getNumIndices() == 1 && *SelIVI->idx_begin() == 1) { in GetExceptionObject()
105 ExcIVI->getNumIndices() == 1 && *ExcIVI->idx_begin() == 0) { in GetExceptionObject()
H A DSjLjEHPrepare.cpp169 if (EVI->getNumIndices() != 1) in substituteLPadValues()
H A DAtomicExpandPass.cpp1421 assert(EV->getNumIndices() == 1 && EV->getIndices()[0] <= 1 && in expandAtomicCmpXchg()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPerfHintAnalysis.cpp166 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 DOperator.h435 unsigned getNumIndices() const { // Note: always non-negative in getNumIndices() function
H A DPatternMatch.h2577 !(I->getNumIndices() == 1 && I->getIndices()[0] == (unsigned)Ind))
2609 I->getNumIndices() == 1 && Ind == I->getIndices()[0];
2636 if (GEP->getNumIndices() == 1 && DerefTy &&
H A DInstructions.h1103 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 DConstantFold.cpp1476 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 DCore.cpp3027 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 DLoopFlatten.cpp683 if (GEP->getNumIndices() == 1 && CheckGEP(GEP, GEP->getOperand(1))) in checkOverflow()
H A DNewGVN.cpp1228 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 DScalarizer.cpp817 unsigned NumIndices = GEPI.getNumIndices(); in visitGetElementPtrInst()
H A DGVN.cpp398 if (WO != nullptr && EI->getNumIndices() == 1 && *EI->idx_begin() == 0) { in createExtractvalueExpr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSCCPSolver.cpp1309 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 DAggressiveInstCombine.cpp539 if (!GEP || !GEP->isInBounds() || GEP->getNumIndices() != 2) in tryToRecognizeTableBasedCttz()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp2168 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 DInstCombineLoadStoreAlloca.cpp1131 if (!CI || IV->getNumIndices() != 1 || CI->getZExtValue() != *IV->idx_begin()) in likeBitCastFromVector()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp1183 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 DExecution.cpp1933 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 DMVEGatherScatterLowering.cpp1190 if (GEP->getNumIndices() != 1 || !isa<Constant>(Offsets)) in foldGEP()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp609 if (!EVI || EVI->getNumIndices() != 1) in replaceRetconOrAsyncSuspendUses()

12