Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/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 DBasicAliasAnalysis.cpp1055 if (GEP1->getNumIndices() != GEP2->getNumIndices() || in aliasSameBasePointerGEPs()
1056 GEP1->getNumIndices() < 2) in aliasSameBasePointerGEPs()
1090 assert(GEP1->getNumIndices() > 1 && "Not enough GEP indices to examine"); in aliasSameBasePointerGEPs()
1095 for (unsigned i = 1, e = GEP1->getNumIndices() - 1; i != e; ++i) { in aliasSameBasePointerGEPs()
1123 for (unsigned i = 0, e = GEP1->getNumIndices() - 1; i != e; ++i) in aliasSameBasePointerGEPs()
1610 if (PV1GEP->getPointerOperand() == PN && PV1GEP->getNumIndices() == 1 && in aliasPHI()
1637 if (PV1GEP->getPointerOperand() == PN && PV1GEP->getNumIndices() == 1 && in aliasPHI()
H A DValueTracking.cpp1546 if (EVI->getNumIndices() != 1) break; in computeKnownBitsFromOperator()
3346 unsigned size = I->getNumIndices() + idx_range.size(); in FindInsertedValue()
4212 assert(EVI->getNumIndices() == 1 && "Obvious from CI's type"); in isOverflowIntrinsicNoWrap()
H A DScalarEvolution.cpp4530 if (EVI->getNumIndices() != 1 || EVI->getIndices()[0] != 0) in MatchBinaryOp()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DDwarfEHPrepare.cpp112 if (SelIVI->getNumIndices() == 1 && *SelIVI->idx_begin() == 1) { in GetExceptionObject()
115 ExcIVI->getNumIndices() == 1 && *ExcIVI->idx_begin() == 0) { in GetExceptionObject()
H A DSjLjEHPrepare.cpp144 if (EVI->getNumIndices() != 1) in substituteLPadValues()
H A DAtomicExpandPass.cpp1262 assert(EV->getNumIndices() == 1 && EV->getIndices()[0] <= 1 && in expandAtomicCmpXchg()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUPerfHintAnalysis.cpp172 for (unsigned I = 1, E = GEP->getNumIndices() + 1; I != E; ++I) in isIndirectAccess()
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DEfficiencySanitizer.cpp735 if (GepInst == nullptr || GepInst->getNumIndices() == 1) { in instrumentGetElementPtr()
752 for (unsigned i = 1; i < GepInst->getNumIndices(); ++i) { in instrumentGetElementPtr()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DOperator.h490 unsigned getNumIndices() const { // Note: always non-negative in getNumIndices() function
H A DInstructions.h1038 unsigned getNumIndices() const { // Note: always non-negative
2372 unsigned getNumIndices() const {
2503 unsigned getNumIndices() const {
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp436 Operands.reserve(GEP->getNumIndices()); in doPromotion()
614 Indices.reserve(GEP->getNumIndices()); in isSafeToPromoteArgument()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DSCCP.cpp880 if (EVI.getNumIndices() != 1) in visitExtractValueInst()
901 if (IVI.getNumIndices() != 1) in visitInsertValueInst()
H A DScalarizer.cpp568 unsigned NumIndices = GEPI.getNumIndices(); in visitGetElementPtrInst()
H A DNewGVN.cpp1203 AggregateValueExpression(I->getNumOperands(), II->getNumIndices()); in createAggregateValueExpression()
1210 AggregateValueExpression(I->getNumOperands(), EI->getNumIndices()); in createAggregateValueExpression()
1819 if (II && EI->getNumIndices() == 1 && *EI->idx_begin() == 0) { in performSymbolicAggrValueEvaluation()
H A DGVN.cpp334 if (I != nullptr && EI->getNumIndices() == 1 && *EI->idx_begin() == 0 ) { in createExtractvalueExpr()
/freebsd-12.1/contrib/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp396 for (unsigned I = 0, E = GEPA->getNumIndices() - 1; I < E; ++I) { in lookThroughComplexAddresses()
H A DSLPVectorizer.cpp419 if (EI->getNumIndices() != 1) in getExtractIndex()
4840 if (GEP->getNumIndices() > 1 || isa<Constant>(Idx)) in collectSeedInstructions()
6434 assert(GEP->getNumIndices() == 1 || !isa<Constant>(GEPIdx)); in vectorizeGEPIndices()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp1886 unsigned Num = I.getNumIndices(); in visitExtractValueInst()
1931 unsigned Num = I.getNumIndices(); in visitInsertValueInst()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp1127 if (!CI || IV->getNumIndices() != 1 || CI->getZExtValue() != *IV->idx_begin()) in likeBitCastFromVector()
H A DInstCombineCompares.cpp595 if (GEP->getNumIndices() != 1 || !GEP->isInBounds() || in canRewriteGEPAsOffset()
800 if (GEP->hasAllConstantIndices() && GEP->getNumIndices() == 1 && in getAsConstantIndexedAddress()
H A DInstructionCombining.cpp1832 if (GEP.getNumIndices() == 1) { in visitGetElementPtrInst()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DCore.cpp2853 return GEP->getNumIndices(); in LLVMGetNumIndices()
2855 return EV->getNumIndices(); in LLVMGetNumIndices()
2857 return IV->getNumIndices(); in LLVMGetNumIndices()