Home
last modified time | relevance | path

Searched refs:getCols (Results 1 – 25 of 37) sorted by relevance

12

/external/angle/src/compiler/translator/TranslatorMetalDirect/
DAddExplicitTypeCasts.cpp69 if (retType.getCols() != argType.getCols() || in visitAggregatePost()
72 TemplateArg templateArgs[] = {retType.getCols(), retType.getRows()}; in visitAggregatePost()
DLayout.cpp175 const size_t outerScale = static_cast<size_t>(type.getCols()); in MetalLayoutOf()
329 outerDim = static_cast<size_t>(type.getCols()); in CommonGlslLayoutOf()
332 innerDim = static_cast<size_t>(type.getCols()); in CommonGlslLayoutOf()
DTranslatorMetalUtils.cpp185 switch (t->getCols()) in getBuiltInMetalTypeNameString()
/external/angle/src/compiler/translator/
DShaderStorageBlockFunctionHLSL.cpp82 out << " float" << ssboFunction.type.getRows() << "x" << ssboFunction.type.getCols() in OutputSSBOLoadFunctionBody()
86 out << "asfloat(buffer.Load" << ssboFunction.type.getCols() << "(loc + " in OutputSSBOLoadFunctionBody()
95 for (int columnIndex = 0; columnIndex < ssboFunction.type.getCols(); columnIndex++) in OutputSSBOLoadFunctionBody()
167 out << " float" << ssboFunction.type.getRows() << "x" << ssboFunction.type.getCols() in OutputSSBOStoreFunctionBody()
171 out << " buffer.Store" << ssboFunction.type.getCols() << "(loc + " in OutputSSBOStoreFunctionBody()
178 for (int columnIndex = 0; columnIndex < ssboFunction.type.getCols(); columnIndex++) in OutputSSBOStoreFunctionBody()
DStructureHLSL.cpp466 int cols = ctorType.getCols(); in addBuiltInConstructor()
490 if (row < parameter.getRows() && col < parameter.getCols()) in addBuiltInConstructor()
566 while (remainingComponents > 0 && column < parameter.getCols()) in addBuiltInConstructor()
DInfoSink.cpp84 *this << type.getCols() << "X" << type.getRows() << " matrix of "; in operator <<()
DIntermNode.cpp834 int resultCols = getType().getCols(); in getConstantValue()
866 int argumentCols = argumentTyped->getType().getCols(); in getConstantValue()
868 int resultCols = getType().getCols(); in getConstantValue()
1353 static_cast<unsigned char>(mOperand->getType().getCols()))); in promote()
1739 static_cast<unsigned char>(mRight->getCols()), in promote()
1749 static_cast<unsigned char>(mRight->getCols()), in promote()
1758 static_cast<unsigned char>(mRight->getCols()), 1)); in promote()
1860 ASSERT(index < type.getCols()); in FoldIndexing()
2215 const int leftCols = leftType.getCols(); in FoldBinary()
2217 const int rightCols = rightType.getCols(); in FoldBinary()
[all …]
DOutputSPIRV.cpp1112 for (int columnIndex = 0; columnIndex < type.getCols(); ++columnIndex) in createComplexConstant()
1197 arg0Type.isMatrix() && type.getCols() == arg0Type.getCols() && in createConstructor()
1351 for (int columnIndex = 0; columnIndex < type.getCols(); ++columnIndex) in createConstructorMatrixFromScalar()
1393 extractComponents(node, type.getCols() * type.getRows(), parameters, &extractedComponents); in createConstructorMatrixFromVectors()
1400 for (int columnIndex = 0; columnIndex < type.getCols(); ++columnIndex) in createConstructorMatrixFromVectors()
1453 if (parameterType.getCols() >= type.getCols() && parameterType.getRows() >= type.getRows()) in createConstructorMatrixFromMatrix()
1467 for (int columnIndex = 0; columnIndex < type.getCols(); ++columnIndex) in createConstructorMatrixFromMatrix()
1498 for (int columnIndex = 0; columnIndex < type.getCols(); ++columnIndex) in createConstructorMatrixFromMatrix()
1642 for (int columnIndex = 0; columnIndex < argumentType.getCols() && in extractComponents()
2552 for (int columnIndex = 0; columnIndex < firstOperandType.getCols(); ++columnIndex) in visitOperator()
[all …]
DUtilsHLSL.cpp907 int cols = type.getCols(); in TypeString()
DTypes.h179 int getCols() const in getCols() function
/external/angle/src/compiler/translator/tree_util/
DReplaceArrayOfMatrixVarying.cpp107 varyingReplaceType->makeArray(type.getCols() * type.getOutermostArraySize()); in ReplaceArrayOfMatrixVarying()
128 for (int col = 0; col < type.getCols(); ++col) in ReplaceArrayOfMatrixVarying()
135 CreateIndexNode(i * type.getCols() + col)); in ReplaceArrayOfMatrixVarying()
/external/angle/src/compiler/translator/tree_ops/
DScalarizeVecAndMatConstructorArgs.cpp164 int repeat = std::min(size, originalArg->getCols() * originalArg->getRows()); in scalarizeArgs()
185 size -= originalArg->getCols() * originalArg->getRows(); in scalarizeArgs()
DRemoveDynamicIndexing.cpp47 nameSink << "mat" << type.getCols() << "x" << type.getRows(); in GetIndexFunctionName()
171 numCases = type.getCols(); in GetIndexFunctionDefinition()
/external/llvm-project/llvm/include/llvm/CodeGen/
DRegAllocPBQP.h57 UnsafeCols(new bool[M.getCols() - 1]()) { in MatrixMetadata()
58 unsigned* ColCounts = new unsigned[M.getCols() - 1](); in MatrixMetadata()
62 for (unsigned j = 1; j < M.getCols(); ++j) { in MatrixMetadata()
73 *std::max_element(ColCounts, ColCounts + M.getCols() - 1); in MatrixMetadata()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DRegAllocPBQP.h55 UnsafeCols(new bool[M.getCols() - 1]()) { in MatrixMetadata()
56 unsigned* ColCounts = new unsigned[M.getCols() - 1](); in MatrixMetadata()
60 for (unsigned j = 1; j < M.getCols(); ++j) { in MatrixMetadata()
71 *std::max_element(ColCounts, ColCounts + M.getCols() - 1); in MatrixMetadata()
/external/llvm/include/llvm/CodeGen/
DRegAllocPBQP.h47 UnsafeCols(new bool[M.getCols() - 1]()) { in MatrixMetadata()
49 unsigned* ColCounts = new unsigned[M.getCols() - 1](); in MatrixMetadata()
53 for (unsigned j = 1; j < M.getCols(); ++j) { in MatrixMetadata()
64 *std::max_element(ColCounts, ColCounts + M.getCols() - 1); in MatrixMetadata()
/external/angle/src/compiler/translator/tree_ops/d3d/
DRecordUniformBlocksWithLargeArrayMember.cpp87 (matrixPacking == EmpRowMajor && fieldType.getCols() == 4))))) in IsSupportedTypeForStructuredBuffer()
99 (matrixPacking == EmpRowMajor && type.getCols() == 4); in IsSupportedTypeForStructuredBuffer()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/PBQP/
DGraph.h411 getNodeCosts(N2Id).getLength() == Costs.getCols() && in addEdge()
437 getNodeCosts(N2Id).getLength() == Costs->getCols() && in addEdgeBypassingCostAllocator()
DMath.h167 unsigned getCols() const { in getCols() function
/external/llvm-project/llvm/include/llvm/CodeGen/PBQP/
DGraph.h411 getNodeCosts(N2Id).getLength() == Costs.getCols() && in addEdge()
437 getNodeCosts(N2Id).getLength() == Costs->getCols() && in addEdgeBypassingCostAllocator()
DMath.h167 unsigned getCols() const { in getCols() function
/external/llvm/include/llvm/CodeGen/PBQP/
DGraph.h418 getNodeCosts(N2Id).getLength() == Costs.getCols() && in addEdge()
444 getNodeCosts(N2Id).getLength() == Costs->getCols() && in addEdgeBypassingCostAllocator()
/external/llvm-project/llvm/lib/CodeGen/
DRegAllocPBQP.cpp508 assert(CostMat.getCols() == Allowed2.size() + 1 && "Size mismatch."); in addVirtRegCoalesce()
909 assert(M.getCols() != 0 && "No cols in matrix."); in dump()
911 OS << PrintNodeInfo(N2Id, *this) << ' ' << M.getCols() << " cols:\n"; in dump()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DRegAllocPBQP.cpp510 assert(CostMat.getCols() == Allowed2.size() + 1 && "Size mismatch."); in addVirtRegCoalesce()
902 assert(M.getCols() != 0 && "No cols in matrix."); in dump()
904 OS << PrintNodeInfo(N2Id, *this) << ' ' << M.getCols() << " cols:\n"; in dump()
/external/llvm/lib/CodeGen/
DRegAllocPBQP.cpp486 assert(CostMat.getCols() == Allowed2.size() + 1 && "Size mismatch."); in addVirtRegCoalesce()
854 assert(M.getCols() != 0 && "No cols in matrix."); in dump()
856 OS << PrintNodeInfo(N2Id, *this) << ' ' << M.getCols() << " cols:\n"; in dump()

12