reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/IR/Core.cpp
 2961     return GEP->getNumIndices();
lib/Target/AMDGPU/AMDGPUPerfHintAnalysis.cpp
  172       for (unsigned I = 1, E = GEP->getNumIndices() + 1; I != E; ++I)
lib/Transforms/IPO/ArgumentPromotion.cpp
  440         Operands.reserve(GEP->getNumIndices());
  634           Indices.reserve(GEP->getNumIndices());
lib/Transforms/InstCombine/InstructionCombining.cpp
 1913   if (GEP.getNumIndices() == 1) {
lib/Transforms/Scalar/Scalarizer.cpp
  605   unsigned NumIndices = GEPI.getNumIndices();
lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
  410   for (unsigned I = 0, E = GEPA->getNumIndices() - 1; I < E; ++I) {
lib/Transforms/Vectorize/SLPVectorizer.cpp
 5484       if (GEP->getNumIndices() > 1 || isa<Constant>(Idx))
 7091         assert(GEP->getNumIndices() == 1 || !isa<Constant>(GEPIdx));
unittests/IR/InstructionsTest.cpp
  374   EXPECT_EQ(GepII0->getNumIndices(), 1u);
  375   EXPECT_EQ(GepII1->getNumIndices(), 1u);
  376   EXPECT_EQ(GepII2->getNumIndices(), 1u);
  377   EXPECT_EQ(GepII3->getNumIndices(), 1u);