Lines Matching defs:Folder

55 template <typename T> class Folder {
57 explicit Folder(FoldingContext &c, bool forOptionalArgument = false)
137 return Folder<T>{context}.Folding(std::move(designator));
148 std::optional<Constant<T>> Folder<T>::GetNamedConstant(const Symbol &symbol0) {
162 std::optional<Constant<T>> Folder<T>::Folding(ArrayRef &aRef) {
183 std::optional<Constant<T>> Folder<T>::Folding(DataRef &ref) {
202 std::optional<Constant<T>> Folder<T>::ApplySubscripts(const Constant<T> &array,
263 std::optional<Constant<T>> Folder<T>::ApplyComponent(
324 std::optional<Constant<T>> Folder<T>::GetConstantComponent(Component &component,
329 return Folder<SomeDerived>{context_}.GetNamedConstant(symbol);
332 return Folder<SomeDerived>{context_}.Folding(aRef);
335 return Folder<SomeDerived>{context_}.GetConstantComponent(base);
349 template <typename T> Expr<T> Folder<T>::Folding(Designator<T> &&designator) {
366 if (auto zConst{Folder<ComplexT>{context_}.Folding(zPart->complex())}) {
411 Constant<T> *Folder<T>::Folding(std::optional<ActualArgument> &arg) {
439 Folder<A>{context, hasOptionalArgument}.Folding(arguments.at(I))...};
613 template <typename T> Expr<T> Folder<T>::CSHIFT(FunctionRef<T> &&funcRef) {
691 template <typename T> Expr<T> Folder<T>::EOSHIFT(FunctionRef<T> &&funcRef) {
824 template <typename T> Expr<T> Folder<T>::MERGE(FunctionRef<T> &&funcRef) {
834 template <typename T> Expr<T> Folder<T>::PACK(FunctionRef<T> &&funcRef) {
898 template <typename T> Expr<T> Folder<T>::RESHAPE(FunctionRef<T> &&funcRef) {
972 template <typename T> Expr<T> Folder<T>::SPREAD(FunctionRef<T> &&funcRef) {
1022 template <typename T> Expr<T> Folder<T>::TRANSPOSE(FunctionRef<T> &&funcRef) {
1044 template <typename T> Expr<T> Folder<T>::UNPACK(FunctionRef<T> &&funcRef) {
1097 template <typename T> Expr<T> Folder<T>::TRANSFER(FunctionRef<T> &&funcRef) {
1115 Folder<T> folder{context};
1236 return Folder<T>{context}.CSHIFT(std::move(funcRef));
1238 return Folder<T>{context}.EOSHIFT(std::move(funcRef));
1240 return Folder<T>{context}.MERGE(std::move(funcRef));
1242 return Folder<T>{context}.PACK(std::move(funcRef));
1244 return Folder<T>{context}.RESHAPE(std::move(funcRef));
1246 return Folder<T>{context}.SPREAD(std::move(funcRef));
1248 return Folder<T>{context}.TRANSFER(std::move(funcRef));
1250 return Folder<T>{context}.TRANSPOSE(std::move(funcRef));
1252 return Folder<T>{context}.UNPACK(std::move(funcRef));