| /freebsd-12.1/contrib/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 | BasicAliasAnalysis.cpp | 1055 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 D | ValueTracking.cpp | 1546 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 D | ScalarEvolution.cpp | 4530 if (EVI->getNumIndices() != 1 || EVI->getIndices()[0] != 0) in MatchBinaryOp()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | DwarfEHPrepare.cpp | 112 if (SelIVI->getNumIndices() == 1 && *SelIVI->idx_begin() == 1) { in GetExceptionObject() 115 ExcIVI->getNumIndices() == 1 && *ExcIVI->idx_begin() == 0) { in GetExceptionObject()
|
| H A D | SjLjEHPrepare.cpp | 144 if (EVI->getNumIndices() != 1) in substituteLPadValues()
|
| H A D | AtomicExpandPass.cpp | 1262 assert(EV->getNumIndices() == 1 && EV->getIndices()[0] <= 1 && in expandAtomicCmpXchg()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPerfHintAnalysis.cpp | 172 for (unsigned I = 1, E = GEP->getNumIndices() + 1; I != E; ++I) in isIndirectAccess()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/ |
| H A D | EfficiencySanitizer.cpp | 735 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 D | Operator.h | 490 unsigned getNumIndices() const { // Note: always non-negative in getNumIndices() function
|
| H A D | Instructions.h | 1038 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 D | ArgumentPromotion.cpp | 436 Operands.reserve(GEP->getNumIndices()); in doPromotion() 614 Indices.reserve(GEP->getNumIndices()); in isSafeToPromoteArgument()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | SCCP.cpp | 880 if (EVI.getNumIndices() != 1) in visitExtractValueInst() 901 if (IVI.getNumIndices() != 1) in visitInsertValueInst()
|
| H A D | Scalarizer.cpp | 568 unsigned NumIndices = GEPI.getNumIndices(); in visitGetElementPtrInst()
|
| H A D | NewGVN.cpp | 1203 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 D | GVN.cpp | 334 if (I != nullptr && EI->getNumIndices() == 1 && *EI->idx_begin() == 0 ) { in createExtractvalueExpr()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Vectorize/ |
| H A D | LoadStoreVectorizer.cpp | 396 for (unsigned I = 0, E = GEPA->getNumIndices() - 1; I < E; ++I) { in lookThroughComplexAddresses()
|
| H A D | SLPVectorizer.cpp | 419 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 D | Execution.cpp | 1886 unsigned Num = I.getNumIndices(); in visitExtractValueInst() 1931 unsigned Num = I.getNumIndices(); in visitInsertValueInst()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineLoadStoreAlloca.cpp | 1127 if (!CI || IV->getNumIndices() != 1 || CI->getZExtValue() != *IV->idx_begin()) in likeBitCastFromVector()
|
| H A D | InstCombineCompares.cpp | 595 if (GEP->getNumIndices() != 1 || !GEP->isInBounds() || in canRewriteGEPAsOffset() 800 if (GEP->hasAllConstantIndices() && GEP->getNumIndices() == 1 && in getAsConstantIndexedAddress()
|
| H A D | InstructionCombining.cpp | 1832 if (GEP.getNumIndices() == 1) { in visitGetElementPtrInst()
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | Core.cpp | 2853 return GEP->getNumIndices(); in LLVMGetNumIndices() 2855 return EV->getNumIndices(); in LLVMGetNumIndices() 2857 return IV->getNumIndices(); in LLVMGetNumIndices()
|