Searched refs:resultElements (Results 1 – 5 of 5) sorted by relevance
/external/llvm-project/flang/runtime/ |
D | transformational.cpp | 48 std::size_t resultElements{1}; in RESHAPE() local 55 resultElements *= resultExtent[j]; in RESHAPE() 63 if (resultElements < sourceElements) { in RESHAPE() 126 std::size_t elementsFromSource{std::min(resultElements, sourceElements)}; in RESHAPE() 133 if (resultElement < resultElements) { in RESHAPE() 137 for (; resultElement < resultElements; ++resultElement) { in RESHAPE()
|
/external/angle/src/common/ |
D | matrix_utils_unittest.cpp | 198 std::vector<float> resultElements = result.elements(); variable 201 EXPECT_NEAR(resultElements[i], identityMatrix[i], floatFaultTolarance); 218 std::vector<float> resultElements = result.elements(); variable 221 EXPECT_NEAR(resultElements[i], identityMatrix[i], floatFaultTolarance);
|
/external/llvm-project/flang/lib/Evaluate/ |
D | fold-implementation.h | 570 std::size_t resultElements{TotalElementCount(shape.value())}; in Reshape() 578 } else if (resultElements > source->size() && (!pad || pad->empty())) { in Reshape() 588 std::min(source->size(), resultElements), subscripts, dimOrderPtr)}; in Reshape() 589 if (copied < resultElements) { in Reshape() 592 *pad, resultElements - copied, subscripts, dimOrderPtr); in Reshape() 594 CHECK(copied == resultElements); in Reshape()
|
/external/llvm-project/mlir/lib/Dialect/Vector/ |
D | VectorTransforms.cpp | 178 SmallVectorImpl<int64_t> &resultElements) { in getMappedElements() argument 179 assert(indexMap.size() == resultElements.size()); in getMappedElements() 180 assert(inputElements.size() >= resultElements.size()); in getMappedElements() 184 resultElements[it->second] = inputElements[i]; in getMappedElements() 803 SmallVector<Value, 8> resultElements; in matchAndRewrite() local 804 resultElements.reserve(resultTupleType.size()); in matchAndRewrite() 809 resultElements.push_back(rewriter.create<vector::ShapeCastOp>( in matchAndRewrite() 815 resultElements); in matchAndRewrite()
|
/external/angle/src/compiler/translator/ |
D | IntermNode.cpp | 137 std::vector<float> resultElements = result.elements(); in SetUnionArrayFromMatrix() local 138 for (size_t i = 0; i < resultElements.size(); i++) in SetUnionArrayFromMatrix() 139 resultArray[i].setFConst(resultElements[i]); in SetUnionArrayFromMatrix()
|