Home
last modified time | relevance | path

Searched refs:resultRank (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/flang/runtime/
Dtransformational.cpp40 SubscriptValue resultRank{shape.GetDimension(0).Extent()}; in RESHAPE() local
42 resultRank >= 0 && resultRank <= static_cast<SubscriptValue>(maxRank)); in RESHAPE()
50 for (SubscriptValue j{0}; j < resultRank; ++j, ++shapeSubscript) { in RESHAPE()
74 RUNTIME_CHECK(terminator, order->GetDimension(0).Extent() == resultRank); in RESHAPE()
77 for (SubscriptValue j{0}; j < resultRank; ++j, ++orderSubscript) { in RESHAPE()
81 terminator, k >= 1 && k <= resultRank && !((values >> k) & 1)); in RESHAPE()
86 for (int j{0}; j < resultRank; ++j) { in RESHAPE()
97 result = Descriptor::Create(*sourceDerivedType, nullptr, resultRank, in RESHAPE()
101 resultRank, resultExtent, in RESHAPE()
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/IR/
Dhlo_ops.cc707 auto resultRank = resultType.getRank(); in Verify() local
713 if (resultRank != expectedRank) { in Verify()
717 resultRank, operandRank, sizesSize)); in Verify()
776 auto resultRank = resultType.getRank(); in Verify() local
777 if (resultRank < operandRank) { in Verify()
780 resultRank, operandRank)); in Verify()
785 if (dimIndex >= resultRank) { in Verify()
789 dimIndex, resultRank)); in Verify()
846 auto resultRank = resultType.getRank(); in Verify() local
866 if (resultRank < operandRank) { in Verify()
[all …]
/external/llvm-project/flang/lib/Evaluate/
Dintrinsics.cpp1497 int resultRank{0}; in Match() local
1500 resultRank = elementalRank; in Match()
1503 resultRank = 0; in Match()
1506 resultRank = 1; in Match()
1509 resultRank = 2; in Match()
1513 resultRank = arrayArg->Rank(); in Match()
1517 resultRank = hasDimArg ? arrayArg->Rank() - 1 : 0; in Match()
1521 resultRank = arrayArg->Rank() - 1; in Match()
1525 resultRank = knownArg->Rank() + 1; in Match()
1529 resultRank = *shapeArgSize; in Match()
[all …]
/external/llvm-project/flang/unittests/Evaluate/
DISO-Fortran-binding.cpp435 constexpr CFI_rank_t resultRank{rank - 1}; in run_CFI_section_tests() local
437 CFI_CDESC_T(resultRank) resultStorage; in run_CFI_section_tests()
440 CFI_type_long_long, 0, resultRank, nullptr); in run_CFI_section_tests()
/external/llvm-project/mlir/lib/Dialect/Vector/
DVectorOps.cpp2588 unsigned resultRank = resultVectorType.getRank(); in verifyVectorShapeCast() local
2589 if (sourceRank < resultRank) { in verifyVectorShapeCast()
2592 } else if (sourceRank > resultRank) { in verifyVectorShapeCast()
/external/llvm-project/mlir/lib/Conversion/StandardToLLVM/
DStandardToLLVM.cpp2777 Value resultRank = shapeDesc.size(rewriter, loc, 0); in convertSourceMemRefToDescriptor() local
2789 targetDesc.setRank(rewriter, loc, resultRank); in convertSourceMemRefToDescriptor()
2823 rewriter, loc, *getTypeConverter(), targetSizesBase, resultRank); in convertSourceMemRefToDescriptor()
2827 rewriter.create<LLVM::SubOp>(loc, resultRank, oneIndex); in convertSourceMemRefToDescriptor()
/external/llvm-project/mlir/include/mlir/Dialect/StandardOps/IR/
DOps.td2225 unsigned resultRank = getResult().getType().cast<ShapedType>().getRank();
2226 return {1, resultRank, resultRank};