Lines Matching defs:to_str
190 static std::string to_str(llvm::omp::Directive D) {
193 static std::string to_str(llvm::omp::Clause C) {
196 static std::string to_str(const omp::TypeTy &Type) { return "type"; }
197 static std::string to_str(const omp::ExprTy &Expr) { return "expr"; }
198 static std::string to_str(const omp::Object &Obj) { return Obj.id(); }
202 to_str(U &&Item) {
206 template <typename U> static std::string to_str(const omp::List<U> &Items) {
209 [](auto &&S) { return to_str(S); });
214 static std::string to_str(const std::optional<U> &Item) {
216 return to_str(*Item);
221 static std::string to_str(const std::tuple<Us...> &Tuple,
224 (Strings.push_back(to_str(std::get<Is>(Tuple))), ...);
231 to_str(U &&Item) {
238 to_str(U &&Item) {
245 to_str(U &&Item) {
248 std::string Str = to_str(Item.v);
253 return "(" + to_str(Item.v) + ")";
259 to_str(U &&Item) {
262 return to_str(Item.t, std::make_index_sequence<TupleSize>{});
268 to_str(U &&Item) {
269 return std::visit([](auto &&S) { return to_str(S); }, Item.u);
274 : Str(to_str(C.id) + to_str(C)) {}