Lines Matching refs:FoldDesignator
16 std::optional<OffsetSymbol> DesignatorFolder::FoldDesignator( in DEFINE_DEFAULT_CONSTRUCTORS_AND_ASSIGNMENTS()
56 std::optional<OffsetSymbol> DesignatorFolder::FoldDesignator( in FoldDesignator() function in Fortran::evaluate::DesignatorFolder
68 result = FoldDesignator(x.base(), which); in FoldDesignator()
71 result = FoldDesignator(x.base(), 0); in FoldDesignator()
145 std::optional<OffsetSymbol> DesignatorFolder::FoldDesignator( in FoldDesignator() function in Fortran::evaluate::DesignatorFolder
151 baseResult = FoldDesignator(base, 0); in FoldDesignator()
152 result = FoldDesignator(comp, which); in FoldDesignator()
154 baseResult = FoldDesignator(base, which); in FoldDesignator()
155 result = FoldDesignator(comp, 0); in FoldDesignator()
166 std::optional<OffsetSymbol> DesignatorFolder::FoldDesignator( in FoldDesignator() function in Fortran::evaluate::DesignatorFolder
168 if (auto result{FoldDesignator(z.complex(), which)}) { in FoldDesignator()
179 std::optional<OffsetSymbol> DesignatorFolder::FoldDesignator( in FoldDesignator() function in Fortran::evaluate::DesignatorFolder
182 [&](const auto &x) { return FoldDesignator(x, which); }, dataRef.u); in FoldDesignator()
185 std::optional<OffsetSymbol> DesignatorFolder::FoldDesignator( in FoldDesignator() function in Fortran::evaluate::DesignatorFolder
187 return entity.IsSymbol() ? FoldDesignator(entity.GetLastSymbol(), which) in FoldDesignator()
188 : FoldDesignator(entity.GetComponent(), which); in FoldDesignator()
191 std::optional<OffsetSymbol> DesignatorFolder::FoldDesignator( in FoldDesignator() function in Fortran::evaluate::DesignatorFolder
196 std::optional<OffsetSymbol> DesignatorFolder::FoldDesignator( in FoldDesignator() function in Fortran::evaluate::DesignatorFolder
200 return FoldDesignator(*component, which); in FoldDesignator()
204 return FoldDesignator(*symbol, 0); in FoldDesignator()
385 auto folded{designatorFolder.FoldDesignator(expr)}; in From()
414 CHECK(!designatorFolder.FoldDesignator(expr)); in From()