Home
last modified time | relevance | path

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

1234

/external/swiftshader/src/OpenGL/libGLESv2/
DIndexDataManager.cpp66 inline GLsizei getNumIndices(const std::vector<GLsizei>& restartIndices, size_t i, GLsizei count) in getNumIndices() function
102 GLsizei numIndices = getNumIndices(restartIndices, i, count); in copyIndices()
116 GLsizei numIndices = getNumIndices(restartIndices, i, count); in copyIndices()
131 GLsizei numIndices = getNumIndices(restartIndices, i, count); in copyIndices()
157 GLsizei numIndices = getNumIndices(restartIndices, i, count); in copyIndices()
178 GLsizei numIndices = getNumIndices(restartIndices, i, count); in copyIndices()
246 unsigned int nbIndices = getNumIndices(restartIndices, i, count); in recomputePrimitiveCount()
260 unsigned int nbIndices = getNumIndices(restartIndices, i, count); in recomputePrimitiveCount()
/external/deqp/modules/gles3/functional/
Des3fPrimitiveRestartTests.cpp110 int getNumIndices (void);
188 int PrimitiveRestartCase::getNumIndices (void) in getNumIndices() function in deqp::gles3::Functional::PrimitiveRestartCase
268 DE_ASSERT(getNumIndices() == 0); in init()
461 int numIndices = getNumIndices(); in init()
571 int numIndices = getNumIndices(); in draw()
592 draw(0, getNumIndices()); in renderWithRestart()
617 int numIndices = getNumIndices(); in renderWithoutRestart()
Des3fVertexTextureTests.cpp245 int getNumIndices (void) const { return m_gridSize*m_gridSize*3*2; } in getNumIndices() function in deqp::gles3::Functional::__anonc63cd1cc0111::PosTexCoordQuadGrid
783 glDrawElements(GL_TRIANGLES, grid.getNumIndices(), GL_UNSIGNED_SHORT, grid.getIndexPtr()); in renderCell()
1118 glDrawElements(GL_TRIANGLES, grid.getNumIndices(), GL_UNSIGNED_SHORT, grid.getIndexPtr()); in renderCell()
1458 glDrawElements(GL_TRIANGLES, grid.getNumIndices(), GL_UNSIGNED_SHORT, grid.getIndexPtr()); in renderCell()
1802 glDrawElements(GL_TRIANGLES, grid.getNumIndices(), GL_UNSIGNED_SHORT, grid.getIndexPtr()); in renderCell()
/external/llvm/lib/Analysis/
DTypeMetadataUtils.cpp103 if (EVI->getNumIndices() == 1 && EVI->getIndices()[0] == 0) { in findDevirtualizableCallsForTypeCheckedLoad()
107 if (EVI->getNumIndices() == 1 && EVI->getIndices()[0] == 1) { in findDevirtualizableCallsForTypeCheckedLoad()
DBasicAliasAnalysis.cpp835 if (GEP1->getNumIndices() != GEP2->getNumIndices() || in aliasSameBasePointerGEPs()
836 GEP1->getNumIndices() < 2) in aliasSameBasePointerGEPs()
863 assert(GEP1->getNumIndices() > 1 && "Not enough GEP indices to examine"); in aliasSameBasePointerGEPs()
868 for (unsigned i = 1, e = GEP1->getNumIndices() - 1; i != e; ++i) { in aliasSameBasePointerGEPs()
896 for (unsigned i = 0, e = GEP1->getNumIndices() - 1; i != e; ++i) in aliasSameBasePointerGEPs()
1347 if (PV1GEP->getPointerOperand() == PN && PV1GEP->getNumIndices() == 1 && in aliasPHI()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DTypeMetadataUtils.cpp114 if (EVI->getNumIndices() == 1 && EVI->getIndices()[0] == 0) { in findDevirtualizableCallsForTypeCheckedLoad()
118 if (EVI->getNumIndices() == 1 && EVI->getIndices()[0] == 1) { in findDevirtualizableCallsForTypeCheckedLoad()
DBasicAliasAnalysis.cpp1097 if (GEP1->getNumIndices() != GEP2->getNumIndices() || in aliasSameBasePointerGEPs()
1098 GEP1->getNumIndices() < 2) in aliasSameBasePointerGEPs()
1132 assert(GEP1->getNumIndices() > 1 && "Not enough GEP indices to examine"); in aliasSameBasePointerGEPs()
1137 for (unsigned i = 1, e = GEP1->getNumIndices() - 1; i != e; ++i) { in aliasSameBasePointerGEPs()
1165 for (unsigned i = 0, e = GEP1->getNumIndices() - 1; i != e; ++i) in aliasSameBasePointerGEPs()
1658 if (PV1GEP->getPointerOperand() == PN && PV1GEP->getNumIndices() == 1 && in aliasPHI()
1685 if (PV1GEP->getPointerOperand() == PN && PV1GEP->getNumIndices() == 1 && in aliasPHI()
/external/llvm-project/llvm/lib/Analysis/
DTypeMetadataUtils.cpp115 if (EVI->getNumIndices() == 1 && EVI->getIndices()[0] == 0) { in findDevirtualizableCallsForTypeCheckedLoad()
119 if (EVI->getNumIndices() == 1 && EVI->getIndices()[0] == 1) { in findDevirtualizableCallsForTypeCheckedLoad()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DDwarfEHPrepare.cpp112 if (SelIVI->getNumIndices() == 1 && *SelIVI->idx_begin() == 1) { in GetExceptionObject()
115 ExcIVI->getNumIndices() == 1 && *ExcIVI->idx_begin() == 0) { in GetExceptionObject()
/external/llvm/lib/CodeGen/
DDwarfEHPrepare.cpp109 if (SelIVI->getNumIndices() == 1 && *SelIVI->idx_begin() == 1) { in GetExceptionObject()
112 ExcIVI->getNumIndices() == 1 && *ExcIVI->idx_begin() == 0) { in GetExceptionObject()
/external/llvm-project/llvm/lib/CodeGen/
DDwarfEHPrepare.cpp117 if (SelIVI->getNumIndices() == 1 && *SelIVI->idx_begin() == 1) { in GetExceptionObject()
120 ExcIVI->getNumIndices() == 1 && *ExcIVI->idx_begin() == 0) { in GetExceptionObject()
/external/deqp/modules/glshared/
DglsShaderPerformanceMeasurer.cpp67 static inline int getNumIndices (int gridSizeX, int gridSizeY) in getNumIndices() function
261 GLsizei numIndices = (GLsizei)getNumIndices(m_gridSizeX, m_gridSizeY); in render()
/external/llvm/unittests/IR/
DInstructionsTest.cpp363 EXPECT_EQ(GepII0->getNumIndices(), 1u); in TEST()
364 EXPECT_EQ(GepII1->getNumIndices(), 1u); in TEST()
365 EXPECT_EQ(GepII2->getNumIndices(), 1u); in TEST()
366 EXPECT_EQ(GepII3->getNumIndices(), 1u); in TEST()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DIPConstantPropagation.cpp258 if (EV->getNumIndices() == 1) in PropagateConstantReturn()
DArgumentPromotion.cpp441 Operands.reserve(GEP->getNumIndices()); in doPromotion()
635 Indices.reserve(GEP->getNumIndices()); in isSafeToPromoteArgument()
/external/llvm-project/llvm/test/Transforms/InstCombine/
Dvscale_gep.ll14 ; This test serves to verify code changes for "GEP.getNumIndices() == 1".
/external/llvm/include/llvm/IR/
DOperator.h411 unsigned getNumIndices() const { // Note: always non-negative in getNumIndices() function
/external/deqp/modules/gles2/functional/
Des2fVertexTextureTests.cpp196 int getNumIndices (void) const { return m_gridSize*m_gridSize*3*2; } in getNumIndices() function in deqp::gles2::Functional::__anon355e5a2a0111::PosTexCoordQuadGrid
683 glDrawElements(GL_TRIANGLES, grid.getNumIndices(), GL_UNSIGNED_SHORT, grid.getIndexPtr()); in renderCell()
1020 glDrawElements(GL_TRIANGLES, grid.getNumIndices(), GL_UNSIGNED_SHORT, grid.getIndexPtr()); in renderCell()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUPerfHintAnalysis.cpp172 for (unsigned I = 1, E = GEP->getNumIndices() + 1; I != E; ++I) in isIndirectAccess()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUPerfHintAnalysis.cpp173 for (unsigned I = 1, E = GEP->getNumIndices() + 1; I != E; ++I) in isIndirectAccess()
/external/llvm/lib/Transforms/Instrumentation/
DEfficiencySanitizer.cpp736 if (GepInst == nullptr || GepInst->getNumIndices() == 1) { in instrumentGetElementPtr()
753 for (unsigned i = 1; i < GepInst->getNumIndices(); ++i) { in instrumentGetElementPtr()
/external/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp506 Indices.reserve(GEP->getNumIndices()); in isSafeToPromoteArgument()
985 Operands.reserve(GEP->getNumIndices()); in DoPromotion()
/external/llvm-project/llvm/include/llvm/IR/
DOperator.h510 unsigned getNumIndices() const { // Note: always non-negative in getNumIndices() function
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DOperator.h510 unsigned getNumIndices() const { // Note: always non-negative in getNumIndices() function
/external/llvm-project/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp441 Operands.reserve(GEP->getNumIndices()); in doPromotion()
629 Indices.reserve(GEP->getNumIndices()); in isSafeToPromoteArgument()

1234