Home
last modified time | relevance | path

Searched refs:dimOrder (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/flang/lib/Evaluate/
Dconstant.cpp59 ConstantSubscripts &indices, const std::vector<int> *dimOrder) const { in IncrementSubscripts()
62 CHECK(!dimOrder || static_cast<int>(dimOrder->size()) == rank); in IncrementSubscripts()
64 ConstantSubscript k{dimOrder ? (*dimOrder)[j] : j}; in IncrementSubscripts()
79 std::vector<int> dimOrder(rank); in ValidateDimensionOrder() local
87 dimOrder[dim - 1] = j; in ValidateDimensionOrder()
90 return dimOrder; in ValidateDimensionOrder()
139 ConstantSubscripts &resultSubscripts, const std::vector<int> *dimOrder) { in CopyFrom() argument
147 IncrementSubscripts(resultSubscripts, dimOrder); in CopyFrom()
164 ConstantSubscripts &resultSubscripts, const std::vector<int> *dimOrder) { in CopyFrom() argument
165 return Base::CopyFrom(source, count, resultSubscripts, dimOrder); in CopyFrom()
[all …]
Dfold-implementation.h571 std::optional<std::vector<int>> dimOrder; in Reshape() local
573 dimOrder = ValidateDimensionOrder(rank, *order); in Reshape()
575 std::vector<int> *dimOrderPtr{dimOrder ? &dimOrder.value() : nullptr}; in Reshape()
576 if (order && !dimOrder) { in Reshape()
/external/llvm-project/flang/runtime/
Dtransformational.cpp70 int dimOrder[maxRank]; in RESHAPE() local
83 dimOrder[k - 1] = j; in RESHAPE()
87 dimOrder[j] = j; in RESHAPE()
131 result->IncrementSubscripts(resultSubscript, dimOrder); in RESHAPE()
141 result->IncrementSubscripts(resultSubscript, dimOrder); in RESHAPE()
/external/llvm-project/flang/include/flang/Evaluate/
Dconstant.h77 ConstantSubscripts &, const std::vector<int> *dimOrder = nullptr) const;
120 ConstantSubscripts &resultSubscripts, const std::vector<int> *dimOrder);
148 ConstantSubscripts &resultSubscripts, const std::vector<int> *dimOrder);
189 ConstantSubscripts &resultSubscripts, const std::vector<int> *dimOrder);
221 ConstantSubscripts &resultSubscripts, const std::vector<int> *dimOrder);