codegen.cc | 127 std::vector<std::pair<string, string>>* rewrites) { 143 rewrites->push_back({"{{I}}", absl::StrCat(i)}); 144 rewrites->push_back({"{{TYPE}}", type}); 145 rewrites->push_back({"{{DIM_VARS}}", absl::StrJoin(dim_vars, ", ")}); 146 rewrites->push_back({"{{DIM_SIZES}}", dim_sizes}); 147 rewrites->push_back({"{{INDICES}}", indices}); 153 // the size of the code and M is the number of rewrites. It's fine for now 160 const std::vector<std::pair<string, string>>& rewrites) { 161 absl::StrReplaceAll(rewrites, &code); 177 std::vector<std::pair<string, string>> rewrites; local 223 std::vector<std::pair<string, string>> rewrites; local 255 std::vector<std::pair<string, string>> rewrites; local 269 std::vector<std::pair<string, string>> rewrites; local 645 const std::vector<std::pair<string, string>> rewrites = { local [all...] |