Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DTypeMetadataUtils.cpp128 if (EVI->getNumIndices() == 1 && EVI->getIndices()[0] == 0) { in findDevirtualizableCallsForTypeCheckedLoad()
132 if (EVI->getNumIndices() == 1 && EVI->getIndices()[0] == 1) { in findDevirtualizableCallsForTypeCheckedLoad()
H A DLazyValueInfo.cpp1082 if (EVI->getNumIndices() == 1 && *EVI->idx_begin() == 0) in solveBlockValueExtractValue()
1353 if (EVI->getNumIndices() == 1 && *EVI->idx_begin() == 1) in getValueFromCondition()
H A DValueTracking.cpp2126 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 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.cpp166 if (EVI->getNumIndices() != 1) in substituteLPadValues()
H A DInterleavedAccessPass.cpp625 if (!Extract || Extract->getNumIndices() != 1) in lowerDeinterleaveIntrinsic()
H A DAtomicExpandPass.cpp1554 assert(EV->getNumIndices() == 1 && EV->getIndices()[0] <= 1 && in expandAtomicCmpXchg()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopIdiomVectorize.cpp368 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 DLoadStoreVectorizer.cpp1198 for (unsigned I = 0, E = GEPA->getNumIndices() - 1; I < E; ++I) { in getConstantOffsetComplexAddrs()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DInstruction.h1013 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 DOperator.h480 unsigned getNumIndices() const { // Note: always non-negative
H A DInstructions.h1091 unsigned getNumIndices() const { // Note: always non-negative
2491 unsigned getNumIndices() const {
2599 unsigned getNumIndices() const {
H A DPatternMatch.h3019 !(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 DAMDGPUPerfHintAnalysis.cpp163 for (unsigned I = 1, E = GEP->getNumIndices() + 1; I != E; ++I) in isIndirectAccess()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp2593 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 DInstCombineLoadStoreAlloca.cpp1174 if (!CI || IV->getNumIndices() != 1 || CI->getZExtValue() != *IV->idx_begin()) in likeBitCastFromVector()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopFlatten.cpp690 if (GEP->getNumIndices() == 1 && CheckGEP(GEP, GEP->getOperand(1))) in checkOverflow()
H A DNewGVN.cpp1269 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 DScalarizer.cpp868 unsigned NumIndices = GEPI.getNumIndices(); in visitGetElementPtrInst()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSCCPSolver.cpp1447 if (EVI.getNumIndices() != 1) in visitExtractValueInst()
1475 if (IVI.getNumIndices() != 1) in visitInsertValueInst()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp550 if (!GEP || !GEP->hasNoUnsignedSignedWrap() || GEP->getNumIndices() != 2) in tryToRecognizeTableBasedCttz()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp1897 unsigned Num = I.getNumIndices(); in visitExtractValueInst()
1943 unsigned Num = I.getNumIndices(); in visitInsertValueInst()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp1194 if (GEP->getNumIndices() != 1 || !isa<Constant>(Offsets)) in foldGEP()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DCore.cpp3253 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 DCoroSplit.cpp500 if (!EVI || EVI->getNumIndices() != 1) in replaceRetconOrAsyncSuspendUses()

12