string 518 apps/HelloAndroidCamera2/src/com/example/helloandroidcamera2/Camera2BasicFragment.java .setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() { string 13 apps/blur/halide_blur_generator.cpp std::map<std::string, BlurGPUSchedule> blurGPUScheduleEnumMap() { string 93 apps/fft/complex.h inline ComplexExpr sum(ComplexExpr z, const std::string &s = "sum") { string 18 apps/fft/fft.cpp using std::string; string 109 apps/fft/fft.cpp ComplexFunc dft2(ComplexFunc f, const string& prefix) { string 124 apps/fft/fft.cpp ComplexFunc dft4(ComplexFunc f, int sign, const string& prefix) { string 151 apps/fft/fft.cpp ComplexFunc dft6(ComplexFunc f, int sign, const string& prefix) { string 187 apps/fft/fft.cpp ComplexFunc dft8(ComplexFunc f, int sign, const string& prefix) { string 232 apps/fft/fft.cpp ComplexFunc dftN(ComplexFunc x, int N, int sign, const string& prefix) { string 255 apps/fft/fft.cpp const string& prefix) { string 271 apps/fft/fft.cpp const string& prefix, string 297 apps/fft/fft.cpp const string& prefix, string 429 apps/fft/fft.cpp const string& prefix, string 480 apps/fft/fft.cpp string prefix = desc.name.empty() ? "c2c_" : desc.name + "_"; string 667 apps/fft/fft.cpp string prefix = desc.name.empty() ? "r2c_" : desc.name + "_"; string 859 apps/fft/fft.cpp string prefix = desc.name.empty() ? "c2r_" : desc.name + "_"; string 38 apps/fft/fft.h std::string name = ""; string 10 apps/fft/fft_generator.cpp std::map<std::string, FFTNumberType> fft_number_type_enum_map() { string 18 apps/fft/fft_generator.cpp std::map<std::string, FFTDirection> fft_direction_enum_map() { string 35 apps/fft/funct.h explicit FuncT(const std::string &name) : Func(name) {} string 46 apps/fft/main.cpp std::string output_dir; string 41 apps/hexagon_benchmarks/process.cpp std::string mode_to_run = argv[i+1]; string 44 apps/linear_algebra/benchmarks/cblas_benchmarks.cpp std::string name; string 67 apps/linear_algebra/benchmarks/cblas_benchmarks.cpp BenchmarksBase(std::string n) : name(n) {} string 69 apps/linear_algebra/benchmarks/cblas_benchmarks.cpp void run(std::string benchmark, int size) { string 112 apps/linear_algebra/benchmarks/cblas_benchmarks.cpp BenchmarksFloat(std::string n) : string 153 apps/linear_algebra/benchmarks/cblas_benchmarks.cpp BenchmarksDouble(std::string n) : string 199 apps/linear_algebra/benchmarks/cblas_benchmarks.cpp std::string subroutine = argv[1]; string 5 apps/linear_algebra/benchmarks/clock.h std::string items_per_second(int N, double elapsed) { string 7 apps/linear_algebra/benchmarks/clock.h std::string postfix = ""; string 21 apps/linear_algebra/benchmarks/eigen_benchmarks.cpp std::string type_name(); string 24 apps/linear_algebra/benchmarks/eigen_benchmarks.cpp std::string type_name<float>() {return "s";} string 27 apps/linear_algebra/benchmarks/eigen_benchmarks.cpp std::string type_name<double>() {return "d";} string 53 apps/linear_algebra/benchmarks/eigen_benchmarks.cpp Benchmarks(std::string n) : name(n) {} string 55 apps/linear_algebra/benchmarks/eigen_benchmarks.cpp void run(std::string benchmark, int size) { string 101 apps/linear_algebra/benchmarks/eigen_benchmarks.cpp std::string name; string 110 apps/linear_algebra/benchmarks/eigen_benchmarks.cpp std::string subroutine = argv[1]; string 32 apps/linear_algebra/benchmarks/halide_benchmarks.cpp std::string name; string 57 apps/linear_algebra/benchmarks/halide_benchmarks.cpp BenchmarksBase(std::string n) : name(n) {} string 59 apps/linear_algebra/benchmarks/halide_benchmarks.cpp void run(std::string benchmark, int size) { string 102 apps/linear_algebra/benchmarks/halide_benchmarks.cpp BenchmarksFloat(std::string n) : string 137 apps/linear_algebra/benchmarks/halide_benchmarks.cpp BenchmarksDouble(std::string n) : string 177 apps/linear_algebra/benchmarks/halide_benchmarks.cpp std::string subroutine = argv[1]; string 22 apps/opengl_demo/layout.cpp void Layout::draw_texture(enum location location, GLuint texture_id, int width, int height, const std::string &label) string 54 apps/opengl_demo/layout.cpp void Layout::draw_image(enum location location, const uint8_t *data, int width, int height, const std::string &label) string 21 apps/opengl_demo/layout.h void draw_image(enum location location, const uint8_t *data, int width, int height, const std::string &label); string 22 apps/opengl_demo/layout.h void draw_texture(enum location location, GLuint texture_id, int width, int height, const std::string &label); string 41 apps/opengl_demo/main.cpp std::string run_cpu_filter(const uint8_t *image_data, uint8_t *result_data, int width, int height) string 64 apps/opengl_demo/main.cpp std::string run_opengl_filter_from_host_to_host(const uint8_t *image_data, uint8_t *result_data, int width, int height) string 93 apps/opengl_demo/main.cpp std::string run_opengl_filter_from_texture_to_texture(GLuint input_texture_id, GLuint output_texture_id, int width, int height) string 125 apps/opengl_demo/main.cpp const std::string filename = argv[1]; string 141 apps/opengl_demo/main.cpp std::string report; string 54 apps/opengl_demo/opengl_helpers.cpp void OpenGLHelpers::draw_text(const std::string &text, float x, float y) string 17 apps/opengl_demo/opengl_helpers.h void draw_text(const std::string &text, float x, float y); string 9 apps/opengl_demo/png_helpers.cpp struct image_info PNGHelpers::load(const std::string &filepath) string 12 apps/opengl_demo/png_helpers.h struct image_info load(const std::string &filepath); string 8 apps/opengl_demo/timer.cpp struct info Timer::start(const std::string &what) string 16 apps/opengl_demo/timer.cpp std::string Timer::report(const struct info &info) string 9 apps/opengl_demo/timer.h const std::string what; string 13 apps/opengl_demo/timer.h struct info start(const std::string &what); string 14 apps/opengl_demo/timer.h std::string report(const struct info &); string 5 apps/openglcompute/test_oglc_avg.cpp void blur(std::string suffix, ImageParam input) { string 47 apps/openglcompute/test_oglc_avg.cpp std::string fn_name = std::string("avg_filter") + suffix; string 53 apps/openglcompute/test_oglc_avg.cpp blur(std::string("_uint32t") + (argc > 1? argv[1]: ""), input_uint32); string 56 apps/openglcompute/test_oglc_avg.cpp blur(std::string("_float") + (argc > 1? argv[1]: ""), input_float); string 36 apps/openglcompute/test_two_kernels.cpp std::string fn_name = std::string("two_kernels_filter") + (argc > 1 ? argv[1] : ""); string 61 apps/resize/resize.cpp std::string infile, outfile; string 69 apps/resize/resize.cpp std::string arg = argv[i]; string 90 apps/templates/SimpleAppAPI.h ScopedTimer(void *user_context, const std::string &msg, const int iters = 1) string 107 apps/templates/SimpleAppAPI.h std::string msg_; string 54 apps/templates/tests/example_test.cpp std::string name = "Example_"; string 35 apps/wavelet/wavelet.cpp void save_untransformed(Buffer<T> t, const std::string& filename) { string 41 apps/wavelet/wavelet.cpp void save_transformed(Buffer<T> t, const std::string& filename) { string 58 apps/wavelet/wavelet.cpp const std::string src_image = argv[1]; string 59 apps/wavelet/wavelet.cpp const std::string dirname = argv[2]; string 23 python_bindings/python/Argument.cpp .def(p::init<std::string, Argument::Kind, h::Type, uint8_t, h::Expr, h::Expr, h::Expr>( string 26 python_bindings/python/Argument.cpp .def(p::init<std::string, Argument::Kind, h::Type, uint8_t, h::Expr>( string 29 python_bindings/python/Argument.cpp .def(p::init<std::string, Argument::Kind, h::Type, uint8_t>( string 16 python_bindings/python/Error.cpp (std::string("Halide Error: ") + e.what()).c_str()); string 23 python_bindings/python/Error.cpp (std::string("Halide RuntimeError: ") + e.what()).c_str()); string 30 python_bindings/python/Error.cpp (std::string("Halide CompileError: ") + e.what()).c_str()); string 37 python_bindings/python/Error.cpp (std::string("Halide InternalError: ") + e.what()).c_str()); string 39 python_bindings/python/Expr.cpp std::string expr_repr(const h::Expr &expr) { string 40 python_bindings/python/Expr.cpp std::string repr; string 81 python_bindings/python/Expr.cpp .def(p::init<std::string>(p::arg("self"), "Make an expression representing a const string (i.e. a StringImm)")) string 75 python_bindings/python/Func.cpp void func_compile_to_bitcode0(h::Func &that, const std::string &filename, string 77 python_bindings/python/Func.cpp const std::string fn_name = "", string 85 python_bindings/python/Func.cpp void func_compile_to_object0(h::Func &that, const std::string &filename, string 87 python_bindings/python/Func.cpp const std::string fn_name = "", string 95 python_bindings/python/Func.cpp void func_compile_to_header0(h::Func &that, const std::string &filename, string 97 python_bindings/python/Func.cpp const std::string fn_name = "", string 105 python_bindings/python/Func.cpp void func_compile_to_assembly0(h::Func &that, const std::string &filename, string 107 python_bindings/python/Func.cpp const std::string fn_name = "", string 115 python_bindings/python/Func.cpp void func_compile_to_c0(h::Func &that, const std::string &filename, string 117 python_bindings/python/Func.cpp const std::string fn_name = "", string 125 python_bindings/python/Func.cpp void func_compile_to_file0(h::Func &that, const std::string &filename_prefix, string 127 python_bindings/python/Func.cpp const std::string fn_name = "", string 136 python_bindings/python/Func.cpp const std::string &filename, string 174 python_bindings/python/Func.cpp std::string func_repr(const h::Func &func) { string 175 python_bindings/python/Func.cpp std::string repr; string 182 python_bindings/python/Func.cpp const std::string &function_name, string 191 python_bindings/python/Func.cpp const std::string &function_name, string 231 python_bindings/python/Func.cpp .def(p::init<std::string>(p::arg("self"))) string 592 python_bindings/python/Func.cpp const std::string reorder_storage_doc = string 86 python_bindings/python/Func.h const std::string o_str = bp::extract<std::string>(bp::str(o)); string 123 python_bindings/python/Func.h const std::string o_str = bp::extract<std::string>(bp::str(o)); string 20 python_bindings/python/Func_VarOrRVar.cpp p::init<std::string, bool>(p::args("self", "n", "r"))) string 166 python_bindings/python/IROperator.cpp const std::string o_str = p::extract<std::string>(p::str(o)); string 91 python_bindings/python/Image.cpp const std::string o_str = p::extract<std::string>(p::str(o)); string 141 python_bindings/python/Image.cpp std::string buffer_repr(const h::Buffer<T> &buffer) { string 142 python_bindings/python/Image.cpp std::string repr; string 145 python_bindings/python/Image.cpp std::string suffix = "_???"; string 243 python_bindings/python/Image.cpp void defineBuffer_impl(const std::string suffix, const h::Type type) { string 15 python_bindings/python/InlineReductions.cpp h::Expr sum0(h::Expr e, const std::string name) { string 19 python_bindings/python/InlineReductions.cpp h::Expr sum1(h::RDom r, h::Expr e, const std::string name) { string 23 python_bindings/python/InlineReductions.cpp h::Expr product0(h::Expr e, const std::string name) { string 27 python_bindings/python/InlineReductions.cpp h::Expr product1(h::RDom r, h::Expr e, const std::string name) { string 31 python_bindings/python/InlineReductions.cpp h::Expr maximum0(h::Expr e, const std::string name) { string 35 python_bindings/python/InlineReductions.cpp h::Expr maximum1(h::RDom r, h::Expr e, const std::string name) { string 39 python_bindings/python/InlineReductions.cpp h::Expr minimum0(h::Expr e, const std::string name) { string 43 python_bindings/python/InlineReductions.cpp h::Expr minimum1(h::RDom r, h::Expr e, const std::string name) { string 47 python_bindings/python/InlineReductions.cpp p::object argmin0(h::Expr e, const std::string name) { string 51 python_bindings/python/InlineReductions.cpp p::object argmin1(h::RDom r, h::Expr e, const std::string name) { string 55 python_bindings/python/InlineReductions.cpp p::object argmax0(h::Expr e, const std::string name) { string 59 python_bindings/python/InlineReductions.cpp p::object argmax1(h::RDom r, h::Expr e, const std::string name) { string 39 python_bindings/python/Param.cpp std::string imageparam_repr(h::ImageParam ¶m) // non-const due to a Halide bug in master (to be fixed) string 41 python_bindings/python/Param.cpp std::string repr; string 78 python_bindings/python/Param.cpp p::init<h::Type, int, std::string>(p::args("self", "t", "dims", "name"))) string 284 python_bindings/python/Param.cpp std::string param_repr(const h::Param<T> ¶m) { string 285 python_bindings/python/Param.cpp std::string repr; string 294 python_bindings/python/Param.cpp void defineParam_impl(const std::string suffix, const h::Type type) { string 311 python_bindings/python/Param.cpp .def(p::init<std::string>( string 313 python_bindings/python/Param.cpp .def(p::init<std::string, T>( string 321 python_bindings/python/Param.cpp .def(p::init<std::string, T, h::Expr, h::Expr>( string 410 python_bindings/python/Param.cpp p::object create_param0_impl(h::Type type, std::string name) { string 423 python_bindings/python/Param.cpp p::object create_param0_impl<end_of_recursion_t>(h::Type type, std::string /*name*/) { // end of recursion, did not find a matching type string 513 python_bindings/python/Param.cpp const std::string val_str = p::extract<std::string>(p::str(val)); string 530 python_bindings/python/Param.cpp p::object call_create_param_object(T true_val, std::string name) { string 535 python_bindings/python/Param.cpp p::object call_create_param_object(T true_val, std::string name, h::Expr min, h::Expr max) { string 570 python_bindings/python/Param.cpp static p::object create_param1(h::Type type, std::string name) { string 581 python_bindings/python/Param.cpp static p::object create_param3(h::Type type, std::string name, p::object val) { string 582 python_bindings/python/Param.cpp return create_param1_impl_t<pixel_types_t, std::string>()(type, val, name); string 589 python_bindings/python/Param.cpp static p::object create_param5(h::Type type, std::string name, p::object val, h::Expr min, h::Expr max) { string 590 python_bindings/python/Param.cpp return create_param1_impl_t<pixel_types_t, std::string, h::Expr, h::Expr>()(type, val, name, min, max); string 24 python_bindings/python/RDom.cpp .def(p::init<std::string>(p::args("self", "name"), "Construct an RVar with the given name")) string 52 python_bindings/python/RDom.cpp h::RDom *RDom_constructor0(p::tuple args, std::string name = "") { string 69 python_bindings/python/RDom.cpp const std::string o_str = p::extract<std::string>(p::str(o)); string 86 python_bindings/python/RDom.cpp std::string name = "") { string 94 python_bindings/python/RDom.cpp std::string name = "") { string 104 python_bindings/python/RDom.cpp std::string name = "") { string 116 python_bindings/python/RDom.cpp std::string name = "") { string 14 python_bindings/python/Type.cpp std::string type_code_to_string(const h::Type &t) { string 15 python_bindings/python/Type.cpp std::string code_string = "unknown"; string 44 python_bindings/python/Type.cpp std::string type_repr(const h::Type &t) { string 12 python_bindings/python/Type.h std::string type_repr(const Halide::Type &t); // helper function string 13 python_bindings/python/Type.h std::string type_code_to_string(const Halide::Type &t); string 18 python_bindings/python/Var.cpp bool var_is_implicit1(const std::string name) { string 26 python_bindings/python/Var.cpp int var_implicit_index1(const std::string name) { string 34 python_bindings/python/Var.cpp bool var_is_placeholder1(const std::string name) { string 42 python_bindings/python/Var.cpp std::string var_repr(const h::Var &var) { string 43 python_bindings/python/Var.cpp std::string repr; string 63 python_bindings/python/Var.cpp p::init<std::string>(p::args("self", "name"))) string 11 src/AddImageChecks.cpp using std::string; string 27 src/AddImageChecks.cpp map<string, Result> buffers; string 64 src/AddImageChecks.cpp const vector<string> &order, string 65 src/AddImageChecks.cpp const map<string, Function> &env, string 74 src/AddImageChecks.cpp map<string, FindBuffers::Result> bufs = finder.buffers; string 92 src/AddImageChecks.cpp map<string, Box> boxes = boxes_touched(s, empty_scope, fb); string 96 src/AddImageChecks.cpp vector<pair<string, Expr>> lets_overflow; string 97 src/AddImageChecks.cpp vector<pair<string, Expr>> lets_required; string 98 src/AddImageChecks.cpp vector<pair<string, Expr>> lets_constrained; string 99 src/AddImageChecks.cpp vector<pair<string, Expr>> lets_proposed; string 115 src/AddImageChecks.cpp map<string, Expr> replace_with_required; string 117 src/AddImageChecks.cpp for (const pair<string, FindBuffers::Result> &buf : bufs) { string 118 src/AddImageChecks.cpp const string &name = buf.first; string 121 src/AddImageChecks.cpp string dim = std::to_string(i); string 138 src/AddImageChecks.cpp map<string, Expr> replace_with_constrained; string 140 src/AddImageChecks.cpp for (pair<const string, FindBuffers::Result> &buf : bufs) { string 141 src/AddImageChecks.cpp const string &name = buf.first; string 150 src/AddImageChecks.cpp string buffer_name = name; string 174 src/AddImageChecks.cpp vector<string> extern_users; string 192 src/AddImageChecks.cpp const string &extern_user = extern_users[i]; string 217 src/AddImageChecks.cpp string error_name = (is_output_buffer ? "Output" : "Input"); string 222 src/AddImageChecks.cpp string type_code_name = name + ".type.code"; string 223 src/AddImageChecks.cpp string type_bits_name = name + ".type.bits"; string 224 src/AddImageChecks.cpp string type_lanes_name = name + ".type.lanes"; string 248 src/AddImageChecks.cpp string dim = std::to_string(j); string 249 src/AddImageChecks.cpp string actual_min_name = name + ".min." + dim; string 250 src/AddImageChecks.cpp string actual_extent_name = name + ".extent." + dim; string 251 src/AddImageChecks.cpp string actual_stride_name = name + ".stride." + dim; string 270 src/AddImageChecks.cpp string min_required_name = name + ".min." + dim + ".required"; string 271 src/AddImageChecks.cpp string extent_required_name = name + ".extent." + dim + ".required"; string 305 src/AddImageChecks.cpp string last_dim = std::to_string(j-1); string 359 src/AddImageChecks.cpp string dim = std::to_string(i); string 372 src/AddImageChecks.cpp string dim = std::to_string(i); string 373 src/AddImageChecks.cpp string min_name = name + ".min." + dim; string 374 src/AddImageChecks.cpp string stride_name = name + ".stride." + dim; string 375 src/AddImageChecks.cpp string extent_name = name + ".extent." + dim; string 409 src/AddImageChecks.cpp std::string min0_name = buffer_name + ".0.min." + dim; string 416 src/AddImageChecks.cpp std::string extent0_name = buffer_name + ".0.extent." + dim; string 481 src/AddImageChecks.cpp const string &name = var.as<Variable>()->name; string 486 src/AddImageChecks.cpp string constrained_var_str = ss.str(); string 500 src/AddImageChecks.cpp string host_name = name; string 28 src/AddImageChecks.h const std::vector<std::string> &order, string 29 src/AddImageChecks.h const std::map<std::string, Function> &env, string 11 src/AddParameterChecks.cpp using std::string; string 18 src/AddParameterChecks.cpp map<string, Parameter> params; string 36 src/AddParameterChecks.cpp map<string, Expr> replace_with_constrained; string 37 src/AddParameterChecks.cpp vector<pair<string, Expr>> lets; string 42 src/AddParameterChecks.cpp string param_name; string 48 src/AddParameterChecks.cpp for (pair<const string, Parameter> &i : finder.params) { string 55 src/AddParameterChecks.cpp string constrained_name = i.first + ".constrained"; string 105 src/AddParameterChecks.cpp string error_call_name = "halide_error_param"; string 11 src/AllocationBoundsInference.cpp using std::string; string 23 src/AllocationBoundsInference.cpp const map<string, Function> &env; string 25 src/AllocationBoundsInference.cpp set<string> touched_by_extern; string 28 src/AllocationBoundsInference.cpp map<string, Function>::const_iterator iter = env.find(op->name); string 31 src/AllocationBoundsInference.cpp const vector<string> f_args = f.args(); string 41 src/AllocationBoundsInference.cpp string prefix = op->name + ".s0." + f_args[i]; string 65 src/AllocationBoundsInference.cpp string prefix = op->name + "." + f_args[i]; string 66 src/AllocationBoundsInference.cpp string min_name = prefix + ".min_realized"; string 67 src/AllocationBoundsInference.cpp string max_name = prefix + ".max_realized"; string 68 src/AllocationBoundsInference.cpp string extent_name = prefix + ".extent_realized"; string 126 src/AllocationBoundsInference.cpp AllocationInference(const map<string, Function> &e, const FuncValueBounds &fb) : string 129 src/AllocationBoundsInference.cpp for (map<string, Function>::const_iterator iter = e.begin(); string 146 src/AllocationBoundsInference.cpp const map<string, Function> &env, string 17 src/AllocationBoundsInference.h const std::map<std::string, Function> &env, string 18 src/AllocationBoundsInference.h const std::map<std::pair<std::string, int>, Interval> &func_bounds); string 9 src/ApplySplit.cpp using std::string; string 12 src/ApplySplit.cpp vector<ApplySplitResult> apply_split(const Split &split, bool is_update, string prefix, string 13 src/ApplySplit.cpp map<string, Expr> &dim_extent_alignment) { string 27 src/ApplySplit.cpp string base_name = prefix + split.inner + ".base"; string 29 src/ApplySplit.cpp string old_var_name = prefix + split.old_var; string 32 src/ApplySplit.cpp map<string, Expr>::iterator iter = dim_extent_alignment.find(split.old_var); string 60 src/ApplySplit.cpp string rebased_var_name = prefix + split.old_var + ".rebased"; string 115 src/ApplySplit.cpp map<string, Expr>::iterator inner_dim = dim_extent_alignment.find(split.inner); string 116 src/ApplySplit.cpp map<string, Expr>::iterator outer_dim = dim_extent_alignment.find(split.outer); string 130 src/ApplySplit.cpp vector<std::pair<string, Expr>> compute_loop_bounds_after_split(const Split &split, string prefix) { string 135 src/ApplySplit.cpp vector<std::pair<string, Expr>> let_stmts; string 26 src/ApplySplit.h std::string name; string 32 src/ApplySplit.h ApplySplitResult(const std::string &n, Expr val, Type t) string 47 src/ApplySplit.h const Split &split, bool is_update, std::string prefix, string 48 src/ApplySplit.h std::map<std::string, Expr> &dim_extent_alignment); string 52 src/ApplySplit.h std::vector<std::pair<std::string, Expr>> compute_loop_bounds_after_split( string 53 src/ApplySplit.h const Split &split, std::string prefix); string 24 src/Argument.h std::string name; string 61 src/Argument.h Argument(const std::string &_name, Kind _kind, const Type &_type, int _dimensions, string 5 src/AssociativeOpsTable.cpp using std::string; string 23 src/Associativity.cpp using std::string; string 43 src/Associativity.cpp const string &func; string 48 src/Associativity.cpp const vector<string> &op_x_names; string 86 src/Associativity.cpp ConvertSelfRef(const string &f, const vector<Expr> &args, int idx, string 87 src/Associativity.cpp const vector<string> &x_names) : string 97 src/Associativity.cpp const vector<string> &x_names, string 98 src/Associativity.cpp const vector<string> &y_names, string 100 src/Associativity.cpp map<string, Expr> &match) { string 102 src/Associativity.cpp map<string, Expr> result; string 158 src/Associativity.cpp bool find_match(const vector<AssociativePattern> &table, const vector<string> &op_x_names, string 159 src/Associativity.cpp const vector<string> &op_y_names, const vector<Expr> &x_parts, string 173 src/Associativity.cpp map<string, Expr> pattern_match; string 228 src/Associativity.cpp bool extract_associative_op(const vector<Expr> exprs, const vector<string> &op_x_names, string 229 src/Associativity.cpp const vector<string> &op_y_names, const vector<Expr> &x_parts, string 308 src/Associativity.cpp AssociativeOp prove_associativity(const string &f, vector<Expr> args, vector<Expr> exprs) { string 317 src/Associativity.cpp vector<string> op_x_names(exprs.size()), op_y_names(exprs.size()); string 385 src/Associativity.cpp vector<string> sub_op_x_names = get_subvector(op_x_names, subgraphs[i]); string 386 src/Associativity.cpp vector<string> sub_op_y_names = get_subvector(op_y_names, subgraphs[i]); string 446 src/Associativity.cpp std::string print_args(const string &f, const vector<Expr> &args, const vector<Expr> &exprs) { string 472 src/Associativity.cpp void check_associativity(const string &f, vector<Expr> args, vector<Expr> exprs, string 480 src/Associativity.cpp map<string, Expr> replacement; string 55 src/Associativity.h std::string var; string 59 src/Associativity.h Replacement(const std::string &var, Expr expr) : var(var), expr(expr) {} string 96 src/Associativity.h const std::string &f, std::vector<Expr> args, std::vector<Expr> exprs); string 22 src/Bounds.cpp using std::string; string 92 src/Bounds.cpp void bounds_of_func(string name, int value_index, Type t) { string 96 src/Bounds.cpp pair<string, int> key = { name, value_index }; string 564 src/Bounds.cpp string var_name = unique_name('t'); string 691 src/Bounds.cpp string min_name = op->name + ".min"; string 692 src/Bounds.cpp string max_name = op->name + ".max"; string 982 src/Bounds.cpp BoxesTouched(bool calls, bool provides, string fn, const Scope<Interval> *s, const FuncValueBounds &fb) : string 987 src/Bounds.cpp map<string, Box> boxes; string 991 src/Bounds.cpp string func; string 1069 src/Bounds.cpp string max_name = unique_name('t'); string 1070 src/Bounds.cpp string min_name = unique_name('t'); string 1077 src/Bounds.cpp for (pair<const string, Box> &i : boxes) { string 1136 src/Bounds.cpp string var_to_pop; string 1223 src/Bounds.cpp map<string, Box> then_boxes, else_boxes; string 1236 src/Bounds.cpp for (pair<const string, Box> &i : then_boxes) { string 1241 src/Bounds.cpp for (pair<const string, Box> &i : else_boxes) { string 1312 src/Bounds.cpp map<string, Box> boxes_touched(Expr e, Stmt s, bool consider_calls, bool consider_provides, string 1313 src/Bounds.cpp string fn, const Scope<Interval> &scope, const FuncValueBounds &fb) { string 1342 src/Bounds.cpp for (pair<const string, Box> &i : provides.boxes) { string 1349 src/Bounds.cpp string fn, const Scope<Interval> &scope, const FuncValueBounds &fb) { string 1350 src/Bounds.cpp map<string, Box> boxes = boxes_touched(e, s, consider_calls, consider_provides, fn, scope, fb); string 1355 src/Bounds.cpp map<string, Box> boxes_required(Expr e, const Scope<Interval> &scope, const FuncValueBounds &fb) { string 1359 src/Bounds.cpp Box box_required(Expr e, string fn, const Scope<Interval> &scope, const FuncValueBounds &fb) { string 1363 src/Bounds.cpp map<string, Box> boxes_required(Stmt s, const Scope<Interval> &scope, const FuncValueBounds &fb) { string 1367 src/Bounds.cpp Box box_required(Stmt s, string fn, const Scope<Interval> &scope, const FuncValueBounds &fb) { string 1371 src/Bounds.cpp map<string, Box> boxes_provided(Expr e, const Scope<Interval> &scope, const FuncValueBounds &fb) { string 1375 src/Bounds.cpp Box box_provided(Expr e, string fn, const Scope<Interval> &scope, const FuncValueBounds &fb) { string 1379 src/Bounds.cpp map<string, Box> boxes_provided(Stmt s, const Scope<Interval> &scope, const FuncValueBounds &fb) { string 1383 src/Bounds.cpp Box box_provided(Stmt s, string fn, const Scope<Interval> &scope, const FuncValueBounds &fb) { string 1387 src/Bounds.cpp map<string, Box> boxes_touched(Expr e, const Scope<Interval> &scope, const FuncValueBounds &fb) { string 1391 src/Bounds.cpp Box box_touched(Expr e, string fn, const Scope<Interval> &scope, const FuncValueBounds &fb) { string 1395 src/Bounds.cpp map<string, Box> boxes_touched(Stmt s, const Scope<Interval> &scope, const FuncValueBounds &fb) { string 1399 src/Bounds.cpp Box box_touched(Stmt s, string fn, const Scope<Interval> &scope, const FuncValueBounds &fb) { string 1418 src/Bounds.cpp FuncValueBounds compute_function_value_bounds(const vector<string> &order, string 1419 src/Bounds.cpp const map<string, Function> &env) { string 1424 src/Bounds.cpp const vector<string> f_args = f.args(); string 1426 src/Bounds.cpp pair<string, int> key = { f.name(), j }; string 1556 src/Bounds.cpp map<string, Box> r; string 86 src/Bounds.h std::map<std::string, Box> boxes_required(Expr e, string 89 src/Bounds.h std::map<std::string, Box> boxes_required(Stmt s, string 98 src/Bounds.h std::map<std::string, Box> boxes_provided(Expr e, string 101 src/Bounds.h std::map<std::string, Box> boxes_provided(Stmt s, string 110 src/Bounds.h std::map<std::string, Box> boxes_touched(Expr e, string 113 src/Bounds.h std::map<std::string, Box> boxes_touched(Stmt s, string 120 src/Bounds.h Box box_required(Expr e, std::string fn, string 123 src/Bounds.h Box box_required(Stmt s, std::string fn, string 127 src/Bounds.h Box box_provided(Expr e, std::string fn, string 130 src/Bounds.h Box box_provided(Stmt s, std::string fn, string 134 src/Bounds.h Box box_touched(Expr e, std::string fn, string 137 src/Bounds.h Box box_touched(Stmt s, std::string fn, string 144 src/Bounds.h FuncValueBounds compute_function_value_bounds(const std::vector<std::string> &order, string 145 src/Bounds.h const std::map<std::string, Function> &env); string 13 src/BoundsInference.cpp using std::string; string 64 src/BoundsInference.cpp BoundsOfInnerVar(const string &v) : var(v) {} string 67 src/BoundsInference.cpp string var; string 99 src/BoundsInference.cpp Interval bounds_of_inner_var(string var, Stmt s) { string 111 src/BoundsInference.cpp set<string> in_pipeline, inner_productions; string 125 src/BoundsInference.cpp string name; string 127 src/BoundsInference.cpp map<pair<string, int>, Box> bounds; string 130 src/BoundsInference.cpp string stage_prefix; string 247 src/BoundsInference.cpp bool is_dim_always_pure(const Definition &def, const string& dim, int dim_idx) { string 264 src/BoundsInference.cpp string producing_stage, string 265 src/BoundsInference.cpp string loop_level, string 267 src/BoundsInference.cpp const set<string> &in_pipeline, string 268 src/BoundsInference.cpp const set<string> inner_productions, string 274 src/BoundsInference.cpp const vector<string> func_args = func.args(); string 276 src/BoundsInference.cpp for (const pair<pair<string, int>, Box> &i : bounds) { string 277 src/BoundsInference.cpp string func_name = i.first.first; string 278 src/BoundsInference.cpp string stage_name = func_name + ".s" + std::to_string(i.first.second); string 305 src/BoundsInference.cpp string last_stage = func.name() + ".s" + std::to_string(stages) + "."; string 308 src/BoundsInference.cpp const string &dim = func_args[i]; string 341 src/BoundsInference.cpp string outer_query_name = func.name() + ".outer_bounds_query"; string 343 src/BoundsInference.cpp string inner_query_name = func.name() + ".o0.bounds_query"; string 381 src/BoundsInference.cpp string inner_query_name = func.name() + ".o0.bounds_query"; string 401 src/BoundsInference.cpp string prefix = name + ".s" + std::to_string(stage) + "."; string 408 src/BoundsInference.cpp string min_var = prefix + bound.var + ".min"; string 409 src/BoundsInference.cpp string max_var = prefix + bound.var + ".max"; string 452 src/BoundsInference.cpp string arg = name + ".s" + std::to_string(stage) + "." + func_args[d]; string 464 src/BoundsInference.cpp string arg = name + ".s" + std::to_string(stage) + "." + rvar.var; string 473 src/BoundsInference.cpp Stmt do_bounds_query(Stmt s, const set<string> &in_pipeline, const Target &target) { string 475 src/BoundsInference.cpp const string &extern_name = func.extern_function_name(); string 480 src/BoundsInference.cpp vector<pair<string, Expr>> lets; string 496 src/BoundsInference.cpp string name = input.name() + ".o" + std::to_string(k) + ".bounds_query." + func.name(); string 510 src/BoundsInference.cpp string name = args[j].is_image_param() ? p.name() : b.name(); string 516 src/BoundsInference.cpp string query_name = name + ".bounds_query." + func.name(); string 543 src/BoundsInference.cpp for (const string arg : func.args()) { string 544 src/BoundsInference.cpp string prefix = func.name() + ".s" + std::to_string(stage) + "." + arg; string 553 src/BoundsInference.cpp string buf_name = func.name() + ".o" + std::to_string(j) + ".bounds_query"; string 584 src/BoundsInference.cpp string result_name = unique_name('t'); string 611 src/BoundsInference.cpp for (const string farg : func.args()) { string 612 src/BoundsInference.cpp string arg = name + ".s" + std::to_string(stage) + "." + farg; string 619 src/BoundsInference.cpp string arg = name + ".s" + std::to_string(stage) + "." + rv.var; string 726 src/BoundsInference.cpp map<string, Box> boxes; string 736 src/BoundsInference.cpp string stage_name = f.name() + ".s" + std::to_string(f.updates().size()); string 739 src/BoundsInference.cpp string buf_name = f.name() + ".o0.bounds_query." + consumer.name; string 753 src/BoundsInference.cpp map<string, Box> new_boxes; string 809 src/BoundsInference.cpp string buffer_name = output.name(); string 843 src/BoundsInference.cpp set<string> old_inner_productions; string 851 src/BoundsInference.cpp vector<pair<string, Expr>> lets; string 867 src/BoundsInference.cpp string stage_name; string 917 src/BoundsInference.cpp const vector<string> f_args = f.args(); string 920 src/BoundsInference.cpp string var = stage_name + "." + f_args[i]; string 951 src/BoundsInference.cpp string var = s.stage_prefix + rv.var; string 994 src/BoundsInference.cpp const vector<string> &order, string 995 src/BoundsInference.cpp const map<string, Function> &env, string 23 src/BoundsInference.h const std::vector<std::string> &realization_order, string 24 src/BoundsInference.h const std::map<std::string, Function> &environment, string 25 src/BoundsInference.h const std::map<std::pair<std::string, int>, Interval> &func_bounds, string 18 src/Buffer.h std::string name; string 33 src/Buffer.h meta_or<std::is_convertible<T, std::string>, string 39 src/Buffer.h typename = typename std::enable_if<!std::is_convertible<T, std::string>::value>::type> string 40 src/Buffer.h std::string get_name_from_end_of_parameter_pack(T&&) { string 44 src/Buffer.h inline std::string get_name_from_end_of_parameter_pack(const std::string &n) { string 48 src/Buffer.h inline std::string get_name_from_end_of_parameter_pack() { string 55 src/Buffer.h std::string get_name_from_end_of_parameter_pack(First first, Second second, Args&&... rest) { string 59 src/Buffer.h inline void get_shape_from_start_of_parameter_pack_helper(std::vector<int> &, const std::string &) { string 126 src/Buffer.h Buffer(Runtime::Buffer<T, D> &&buf, const std::string &name = "") : string 149 src/Buffer.h const std::string &name = "") : string 153 src/Buffer.h const std::string &name = "") : string 164 src/Buffer.h const std::string &name = "") : string 168 src/Buffer.h const std::string &name = "") : string 173 src/Buffer.h const std::string &name = "") : string 193 src/Buffer.h const std::string &name = "") : string 199 src/Buffer.h const std::string &name = "") : string 206 src/Buffer.h const std::string &name = "") : string 212 src/Buffer.h const std::string &name = "") : string 216 src/Buffer.h static Buffer<T> make_scalar(const std::string &name = "") { string 220 src/Buffer.h static Buffer<> make_scalar(Type t, const std::string &name = "") { string 224 src/Buffer.h static Buffer<T> make_interleaved(int width, int height, int channels, const std::string &name = "") { string 229 src/Buffer.h static Buffer<> make_interleaved(Type t, int width, int height, int channels, const std::string &name = "") { string 234 src/Buffer.h static Buffer<T> make_interleaved(T *data, int width, int height, int channels, const std::string &name = "") { string 240 src/Buffer.h make_interleaved(Type t, T *data, int width, int height, int channels, const std::string &name = "") { string 250 src/Buffer.h const std::string &name = "") { string 259 src/Buffer.h const std::string &name = "") { string 267 src/Buffer.h void set_name(const std::string &n) { string 271 src/Buffer.h const std::string &name() const { string 26 src/CPlusPlusMangle.cpp std::string full_name; string 27 src/CPlusPlusMangle.cpp std::string with_substitutions; string 30 src/CPlusPlusMangle.cpp MangledNamePart(const std::string &mangled) : full_name(mangled), with_substitutions(mangled) { } string 46 src/CPlusPlusMangle.cpp std::map<std::string, int> prev_types; string 47 src/CPlusPlusMangle.cpp std::map<std::string, int> prev_names; string 49 src/CPlusPlusMangle.cpp std::string check_and_enter(std::map<std::string, int> &table, const std::string &name, const std::string &full) { string 63 src/CPlusPlusMangle.cpp return std::string(1, (char)('0' + sub)); string 69 src/CPlusPlusMangle.cpp std::string check_and_enter_type(const MangledNamePart &mangled) { string 76 src/CPlusPlusMangle.cpp std::string check_and_enter_name(std::string name) { string 81 src/CPlusPlusMangle.cpp std::string simple_type_to_mangle_char(const std::string type_name, const Target &target) { string 113 src/CPlusPlusMangle.cpp std::string one_qualifier_set(bool is_const, bool is_volatile, bool is_restrict, bool is_pointer_target, const std::string &base_mode) { string 131 src/CPlusPlusMangle.cpp const std::string base_mode; string 132 src/CPlusPlusMangle.cpp std::string result; string 136 src/CPlusPlusMangle.cpp QualsState(const Type &type, const std::string &base_mode) : type(type), base_mode(base_mode) { } string 177 src/CPlusPlusMangle.cpp const std::string &get_result() { string 182 src/CPlusPlusMangle.cpp std::string mangle_indirection_and_cvr_quals(const Type &type, const Target &target) { string 195 src/CPlusPlusMangle.cpp std::string quals = mangle_indirection_and_cvr_quals(type, target); string 199 src/CPlusPlusMangle.cpp std::string code; string 274 src/CPlusPlusMangle.cpp std::string cplusplus_function_mangled_name(const std::string &name, const std::vector<std::string> &namespaces, string 277 src/CPlusPlusMangle.cpp std::string result("\1?"); string 313 src/CPlusPlusMangle.cpp std::string itanium_mangle_id(std::string id) { string 319 src/CPlusPlusMangle.cpp std::string simple_type_to_mangle_char(const std::string type_name, const Target &target) { string 364 src/CPlusPlusMangle.cpp std::string modifiers; string 365 src/CPlusPlusMangle.cpp std::string indirections; string 369 src/CPlusPlusMangle.cpp std::map<std::string, int32_t> prev_seen; string 371 src/CPlusPlusMangle.cpp bool check_and_enter(const std::string &prefix, std::string &substitute) { string 377 src/CPlusPlusMangle.cpp std::string seq_id; string 382 src/CPlusPlusMangle.cpp seq_id = std::string(1, (char)('0' + least_sig_digit)) + seq_id; string 393 src/CPlusPlusMangle.cpp bool extend_name_part(MangledNamePart &name_part, const std::string mangled) { string 394 src/CPlusPlusMangle.cpp std::string substitute; string 405 src/CPlusPlusMangle.cpp bool prepend_name_part(const std::string mangled, MangledNamePart &name_part) { string 406 src/CPlusPlusMangle.cpp std::string substitute; string 428 src/CPlusPlusMangle.cpp std::string quals; string 460 src/CPlusPlusMangle.cpp MangledNamePart mangle_qualified_name(std::string name, const std::vector<std::string> &namespaces, string 468 src/CPlusPlusMangle.cpp std::string substitute; string 492 src/CPlusPlusMangle.cpp std::string mangled = itanium_mangle_id(name); string 507 src/CPlusPlusMangle.cpp std::string mangle_inner_name(const Type &type, const Target &target, PrevPrefixes &prevs) { string 518 src/CPlusPlusMangle.cpp std::string mangle_type(const Type &type, const Target &target, PrevPrefixes &prevs) { string 575 src/CPlusPlusMangle.cpp std::string cplusplus_function_mangled_name(const std::string &name, const std::vector<std::string> &namespaces, string 578 src/CPlusPlusMangle.cpp std::string result("_Z"); string 596 src/CPlusPlusMangle.cpp std::string cplusplus_function_mangled_name(const std::string &name, const std::vector<std::string> &namespaces, string 790 src/CPlusPlusMangle.cpp const Target &target, const std::string &mangled_name) { string 20 src/CPlusPlusMangle.h EXPORT std::string cplusplus_function_mangled_name(const std::string &name, const std::vector<std::string> &namespaces, string 14 src/CSE.cpp using std::string; string 282 src/CSE.cpp vector<pair<string, Expr>> lets; string 289 src/CSE.cpp string name = unique_name('t'); string 332 src/CSE.cpp map<string, string> new_names; string 337 src/CSE.cpp map<string, string>::iterator iter = new_names.find(var->name); string 346 src/CSE.cpp string new_name = "t" + std::to_string(counter++); string 372 src/CSE.cpp string name = "t" + std::to_string(i-1); string 15 src/CanonicalizeGPUVars.cpp using std::string; string 18 src/CanonicalizeGPUVars.cpp string thread_names[] = {"__thread_id_x", "__thread_id_y", "__thread_id_z", "__thread_id_w"}; string 19 src/CanonicalizeGPUVars.cpp string block_names[] = {"__block_id_x", "__block_id_y", "__block_id_z", "__block_id_w"}; string 21 src/CanonicalizeGPUVars.cpp string get_thread_name(int index) { string 26 src/CanonicalizeGPUVars.cpp string get_block_name(int index) { string 32 src/CanonicalizeGPUVars.cpp string prefix; // Producer name + stage string 66 src/CanonicalizeGPUVars.cpp CountGPUBlocksThreads(const string &p) : prefix(p), nblocks(0), nthreads(0) {} string 72 src/CanonicalizeGPUVars.cpp map<string, string> gpu_vars; string 76 src/CanonicalizeGPUVars.cpp string gpu_name(vector<string> v, const string &new_var) { string 89 src/CanonicalizeGPUVars.cpp string find_replacement(const string &suffix, const string &name) { string 90 src/CanonicalizeGPUVars.cpp vector<string> v = split_string(name, suffix); string 99 src/CanonicalizeGPUVars.cpp string canonicalize_let(const string &name) { string 112 src/CanonicalizeGPUVars.cpp string name = op->name; string 120 src/CanonicalizeGPUVars.cpp vector<string> v = split_string(op->name, "."); string 163 src/CanonicalizeGPUVars.cpp string name = canonicalize_let(op->name); string 182 src/CanonicalizeGPUVars.cpp map<string, string> old_gpu_vars; string 7 src/Closure.cpp using std::string; string 12 src/Closure.cpp Closure::Closure(Stmt s, const string &loop_variable) { string 41 src/Closure.cpp void Closure::found_buffer_ref(const string &name, Type type, string 60 src/Closure.h void found_buffer_ref(const std::string &name, Type type, string 73 src/Closure.h Closure(Stmt s, const std::string &loop_variable = ""); string 76 src/Closure.h std::map<std::string, Type> vars; string 79 src/Closure.h std::map<std::string, Buffer> buffers; string 19 src/CodeGen_ARM.cpp using std::string; string 51 src/CodeGen_ARM.cpp string t_str = oss.str(); string 538 src/CodeGen_ARM.cpp string intrin; string 540 src/CodeGen_ARM.cpp intrin = (string("llvm.arm.neon.") + (op->type.is_uint() ? "vminu." : "vmins.")) + patterns[i].op; string 611 src/CodeGen_ARM.cpp string intrin; string 613 src/CodeGen_ARM.cpp intrin = (string("llvm.arm.neon.") + (op->type.is_uint() ? "vmaxu." : "vmaxs.")) + patterns[i].op; string 656 src/CodeGen_ARM.cpp vector<pair<string, Expr>> lets; string 974 src/CodeGen_ARM.cpp string CodeGen_ARM::mcpu() const { string 990 src/CodeGen_ARM.cpp string CodeGen_ARM::mattrs() const { string 42 src/CodeGen_ARM.h std::string intrin32; ///< Name of the intrinsic for 32-bit arm string 43 src/CodeGen_ARM.h std::string intrin64; ///< Name of the intrinsic for 64-bit arm string 53 src/CodeGen_ARM.h Pattern(const std::string &i32, const std::string &i64, int l, Expr p, PatternType t = Simple) : string 67 src/CodeGen_ARM.h std::string mcpu() const; string 68 src/CodeGen_ARM.h std::string mattrs() const; string 18 src/CodeGen_C.cpp using std::string; string 35 src/CodeGen_C.cpp const string headers = string 44 src/CodeGen_C.cpp const string globals = string 115 src/CodeGen_C.cpp CodeGen_C::CodeGen_C(ostream &s, Target t, OutputKind output_kind, const std::string &guard) : string 223 src/CodeGen_C.cpp string type_to_c_type(Type type, bool include_space, bool c_plus_plus = true) { string 317 src/CodeGen_C.cpp string CodeGen_C::print_type(Type type, AppendSpaceIfNeeded space_option) { string 321 src/CodeGen_C.cpp string CodeGen_C::print_reinterpret(Type type, Expr e) { string 333 src/CodeGen_C.cpp string CodeGen_C::print_name(const string &name) { string 358 src/CodeGen_C.cpp std::map<string, NamespaceOrCall> names; string 361 src/CodeGen_C.cpp std::map<string, NamespaceOrCall> c_plus_plus_externs; string 362 src/CodeGen_C.cpp std::map<string, const Call *> c_externs; string 363 src/CodeGen_C.cpp std::set<std::string> &emitted; string 374 src/CodeGen_C.cpp std::vector<std::string> namespaces; string 375 src/CodeGen_C.cpp std::string name = extract_namespaces(op->name, namespaces); string 376 src/CodeGen_C.cpp std::map<string, NamespaceOrCall> *namespace_map(&c_plus_plus_externs); string 387 src/CodeGen_C.cpp void emit_function_decl(ostream &stream, const Call *op, const std::string &name) { string 408 src/CodeGen_C.cpp void emit_namespace_or_call(ostream &stream, const NamespaceOrCall &ns_or_call, const std::string &name) { string 421 src/CodeGen_C.cpp ExternCallPrototypes(std::set<string> &emitted, bool in_c_plus_plus) string 433 src/CodeGen_C.cpp string name(str + j + 1, i-j-1); string 547 src/CodeGen_C.cpp std::vector<std::string> namespaces; string 548 src/CodeGen_C.cpp std::string simple_name = extract_namespaces(f.name, namespaces); string 629 src/CodeGen_C.cpp string name = print_name(buffer.name()); string 677 src/CodeGen_C.cpp string CodeGen_C::print_expr(Expr e) { string 687 src/CodeGen_C.cpp string CodeGen_C::print_assignment(Type t, const std::string &rhs) { string 689 src/CodeGen_C.cpp map<string, string>::iterator cached = cache.find(rhs); string 709 src/CodeGen_C.cpp void CodeGen_C::close_scope(const std::string &comment) { string 729 src/CodeGen_C.cpp string sa = print_expr(a); string 730 src/CodeGen_C.cpp string sb = print_expr(b); string 887 src/CodeGen_C.cpp string filename = string_imm->value; string 888 src/CodeGen_C.cpp string typecode = print_expr(op->args[1]); string 889 src/CodeGen_C.cpp string buffer = print_name(print_expr(op->args[2])); string 898 src/CodeGen_C.cpp string a0 = print_expr(op->args[0]); string 899 src/CodeGen_C.cpp string a1 = print_expr(op->args[1]); string 903 src/CodeGen_C.cpp string a0 = print_expr(op->args[0]); string 904 src/CodeGen_C.cpp string a1 = print_expr(op->args[1]); string 908 src/CodeGen_C.cpp string a0 = print_expr(op->args[0]); string 909 src/CodeGen_C.cpp string a1 = print_expr(op->args[1]); string 919 src/CodeGen_C.cpp string a0 = print_expr(op->args[0]); string 920 src/CodeGen_C.cpp string a1 = print_expr(op->args[1]); string 924 src/CodeGen_C.cpp string a0 = print_expr(op->args[0]); string 925 src/CodeGen_C.cpp string a1 = print_expr(op->args[1]); string 939 src/CodeGen_C.cpp string arg0 = print_expr(op->args[0]); string 940 src/CodeGen_C.cpp string arg1 = print_expr(op->args[1]); string 945 src/CodeGen_C.cpp string result_id = unique_name('_'); string 951 src/CodeGen_C.cpp string cond_id = print_expr(op->args[0]); string 956 src/CodeGen_C.cpp string true_case = print_expr(op->args[1]); string 963 src/CodeGen_C.cpp string false_case = print_expr(op->args[2]); string 975 src/CodeGen_C.cpp string arg = print_expr(op->args[0]); string 984 src/CodeGen_C.cpp string buf_name = unique_name('b'); string 989 src/CodeGen_C.cpp string size = print_expr(simplify((op->args[0] + 7)/8)); string 991 src/CodeGen_C.cpp string array_name = unique_name('a'); string 1003 src/CodeGen_C.cpp vector<string> values; string 1013 src/CodeGen_C.cpp string struct_name = unique_name('s'); string 1029 src/CodeGen_C.cpp vector<string> printf_args; string 1030 src/CodeGen_C.cpp string format_string = ""; string 1054 src/CodeGen_C.cpp string buf_name = unique_name('b'); string 1069 src/CodeGen_C.cpp string arg = print_expr(op->args[1]); string 1071 src/CodeGen_C.cpp string call = string 1078 src/CodeGen_C.cpp string struct_name = unique_name('s'); string 1079 src/CodeGen_C.cpp string instance_name = unique_name('d'); string 1112 src/CodeGen_C.cpp vector<string> args(op->args.size()); string 1165 src/CodeGen_C.cpp string id_index = print_expr(op->index); string 1166 src/CodeGen_C.cpp string id_value = print_expr(op->value); string 1188 src/CodeGen_C.cpp string id_value = print_expr(op->value); string 1206 src/CodeGen_C.cpp string true_val = print_expr(op->true_value); string 1207 src/CodeGen_C.cpp string false_val = print_expr(op->false_value); string 1208 src/CodeGen_C.cpp string cond = print_expr(op->condition); string 1218 src/CodeGen_C.cpp string id_value = print_expr(op->value); string 1235 src/CodeGen_C.cpp string id_cond = print_expr(op->condition); string 1245 src/CodeGen_C.cpp string id_msg = print_expr(op->message); string 1270 src/CodeGen_C.cpp string id_min = print_expr(op->min); string 1271 src/CodeGen_C.cpp string id_extent = print_expr(op->extent); string 1301 src/CodeGen_C.cpp string size_id; string 1332 src/CodeGen_C.cpp string new_size_id_rhs; string 1333 src/CodeGen_C.cpp string next_extent = print_expr(op->extents[i]); string 1401 src/CodeGen_C.cpp string free_function = allocations.get(op->name).free_function; string 1425 src/CodeGen_C.cpp string cond_id = print_expr(op->condition); string 1444 src/CodeGen_C.cpp string id = print_expr(op->value); string 1481 src/CodeGen_C.cpp string src = source.str(); string 1482 src/CodeGen_C.cpp string correct_source = string 1485 src/CodeGen_C.cpp string((const char *)halide_internal_runtime_header_HalideRuntime_h) + '\n' + string 1486 src/CodeGen_C.cpp string((const char *)halide_internal_initmod_inlined_c) + R"GOLDEN_CODE( string 38 src/CodeGen_C.h const std::string &include_guard = ""); string 55 src/CodeGen_C.h std::string id; string 65 src/CodeGen_C.h std::map<std::string, std::string> cache; string 68 src/CodeGen_C.h std::set<std::string> emitted; string 72 src/CodeGen_C.h std::string print_expr(Expr); string 87 src/CodeGen_C.h virtual std::string print_type(Type, AppendSpaceIfNeeded space_option = DoNotAppendSpace); string 90 src/CodeGen_C.h virtual std::string print_reinterpret(Type, Expr); string 93 src/CodeGen_C.h virtual std::string print_name(const std::string &); string 96 src/CodeGen_C.h std::string print_assignment(Type t, const std::string &rhs); string 114 src/CodeGen_C.h void close_scope(const std::string &comment); string 118 src/CodeGen_C.h std::string free_function; string 10 src/CodeGen_GPU_Dev.cpp bool CodeGen_GPU_Dev::is_gpu_var(const std::string &name) { string 14 src/CodeGen_GPU_Dev.cpp bool CodeGen_GPU_Dev::is_gpu_block_var(const std::string &name) { string 21 src/CodeGen_GPU_Dev.cpp bool CodeGen_GPU_Dev::is_gpu_thread_var(const std::string &name) { string 83 src/CodeGen_GPU_Dev.cpp const std::string &buffer; string 85 src/CodeGen_GPU_Dev.cpp IsBufferConstant(const std::string &b) : result(true), buffer(b) { string 91 src/CodeGen_GPU_Dev.cpp const std::string &buffer) { string 22 src/CodeGen_GPU_Dev.h const std::string &name, string 32 src/CodeGen_GPU_Dev.h virtual std::string get_current_kernel_name() = 0; string 40 src/CodeGen_GPU_Dev.h virtual std::string api_unique_name() = 0; string 45 src/CodeGen_GPU_Dev.h virtual std::string print_gpu_name(const std::string &name) = 0; string 47 src/CodeGen_GPU_Dev.h static bool is_gpu_var(const std::string &name); string 48 src/CodeGen_GPU_Dev.h static bool is_gpu_block_var(const std::string &name); string 49 src/CodeGen_GPU_Dev.h static bool is_gpu_thread_var(const std::string &name); string 59 src/CodeGen_GPU_Dev.h static bool is_buffer_constant(Stmt kernel, const std::string &buffer); string 22 src/CodeGen_GPU_Host.cpp using std::string; string 137 src/CodeGen_GPU_Host.cpp const std::string &simple_name, string 138 src/CodeGen_GPU_Host.cpp const std::string &extern_name) { string 175 src/CodeGen_GPU_Host.cpp std::string api_unique_name = gpu_codegen->api_unique_name(); string 201 src/CodeGen_GPU_Host.cpp std::string init_kernels_name = "halide_" + api_unique_name + "_initialize_kernels"; string 240 src/CodeGen_GPU_Host.cpp string kernel_name = unique_name("kernel_" + loop->name); string 356 src/CodeGen_GPU_Host.cpp string name = closure_args[i].name; string 428 src/CodeGen_GPU_Host.cpp std::string api_unique_name = gpu_codegen->api_unique_name(); string 471 src/CodeGen_GPU_Host.cpp std::string run_fn_name = "halide_" + api_unique_name + "_run"; string 487 src/CodeGen_GPU_Host.cpp Value *CodeGen_GPU_Host<CodeGen_CPU>::get_module_state(const std::string &api_unique_name, string 489 src/CodeGen_GPU_Host.cpp std::string name = "module_state_" + function_name + "_" + api_unique_name; string 36 src/CodeGen_GPU_Host.h void compile_func(const LoweredFunc &func, const std::string &simple_name, const std::string &extern_name); string 69 src/CodeGen_GPU_Host.h std::string function_name; string 71 src/CodeGen_GPU_Host.h llvm::Value *get_module_state(const std::string &api_unique_name, string 27 src/CodeGen_Hexagon.cpp using std::string; string 126 src/CodeGen_Hexagon.cpp string hvx_lock_result_name = unique_name("hvx_lock_result"); string 181 src/CodeGen_Hexagon.cpp const string &simple_name, const string &extern_name) { string 571 src/CodeGen_Hexagon.cpp llvm::Function *CodeGen_Hexagon::define_hvx_intrinsic(int id, Type ret_ty, const string &name, string 579 src/CodeGen_Hexagon.cpp llvm::Function *CodeGen_Hexagon::define_hvx_intrinsic(llvm::Function *intrin, Type ret_ty, const string &name, string 1183 src/CodeGen_Hexagon.cpp string mux = "halide.hexagon.mux"; string 1198 src/CodeGen_Hexagon.cpp string type_suffix(Type type, bool signed_variants = true) { string 1199 src/CodeGen_Hexagon.cpp string prefix = type.is_vector() ? ".v" : "."; string 1217 src/CodeGen_Hexagon.cpp string type_suffix(Expr a, bool signed_variants = true) { string 1221 src/CodeGen_Hexagon.cpp string type_suffix(Expr a, Expr b, bool signed_variants = true) { string 1225 src/CodeGen_Hexagon.cpp string type_suffix(const vector<Expr> &ops, bool signed_variants = true) { string 1227 src/CodeGen_Hexagon.cpp string suffix = type_suffix(ops.front(), signed_variants); string 1236 src/CodeGen_Hexagon.cpp Value *CodeGen_Hexagon::call_intrin(Type result_type, const string &name, string 1256 src/CodeGen_Hexagon.cpp Value *CodeGen_Hexagon::call_intrin(llvm::Type *result_type, const string &name, string 1276 src/CodeGen_Hexagon.cpp string CodeGen_Hexagon::mcpu() const { string 1284 src/CodeGen_Hexagon.cpp string CodeGen_Hexagon::mattrs() const { string 1430 src/CodeGen_Hexagon.cpp static std::map<string, std::pair<string, bool>> functions = { string 1458 src/CodeGen_Hexagon.cpp string intrin = string 1466 src/CodeGen_Hexagon.cpp string instr = op->is_intrinsic(Call::shift_left) ? "halide.hexagon.shl" : "halide.hexagon.shr"; string 1558 src/CodeGen_Hexagon.cpp string v62_suffix = ""; string 23 src/CodeGen_Hexagon.h const std::string &simple_name, const std::string &extern_name); string 30 src/CodeGen_Hexagon.h std::string mcpu() const; string 31 src/CodeGen_Hexagon.h std::string mattrs() const; string 36 src/CodeGen_Hexagon.h const std::string &name, string 40 src/CodeGen_Hexagon.h const std::string &name, string 87 src/CodeGen_Hexagon.h llvm::Value *call_intrin(Type t, const std::string &name, string 89 src/CodeGen_Hexagon.h llvm::Value *call_intrin(llvm::Type *t, const std::string &name, string 10 src/CodeGen_Internal.cpp using std::string; string 139 src/CodeGen_Internal.cpp bool function_takes_user_context(const std::string &name) { string 290 src/CodeGen_Internal.cpp string index_name = "scalarized_load_index"; string 292 src/CodeGen_Internal.cpp string predicate_name = "scalarized_load_predicate"; string 326 src/CodeGen_Internal.cpp string value_name = "scalarized_store_value"; string 328 src/CodeGen_Internal.cpp string index_name = "scalarized_store_index"; string 330 src/CodeGen_Internal.cpp string predicate_name = "scalarized_store_predicate"; string 373 src/CodeGen_Internal.cpp bool get_md_string(llvm::Metadata *value, std::string &result) { string 386 src/CodeGen_Internal.cpp void get_target_options(const llvm::Module &module, llvm::TargetOptions &options, std::string &mcpu, std::string &mattrs) { string 433 src/CodeGen_Internal.cpp std::string mcpu; string 438 src/CodeGen_Internal.cpp std::string mattrs; string 445 src/CodeGen_Internal.cpp std::string error_string; string 455 src/CodeGen_Internal.cpp std::string mcpu = ""; string 456 src/CodeGen_Internal.cpp std::string mattrs = ""; string 51 src/CodeGen_Internal.h bool function_takes_user_context(const std::string &name); string 70 src/CodeGen_Internal.h void get_target_options(const llvm::Module &module, llvm::TargetOptions &options, std::string &mcpu, std::string &mattrs); string 50 src/CodeGen_LLVM.cpp using std::string; string 333 src/CodeGen_LLVM.cpp std::string args = get_env_variable("HL_LLVM_ARGS"); string 335 src/CodeGen_LLVM.cpp vector<std::string> arg_vec = split_string(args, " "); string 338 src/CodeGen_LLVM.cpp for (const std::string &s : arg_vec) { string 436 src/CodeGen_LLVM.cpp string simple_name; string 437 src/CodeGen_LLVM.cpp string extern_name; string 438 src/CodeGen_LLVM.cpp string argv_name; string 439 src/CodeGen_LLVM.cpp string metadata_name; string 442 src/CodeGen_LLVM.cpp MangledNames get_mangled_names(const std::string &name, string 447 src/CodeGen_LLVM.cpp std::vector<std::string> namespaces; string 562 src/CodeGen_LLVM.cpp void CodeGen_LLVM::begin_func(LoweredFunc::LinkageType linkage, const std::string& name, string 563 src/CodeGen_LLVM.cpp const std::string& extern_name, const std::vector<LoweredArgument>& args) { string 662 src/CodeGen_LLVM.cpp void CodeGen_LLVM::compile_func(const LoweredFunc &f, const std::string &simple_name, string 663 src/CodeGen_LLVM.cpp const std::string &extern_name) { string 869 src/CodeGen_LLVM.cpp llvm::Function *CodeGen_LLVM::add_argv_wrapper(const std::string &name) { string 902 src/CodeGen_LLVM.cpp llvm::Function *CodeGen_LLVM::embed_metadata_getter(const std::string &metadata_name, string 903 src/CodeGen_LLVM.cpp const std::string &function_name, const std::vector<LoweredArgument> &args) { string 1054 src/CodeGen_LLVM.cpp void CodeGen_LLVM::sym_push(const string &name, llvm::Value *value) { string 1061 src/CodeGen_LLVM.cpp void CodeGen_LLVM::sym_pop(const string &name) { string 1065 src/CodeGen_LLVM.cpp llvm::Value *CodeGen_LLVM::sym_get(const string &name, bool must_succeed) const { string 1085 src/CodeGen_LLVM.cpp bool CodeGen_LLVM::sym_exists(const string &name) const { string 1343 src/CodeGen_LLVM.cpp string a_name = unique_name('a'); string 1344 src/CodeGen_LLVM.cpp string b_name = unique_name('b'); string 1353 src/CodeGen_LLVM.cpp string a_name = unique_name('a'); string 1354 src/CodeGen_LLVM.cpp string b_name = unique_name('b'); string 1488 src/CodeGen_LLVM.cpp Value *CodeGen_LLVM::codegen_buffer_pointer(string buffer, Halide::Type type, Expr index) { string 1509 src/CodeGen_LLVM.cpp Value *CodeGen_LLVM::codegen_buffer_pointer(string buffer, Halide::Type type, Value *index) { string 1551 src/CodeGen_LLVM.cpp void CodeGen_LLVM::add_tbaa_metadata(llvm::Instruction *inst, string buffer, Expr index) { string 2168 src/CodeGen_LLVM.cpp string name = (t.is_float() ? "abs_f" : "abs_i") + std::to_string(t.bits()); string 2176 src/CodeGen_LLVM.cpp string x_name = unique_name('x'); string 2189 src/CodeGen_LLVM.cpp string name; string 2206 src/CodeGen_LLVM.cpp string a_name = unique_name('a'); string 2207 src/CodeGen_LLVM.cpp string b_name = unique_name('b'); string 2522 src/CodeGen_LLVM.cpp const string sub_fn_name = op->args[i+1].as<StringImm>()->value; string 2523 src/CodeGen_LLVM.cpp string extern_sub_fn_name = sub_fn_name; string 2557 src/CodeGen_LLVM.cpp const string global_name = unique_name(base_fn->getName().str() + "_indirect_fn_ptr"); string 2665 src/CodeGen_LLVM.cpp std::string name; string 2671 src/CodeGen_LLVM.cpp std::vector<std::string> namespaces; string 2842 src/CodeGen_LLVM.cpp Constant *CodeGen_LLVM::create_string_constant(const string &s) { string 2843 src/CodeGen_LLVM.cpp map<string, Constant *>::iterator iter = string_constants.find(s); string 2857 src/CodeGen_LLVM.cpp Constant *CodeGen_LLVM::create_binary_blob(const vector<char> &data, const string &name, bool constant) { string 2923 src/CodeGen_LLVM.cpp string name; string 2925 src/CodeGen_LLVM.cpp name = std::string("produce ") + op->name; string 2927 src/CodeGen_LLVM.cpp name = std::string("consume ") + op->name; string 2945 src/CodeGen_LLVM.cpp BasicBlock *loop_bb = BasicBlock::Create(*context, std::string("for ") + op->name, function); string 2947 src/CodeGen_LLVM.cpp BasicBlock *after_bb = BasicBlock::Create(*context, std::string("end for ") + op->name, function); string 3251 src/CodeGen_LLVM.cpp Value *CodeGen_LLVM::create_alloca_at_entry(llvm::Type *t, int n, bool zero_initialize, const string &name) { string 3286 src/CodeGen_LLVM.cpp const string &name, vector<Expr> args) { string 3298 src/CodeGen_LLVM.cpp const string &name, vector<Value *> arg_values) { string 3457 src/CodeGen_LLVM.cpp std::pair<llvm::Function *, int> CodeGen_LLVM::find_vector_runtime_function(const std::string &name, int lanes) { string 86 src/CodeGen_LLVM.h virtual void compile_func(const LoweredFunc &func, const std::string &simple_name, const std::string &extern_name); string 97 src/CodeGen_LLVM.h virtual void begin_func(LoweredFunc::LinkageType linkage, const std::string &simple_name, string 98 src/CodeGen_LLVM.h const std::string &extern_name, const std::vector<LoweredArgument> &args); string 106 src/CodeGen_LLVM.h virtual std::string mcpu() const = 0; string 107 src/CodeGen_LLVM.h virtual std::string mattrs() const = 0; string 163 src/CodeGen_LLVM.h void sym_push(const std::string &name, llvm::Value *value); string 168 src/CodeGen_LLVM.h void sym_pop(const std::string &name); string 173 src/CodeGen_LLVM.h llvm::Value* sym_get(const std::string &name, string 177 src/CodeGen_LLVM.h bool sym_exists(const std::string &name) const; string 273 src/CodeGen_LLVM.h llvm::Constant *create_string_constant(const std::string &str); string 276 src/CodeGen_LLVM.h llvm::Constant *create_binary_blob(const std::vector<char> &data, const std::string &name, bool constant = true); string 285 src/CodeGen_LLVM.h llvm::Value *codegen_buffer_pointer(std::string buffer, Type type, llvm::Value *index); string 286 src/CodeGen_LLVM.h llvm::Value *codegen_buffer_pointer(std::string buffer, Type type, Expr index); string 297 src/CodeGen_LLVM.h void add_tbaa_metadata(llvm::Instruction *inst, std::string buffer, Expr index); string 302 src/CodeGen_LLVM.h virtual std::string get_allocation_name(const std::string &n) {return n;} string 390 src/CodeGen_LLVM.h const std::string &name = ""); string 394 src/CodeGen_LLVM.h std::set<std::string> external_buffer; string 415 src/CodeGen_LLVM.h const std::string &name, std::vector<Expr>); string 417 src/CodeGen_LLVM.h const std::string &name, std::vector<llvm::Value *>); string 449 src/CodeGen_LLVM.h std::pair<llvm::Function *, int> find_vector_runtime_function(const std::string &name, int lanes); string 465 src/CodeGen_LLVM.h std::map<std::string, llvm::Constant *> string_constants; string 477 src/CodeGen_LLVM.h llvm::Function* embed_metadata_getter(const std::string &metadata_getter_name, string 478 src/CodeGen_LLVM.h const std::string &function_name, const std::vector<LoweredArgument> &args); string 483 src/CodeGen_LLVM.h llvm::Function *add_argv_wrapper(const std::string &name); string 9 src/CodeGen_MIPS.cpp using std::string; string 20 src/CodeGen_MIPS.cpp string CodeGen_MIPS::mcpu() const { string 28 src/CodeGen_MIPS.cpp string CodeGen_MIPS::mattrs() const { string 26 src/CodeGen_MIPS.h std::string mcpu() const; string 27 src/CodeGen_MIPS.h std::string mattrs() const; string 13 src/CodeGen_Metal_Dev.cpp using std::string; string 23 src/CodeGen_Metal_Dev.cpp string CodeGen_Metal_Dev::CodeGen_Metal_C::print_type_maybe_storage(Type type, bool storage, AppendSpaceIfNeeded space) { string 82 src/CodeGen_Metal_Dev.cpp string CodeGen_Metal_Dev::CodeGen_Metal_C::print_type(Type type, AppendSpaceIfNeeded space) { string 86 src/CodeGen_Metal_Dev.cpp string CodeGen_Metal_Dev::CodeGen_Metal_C::print_storage_type(Type type) { string 90 src/CodeGen_Metal_Dev.cpp string CodeGen_Metal_Dev::CodeGen_Metal_C::print_reinterpret(Type type, Expr e) { string 93 src/CodeGen_Metal_Dev.cpp string temp = unique_name('V'); string 94 src/CodeGen_Metal_Dev.cpp string expr = print_expr(e); string 104 src/CodeGen_Metal_Dev.cpp string simt_intrinsic(const string &name) { string 173 src/CodeGen_Metal_Dev.cpp string id_base = print_expr(op->base); string 174 src/CodeGen_Metal_Dev.cpp string id_stride = print_expr(op->stride); string 188 src/CodeGen_Metal_Dev.cpp string id_value = print_expr(op->value); string 214 src/CodeGen_Metal_Dev.cpp string CodeGen_Metal_Dev::CodeGen_Metal_C::get_memory_space(const string &buf) { string 225 src/CodeGen_Metal_Dev.cpp string id_ramp_base = print_expr(ramp_base); string 236 src/CodeGen_Metal_Dev.cpp string id_index = print_expr(op->index); string 252 src/CodeGen_Metal_Dev.cpp std::map<string, string>::iterator cached = cache.find(rhs.str()); string 289 src/CodeGen_Metal_Dev.cpp string id_value = print_expr(op->value); string 296 src/CodeGen_Metal_Dev.cpp string id_ramp_base = print_expr(ramp_base); string 306 src/CodeGen_Metal_Dev.cpp string id_index = print_expr(op->index); string 321 src/CodeGen_Metal_Dev.cpp string id_index = print_expr(op->index); string 322 src/CodeGen_Metal_Dev.cpp string id_value = print_expr(op->value); string 344 src/CodeGen_Metal_Dev.cpp string true_val = print_expr(op->true_value); string 345 src/CodeGen_Metal_Dev.cpp string false_val = print_expr(op->false_value); string 346 src/CodeGen_Metal_Dev.cpp string cond = print_expr(op->condition); string 411 src/CodeGen_Metal_Dev.cpp const string &name, string 422 src/CodeGen_Metal_Dev.cpp string name; string 426 src/CodeGen_Metal_Dev.cpp BufferSize(string name, size_t size) : name(name), size(size) {} string 435 src/CodeGen_Metal_Dev.cpp const string &name, string 619 src/CodeGen_Metal_Dev.cpp string str = src_stream.str(); string 626 src/CodeGen_Metal_Dev.cpp string CodeGen_Metal_Dev::get_current_kernel_name() { string 634 src/CodeGen_Metal_Dev.cpp std::string CodeGen_Metal_Dev::print_gpu_name(const std::string &name) { string 25 src/CodeGen_Metal_Dev.h const std::string &name, string 35 src/CodeGen_Metal_Dev.h std::string get_current_kernel_name(); string 39 src/CodeGen_Metal_Dev.h virtual std::string print_gpu_name(const std::string &name); string 41 src/CodeGen_Metal_Dev.h std::string api_unique_name() { return "metal"; } string 49 src/CodeGen_Metal_Dev.h const std::string &name, string 54 src/CodeGen_Metal_Dev.h std::string print_type(Type type, AppendSpaceIfNeeded space_option = DoNotAppendSpace); string 62 src/CodeGen_Metal_Dev.h std::string print_storage_type(Type type); string 63 src/CodeGen_Metal_Dev.h std::string print_type_maybe_storage(Type type, bool storage, AppendSpaceIfNeeded space); string 64 src/CodeGen_Metal_Dev.h std::string print_reinterpret(Type type, Expr e); string 66 src/CodeGen_Metal_Dev.h std::string get_memory_space(const std::string &); string 82 src/CodeGen_Metal_Dev.h std::string cur_kernel_name; string 15 src/CodeGen_OpenCL_Dev.cpp using std::string; string 23 src/CodeGen_OpenCL_Dev.cpp string CodeGen_OpenCL_Dev::CodeGen_OpenCL_C::print_type(Type type, AppendSpaceIfNeeded space) { string 78 src/CodeGen_OpenCL_Dev.cpp string CodeGen_OpenCL_Dev::CodeGen_OpenCL_C::print_reinterpret(Type type, Expr e) { string 87 src/CodeGen_OpenCL_Dev.cpp string simt_intrinsic(const string &name) { string 130 src/CodeGen_OpenCL_Dev.cpp string id_base = print_expr(op->base); string 131 src/CodeGen_OpenCL_Dev.cpp string id_stride = print_expr(op->stride); string 145 src/CodeGen_OpenCL_Dev.cpp string id_value = print_expr(op->value); string 171 src/CodeGen_OpenCL_Dev.cpp string CodeGen_OpenCL_Dev::CodeGen_OpenCL_C::get_memory_space(const string &buf) { string 194 src/CodeGen_OpenCL_Dev.cpp string cond = print_expr(op->args[0]); string 195 src/CodeGen_OpenCL_Dev.cpp string true_val = print_expr(op->args[1]); string 196 src/CodeGen_OpenCL_Dev.cpp string false_val = print_expr(op->args[2]); string 229 src/CodeGen_OpenCL_Dev.cpp string id_ramp_base = print_expr(ramp_base); string 241 src/CodeGen_OpenCL_Dev.cpp string id_index = print_expr(op->index); string 257 src/CodeGen_OpenCL_Dev.cpp std::map<string, string>::iterator cached = cache.find(rhs.str()); string 291 src/CodeGen_OpenCL_Dev.cpp string id_value = print_expr(op->value); string 298 src/CodeGen_OpenCL_Dev.cpp string id_ramp_base = print_expr(ramp_base); string 312 src/CodeGen_OpenCL_Dev.cpp string id_index = print_expr(op->index); string 327 src/CodeGen_OpenCL_Dev.cpp string id_index = print_expr(op->index); string 328 src/CodeGen_OpenCL_Dev.cpp string id_value = print_expr(op->value); string 460 src/CodeGen_OpenCL_Dev.cpp string a1 = print_expr(op->vectors[0]); string 461 src/CodeGen_OpenCL_Dev.cpp string a2 = print_expr(op->vectors[1]); string 475 src/CodeGen_OpenCL_Dev.cpp vector<string> arg_exprs(num_vectors); string 502 src/CodeGen_OpenCL_Dev.cpp const string &name, string 513 src/CodeGen_OpenCL_Dev.cpp string name; string 517 src/CodeGen_OpenCL_Dev.cpp BufferSize(string name, size_t size) : name(name), size(size) {} string 526 src/CodeGen_OpenCL_Dev.cpp const string &name, string 720 src/CodeGen_OpenCL_Dev.cpp string str = src_stream.str(); string 727 src/CodeGen_OpenCL_Dev.cpp string CodeGen_OpenCL_Dev::get_current_kernel_name() { string 735 src/CodeGen_OpenCL_Dev.cpp std::string CodeGen_OpenCL_Dev::print_gpu_name(const std::string &name) { string 25 src/CodeGen_OpenCL_Dev.h const std::string &name, string 35 src/CodeGen_OpenCL_Dev.h std::string get_current_kernel_name(); string 39 src/CodeGen_OpenCL_Dev.h virtual std::string print_gpu_name(const std::string &name); string 41 src/CodeGen_OpenCL_Dev.h std::string api_unique_name() { return "opencl"; } string 49 src/CodeGen_OpenCL_Dev.h const std::string &name, string 54 src/CodeGen_OpenCL_Dev.h std::string print_type(Type type, AppendSpaceIfNeeded append_space = DoNotAppendSpace); string 55 src/CodeGen_OpenCL_Dev.h std::string print_reinterpret(Type type, Expr e); string 57 src/CodeGen_OpenCL_Dev.h std::string get_memory_space(const std::string &); string 80 src/CodeGen_OpenCL_Dev.h std::string cur_kernel_name; string 17 src/CodeGen_OpenGLCompute_Dev.cpp using std::string; string 55 src/CodeGen_OpenGLCompute_Dev.cpp string CodeGen_OpenGLCompute_Dev::CodeGen_OpenGLCompute_C::print_type(Type type, AppendSpaceIfNeeded space) { string 58 src/CodeGen_OpenGLCompute_Dev.cpp string s = mapped_type.is_scalar() ? "uint": "uvec" + std::to_string(mapped_type.lanes()); string 69 src/CodeGen_OpenGLCompute_Dev.cpp string simt_intrinsic(const string &name) { string 91 src/CodeGen_OpenGLCompute_Dev.cpp int thread_loop_workgroup_index(const string &name) { string 92 src/CodeGen_OpenGLCompute_Dev.cpp string ids[] = {".__thread_id_x", string 96 src/CodeGen_OpenGLCompute_Dev.cpp for (size_t i = 0; i < sizeof(ids) / sizeof(string); i++) { string 177 src/CodeGen_OpenGLCompute_Dev.cpp string id_value = print_expr(op->value); string 187 src/CodeGen_OpenGLCompute_Dev.cpp string id_index = print_expr(op->index); string 202 src/CodeGen_OpenGLCompute_Dev.cpp string id_index = print_expr(op->index); string 204 src/CodeGen_OpenGLCompute_Dev.cpp string id_value = print_expr(op->value); string 220 src/CodeGen_OpenGLCompute_Dev.cpp string true_val = print_expr(op->true_value); string 221 src/CodeGen_OpenGLCompute_Dev.cpp string false_val = print_expr(op->false_value); string 222 src/CodeGen_OpenGLCompute_Dev.cpp string cond = print_expr(op->condition); string 232 src/CodeGen_OpenGLCompute_Dev.cpp const string &name, string 258 src/CodeGen_OpenGLCompute_Dev.cpp const string &name, string 372 src/CodeGen_OpenGLCompute_Dev.cpp string str = src_stream.str(); string 379 src/CodeGen_OpenGLCompute_Dev.cpp string CodeGen_OpenGLCompute_Dev::get_current_kernel_name() { string 387 src/CodeGen_OpenGLCompute_Dev.cpp std::string CodeGen_OpenGLCompute_Dev::print_gpu_name(const std::string &name) { string 25 src/CodeGen_OpenGLCompute_Dev.h const std::string &name, string 32 src/CodeGen_OpenGLCompute_Dev.h std::string get_current_kernel_name(); string 36 src/CodeGen_OpenGLCompute_Dev.h virtual std::string print_gpu_name(const std::string &name); string 38 src/CodeGen_OpenGLCompute_Dev.h std::string api_unique_name() { return "openglcompute"; } string 46 src/CodeGen_OpenGLCompute_Dev.h const std::string &name, string 50 src/CodeGen_OpenGLCompute_Dev.h std::string print_type(Type type, AppendSpaceIfNeeded space_option = DoNotAppendSpace); string 72 src/CodeGen_OpenGLCompute_Dev.h std::string cur_kernel_name; string 17 src/CodeGen_OpenGL_Dev.cpp using std::string; string 72 src/CodeGen_OpenGL_Dev.cpp Expr call_builtin(const Type &result_type, const string &func, string 99 src/CodeGen_OpenGL_Dev.cpp void CodeGen_OpenGL_Dev::add_kernel(Stmt s, const string &name, string 112 src/CodeGen_OpenGL_Dev.cpp string str = src_stream.str(); string 119 src/CodeGen_OpenGL_Dev.cpp string CodeGen_OpenGL_Dev::get_current_kernel_name() { string 127 src/CodeGen_OpenGL_Dev.cpp string CodeGen_OpenGL_Dev::print_gpu_name(const string &name) { string 207 src/CodeGen_OpenGL_Dev.cpp string CodeGen_GLSLBase::print_type(Type type, AppendSpaceIfNeeded space_option) { string 300 src/CodeGen_OpenGL_Dev.cpp string expr = print_expr(op->vectors[0]); string 303 src/CodeGen_OpenGL_Dev.cpp string swizzle; string 315 src/CodeGen_OpenGL_Dev.cpp string CodeGen_GLSLBase::print_name(const string &name) { string 316 src/CodeGen_OpenGL_Dev.cpp const string mangled = CodeGen_C::print_name(name); string 377 src/CodeGen_OpenGL_Dev.cpp if (op->name.find(".varying") != string::npos) { string 396 src/CodeGen_OpenGL_Dev.cpp string idx; string 429 src/CodeGen_OpenGL_Dev.cpp string id_value; string 434 src/CodeGen_OpenGL_Dev.cpp string cond = print_expr(op->condition); string 439 src/CodeGen_OpenGL_Dev.cpp string true_val = print_expr(op->true_value); string 449 src/CodeGen_OpenGL_Dev.cpp string false_val = print_expr(op->false_value); string 462 src/CodeGen_OpenGL_Dev.cpp vector<string> ids(lanes); string 478 src/CodeGen_OpenGL_Dev.cpp string CodeGen_GLSL::get_vector_suffix(Expr e) { string 494 src/CodeGen_OpenGL_Dev.cpp string id = print_expr(e); string 498 src/CodeGen_OpenGL_Dev.cpp return string("[" + id + "]"); string 502 src/CodeGen_OpenGL_Dev.cpp vector<string> CodeGen_GLSL::print_lanes(Expr e) { string 505 src/CodeGen_OpenGL_Dev.cpp vector<string> result(l); string 507 src/CodeGen_OpenGL_Dev.cpp string val = print_expr(b->value); string 516 src/CodeGen_OpenGL_Dev.cpp string val = print_expr(e); string 532 src/CodeGen_OpenGL_Dev.cpp string idx = print_expr(op->index); string 535 src/CodeGen_OpenGL_Dev.cpp vector<string> indices = print_lanes(op->index); string 553 src/CodeGen_OpenGL_Dev.cpp string val = print_expr(op->value); string 557 src/CodeGen_OpenGL_Dev.cpp string val = print_expr(op->value); string 562 src/CodeGen_OpenGL_Dev.cpp string val = print_expr(op->value); string 563 src/CodeGen_OpenGL_Dev.cpp string idx = print_expr(op->index); string 567 src/CodeGen_OpenGL_Dev.cpp vector<string> indices = print_lanes(op->index); string 568 src/CodeGen_OpenGL_Dev.cpp vector<string> values = print_lanes(op->value); string 601 src/CodeGen_OpenGL_Dev.cpp string buffername = string_imm->value; string 638 src/CodeGen_OpenGL_Dev.cpp vector<string> xs = print_lanes(op->args[2]); string 639 src/CodeGen_OpenGL_Dev.cpp vector<string> ys = print_lanes(op->args[3]); string 640 src/CodeGen_OpenGL_Dev.cpp vector<string> cs = print_lanes(op->args[4]); string 641 src/CodeGen_OpenGL_Dev.cpp string name = print_name(buffername); string 643 src/CodeGen_OpenGL_Dev.cpp string x = print_expr(op->args[2]), y = print_expr(op->args[3]); string 674 src/CodeGen_OpenGL_Dev.cpp string sval = print_expr(op->args[5]); string 675 src/CodeGen_OpenGL_Dev.cpp string suffix = get_vector_suffix(op->args[4]); string 760 src/CodeGen_OpenGL_Dev.cpp string buf; string 822 src/CodeGen_OpenGL_Dev.cpp void CodeGen_GLSL::add_kernel(Stmt stmt, string name, string 854 src/CodeGen_OpenGL_Dev.cpp string type_name; string 961 src/CodeGen_OpenGL_Dev.cpp string normalize_temporaries(const string &s) { string 962 src/CodeGen_OpenGL_Dev.cpp string result; string 975 src/CodeGen_OpenGL_Dev.cpp void check(Expr e, const string &result) { string 984 src/CodeGen_OpenGL_Dev.cpp string src = normalize_temporaries(source.str()); string 1108 src/CodeGen_OpenGL_Dev.cpp {string("buf"), string 26 src/CodeGen_OpenGL_Dev.h void add_kernel(Stmt stmt, const std::string &name, string 33 src/CodeGen_OpenGL_Dev.h std::string get_current_kernel_name(); string 37 src/CodeGen_OpenGL_Dev.h std::string api_unique_name() { return "opengl"; } string 42 src/CodeGen_OpenGL_Dev.h virtual std::string print_gpu_name(const std::string &name); string 46 src/CodeGen_OpenGL_Dev.h std::string cur_kernel_name; string 57 src/CodeGen_OpenGL_Dev.h std::string print_name(const std::string &name); string 58 src/CodeGen_OpenGL_Dev.h std::string print_type(Type type, AppendSpaceIfNeeded space_option = DoNotAppendSpace); string 80 src/CodeGen_OpenGL_Dev.h std::map<std::string, std::string> builtin; string 90 src/CodeGen_OpenGL_Dev.h std::string name, string 120 src/CodeGen_OpenGL_Dev.h std::string get_vector_suffix(Expr e); string 122 src/CodeGen_OpenGL_Dev.h std::vector<std::string> print_lanes(Expr expr); string 24 src/CodeGen_PTX_Dev.cpp using std::string; string 48 src/CodeGen_PTX_Dev.cpp const std::string &name, string 82 src/CodeGen_PTX_Dev.cpp vector<string> arg_sym_names; string 87 src/CodeGen_PTX_Dev.cpp string arg_sym_name = args[i].name; string 148 src/CodeGen_PTX_Dev.cpp string CodeGen_PTX_Dev::simt_intrinsic(const string &name) { string 194 src/CodeGen_PTX_Dev.cpp string allocation_name = alloc->name; string 227 src/CodeGen_PTX_Dev.cpp string CodeGen_PTX_Dev::march() const { string 231 src/CodeGen_PTX_Dev.cpp string CodeGen_PTX_Dev::mcpu() const { string 245 src/CodeGen_PTX_Dev.cpp string CodeGen_PTX_Dev::mattrs() const { string 276 src/CodeGen_PTX_Dev.cpp std::string err_str; string 408 src/CodeGen_PTX_Dev.cpp string CodeGen_PTX_Dev::get_current_kernel_name() { string 420 src/CodeGen_PTX_Dev.cpp std::string CodeGen_PTX_Dev::print_gpu_name(const std::string &name) { string 30 src/CodeGen_PTX_Dev.h const std::string &name, string 36 src/CodeGen_PTX_Dev.h std::string get_current_kernel_name(); string 40 src/CodeGen_PTX_Dev.h virtual std::string print_gpu_name(const std::string &name); string 42 src/CodeGen_PTX_Dev.h std::string api_unique_name() { return "cuda"; } string 64 src/CodeGen_PTX_Dev.h std::string march() const; string 65 src/CodeGen_PTX_Dev.h std::string mcpu() const; string 66 src/CodeGen_PTX_Dev.h std::string mattrs() const; string 73 src/CodeGen_PTX_Dev.h std::string simt_intrinsic(const std::string &name); string 17 src/CodeGen_Posix.cpp using std::string; string 27 src/CodeGen_Posix.cpp Value *CodeGen_Posix::codegen_allocation_size(const std::string &name, Type type, const std::vector<Expr> &extents) { string 82 src/CodeGen_Posix.cpp CodeGen_Posix::Allocation CodeGen_Posix::create_allocation(const std::string &name, Type type, string 84 src/CodeGen_Posix.cpp Expr new_expr, std::string free_function) { string 93 src/CodeGen_Posix.cpp const string str_max_size = target.has_feature(Target::LargeBuffers) ? "2^63 - 1" : "2^31 - 1"; string 236 src/CodeGen_Posix.cpp void CodeGen_Posix::free_allocation(const std::string &name) { string 253 src/CodeGen_Posix.cpp string CodeGen_Posix::get_allocation_name(const std::string &n) { string 64 src/CodeGen_Posix.h std::string name; string 71 src/CodeGen_Posix.h std::string get_allocation_name(const std::string &n); string 88 src/CodeGen_Posix.h llvm::Value *codegen_allocation_size(const std::string &name, Type type, const std::vector<Expr> &extents); string 103 src/CodeGen_Posix.h Allocation create_allocation(const std::string &name, Type type, string 105 src/CodeGen_Posix.h Expr condition, Expr new_expr, std::string free_function); string 109 src/CodeGen_Posix.h void free_allocation(const std::string &name); string 12 src/CodeGen_PowerPC.cpp using std::string; string 56 src/CodeGen_PowerPC.cpp string intrin; string 140 src/CodeGen_PowerPC.cpp std::string("llvm.ppc.altivec.vmin") + element_type_name, string 166 src/CodeGen_PowerPC.cpp std::string("llvm.ppc.altivec.vmax") + element_type_name, string 177 src/CodeGen_PowerPC.cpp string CodeGen_PowerPC::mcpu() const { string 190 src/CodeGen_PowerPC.cpp string CodeGen_PowerPC::mattrs() const { string 191 src/CodeGen_PowerPC.cpp std::string features; string 192 src/CodeGen_PowerPC.cpp std::string separator; string 193 src/CodeGen_PowerPC.cpp std::string enable; string 24 src/CodeGen_PowerPC.h std::string mcpu() const; string 25 src/CodeGen_PowerPC.h std::string mattrs() const; string 19 src/CodeGen_X86.cpp using std::string; string 217 src/CodeGen_X86.cpp string intrin; string 412 src/CodeGen_X86.cpp string CodeGen_X86::mcpu() const { string 426 src/CodeGen_X86.cpp string CodeGen_X86::mattrs() const { string 427 src/CodeGen_X86.cpp std::string features; string 428 src/CodeGen_X86.cpp std::string separator; string 27 src/CodeGen_X86.h std::string mcpu() const; string 28 src/CodeGen_X86.h std::string mattrs() const; string 8 src/Debug.cpp std::string lvl = get_env_variable("HL_DEBUG_CODEGEN"); string 12 src/DebugToFile.cpp using std::string; string 18 src/DebugToFile.cpp const map<string, Function> &env; string 23 src/DebugToFile.cpp map<string, Function>::const_iterator iter = env.find(op->name); string 74 src/DebugToFile.cpp string call_result_name = unique_name("debug_to_file_result"); string 91 src/DebugToFile.cpp DebugToFile(const map<string, Function> &e) : env(e) {} string 113 src/DebugToFile.cpp Stmt debug_to_file(Stmt s, const vector<Function> &outputs, const map<string, Function> &env) { string 118 src/DebugToFile.cpp string dim = std::to_string(i); string 21 src/DebugToFile.h const std::map<std::string, Function> &env); string 8 src/DeepCopy.cpp using std::string; string 11 src/DeepCopy.cpp pair<vector<Function>, map<string, Function>> deep_copy( string 12 src/DeepCopy.cpp const vector<Function> &outputs, const map<string, Function> &env) { string 14 src/DeepCopy.cpp map<string, Function> copy_env; string 18 src/DeepCopy.h std::pair<std::vector<Function>, std::map<std::string, Function>> deep_copy( string 19 src/DeepCopy.h const std::vector<Function> &outputs, const std::map<std::string, Function> &env); string 13 src/Definition.cpp using std::string; string 121 src/Definition.h std::string failure_message; // If non-empty, this specialization always assert-fails with this message. string 18 src/Deinterleave.cpp const std::string store_name; string 23 src/Deinterleave.cpp StoreCollector(const std::string &name, int stride, int ms, string 137 src/Deinterleave.cpp Stmt collect_strided_stores(Stmt stmt, const std::string& name, int stride, int max_stores, string 271 src/Deinterleave.cpp std::string new_name = unique_name('t'); string 609 src/Deinterleave.cpp std::string load_name; string 7 src/DeviceArgument.cpp HostClosure::HostClosure(Stmt s, const std::string &loop_variable) { string 51 src/DeviceArgument.cpp std::string bufname = string_imm->value; string 22 src/DeviceArgument.h std::string name; string 70 src/DeviceArgument.h DeviceArgument(const std::string &_name, string 89 src/DeviceArgument.h HostClosure(Stmt s, const std::string &loop_variable = ""); string 32 src/DeviceInterface.cpp bool lookup_runtime_routine(const std::string &name, string 39 src/DeviceInterface.cpp std::map<std::string, JITModule::Symbol>::const_iterator f = string 62 src/DeviceInterface.cpp std::string name; string 13 src/EarlyFree.cpp using std::string; string 18 src/EarlyFree.cpp string func; string 22 src/EarlyFree.cpp FindLastUse(string s) : func(s), found_device_malloc(false), in_loop(false) {} string 100 src/EarlyFree.cpp Stmt make_free(string func, bool device) { string 112 src/EarlyFree.cpp string func; string 242 src/Elf.cpp std::map<std::string, uint32_t> cache; string 254 src/Elf.cpp uint32_t get(const std::string &str) { string 429 src/Elf.cpp Object::symbol_iterator Object::add_symbol(const std::string &name) { string 434 src/Elf.cpp Object::section_iterator Object::add_section(const std::string &name, Section::Type type) { string 439 src/Elf.cpp Object::section_iterator Object::find_section(const std::string &name) { string 448 src/Elf.cpp Object::symbol_iterator Object::find_symbol(const std::string &name) { string 457 src/Elf.cpp Object::const_symbol_iterator Object::find_symbol(const std::string &name) const { string 525 src/Elf.cpp std::vector<char> write_shared_object_internal(Object &obj, Linker *linker, const std::vector<std::string> &dependencies, string 526 src/Elf.cpp const std::string &soname) { string 982 src/Elf.cpp std::vector<char> Object::write_shared_object(Linker *linker, const std::vector<std::string> &dependencies, string 983 src/Elf.cpp const std::string &soname) { string 71 src/Elf.h std::string name; string 81 src/Elf.h Symbol(const std::string &name) : name(name) {} string 85 src/Elf.h Symbol &set_name(const std::string &name) { string 89 src/Elf.h const std::string &get_name() const { return name; } string 216 src/Elf.h std::string name; string 227 src/Elf.h Section(const std::string &name, Type type) : name(name), type(type) {} string 229 src/Elf.h Section &set_name(const std::string &name) { string 233 src/Elf.h const std::string &get_name() const { return name; } string 428 src/Elf.h std::vector<char> write_shared_object(Linker *linker, const std::vector<std::string> &depedencies = {}, string 429 src/Elf.h const std::string &soname = ""); string 438 src/Elf.h section_iterator find_section(const std::string &name); string 440 src/Elf.h section_iterator add_section(const std::string &name, Section::Type type); string 454 src/Elf.h symbol_iterator find_symbol(const std::string &name); string 455 src/Elf.h const_symbol_iterator find_symbol(const std::string &name) const; string 457 src/Elf.h symbol_iterator add_symbol(const std::string &name); string 65 src/EliminateBoolVectors.cpp void visit_logical_binop(const T* op, const std::string& bitwise_op) { string 23 src/Error.cpp Error::Error(const std::string &msg) : std::runtime_error(msg) { string 26 src/Error.cpp CompileError::CompileError(const std::string &msg) : Error(msg) { string 29 src/Error.cpp RuntimeError::RuntimeError(const std::string &msg) : Error(msg) { string 32 src/Error.cpp InternalError::InternalError(const std::string &msg) : Error(msg) { string 47 src/Error.cpp const std::string &source_loc = Introspection::get_source_location(); string 20 src/Error.h EXPORT Error(const std::string &msg); string 25 src/Error.h EXPORT RuntimeError(const std::string &msg); string 31 src/Error.h EXPORT CompileError(const std::string &msg); string 38 src/Error.h EXPORT InternalError(const std::string &msg); string 247 src/Expr.h std::string value; string 249 src/Expr.h static const StringImm *make(const std::string &val) { string 288 src/Expr.h EXPORT Expr(const std::string &s) : IRHandle(Internal::StringImm::make(s)) {} string 22 src/ExprUsesVar.h void visit_name(const std::string &name) { string 52 src/ExprUsesVar.h inline bool stmt_or_expr_uses_var(StmtOrExpr e, const std::string &v) { string 73 src/ExprUsesVar.h inline bool expr_uses_var(Expr e, const std::string &v) { string 78 src/ExprUsesVar.h inline bool stmt_uses_var(Stmt s, const std::string &v) { string 25 src/ExternalCode.h std::string nametag; string 27 src/ExternalCode.h ExternalCode(Kind kind, const Target &llvm_target, DeviceAPI device_api, const std::vector<uint8_t> &code, const std::string &name) string 44 src/ExternalCode.h static ExternalCode bitcode_wrapper(const Target &cpu_type, const std::vector<uint8_t> &code, const std::string &name) { string 69 src/ExternalCode.h static ExternalCode device_code_wrapper(DeviceAPI device_api, const std::vector<uint8_t> &code, const std::string &name) { string 87 src/ExternalCode.h static ExternalCode c_plus_plus_code_wrapper(const std::vector<uint8_t> &code, const std::string &name) { string 124 src/ExternalCode.h const std::string &name() const { return nametag; } string 9 src/FindCalls.cpp using std::string; string 15 src/FindCalls.cpp map<string, Function> calls; string 20 src/FindCalls.cpp map<string, Function>::iterator iter = calls.find(f.name()); string 41 src/FindCalls.cpp void populate_environment(Function f, map<string, Function> &env, bool recursive = true) { string 42 src/FindCalls.cpp map<string, Function>::const_iterator iter = env.find(f.name()); string 66 src/FindCalls.cpp for (pair<string, Function> i : calls.calls) { string 72 src/FindCalls.cpp map<string, Function> find_transitive_calls(Function f) { string 73 src/FindCalls.cpp map<string, Function> res; string 78 src/FindCalls.cpp map<string, Function> find_direct_calls(Function f) { string 79 src/FindCalls.cpp map<string, Function> res; string 22 src/FindCalls.h std::map<std::string, Function> find_direct_calls(Function f); string 29 src/FindCalls.h std::map<std::string, Function> find_transitive_calls(Function f); string 309 src/Float16.cpp std::string float16_t::to_hex_string() const { string 322 src/Float16.cpp std::string result(buffer); string 346 src/Float16.cpp std::string float16_t::to_decimal_string(unsigned int significantDigits) const { string 350 src/Float16.cpp return std::string(result.begin(), result.end()); string 167 src/Float16.h EXPORT std::string to_hex_string() const; string 177 src/Float16.h EXPORT std::string to_decimal_string(unsigned int significantDigits = 0) const; string 40 src/Func.cpp using std::string; string 47 src/Func.cpp Func::Func(const string &name) : func(unique_name(name)) {} string 57 src/Func.cpp const string &Func::name() const { string 63 src/Func.cpp const std::vector<std::string> arg_names = func.args(); string 162 src/Func.cpp void Func::define_extern(const std::string &function_name, string 184 src/Func.cpp EXPORT const std::string &Func::extern_function_name() const { string 264 src/Func.cpp bool var_name_match(string candidate, string var) { string 265 src/Func.cpp internal_assert(var.find('.') == string::npos) string 273 src/Func.cpp const std::string &Stage::name() const { string 342 src/Func.cpp std::string Stage::dump_argument_list() const { string 357 src/Func.cpp const string func; string 378 src/Func.cpp SubstituteSelfReference(const string &func, const Function &substitute, string 388 src/Func.cpp Expr substitute_self_reference(Expr val, const string &func, const Function &substitute, string 396 src/Func.cpp void substitute_var_in_exprs(const string &name, Expr value, vector<Expr> &exprs) { string 402 src/Func.cpp void apply_split_result(const vector<pair<string, Expr>> &bounds_let_stmts, string 435 src/Func.cpp vector<Expr> &values, map<string, Expr> &dim_extent_alignment) { string 456 src/Func.cpp vector<pair<string, Expr>> bounds_let_stmts = compute_loop_bounds_after_split(s, ""); string 468 src/Func.cpp vector<Expr> &values, map<string, Expr> &dim_extent_alignment) { string 491 src/Func.cpp vector<pair<string, Expr>> bounds_let_stmts = compute_loop_bounds_after_split(s, ""); string 505 src/Func.cpp vector<Expr> &values, map<string, Expr> &dim_extent_alignment) { string 515 src/Func.cpp vector<pair<string, Expr>> bounds_let_stmts = compute_loop_bounds_after_split(s, ""); string 526 src/Func.cpp vector<Expr> &values, map<string, Expr> &dim_extent_alignment) { string 535 src/Func.cpp vector<pair<string, Expr>> bounds_let_stmts = compute_loop_bounds_after_split(s, ""); string 548 src/Func.cpp map<string, Expr> dim_extent_alignment; string 553 src/Func.cpp vector<pair<string, Expr>> rvar_bounds; string 590 src/Func.cpp string func_name; string 592 src/Func.cpp vector<std::string> tmp = split_string(stage_name, ".update("); string 614 src/Func.cpp Scope<string> scope; // Contains list of RVars lifted to the intermediate Func string 615 src/Func.cpp vector<string> rvars_removed; string 761 src/Func.cpp map<string, Expr> substitution_map; string 836 src/Func.cpp for (const string &rv : rvars_removed) { string 864 src/Func.cpp map<string, Expr> replacement; string 905 src/Func.cpp void Stage::split(const string &old, const string &outer, const string &inner, Expr factor, bool exact, TailStrategy tail) { string 912 src/Func.cpp string new_names[2] = {inner, outer}; string 926 src/Func.cpp string inner_name, outer_name, old_name; string 977 src/Func.cpp std::set<string> descends_from_shiftinwards_outer; string 1046 src/Func.cpp string inner_name, outer_name, fused_name; string 1102 src/Func.cpp string offending_var; string 1142 src/Func.cpp void Stage::specialize_fail(const std::string &message) { string 1166 src/Func.cpp string old_name, new_name = new_var.name(); string 1192 src/Func.cpp void Stage::remove(const string &var) { string 1199 src/Func.cpp string old_name = var; string 1219 src/Func.cpp std::set<string> removed_vars; string 1222 src/Func.cpp auto should_remove = [&removed_vars](const string &var) { string 1224 src/Func.cpp removed_vars.begin(), removed_vars.end(), [&var](const string& rv) { return rv == var; }); string 1308 src/Func.cpp string old_name; string 1318 src/Func.cpp string new_name = old_name + "." + new_var.name(); string 1756 src/Func.cpp const map<string, IntrusivePtr<FunctionContents>> &wrappers = func.wrappers(); string 1790 src/Func.cpp const map<string, IntrusivePtr<FunctionContents>> &wrappers = func.wrappers(); string 1839 src/Func.cpp const map<string, IntrusivePtr<FunctionContents>> &wrappers = func.wrappers(); string 1889 src/Func.cpp void Func::specialize_fail(const std::string &message) { string 2361 src/Func.cpp void Func::debug_to_file(const string &filename) { string 2493 src/Func.cpp vector<string> expanded_args_str(expanded_args.size()); string 2808 src/Func.cpp Module Func::compile_to_module(const vector<Argument> &args, const std::string &fn_name, const Target &target) { string 2815 src/Func.cpp const string &fn_name, string 2820 src/Func.cpp void Func::compile_to_bitcode(const string &filename, const vector<Argument> &args, const string &fn_name, string 2825 src/Func.cpp void Func::compile_to_bitcode(const string &filename, const vector<Argument> &args, string 2830 src/Func.cpp void Func::compile_to_llvm_assembly(const string &filename, const vector<Argument> &args, const string &fn_name, string 2835 src/Func.cpp void Func::compile_to_llvm_assembly(const string &filename, const vector<Argument> &args, string 2840 src/Func.cpp void Func::compile_to_object(const string &filename, const vector<Argument> &args, string 2841 src/Func.cpp const string &fn_name, const Target &target) { string 2845 src/Func.cpp void Func::compile_to_object(const string &filename, const vector<Argument> &args, string 2850 src/Func.cpp void Func::compile_to_header(const string &filename, const vector<Argument> &args, string 2851 src/Func.cpp const string &fn_name, const Target &target) { string 2855 src/Func.cpp void Func::compile_to_c(const string &filename, const vector<Argument> &args, string 2856 src/Func.cpp const string &fn_name, const Target &target) { string 2860 src/Func.cpp void Func::compile_to_lowered_stmt(const string &filename, string 2871 src/Func.cpp void Func::compile_to_file(const string &filename_prefix, string 2873 src/Func.cpp const std::string &fn_name, string 2878 src/Func.cpp void Func::compile_to_static_library(const string &filename_prefix, string 2880 src/Func.cpp const std::string &fn_name, string 2885 src/Func.cpp void Func::compile_to_multitarget_static_library(const std::string &filename_prefix, string 2891 src/Func.cpp void Func::compile_to_assembly(const string &filename, const vector<Argument> &args, const string &fn_name, string 2896 src/Func.cpp void Func::compile_to_assembly(const string &filename, const vector<Argument> &args, const Target &target) { string 29 src/Func.h VarOrRVar(const std::string &n, bool r) : var(n), rvar(n), is_rvar(r) {} string 34 src/Func.h const std::string &name() const { string 54 src/Func.h std::string stage_name; string 60 src/Func.h void split(const std::string &old, const std::string &outer, const std::string &inner, string 62 src/Func.h void remove(const std::string &var); string 66 src/Func.h Stage(Internal::Definition d, const std::string &n, const std::vector<Var> &args, string 73 src/Func.h Stage(Internal::Definition d, const std::string &n, const std::vector<std::string> &args, string 92 src/Func.h EXPORT std::string dump_argument_list() const; string 95 src/Func.h EXPORT const std::string &name() const; string 204 src/Func.h EXPORT void specialize_fail(const std::string &message); string 521 src/Func.h EXPORT explicit Func(const std::string &name); string 604 src/Func.h EXPORT void compile_to_bitcode(const std::string &filename, const std::vector<Argument> &, const std::string &fn_name, string 606 src/Func.h EXPORT void compile_to_bitcode(const std::string &filename, const std::vector<Argument> &, string 615 src/Func.h EXPORT void compile_to_llvm_assembly(const std::string &filename, const std::vector<Argument> &, const std::string &fn_name, string 617 src/Func.h EXPORT void compile_to_llvm_assembly(const std::string &filename, const std::vector<Argument> &, string 627 src/Func.h EXPORT void compile_to_object(const std::string &filename, const std::vector<Argument> &, const std::string &fn_name, string 629 src/Func.h EXPORT void compile_to_object(const std::string &filename, const std::vector<Argument> &, string 640 src/Func.h EXPORT void compile_to_header(const std::string &filename, const std::vector<Argument> &, const std::string &fn_name = "", string 649 src/Func.h EXPORT void compile_to_assembly(const std::string &filename, const std::vector<Argument> &, const std::string &fn_name, string 651 src/Func.h EXPORT void compile_to_assembly(const std::string &filename, const std::vector<Argument> &, string 659 src/Func.h EXPORT void compile_to_c(const std::string &filename, string 661 src/Func.h const std::string &fn_name = "", string 667 src/Func.h EXPORT void compile_to_lowered_stmt(const std::string &filename, string 681 src/Func.h EXPORT void compile_to_file(const std::string &filename_prefix, const std::vector<Argument> &args, string 682 src/Func.h const std::string &fn_name = "", string 689 src/Func.h EXPORT void compile_to_static_library(const std::string &filename_prefix, const std::vector<Argument> &args, string 690 src/Func.h const std::string &fn_name = "", string 700 src/Func.h EXPORT void compile_to_multitarget_static_library(const std::string &filename_prefix, string 706 src/Func.h EXPORT Module compile_to_module(const std::vector<Argument> &args, const std::string &fn_name = "", string 715 src/Func.h const std::string &fn_name, string 875 src/Func.h EXPORT void debug_to_file(const std::string &filename); string 879 src/Func.h EXPORT const std::string &name() const; string 934 src/Func.h EXPORT void define_extern(const std::string &function_name, string 944 src/Func.h EXPORT void define_extern(const std::string &function_name, string 961 src/Func.h EXPORT const std::string &extern_function_name() const; string 1430 src/Func.h EXPORT void specialize_fail(const std::string &message); string 21 src/Function.cpp using std::string; string 36 src/Function.cpp std::string name; string 42 src/Function.cpp std::string debug_file; string 47 src/Function.cpp std::string extern_function_name; string 127 src/Function.cpp vector<string> pure_args; string 130 src/Function.cpp const std::string name; string 133 src/Function.cpp CheckVars(const std::string &n) : string 224 src/Function.cpp const string &func; string 236 src/Function.cpp FreezeFunctions(const string &f) : func(f) {} string 252 src/Function.cpp Function::Function(const std::string &n) : contents(new FunctionContents) { string 371 src/Function.cpp void Function::define(const vector<string> &args, vector<Expr> values) { string 465 src/Function.cpp string buffer_name = name(); string 532 src/Function.cpp vector<string> pure_args(args.size()); string 588 src/Function.cpp vector<string> free_vars; string 596 src/Function.cpp string rvar = check.reduction_domain.domain()[i].var; string 639 src/Function.cpp const string &v = rvar.var; string 681 src/Function.cpp void Function::define_extern(const std::string &function_name, string 703 src/Function.cpp string buffer_name = name(); string 715 src/Function.cpp string arg = unique_name('e'); string 726 src/Function.cpp const std::string &Function::name() const { string 738 src/Function.cpp const std::vector<std::string> Function::args() const { string 740 src/Function.cpp std::vector<std::string> arg_names(pure_def_args.size()); string 841 src/Function.cpp const std::string &Function::extern_function_name() const { string 845 src/Function.cpp const std::string &Function::debug_file() const { string 849 src/Function.cpp std::string &Function::debug_file() { string 880 src/Function.cpp const map<string, IntrusivePtr<FunctionContents>> &Function::wrappers() const { string 884 src/Function.cpp void Function::add_wrapper(const std::string &f, Function &wrapper) { string 88 src/Function.h EXPORT explicit Function(const std::string &n); string 113 src/Function.h EXPORT void define(const std::vector<std::string> &args, std::vector<Expr> values); string 130 src/Function.h EXPORT const std::string &name() const; string 139 src/Function.h EXPORT const std::vector<std::string> args() const; string 213 src/Function.h EXPORT void define_extern(const std::string &function_name, string 225 src/Function.h EXPORT const std::string &extern_function_name() const; string 233 src/Function.h EXPORT const std::string &debug_file() const; string 236 src/Function.h EXPORT std::string &debug_file(); string 269 src/Function.h EXPORT void add_wrapper(const std::string &f, Function &wrapper); string 270 src/Function.h EXPORT const std::map<std::string, IntrusivePtr<Internal::FunctionContents>> &wrappers() const; string 21 src/FuseGPUThreadLoops.cpp using std::string; string 25 src/FuseGPUThreadLoops.cpp string thread_names[] = {"__thread_id_x", "__thread_id_y", "__thread_id_z", "__thread_id_w"}; string 26 src/FuseGPUThreadLoops.cpp string block_names[] = {"__block_id_x", "__block_id_y", "__block_id_z", "__block_id_w"}; string 27 src/FuseGPUThreadLoops.cpp string shared_mem_name = "__shared"; string 146 src/FuseGPUThreadLoops.cpp string name = thread_names[max_depth]; string 234 src/FuseGPUThreadLoops.cpp string name; string 265 src/FuseGPUThreadLoops.cpp map<string, IntInterval> shared; string 710 src/FuseGPUThreadLoops.cpp string innermost_block_var, innermost_thread_var; string 715 src/FuseGPUThreadLoops.cpp string old_innermost_block_var = innermost_block_var; string 716 src/FuseGPUThreadLoops.cpp string old_innermost_thread_var = innermost_thread_var; string 27 src/Generator.cpp bool is_valid_name(const std::string& n) { string 37 src/Generator.cpp std::string compute_base_path(const std::string &output_dir, string 38 src/Generator.cpp const std::string &function_name, string 39 src/Generator.cpp const std::string &file_base_name) { string 40 src/Generator.cpp std::vector<std::string> namespaces; string 41 src/Generator.cpp std::string simple_name = extract_namespaces(function_name, namespaces); string 42 src/Generator.cpp std::string base_path = output_dir + "/" + (file_base_name.empty() ? simple_name : file_base_name); string 46 src/Generator.cpp std::string get_extension(const std::string& def, const GeneratorBase::EmitOptions &options) { string 55 src/Generator.cpp const std::string &base_path, string 160 src/Generator.cpp Func make_param_func(const Parameter &p, const std::string &name) { string 176 src/Generator.cpp std::vector<Type> parse_halide_type_list(const std::string &types) { string 187 src/Generator.cpp void ValueTracker::track_values(const std::string &name, const std::vector<Expr> &values) { string 252 src/Generator.cpp const std::string &generator_name, string 277 src/Generator.cpp const std::string generator_name; string 278 src/Generator.cpp std::string class_name; string 279 src/Generator.cpp std::vector<std::string> namespaces; string 298 src/Generator.cpp std::string indent(); string 305 src/Generator.cpp std::string StubEmitter::indent() { string 315 src/Generator.cpp std::string name = "GeneratorParams"; string 331 src/Generator.cpp std::string comma = ""; string 390 src/Generator.cpp std::string c_type; string 391 src/Generator.cpp std::string name; string 395 src/Generator.cpp std::string c_type = input->get_c_type(); string 402 src/Generator.cpp const std::string name = "Inputs"; string 415 src/Generator.cpp std::string comma = ""; string 451 src/Generator.cpp std::string name; string 452 src/Generator.cpp std::string ctype; string 453 src/Generator.cpp std::string getter; string 457 src/Generator.cpp std::string c_type = output->get_c_type(); string 458 src/Generator.cpp std::string getter; string 499 src/Generator.cpp std::string decl = p->get_type_decls(); string 515 src/Generator.cpp std::string comma = sp != schedule_params.back() ? "," : ""; string 569 src/Generator.cpp std::string comma = ""; string 572 src/Generator.cpp std::string type = p->get_template_type(); string 573 src/Generator.cpp std::string value = p->get_template_value(); string 594 src/Generator.cpp std::string type = p->get_template_type(); string 655 src/Generator.cpp std::string c_type = sp->is_looplevel_param() ? "LoopLevel" : halide_type_to_c_type(sp->scalar_type()); string 706 src/Generator.cpp const std::map<std::string, std::string> &generator_params, string 726 src/Generator.cpp const std::map<std::string, Type> &get_halide_type_enum_map() { string 727 src/Generator.cpp static const std::map<std::string, Type> halide_type_enum_map{ string 741 src/Generator.cpp std::string halide_type_to_c_source(const Type &t) { string 742 src/Generator.cpp static const std::map<halide_type_code_t, std::string> m = { string 753 src/Generator.cpp std::string halide_type_to_c_type(const Type &t) { string 755 src/Generator.cpp static const std::map<int, std::string> m = { string 773 src/Generator.cpp const std::map<std::string, LoopLevel> &get_halide_looplevel_enum_map() { string 774 src/Generator.cpp static const std::map<std::string, LoopLevel> halide_looplevel_enum_map{ string 789 src/Generator.cpp std::map<std::string, std::string> flags_info = { { "-f", "" }, string 796 src/Generator.cpp std::map<std::string, std::string> generator_args; string 800 src/Generator.cpp std::vector<std::string> v = split_string(argv[i], "="); string 823 src/Generator.cpp std::string runtime_name = flags_info["-r"]; string 825 src/Generator.cpp std::vector<std::string> generator_names = GeneratorRegistry::enumerate(); string 832 src/Generator.cpp std::string generator_name = flags_info["-g"]; string 845 src/Generator.cpp std::string function_name = flags_info["-f"]; string 850 src/Generator.cpp std::string output_dir = flags_info["-o"]; string 858 src/Generator.cpp const std::vector<std::string> emit_flags = split_string(flags_info["-e"], ","); string 869 src/Generator.cpp std::string file_base_name = flags_info["-n"]; string 880 src/Generator.cpp for (const std::string &opt : emit_flags) { string 907 src/Generator.cpp for (const std::string &x : substitution_flags) { string 932 src/Generator.cpp std::string base_path = compute_base_path(output_dir, runtime_name, ""); string 938 src/Generator.cpp std::string base_path = compute_base_path(output_dir, function_name, file_base_name); string 952 src/Generator.cpp (const std::string &name, const Target &target) -> Module { string 974 src/Generator.cpp GeneratorParamBase::GeneratorParamBase(const std::string &name) : name(name) { string 1004 src/Generator.cpp void GeneratorRegistry::register_factory(const std::string &name, string 1017 src/Generator.cpp void GeneratorRegistry::unregister_factory(const std::string &name) { string 1026 src/Generator.cpp std::unique_ptr<GeneratorBase> GeneratorRegistry::create(const std::string &name, string 1028 src/Generator.cpp const std::map<std::string, std::string> ¶ms) { string 1047 src/Generator.cpp std::vector<std::string> GeneratorRegistry::enumerate() { string 1050 src/Generator.cpp std::vector<std::string> result; string 1080 src/Generator.cpp std::set<std::string> names; string 1097 src/Generator.cpp const std::string &n = gio->name(); string 1199 src/Generator.cpp Func GeneratorBase::get_output(const std::string &n) { string 1216 src/Generator.cpp std::vector<Func> GeneratorBase::get_output_vector(const std::string &n) { string 1233 src/Generator.cpp Internal::GeneratorParamBase &GeneratorBase::find_generator_param_by_name(const std::string &name) { string 1241 src/Generator.cpp void GeneratorBase::set_generator_and_schedule_param_values(const std::map<std::string, std::string> ¶ms) { string 1258 src/Generator.cpp Internal::ScheduleParamBase &GeneratorBase::find_schedule_param_by_name(const std::string &name) { string 1411 src/Generator.cpp Module GeneratorBase::build_module(const std::string &function_name, string 1445 src/Generator.cpp void GeneratorBase::emit_cpp_stub(const std::string &stub_file_path) { string 1476 src/Generator.cpp const std::string &name, string 1502 src/Generator.cpp const std::string &GIOBase::name() const { string 1577 src/Generator.cpp std::string GIOBase::array_name(size_t i) const { string 1578 src/Generator.cpp std::string n = name(); string 1614 src/Generator.cpp const std::string &name, string 1622 src/Generator.cpp GeneratorInputBase::GeneratorInputBase(const std::string &name, IOKind kind, const std::vector<Type> &t, int d) string 1719 src/Generator.cpp GeneratorOutputBase::GeneratorOutputBase(size_t array_size, const std::string &name, IOKind kind, const std::vector<Type> &t, int d) string 1726 src/Generator.cpp GeneratorOutputBase::GeneratorOutputBase(const std::string &name, IOKind kind, const std::vector<Type> &t, int d) string 247 src/Generator.h std::map<std::string, std::vector<std::vector<Expr>>> values_history; string 251 src/Generator.h EXPORT void track_values(const std::string &name, const std::vector<Expr> &values); string 257 src/Generator.h NO_INLINE std::string enum_to_string(const std::map<std::string, T> &enum_map, const T& t) { string 268 src/Generator.h T enum_from_string(const std::map<std::string, T> &enum_map, const std::string& s) { string 274 src/Generator.h EXPORT extern const std::map<std::string, Halide::Type> &get_halide_type_enum_map(); string 275 src/Generator.h inline std::string halide_type_to_enum_string(const Type &t) { string 279 src/Generator.h EXPORT extern const std::map<std::string, Halide::LoopLevel> &get_halide_looplevel_enum_map(); string 280 src/Generator.h inline std::string halide_looplevel_to_enum_string(const LoopLevel &loop_level){ string 286 src/Generator.h EXPORT std::string halide_type_to_c_source(const Type &t); string 290 src/Generator.h EXPORT std::string halide_type_to_c_type(const Type &t); string 327 src/Generator.h EXPORT explicit GeneratorParamBase(const std::string &name); string 330 src/Generator.h const std::string name; string 360 src/Generator.h void set(const std::string &new_value) { set_from_string(new_value); } string 361 src/Generator.h void set(const char *new_value) { set_from_string(std::string(new_value)); } string 371 src/Generator.h virtual void set_from_string(const std::string &value_string) = 0; string 373 src/Generator.h virtual std::string to_string() const = 0; string 374 src/Generator.h virtual std::string call_to_string(const std::string &v) const = 0; string 375 src/Generator.h virtual std::string get_c_type() const = 0; string 377 src/Generator.h virtual std::string get_type_decls() const { string 381 src/Generator.h virtual std::string get_default_value() const { string 385 src/Generator.h virtual std::string get_template_type() const { string 389 src/Generator.h virtual std::string get_template_value() const { string 416 src/Generator.h GeneratorParamImpl(const std::string &name, const T &value) : GeneratorParamBase(name), value_(value) {} string 478 src/Generator.h GeneratorParam_Target(const std::string &name, const T &value) : GeneratorParamImpl<T>(name, value) {} string 480 src/Generator.h void set_from_string(const std::string &new_value_string) override { string 484 src/Generator.h std::string to_string() const override { string 488 src/Generator.h std::string call_to_string(const std::string &v) const override { string 494 src/Generator.h std::string get_c_type() const override { string 502 src/Generator.h GeneratorParam_Arithmetic(const std::string &name, string 516 src/Generator.h void set_from_string(const std::string &new_value_string) override { string 524 src/Generator.h std::string to_string() const override { string 530 src/Generator.h if (oss.str().find(".") == std::string::npos) { string 538 src/Generator.h std::string call_to_string(const std::string &v) const override { string 544 src/Generator.h std::string get_c_type() const override { string 567 src/Generator.h GeneratorParam_Bool(const std::string &name, const T &value) : GeneratorParam_Arithmetic<T>(name, value) {} string 569 src/Generator.h void set_from_string(const std::string &new_value_string) override { string 581 src/Generator.h std::string to_string() const override { string 585 src/Generator.h std::string call_to_string(const std::string &v) const override { string 591 src/Generator.h std::string get_c_type() const override { string 599 src/Generator.h GeneratorParam_Enum(const std::string &name, const T &value, const std::map<std::string, T> &enum_map) string 602 src/Generator.h void set_from_string(const std::string &new_value_string) override { string 608 src/Generator.h std::string to_string() const override { string 612 src/Generator.h std::string call_to_string(const std::string &v) const override { string 616 src/Generator.h std::string get_c_type() const override { string 620 src/Generator.h std::string get_default_value() const override { string 624 src/Generator.h std::string get_type_decls() const override { string 647 src/Generator.h const std::map<std::string, T> enum_map; string 653 src/Generator.h GeneratorParam_Type(const std::string &name, const T &value) string 656 src/Generator.h std::string call_to_string(const std::string &v) const override { string 660 src/Generator.h std::string get_c_type() const override { string 664 src/Generator.h std::string get_template_type() const override { string 668 src/Generator.h std::string get_template_value() const override { string 672 src/Generator.h std::string get_default_value() const override { string 676 src/Generator.h std::string get_type_decls() const override { string 724 src/Generator.h GeneratorParam(const std::string &name, const T &value) string 727 src/Generator.h GeneratorParam(const std::string &name, const T &value, const T &min, const T &max) string 730 src/Generator.h GeneratorParam(const std::string &name, const T &value, const std::map<std::string, T> &enum_map) string 733 src/Generator.h GeneratorParam(const std::string &name, const std::string &value) string 1094 src/Generator.h EXPORT const std::string &name() const; string 1109 src/Generator.h const std::string &name, string 1120 src/Generator.h const std::string name_; string 1136 src/Generator.h EXPORT std::string array_name(size_t i) const; string 1177 src/Generator.h const std::string &name, string 1182 src/Generator.h EXPORT GeneratorInputBase(const std::string &name, IOKind kind, const std::vector<Type> &t, int d); string 1199 src/Generator.h virtual std::string get_c_type() const = 0; string 1220 src/Generator.h GeneratorInputImpl(const std::string &name, IOKind kind, const std::vector<Type> &t, int d) string 1228 src/Generator.h GeneratorInputImpl(const std::string &name, IOKind kind, const std::vector<Type> &t, int d) string 1236 src/Generator.h GeneratorInputImpl(const std::string &name, IOKind kind, const std::vector<Type> &t, int d) string 1282 src/Generator.h std::string get_c_type() const override { string 1298 src/Generator.h GeneratorInput_Buffer(const std::string &name) string 1304 src/Generator.h GeneratorInput_Buffer(const std::string &name, const Type &t, int d = -1) string 1309 src/Generator.h GeneratorInput_Buffer(const std::string &name, int d) string 1342 src/Generator.h std::string get_c_type() const override { string 1347 src/Generator.h GeneratorInput_Func(const std::string &name, const Type &t, int d) string 1352 src/Generator.h GeneratorInput_Func(const std::string &name, int d) string 1357 src/Generator.h GeneratorInput_Func(const std::string &name, const Type &t) string 1362 src/Generator.h GeneratorInput_Func(const std::string &name) string 1366 src/Generator.h GeneratorInput_Func(size_t array_size, const std::string &name, const Type &t, int d) string 1371 src/Generator.h GeneratorInput_Func(size_t array_size, const std::string &name, int d) string 1376 src/Generator.h GeneratorInput_Func(size_t array_size, const std::string &name, const Type &t) string 1381 src/Generator.h GeneratorInput_Func(size_t array_size, const std::string &name) string 1416 src/Generator.h std::string get_c_type() const override { string 1421 src/Generator.h explicit GeneratorInput_Scalar(const std::string &name, string 1427 src/Generator.h const std::string &name, string 1469 src/Generator.h explicit GeneratorInput_Arithmetic(const std::string &name, string 1475 src/Generator.h const std::string &name, string 1480 src/Generator.h GeneratorInput_Arithmetic(const std::string &name, string 1488 src/Generator.h const std::string &name, string 1535 src/Generator.h explicit GeneratorInput(const std::string &name) string 1539 src/Generator.h GeneratorInput(const std::string &name, const TBase &def) string 1543 src/Generator.h GeneratorInput(size_t array_size, const std::string &name, const TBase &def) string 1547 src/Generator.h GeneratorInput(const std::string &name, string 1552 src/Generator.h GeneratorInput(size_t array_size, const std::string &name, string 1557 src/Generator.h GeneratorInput(const std::string &name, const Type &t, int d) string 1561 src/Generator.h GeneratorInput(const std::string &name, const Type &t) string 1566 src/Generator.h GeneratorInput(const std::string &name, IntIfNonScalar d) string 1570 src/Generator.h GeneratorInput(size_t array_size, const std::string &name, const Type &t, int d) string 1574 src/Generator.h GeneratorInput(size_t array_size, const std::string &name, const Type &t) string 1580 src/Generator.h GeneratorInput(size_t array_size, const std::string &name, IntIfNonScalar d) string 1584 src/Generator.h GeneratorInput(size_t array_size, const std::string &name) string 1662 src/Generator.h const std::string &name, string 1667 src/Generator.h EXPORT GeneratorOutputBase(const std::string &name, string 1680 src/Generator.h virtual std::string get_c_type() const { string 1713 src/Generator.h GeneratorOutputImpl(const std::string &name, IOKind kind, const std::vector<Type> &t, int d) string 1721 src/Generator.h GeneratorOutputImpl(const std::string &name, IOKind kind, const std::vector<Type> &t, int d) string 1729 src/Generator.h GeneratorOutputImpl(const std::string &name, IOKind kind, const std::vector<Type> &t, int d) string 1792 src/Generator.h GeneratorOutput_Buffer(const std::string &name) string 1798 src/Generator.h GeneratorOutput_Buffer(const std::string &name, const std::vector<Type> &t, int d = -1) string 1809 src/Generator.h GeneratorOutput_Buffer(const std::string &name, int d) string 1814 src/Generator.h NO_INLINE std::string get_c_type() const override { string 1912 src/Generator.h GeneratorOutput_Func(const std::string &name, const std::vector<Type> &t, int d) string 1916 src/Generator.h GeneratorOutput_Func(size_t array_size, const std::string &name, const std::vector<Type> &t, int d) string 1954 src/Generator.h explicit GeneratorOutput_Arithmetic(const std::string &name) string 1958 src/Generator.h GeneratorOutput_Arithmetic(size_t array_size, const std::string &name) string 1981 src/Generator.h explicit GeneratorOutput(const std::string &name) string 1986 src/Generator.h : GeneratorOutput(std::string(name)) { string 1989 src/Generator.h GeneratorOutput(size_t array_size, const std::string &name) string 1993 src/Generator.h GeneratorOutput(const std::string &name, int d) string 1997 src/Generator.h GeneratorOutput(const std::string &name, const Type &t, int d) string 2001 src/Generator.h GeneratorOutput(const std::string &name, const std::vector<Type> &t, int d) string 2005 src/Generator.h GeneratorOutput(size_t array_size, const std::string &name, int d) string 2009 src/Generator.h GeneratorOutput(size_t array_size, const std::string &name, const Type &t, int d) string 2013 src/Generator.h GeneratorOutput(size_t array_size, const std::string &name, const std::vector<Type> &t, int d) string 2041 src/Generator.h T parse_scalar(const std::string &value) { string 2049 src/Generator.h EXPORT std::vector<Type> parse_halide_type_list(const std::string &types); string 2056 src/Generator.h void set_from_string(const std::string &new_value_string) override { string 2060 src/Generator.h std::string to_string() const override { string 2062 src/Generator.h return std::string(); string 2065 src/Generator.h std::string call_to_string(const std::string &v) const override { string 2067 src/Generator.h return std::string(); string 2070 src/Generator.h std::string get_c_type() const override { string 2072 src/Generator.h return std::string(); string 2083 src/Generator.h GeneratorParam_Synthetic(const std::string &name, GIOBase &gio, Which which) : GeneratorParamImpl<T>(name, T()), gio(gio), which(which) {} string 2086 src/Generator.h void set_from_string_impl(const std::string &new_value_string) { string 2092 src/Generator.h void set_from_string_impl(const std::string &new_value_string) { string 2121 src/Generator.h using ExternsMap = std::map<std::string, ExternalCode>; string 2236 src/Generator.h std::map<std::string, std::string> substitutions; string 2246 src/Generator.h EXPORT void set_generator_param(const std::string &name, const std::string &value); string 2247 src/Generator.h EXPORT void set_generator_and_schedule_param_values(const std::map<std::string, std::string> ¶ms); string 2250 src/Generator.h GeneratorBase &set_generator_param(const std::string &name, const T &value) { string 2256 src/Generator.h GeneratorBase &set_schedule_param(const std::string &name, const T &value) { string 2274 src/Generator.h EXPORT void emit_cpp_stub(const std::string &stub_file_path); string 2278 src/Generator.h EXPORT Module build_module(const std::string &function_name = "", string 2408 src/Generator.h std::map<std::string, Internal::GeneratorParamBase *> generator_params_by_name; string 2411 src/Generator.h std::map<std::string, Internal::ScheduleParamBase *> schedule_params_by_name; string 2430 src/Generator.h std::string generator_name; string 2436 src/Generator.h EXPORT Internal::GeneratorParamBase &find_generator_param_by_name(const std::string &name); string 2437 src/Generator.h EXPORT Internal::ScheduleParamBase &find_schedule_param_by_name(const std::string &name); string 2451 src/Generator.h EXPORT Func get_output(const std::string &n); string 2452 src/Generator.h EXPORT std::vector<Func> get_output_vector(const std::string &n); string 2454 src/Generator.h void set_generator_name(const std::string &n) { string 2610 src/Generator.h const std::map<std::string, std::string> ¶ms) const = 0; string 2617 src/Generator.h SimpleGeneratorFactory(GeneratorCreateFunc create_func, const std::string &generator_name) string 2623 src/Generator.h const std::map<std::string, std::string> ¶ms) const override { string 2632 src/Generator.h const std::string generator_name; string 2637 src/Generator.h EXPORT static void register_factory(const std::string &name, std::unique_ptr<GeneratorFactory> factory); string 2638 src/Generator.h EXPORT static void unregister_factory(const std::string &name); string 2639 src/Generator.h EXPORT static std::vector<std::string> enumerate(); string 2642 src/Generator.h EXPORT static std::unique_ptr<GeneratorBase> create(const std::string &name, string 2644 src/Generator.h const std::map<std::string, std::string> ¶ms); string 2647 src/Generator.h using GeneratorFactoryMap = std::map<const std::string, std::unique_ptr<GeneratorFactory>>; string 2806 src/Generator.h GeneratorStub &set_schedule_param(const std::string &name, const T &value) { string 2849 src/Generator.h typedef std::function<std::unique_ptr<GeneratorBase>(const GeneratorContext&, const std::map<std::string, std::string>&)> GeneratorFactory; string 2853 src/Generator.h const std::map<std::string, std::string> &generator_params, string 2856 src/Generator.h ScheduleParamBase &get_schedule_param(const std::string &n) const { string 2862 src/Generator.h Func get_output(const std::string &n) const { string 2867 src/Generator.h T2 get_output_buffer(const std::string &n) const { string 2871 src/Generator.h std::vector<Func> get_output_vector(const std::string &n) const { string 20 src/HexagonOffload.cpp using std::string; string 186 src/HexagonOffload.cpp std::string hex(uint32_t x) { string 572 src/HexagonOffload.cpp const std::map<std::string, Parameter> &replacements; string 597 src/HexagonOffload.cpp ReplaceParams(const std::map<std::string, Parameter> &replacements) string 601 src/HexagonOffload.cpp Stmt replace_params(Stmt s, const std::map<std::string, Parameter> &replacements) { string 606 src/HexagonOffload.cpp std::map<std::string, Expr> state_bufs; string 614 src/HexagonOffload.cpp Expr state_var(const std::string& name, Type type) { string 620 src/HexagonOffload.cpp Expr state_var_ptr(const std::string& name, Type type) { string 643 src/HexagonOffload.cpp Expr buf = Variable::make(type_of<halide_buffer_t *>(), string(name) + ".buffer", code); string 661 src/HexagonOffload.cpp std::string hex_name = unique_name("offload_rpc." + loop->name); string 681 src/HexagonOffload.cpp std::map<std::string, Parameter> replacement_params; string 769 src/HexagonOffload.cpp std::string pipeline_name = hex_name + "_argv"; string 896 src/HexagonOffload.cpp std::vector<std::string> dependencies = { "libhalide_hexagon_remote_skel.so" }; string 899 src/HexagonOffload.cpp std::string signer = get_env_variable("HL_HEXAGON_CODE_SIGNER"); string 924 src/HexagonOffload.cpp std::string cmd = signer + " " + input.pathname() + " " + output.pathname(); string 20 src/HexagonOptimize.cpp using std::string; string 26 src/HexagonOptimize.cpp string fn; string 37 src/HexagonOptimize.cpp string fn; string 144 src/HexagonOptimize.cpp string intrin; // Name of the intrinsic string 149 src/HexagonOptimize.cpp Pattern(const string &intrin, Expr p, int flags = 0) string 359 src/HexagonOptimize.cpp static Expr halide_hexagon_add_2mpy(Type result_type, string suffix, Expr v0, Expr v1, Expr c0, Expr c1) { string 364 src/HexagonOptimize.cpp static Expr halide_hexagon_add_2mpy(Type result_type, string suffix, Expr v01, Expr c01) { string 368 src/HexagonOptimize.cpp static Expr halide_hexagon_add_4mpy(Type result_type, string suffix, Expr v01, Expr c01) { string 470 src/HexagonOptimize.cpp string suffix; string 559 src/HexagonOptimize.cpp string vmpa_suffix; string 560 src/HexagonOptimize.cpp string vdmpy_suffix; string 706 src/HexagonOptimize.cpp static const pair<string, Expr> cl[] = { string 1095 src/HexagonOptimize.cpp static bool uses_var(Stmt s, const string &var) { string 1098 src/HexagonOptimize.cpp static bool uses_var(Expr e, const string &var) { string 1105 src/HexagonOptimize.cpp string deinterleaved_name; string 1202 src/HexagonOptimize.cpp static const set<string> interleavable = { string 1218 src/HexagonOptimize.cpp static const set<string> not_interleavable = { string 1282 src/HexagonOptimize.cpp static std::map<string, string> deinterleaving_alts = { string 1293 src/HexagonOptimize.cpp static std::map<string, string> interleaving_alts = { string 1463 src/HexagonOptimize.cpp static const std::vector<std::pair<string, string>> non_deinterleaving_alts = { string 1522 src/HexagonOptimize.cpp std::vector<std::pair<string, Expr>> lets; string 232 src/IR.cpp Expr Load::make(Type type, const std::string &name, const Expr &index, Buffer<> image, Parameter param, const Expr &predicate) { string 277 src/IR.cpp Expr Let::make(const std::string &name, const Expr &value, const Expr &body) { string 289 src/IR.cpp Stmt LetStmt::make(const std::string &name, const Expr &value, const Stmt &body) { string 310 src/IR.cpp Stmt ProducerConsumer::make(const std::string &name, bool is_producer, const Stmt &body) { string 320 src/IR.cpp Stmt ProducerConsumer::make_produce(const std::string &name, const Stmt &body) { string 324 src/IR.cpp Stmt ProducerConsumer::make_consume(const std::string &name, const Stmt &body) { string 328 src/IR.cpp Stmt For::make(const std::string &name, const Expr &min, const Expr &extent, ForType for_type, DeviceAPI device_api, const Stmt &body) { string 345 src/IR.cpp Stmt Store::make(const std::string &name, const Expr &value, const Expr &index, Parameter param, const Expr &predicate) { string 362 src/IR.cpp Stmt Provide::make(const std::string &name, const std::vector<Expr> &values, const std::vector<Expr> &args) { string 378 src/IR.cpp Stmt Allocate::make(const std::string &name, Type type, const std::vector<Expr> &extents, string 380 src/IR.cpp const Expr &new_expr, const std::string &free_function) { string 400 src/IR.cpp int32_t Allocate::constant_allocation_size(const std::vector<Expr> &extents, const std::string &name) { string 435 src/IR.cpp Stmt Free::make(const std::string &name) { string 441 src/IR.cpp Stmt Realize::make(const std::string &name, const std::vector<Type> &types, const Region &bounds, const Expr &condition, const Stmt &body) { string 462 src/IR.cpp Stmt Prefetch::make(const std::string &name, const std::vector<Type> &types, const Region &bounds, Parameter param) { string 537 src/IR.cpp Expr Call::make(Type type, const std::string &name, const std::vector<Expr> &args, CallType call_type, string 573 src/IR.cpp Expr Variable::make(Type type, const std::string &name, Buffer<> image, Parameter param, ReductionDomain reduction_domain) { string 199 src/IR.h std::string name; string 210 src/IR.h EXPORT static Expr make(Type type, const std::string &name, string 247 src/IR.h std::string name; string 250 src/IR.h EXPORT static Expr make(const std::string &name, const Expr &value, const Expr &body); string 258 src/IR.h std::string name; string 262 src/IR.h EXPORT static Stmt make(const std::string &name, const Expr &value, const Stmt &body); string 291 src/IR.h std::string name; string 295 src/IR.h EXPORT static Stmt make(const std::string &name, bool is_producer, const Stmt &body); string 297 src/IR.h EXPORT static Stmt make_produce(const std::string &name, const Stmt &body); string 298 src/IR.h EXPORT static Stmt make_consume(const std::string &name, const Stmt &body); string 309 src/IR.h std::string name; string 314 src/IR.h EXPORT static Stmt make(const std::string &name, const Expr &value, const Expr &index, string 326 src/IR.h std::string name; string 330 src/IR.h EXPORT static Stmt make(const std::string &name, const std::vector<Expr> &values, const std::vector<Expr> &args); string 343 src/IR.h std::string name; string 356 src/IR.h std::string free_function; string 359 src/IR.h EXPORT static Stmt make(const std::string &name, Type type, const std::vector<Expr> &extents, string 361 src/IR.h const Expr &new_expr = Expr(), const std::string &free_function = std::string()); string 368 src/IR.h EXPORT static int32_t constant_allocation_size(const std::vector<Expr> &extents, const std::string &name); string 376 src/IR.h std::string name; string 378 src/IR.h EXPORT static Stmt make(const std::string &name); string 403 src/IR.h std::string name; string 409 src/IR.h EXPORT static Stmt make(const std::string &name, const std::vector<Type> &types, const Region &bounds, const Expr &condition, const Stmt &body); string 454 src/IR.h std::string name; string 559 src/IR.h EXPORT static Expr make(Type type, const std::string &name, const std::vector<Expr> &args, CallType call_type, string 602 src/IR.h std::string name; string 614 src/IR.h static Expr make(Type type, const std::string &name) { string 618 src/IR.h static Expr make(Type type, const std::string &name, Parameter param) { string 622 src/IR.h static Expr make(Type type, const std::string &name, Buffer<> image) { string 626 src/IR.h static Expr make(Type type, const std::string &name, ReductionDomain reduction_domain) { string 630 src/IR.h EXPORT static Expr make(Type type, const std::string &name, Buffer<> image, string 649 src/IR.h std::string name; string 655 src/IR.h EXPORT static Stmt make(const std::string &name, const Expr &min, const Expr &extent, ForType for_type, DeviceAPI device_api, const Stmt &body); string 722 src/IR.h std::string name; string 729 src/IR.h EXPORT static Stmt make(const std::string &name, const std::vector<Type> &types, string 8 src/IREquality.cpp using std::string; string 43 src/IREquality.cpp CmpResult compare_names(const std::string &a, const std::string &b); string 209 src/IREquality.cpp IRComparer::CmpResult IRComparer::compare_names(const string &a, const string &b) { string 14 src/IRMatch.cpp using std::string; string 56 src/IRMatch.cpp map<string, Expr> *var_matches; string 61 src/IRMatch.cpp IRMatch(Expr e, map<string, Expr> &m) : result(true), matches(nullptr), var_matches(&m), expr(e) { string 269 src/IRMatch.cpp bool expr_match(Expr pattern, Expr expr, map<string, Expr> &matches) { string 44 src/IRMatch.h EXPORT bool expr_match(Expr pattern, Expr expr, std::map<std::string, Expr> &result); string 627 src/IROperator.cpp std::string shape_var_name = unique_name('t'); string 1702 src/IROperator.h args.push_back(Expr(std::string(arg))); string 14 src/IRPrinter.cpp using std::string; string 121 src/IRPrinter.cpp {string("y"), y, 3}, Call::Extern)); string 128 src/IRPrinter.cpp std::string correct_source = \ string 328 src/IRPrinter.cpp string hex_digits = "0123456789ABCDEF"; string 12 src/ImageParam.cpp ImageParam::ImageParam(Type t, int d, const std::string &n) string 37 src/ImageParam.h EXPORT ImageParam(Type t, int d, const std::string &n); string 12 src/InferArguments.cpp using std::string; string 34 src/InferArguments.cpp set<string> visited_functions; string 38 src/InferArguments.cpp bool already_have(const string &name) { string 12 src/InjectHostDevBufferCopies.cpp using std::string; string 18 src/InjectHostDevBufferCopies.cpp Stmt call_extern_and_assert(const string& name, const vector<Expr>& args) { string 20 src/InjectHostDevBufferCopies.cpp string call_result_name = unique_name(name + "_result"); string 57 src/InjectHostDevBufferCopies.cpp map<string, DeviceAPI> internal; string 124 src/InjectHostDevBufferCopies.cpp set<string> buffers_to_track; string 138 src/InjectHostDevBufferCopies.cpp std::string buf_name; string 140 src/InjectHostDevBufferCopies.cpp NullifyHostField(const std::string &b) : buf_name(b) {} string 159 src/InjectHostDevBufferCopies.cpp string loop_level; string 184 src/InjectHostDevBufferCopies.cpp map<string, BufferInfo> state; string 185 src/InjectHostDevBufferCopies.cpp string loop_level; string 186 src/InjectHostDevBufferCopies.cpp const set<string> &buffers_to_track; string 191 src/InjectHostDevBufferCopies.cpp std::string interface_name; string 219 src/InjectHostDevBufferCopies.cpp Stmt make_dev_malloc(string buf_name, DeviceAPI target_device_api, bool is_device_and_host) { string 238 src/InjectHostDevBufferCopies.cpp Stmt make_buffer_copy(CopyDirection direction, string buf_name, DeviceAPI target_device_api) { string 247 src/InjectHostDevBufferCopies.cpp std::string suffix = (direction == ToDevice) ? "device" : "host"; string 263 src/InjectHostDevBufferCopies.cpp for (pair<const string, BufferInfo> &i : state) { string 405 src/InjectHostDevBufferCopies.cpp bool should_track(const string &buf) { string 440 src/InjectHostDevBufferCopies.cpp string buf_name = buffer_var->name.substr(0, buffer_var->name.size() - 7); string 451 src/InjectHostDevBufferCopies.cpp string buf_name = buffer_var->name.substr(0, buffer_var->name.size() - 7); string 478 src/InjectHostDevBufferCopies.cpp for (pair<const string, BufferInfo> &i : state) { string 479 src/InjectHostDevBufferCopies.cpp const string &buf_name = i.first; string 488 src/InjectHostDevBufferCopies.cpp for (pair<const string, BufferInfo> &i : state) { string 489 src/InjectHostDevBufferCopies.cpp const string &buf_name = i.first; string 514 src/InjectHostDevBufferCopies.cpp string buf_name = op->name.substr(0, op->name.size() - 7); string 529 src/InjectHostDevBufferCopies.cpp string buf_name = op->name; string 626 src/InjectHostDevBufferCopies.cpp string buf_name = op->name.substr(0, op->name.size() - 7); string 651 src/InjectHostDevBufferCopies.cpp map<string, BufferInfo> copy = state; string 662 src/InjectHostDevBufferCopies.cpp for (const pair<string, BufferInfo> &i : copy) { string 663 src/InjectHostDevBufferCopies.cpp const string &buf_name = i.first; string 729 src/InjectHostDevBufferCopies.cpp string old_loop_level = loop_level; string 752 src/InjectHostDevBufferCopies.cpp InjectBufferCopies(const set<string> &i, const Target &t) : loop_level(""), buffers_to_track(i), target(t), device_api(DeviceAPI::Host) {} string 763 src/InjectHostDevBufferCopies.cpp for (const std::string &i : f.buffers_to_track) { string 16 src/InjectHostDevBufferCopies.h EXPORT Stmt call_extern_and_assert(const std::string& name, const std::vector<Expr>& args); string 12 src/InjectImageIntrinsics.cpp using std::string; string 17 src/InjectImageIntrinsics.cpp InjectImageIntrinsics(const map<string, Function> &e) : inside_kernel_loop(false), env(e) {} string 21 src/InjectImageIntrinsics.cpp const map<string, Function> &env; string 64 src/InjectImageIntrinsics.cpp string name = call->name; string 93 src/InjectImageIntrinsics.cpp string d = std::to_string(i); string 94 src/InjectImageIntrinsics.cpp string min_name = name + ".min." + d; string 95 src/InjectImageIntrinsics.cpp string min_name_constrained = min_name + ".constrained"; string 99 src/InjectImageIntrinsics.cpp string extent_name = name + ".extent." + d; string 100 src/InjectImageIntrinsics.cpp string extent_name_constrained = extent_name + ".constrained"; string 165 src/InjectImageIntrinsics.cpp Stmt inject_image_intrinsics(Stmt s, const map<string, Function> &env) { string 18 src/InjectImageIntrinsics.h Stmt inject_image_intrinsics(Stmt s, const std::map<std::string, Function> &env); string 12 src/InjectOpenGLIntrinsics.cpp using std::string; string 14 src/Inline.cpp using std::string; string 109 src/Inline.cpp const vector<string> func_args = func.args(); string 11 src/InlineReductions.cpp using std::string; string 23 src/InlineReductions.cpp FindFreeVars(RDom r, const string &n) : string 29 src/InlineReductions.cpp const string &name; string 50 src/InlineReductions.cpp string var_name = v->name; string 104 src/InlineReductions.cpp Expr sum(Expr e, const std::string &name) { string 108 src/InlineReductions.cpp Expr sum(RDom r, Expr e, const std::string &name) { string 119 src/InlineReductions.cpp Expr product(Expr e, const std::string &name) { string 123 src/InlineReductions.cpp Expr product(RDom r, Expr e, const std::string &name) { string 134 src/InlineReductions.cpp Expr maximum(Expr e, const std::string &name) { string 138 src/InlineReductions.cpp Expr maximum(RDom r, Expr e, const std::string &name) { string 150 src/InlineReductions.cpp Expr minimum(Expr e, const std::string &name) { string 154 src/InlineReductions.cpp Expr minimum(RDom r, Expr e, const std::string &name) { string 166 src/InlineReductions.cpp Tuple argmax(Expr e, const std::string &name) { string 170 src/InlineReductions.cpp Tuple argmax(RDom r, Expr e, const std::string &name) { string 195 src/InlineReductions.cpp Tuple argmin(Expr e, const std::string &name) { string 199 src/InlineReductions.cpp Tuple argmin(RDom r, Expr e, const std::string &name) { string 36 src/InlineReductions.h EXPORT Expr sum(Expr, const std::string &s = "sum"); string 37 src/InlineReductions.h EXPORT Expr product(Expr, const std::string &s = "product"); string 38 src/InlineReductions.h EXPORT Expr maximum(Expr, const std::string &s = "maximum"); string 39 src/InlineReductions.h EXPORT Expr minimum(Expr, const std::string &s = "minimum"); string 52 src/InlineReductions.h EXPORT Expr sum(RDom, Expr, const std::string &s = "sum"); string 53 src/InlineReductions.h EXPORT Expr product(RDom, Expr, const std::string &s = "product"); string 54 src/InlineReductions.h EXPORT Expr maximum(RDom, Expr, const std::string &s = "maximum"); string 55 src/InlineReductions.h EXPORT Expr minimum(RDom, Expr, const std::string &s = "minimum"); string 64 src/InlineReductions.h EXPORT Tuple argmax(Expr, const std::string &s = "argmax"); string 65 src/InlineReductions.h EXPORT Tuple argmin(Expr, const std::string &s = "argmin"); string 66 src/InlineReductions.h EXPORT Tuple argmax(RDom, Expr, const std::string &s = "argmax"); string 67 src/InlineReductions.h EXPORT Tuple argmin(RDom, Expr, const std::string &s = "argmin"); string 65 src/Introspection.cpp std::string name; string 87 src/Introspection.cpp std::string name; string 98 src/Introspection.cpp std::string name; string 117 src/Introspection.cpp std::string name; string 134 src/Introspection.cpp vector<std::string> source_files; string 146 src/Introspection.cpp std::string name; string 165 src/Introspection.cpp DebugSections(std::string binary) : calibrated(false), working(false) { string 168 src/Introspection.cpp if (last_slash == std::string::npos || string 174 src/Introspection.cpp std::string file_only = binary.substr(last_slash, binary.size() - last_slash); string 264 src/Introspection.cpp bool type_name_match(const std::string &actual_type, const std::string &query_type) { string 331 src/Introspection.cpp std::string get_global_variable_name(const void *global_pointer, const std::string &type_name = "") { string 483 src/Introspection.cpp std::string get_heap_member_name(const void *ptr, const std::string &type_name = "") { string 566 src/Introspection.cpp std::string get_stack_variable_name(const void *stack_pointer, const std::string &type_name = "") { string 714 src/Introspection.cpp std::string get_source_location() { string 779 src/Introspection.cpp const std::string &file = source_files[source_lines[lo].file]; string 869 src/Introspection.cpp void load_and_parse_object_file(const std::string &binary) { string 913 src/Introspection.cpp std::string prefix = "__"; string 915 src/Introspection.cpp std::string prefix = "."; string 1038 src/Introspection.cpp vector<pair<std::string, int>> namespace_stack; string 1122 src/Introspection.cpp std::string namespace_name; string 1124 src/Introspection.cpp std::string containing_namespace; string 1327 src/Introspection.cpp func.name = containing_namespace + std::string((const char *)payload); string 1358 src/Introspection.cpp type_info.name = containing_namespace + std::string((const char *)payload); string 1365 src/Introspection.cpp type_info.name = containing_namespace + std::string((const char *)payload); string 1372 src/Introspection.cpp type_info.name = containing_namespace + std::string((const char *)payload); string 1379 src/Introspection.cpp type_info.name = containing_namespace + std::string((const char *)payload); string 1442 src/Introspection.cpp gvar.name = containing_namespace + std::string((const char *)payload); string 1445 src/Introspection.cpp gvar.name = var.name = std::string((const char *)payload); string 1475 src/Introspection.cpp var.name = std::string((const char *)payload); string 1493 src/Introspection.cpp namespace_name = std::string((const char *)payload); string 1694 src/Introspection.cpp vector<std::string> suffix; string 1897 src/Introspection.cpp vector<std::string> include_dirs; string 2182 src/Introspection.cpp std::string get_variable_name(const void *var, const std::string &expected_type) { string 2185 src/Introspection.cpp std::string name = debug_sections->get_stack_variable_name(var, expected_type); string 2198 src/Introspection.cpp std::string get_source_location() { string 2224 src/Introspection.cpp void test_compilation_unit(bool (*test)(bool (*)(const void *, const std::string &)), string 2225 src/Introspection.cpp bool (*test_a)(const void *, const std::string &), string 2280 src/Introspection.cpp std::string get_variable_name(const void *var, const std::string &expected_type) { string 2284 src/Introspection.cpp std::string get_source_location() { string 2294 src/Introspection.cpp void test_compilation_unit(bool (*test)(bool (*)(const void *, const std::string &)), string 2295 src/Introspection.cpp bool (*test_a)(const void *, const std::string &), string 25 src/Introspection.h EXPORT std::string get_variable_name(const void *, const std::string &expected_type); string 47 src/Introspection.h EXPORT std::string get_source_location(); string 52 src/Introspection.h EXPORT void test_compilation_unit(bool (*test)(bool (*)(const void *, const std::string &)), string 53 src/Introspection.h bool (*test_a)(const void *, const std::string &), string 69 src/Introspection.h static bool check_introspection(const void *var, const std::string &type, string 70 src/Introspection.h const std::string &correct_name, string 71 src/Introspection.h const std::string &correct_file, int line) { string 72 src/Introspection.h std::string correct_loc = correct_file + ":" + std::to_string(line); string 73 src/Introspection.h std::string loc = Introspection::get_source_location(); string 74 src/Introspection.h std::string name = Introspection::get_variable_name(var, type); string 109 src/Introspection.h bool test(const std::string &my_name); string 112 src/Introspection.h static bool test_a(const void *a_ptr, const std::string &my_name) { string 123 src/Introspection.h static bool test(bool (*f)(const void *, const std::string &)) { string 38 src/JITModule.cpp using std::string; string 80 src/JITModule.cpp string error; string 91 src/JITModule.cpp string error; string 108 src/JITModule.cpp string error; string 136 src/JITModule.cpp std::map<std::string, JITModule::Symbol> exports; string 143 src/JITModule.cpp std::string name; string 155 src/JITModule.cpp JITModule::Symbol compile_and_get_function(ExecutionEngine &ee, const string &name) { string 180 src/JITModule.cpp virtual uint64_t getSymbolAddress(const std::string &name) override { string 183 src/JITModule.cpp std::map<std::string, JITModule::Symbol>::const_iterator iter = m.exports().find(name); string 252 src/JITModule.cpp void JITModule::compile_module(std::unique_ptr<llvm::Module> m, const string &function_name, const Target &target, string 254 src/JITModule.cpp const std::vector<std::string> &requested_exports) { string 262 src/JITModule.cpp string error_string; string 264 src/JITModule.cpp string mcpu; string 265 src/JITModule.cpp string mattrs; string 270 src/JITModule.cpp string module_name = m->getModuleIdentifier(); string 283 src/JITModule.cpp std::vector<string> mattrs_array = {mattrs}; string 321 src/JITModule.cpp std::map<std::string, Symbol> exports; string 359 src/JITModule.cpp const std::map<std::string, JITModule::Symbol> &JITModule::exports() const { string 363 src/JITModule.cpp JITModule::Symbol JITModule::find_symbol_by_name(const std::string &name) const { string 364 src/JITModule.cpp std::map<std::string, JITModule::Symbol>::iterator it = jit_module->exports.find(name); string 414 src/JITModule.cpp void JITModule::add_symbol_for_export(const std::string &name, const Symbol &extern_symbol) { string 418 src/JITModule.cpp void JITModule::add_extern_for_export(const std::string &name, const ExternCFunction &extern_c_function) { string 453 src/JITModule.cpp std::map<std::string, Symbol>::const_iterator f = string 582 src/JITModule.cpp function_t hook_function(const std::map<std::string, JITModule::Symbol> &exports, const char *hook_name, function_t hook) { string 654 src/JITModule.cpp string module_name; string 696 src/JITModule.cpp std::set<std::string> halide_exports_unique; string 706 src/JITModule.cpp std::vector<std::string> halide_exports(halide_exports_unique.begin(), halide_exports_unique.end()); string 55 src/JITModule.h EXPORT const std::map<std::string, Symbol> &exports() const; string 98 src/JITModule.h EXPORT void add_symbol_for_export(const std::string &name, const Symbol &extern_symbol); string 103 src/JITModule.h EXPORT void add_extern_for_export(const std::string &name, string 107 src/JITModule.h EXPORT Symbol find_symbol_by_name(const std::string &) const; string 112 src/JITModule.h const std::string &function_name, const Target &target, string 114 src/JITModule.h const std::vector<std::string> &requested_exports = std::vector<std::string>()); string 13 src/LLVM_Output.cpp std::unique_ptr<llvm::raw_fd_ostream> make_raw_fd_ostream(const std::string &filename) { string 14 src/LLVM_Output.cpp std::string error_string; string 90 src/LLVM_Output.cpp void create_static_library(const std::vector<std::string> &src_files, const Target &target, string 91 src/LLVM_Output.cpp const std::string &dst_file, bool deterministic) { string 34 src/LLVM_Output.h std::unique_ptr<llvm::raw_fd_ostream> make_raw_fd_ostream(const std::string &filename); string 54 src/LLVM_Output.h EXPORT void create_static_library(const std::vector<std::string> &src_files, const Target &target, string 55 src/LLVM_Output.h const std::string &dst_file, bool deterministic = true); string 6 src/LLVM_Runtime_Linker.cpp using std::string; string 442 src/LLVM_Runtime_Linker.cpp vector<string> retain = {"__stack_chk_guard", string 467 src/LLVM_Runtime_Linker.cpp for (const string &r : retain) { string 475 src/LLVM_Runtime_Linker.cpp << " for function " << (std::string)f.getName() << "\n"; string 518 src/LLVM_Runtime_Linker.cpp string n = f.getName(); string 525 src/LLVM_Runtime_Linker.cpp string unmangled_name = n.substr(2); string 555 src/LLVM_Runtime_Linker.cpp string new_name = "_" + fn->getName().str(); string 571 src/LLVM_Runtime_Linker.cpp string posix_fns[] = {"vsnprintf", "open", "close", "write", "fileno"}; string 573 src/LLVM_Runtime_Linker.cpp string *posix_fns_begin = posix_fns; string 574 src/LLVM_Runtime_Linker.cpp string *posix_fns_end = posix_fns + sizeof(posix_fns) / sizeof(posix_fns[0]); string 958 src/LLVM_Runtime_Linker.cpp const std::vector<uint8_t> &bitcode, const std::string &name) { string 31 src/LLVM_Runtime_Linker.h const std::vector<uint8_t> &bitcode, const std::string &name); string 16 src/LoopCarry.cpp using std::string; string 188 src/LoopCarry.cpp vector<pair<string, Expr>> containing_lets; string 386 src/LoopCarry.cpp string scratch = unique_name('c'); string 418 src/LoopCarry.cpp vector<pair<string, Expr>> initial_lets; string 483 src/LoopCarry.cpp LoopCarryOverLoop(const string &var, const Scope<int> &s, int max_carried_values) string 489 src/LoopCarry.cpp string name; string 71 src/Lower.cpp using std::string; string 75 src/Lower.cpp Module lower(const vector<Function> &output_funcs, const string &pipeline_name, const Target &t, string 78 src/Lower.cpp std::vector<std::string> namespaces; string 79 src/Lower.cpp std::string simple_pipeline_name = extract_namespaces(pipeline_name, namespaces); string 84 src/Lower.cpp map<string, Function> env; string 86 src/Lower.cpp map<string, Function> more_funcs = find_transitive_calls(f); string 108 src/Lower.cpp vector<string> order = realization_order(outputs, env); string 404 src/Lower.cpp EXPORT Stmt lower_main_stmt(const std::vector<Function> &output_funcs, const std::string &pipeline_name, string 29 src/Lower.h EXPORT Module lower(const std::vector<Function> &output_funcs, const std::string &pipeline_name, const Target &t, string 38 src/Lower.h EXPORT Stmt lower_main_stmt(const std::vector<Function> &output_funcs, const std::string &pipeline_name, const Target &t, string 119 src/Memoization.cpp std::string name; string 130 src/Memoization.cpp DependencyKey(uint32_t size_arg, const std::string &name_arg) string 149 src/Memoization.cpp const std::string &top_level_name; string 150 src/Memoization.cpp const std::string &function_name; string 184 src/Memoization.cpp KeyInfo(const Function &function, const std::string &name) string 209 src/Memoization.cpp Stmt generate_key(std::string key_name) { string 262 src/Memoization.cpp Expr generate_lookup(std::string key_allocation_name, std::string computed_bounds_name, string 263 src/Memoization.cpp int32_t tuple_count, std::string storage_base_name) { string 283 src/Memoization.cpp Stmt store_computation(std::string key_allocation_name, std::string computed_bounds_name, string 284 src/Memoization.cpp int32_t tuple_count, std::string storage_base_name) { string 310 src/Memoization.cpp const std::map<std::string, Function> &env; string 311 src/Memoization.cpp const std::string &top_level_name; string 314 src/Memoization.cpp InjectMemoization(const std::map<std::string, Function> &e, const std::string &name, string 322 src/Memoization.cpp std::map<std::string, Function>::const_iterator iter = env.find(op->name); string 350 src/Memoization.cpp std::string cache_key_name = op->name + ".cache_key"; string 351 src/Memoization.cpp std::string cache_result_name = op->name + ".cache_result"; string 352 src/Memoization.cpp std::string cache_miss_name = op->name + ".cache_miss"; string 353 src/Memoization.cpp std::string computed_bounds_name = op->name + ".computed_bounds.buffer"; string 369 src/Memoization.cpp std::string max_stage_num = std::to_string(f.updates().size()); string 370 src/Memoization.cpp for (const std::string arg : f.args()) { string 371 src/Memoization.cpp std::string prefix = op->name + ".s" + max_stage_num + "." + arg; string 393 src/Memoization.cpp std::map<std::string, Function>::const_iterator iter = env.find(op->name); string 402 src/Memoization.cpp std::string cache_miss_name = op->name + ".cache_miss"; string 412 src/Memoization.cpp std::string cache_key_name = op->name + ".cache_key"; string 413 src/Memoization.cpp std::string computed_bounds_name = op->name + ".computed_bounds.buffer"; string 427 src/Memoization.cpp Stmt inject_memoization(Stmt s, const std::map<std::string, Function> &env, string 428 src/Memoization.cpp const std::string &name, string 437 src/Memoization.cpp RewriteMemoizedAllocations(const std::map<std::string, Function> &e) string 441 src/Memoization.cpp const std::map<std::string, Function> &env; string 442 src/Memoization.cpp std::map<std::string, std::vector<const Allocate *>> pending_memoized_allocations; string 443 src/Memoization.cpp std::string innermost_realization_name; string 445 src/Memoization.cpp std::string get_realization_name(const std::string &allocation_name) { string 446 src/Memoization.cpp std::string realization_name = allocation_name; string 448 src/Memoization.cpp if (off != std::string::npos) { string 463 src/Memoization.cpp std::string realization_name = get_realization_name(allocation->name); string 464 src/Memoization.cpp std::map<std::string, Function>::const_iterator iter = env.find(realization_name); string 467 src/Memoization.cpp std::string old_innermost_realization_name = innermost_realization_name; string 527 src/Memoization.cpp Stmt rewrite_memoized_allocations(Stmt s, const std::map<std::string, Function> &env) { string 23 src/Memoization.h Stmt inject_memoization(Stmt s, const std::map<std::string, Function> &env, string 24 src/Memoization.h const std::string &name, string 33 src/Memoization.h Stmt rewrite_memoized_allocations(Stmt s, const std::map<std::string, Function> &env); string 38 src/Module.cpp std::string add_temp_object_file(const std::string &base_path_name, string 39 src/Module.cpp const std::string &suffix, string 45 src/Module.cpp if (slash_idx == std::string::npos) { string 50 src/Module.cpp if (backslash_idx == std::string::npos) { string 55 src/Module.cpp std::string base_name = base_path_name.substr(std::max(slash_idx, backslash_idx)); string 56 src/Module.cpp std::string name = dir_path + "/" + base_name + suffix + ext; string 66 src/Module.cpp const std::vector<std::string> &files() { return dir_files; } string 68 src/Module.cpp const std::string dir_path; string 69 src/Module.cpp std::vector<std::string> dir_files; string 76 src/Module.cpp std::string add_suffix(const std::string &path, const std::string &suffix) { string 78 src/Module.cpp if (found == std::string::npos) { string 84 src/Module.cpp Outputs add_suffixes(const Outputs &in, const std::string &suffix) { string 111 src/Module.cpp std::string name; string 129 src/Module.cpp LoweredFunc::LoweredFunc(const std::string &name, string 136 src/Module.cpp LoweredFunc::LoweredFunc(const std::string &name, string 151 src/Module.cpp Module::Module(const std::string &name, const Target &target) : string 161 src/Module.cpp const std::string &Module::name() const { string 185 src/Module.cpp Internal::LoweredFunc Module::get_function_by_name(const std::string &name) const { string 211 src/Module.cpp Module link_modules(const std::string &name, const std::vector<Module> &modules) { string 334 src/Module.cpp std::string object_name = temp_dir.add_temp_object_file(output_files.static_library_name, "", target()); string 399 src/Module.cpp void compile_standalone_runtime(const std::string &object_filename, Target t) { string 403 src/Module.cpp void compile_multitarget(const std::string &fn_name, string 407 src/Module.cpp const std::map<std::string, std::string> &suffixes) { string 478 src/Module.cpp std::string suffix = replace_all(target.to_string(), "-", "_"); string 484 src/Module.cpp std::string sub_fn_name = needs_wrapper ? (fn_name + suffix) : fn_name; string 543 src/Module.cpp std::string private_result_name = unique_name(fn_name + "_result"); string 31 src/Module.h LoweredArgument(const std::string &_name, Kind _kind, const Type &_type, uint8_t _dimensions, string 41 src/Module.h std::string name; string 63 src/Module.h LoweredFunc(const std::string &name, string 68 src/Module.h LoweredFunc(const std::string &name, string 87 src/Module.h EXPORT Module(const std::string &name, const Target &target); string 94 src/Module.h EXPORT const std::string &name() const; string 107 src/Module.h EXPORT Internal::LoweredFunc get_function_by_name(const std::string &name) const; string 132 src/Module.h EXPORT Module link_modules(const std::string &name, const std::vector<Module> &modules); string 136 src/Module.h EXPORT void compile_standalone_runtime(const std::string &object_filename, Target t); string 144 src/Module.h typedef std::function<Module(const std::string &, const Target &)> ModuleProducer; string 146 src/Module.h EXPORT void compile_multitarget(const std::string &fn_name, string 150 src/Module.h const std::map<std::string, std::string> &suffixes = {}); string 11 src/Monotonic.cpp using std::string; string 14 src/Monotonic.cpp const string &var; string 388 src/Monotonic.cpp MonotonicVisitor(const std::string &v) : var(v), result(Monotonic::Unknown) {} string 391 src/Monotonic.cpp Monotonic is_monotonic(Expr e, const std::string &var) { string 19 src/Monotonic.h EXPORT Monotonic is_monotonic(Expr e, const std::string &var); string 12 src/OutputImageParam.cpp const std::string &OutputImageParam::name() const { string 38 src/OutputImageParam.h EXPORT const std::string &name() const; string 19 src/Outputs.h std::string object_name; string 23 src/Outputs.h std::string assembly_name; string 27 src/Outputs.h std::string bitcode_name; string 31 src/Outputs.h std::string llvm_assembly_name; string 35 src/Outputs.h std::string c_header_name; string 39 src/Outputs.h std::string c_source_name; string 43 src/Outputs.h std::string stmt_name; string 47 src/Outputs.h std::string stmt_html_name; string 51 src/Outputs.h std::string static_library_name; string 55 src/Outputs.h Outputs object(const std::string &object_name) const { string 63 src/Outputs.h Outputs assembly(const std::string &assembly_name) const { string 71 src/Outputs.h Outputs bitcode(const std::string &bitcode_name) const { string 79 src/Outputs.h Outputs llvm_assembly(const std::string &llvm_assembly_name) const { string 87 src/Outputs.h Outputs c_header(const std::string &c_header_name) const { string 95 src/Outputs.h Outputs c_source(const std::string &c_source_name) const { string 103 src/Outputs.h Outputs stmt(const std::string &stmt_name) const { string 111 src/Outputs.h Outputs stmt_html(const std::string &stmt_html_name) const { string 119 src/Outputs.h Outputs static_library(const std::string &static_library_name) const { string 14 src/ParallelRVar.cpp using std::string; string 24 src/ParallelRVar.cpp const string &func; string 43 src/ParallelRVar.cpp FindLoads(const string &f) : func(f) {} string 52 src/ParallelRVar.cpp map<string, string> new_names; string 63 src/ParallelRVar.cpp string get_new_name(const string &s) { string 64 src/ParallelRVar.cpp map<string, string>::iterator iter = new_names.find(s); string 68 src/ParallelRVar.cpp string new_name = s + "$_"; string 92 src/ParallelRVar.cpp bool can_parallelize_rvar(const string &v, string 93 src/ParallelRVar.cpp const string &f, string 20 src/ParallelRVar.h bool can_parallelize_rvar(const std::string &rvar, string 21 src/ParallelRVar.h const std::string &func, string 40 src/Param.h explicit Param(const std::string &n) : string 60 src/Param.h Param(const std::string &n, T val) : string 76 src/Param.h Param(const std::string &n, T val, Expr min, Expr max) : string 84 src/Param.h const std::string &name() const { string 14 src/Parameter.cpp const std::string name; string 15 src/Parameter.cpp const std::string handle_type; string 27 src/Parameter.cpp ParameterContents(Type t, bool b, int d, const std::string &n, bool e, bool r, bool is_bound_before_lowering) string 82 src/Parameter.cpp Parameter::Parameter(Type t, bool is_buffer, int d, const std::string &name, bool is_explicit_name, bool register_instance, bool is_bound_before_lowering) : string 130 src/Parameter.cpp const std::string &Parameter::name() const { string 352 src/Parameter.cpp void check_call_arg_types(const std::string &name, std::vector<Expr> *args, int dims) { string 51 src/Parameter.h const std::string &name, bool is_explicit_name = false, string 66 src/Parameter.h EXPORT const std::string &name() const; string 228 src/Parameter.h void check_call_arg_types(const std::string &name, std::vector<Expr> *args, int dims); string 19 src/PartitionLoops.cpp using std::string; string 385 src/PartitionLoops.cpp FindSimplifications(const std::string &v) { string 598 src/PartitionLoops.cpp string prologue_name = unique_name(op->name + ".prologue"); string 599 src/PartitionLoops.cpp string epilogue_name = unique_name(op->name + ".epilogue"); string 723 src/PartitionLoops.cpp vector<pair<string, Expr> > lifted_lets; string 772 src/PartitionLoops.cpp string new_name = unique_name('t'); string 847 src/PartitionLoops.cpp string condition_name = unique_name('t'); string 854 src/PartitionLoops.cpp string new_name = unique_name(let_a->name); string 861 src/PartitionLoops.cpp string new_name = unique_name(let_b->name); string 900 src/PartitionLoops.cpp string var_name = unique_name('t'); string 909 src/PartitionLoops.cpp string var_name = unique_name('t'); string 19 src/Pipeline.cpp using std::string; string 24 src/Pipeline.cpp std::string output_name(const string &filename, const string &fn_name, const char* ext) { string 28 src/Pipeline.cpp std::string output_name(const string &filename, const Module &m, const char* ext) { string 32 src/Pipeline.cpp Outputs static_library_outputs(const string &filename_prefix, const Target &target) { string 51 src/Pipeline.cpp string name; string 88 src/Pipeline.cpp std::map<std::string, JITExtern> jit_externs; string 153 src/Pipeline.cpp const string &fn_name, string 166 src/Pipeline.cpp void Pipeline::compile_to_bitcode(const string &filename, string 168 src/Pipeline.cpp const string &fn_name, string 174 src/Pipeline.cpp void Pipeline::compile_to_llvm_assembly(const string &filename, string 176 src/Pipeline.cpp const string &fn_name, string 182 src/Pipeline.cpp void Pipeline::compile_to_object(const string &filename, string 184 src/Pipeline.cpp const string &fn_name, string 191 src/Pipeline.cpp void Pipeline::compile_to_header(const string &filename, string 193 src/Pipeline.cpp const string &fn_name, string 199 src/Pipeline.cpp void Pipeline::compile_to_assembly(const string &filename, string 201 src/Pipeline.cpp const string &fn_name, string 208 src/Pipeline.cpp void Pipeline::compile_to_c(const string &filename, string 210 src/Pipeline.cpp const string &fn_name, string 221 src/Pipeline.cpp void Pipeline::compile_to_lowered_stmt(const string &filename, string 235 src/Pipeline.cpp void Pipeline::compile_to_static_library(const string &filename_prefix, string 237 src/Pipeline.cpp const std::string &fn_name, string 244 src/Pipeline.cpp void Pipeline::compile_to_multitarget_static_library(const std::string &filename_prefix, string 247 src/Pipeline.cpp auto module_producer = [this, &args](const std::string &name, const Target &target) -> Module { string 254 src/Pipeline.cpp void Pipeline::compile_to_file(const string &filename_prefix, string 256 src/Pipeline.cpp const std::string &fn_name, string 305 src/Pipeline.cpp const string &fn_name, string 309 src/Pipeline.cpp string new_fn_name(fn_name); string 368 src/Pipeline.cpp std::string Pipeline::generate_function_name() const { string 371 src/Pipeline.cpp string name = contents->outputs[0].name(); string 412 src/Pipeline.cpp string name = generate_function_name(); string 418 src/Pipeline.cpp std::map<std::string, JITExtern> lowered_externs = contents->jit_externs; string 426 src/Pipeline.cpp string program_name = running_program_name(); string 430 src/Pipeline.cpp string file_name = program_name + "_" + name + "_" + unique_name('g').substr(1) + ".bc"; string 473 src/Pipeline.cpp void Pipeline::set_jit_externs(const std::map<std::string, JITExtern> &externs) { string 479 src/Pipeline.cpp const std::map<std::string, JITExtern> &Pipeline::get_jit_externs() { string 589 src/Pipeline.cpp std::string str() const { string 590 src/Pipeline.cpp return std::string(buf, end); string 634 src/Pipeline.cpp std::string output = error_buffer.str(); string 740 src/Pipeline.cpp std::map<std::string, JITExtern> &externs_in_out) { string 746 src/Pipeline.cpp for (std::map<std::string, JITExtern>::iterator iter = externs_in_out.begin(); string 64 src/Pipeline.h std::map<std::string, JITExtern> &externs_in_out); string 87 src/Pipeline.h const std::string &fn_name, string 94 src/Pipeline.h EXPORT void compile_to_bitcode(const std::string &filename, string 96 src/Pipeline.h const std::string &fn_name, string 103 src/Pipeline.h EXPORT void compile_to_llvm_assembly(const std::string &filename, string 105 src/Pipeline.h const std::string &fn_name, string 113 src/Pipeline.h EXPORT void compile_to_object(const std::string &filename, string 115 src/Pipeline.h const std::string &fn_name, string 124 src/Pipeline.h EXPORT void compile_to_header(const std::string &filename, string 126 src/Pipeline.h const std::string &fn_name, string 134 src/Pipeline.h EXPORT void compile_to_assembly(const std::string &filename, string 136 src/Pipeline.h const std::string &fn_name, string 143 src/Pipeline.h EXPORT void compile_to_c(const std::string &filename, string 145 src/Pipeline.h const std::string &fn_name, string 151 src/Pipeline.h EXPORT void compile_to_lowered_stmt(const std::string &filename, string 163 src/Pipeline.h EXPORT void compile_to_file(const std::string &filename_prefix, string 165 src/Pipeline.h const std::string &fn_name, string 170 src/Pipeline.h EXPORT void compile_to_static_library(const std::string &filename_prefix, string 172 src/Pipeline.h const std::string &fn_name, string 182 src/Pipeline.h EXPORT void compile_to_multitarget_static_library(const std::string &filename_prefix, string 189 src/Pipeline.h const std::string &fn_name, string 303 src/Pipeline.h EXPORT void set_jit_externs(const std::map<std::string, JITExtern> &externs); string 307 src/Pipeline.h EXPORT const std::map<std::string, JITExtern> &get_jit_externs(); string 397 src/Pipeline.h std::string generate_function_name() const; string 18 src/Prefetch.cpp using std::string; string 32 src/Prefetch.cpp InjectPrefetch(const map<string, Function> &e) string 36 src/Prefetch.cpp const map<string, Function> &env; string 45 src/Prefetch.cpp const vector<PrefetchDirective> &get_prefetch_list(const string &loop_name) { string 47 src/Prefetch.cpp vector<string> v = split_string(loop_name, "."); string 49 src/Prefetch.cpp const string &func_name = v[0]; string 55 src/Prefetch.cpp string str = v[1].substr(1, v[1].size() - 1); string 56 src/Prefetch.cpp bool has_only_digits = (str.find_first_not_of( "0123456789" ) == string::npos); string 73 src/Prefetch.cpp Box get_buffer_bounds(string name, int dims) { string 85 src/Prefetch.cpp string dim_name = std::to_string(i); string 126 src/Prefetch.cpp string max_name = unique_name('t'); string 127 src/Prefetch.cpp string min_name = unique_name('t'); string 166 src/Prefetch.cpp Stmt add_prefetch(string buf_name, const Parameter ¶m, const Box &box, Stmt body) { string 204 src/Prefetch.cpp set<string> seen; string 215 src/Prefetch.cpp map<string, Box> boxes_rw = boxes_touched(body, scope); string 285 src/Prefetch.cpp vector<string> index_names; string 289 src/Prefetch.cpp string index_name = "prefetch_reduce_" + base->name + "." + std::to_string((i-1)/2); string 333 src/Prefetch.cpp vector<string> index_names; string 341 src/Prefetch.cpp string index_name = "prefetch_split_" + base->name + "." + std::to_string((i-1)/2); string 378 src/Prefetch.cpp Stmt inject_prefetch(Stmt s, const map<string, Function> &env) { string 17 src/Prefetch.h Stmt inject_prefetch(Stmt s, const std::map<std::string, Function> &env); string 19 src/PrintLoopNest.cpp using std::string; string 25 src/PrintLoopNest.cpp PrintLoopNest(std::ostream &output, const map<string, Function> &e) : string 29 src/PrintLoopNest.cpp const map<string, Function> &env; string 42 src/PrintLoopNest.cpp string simplify_var_name(const string &s) { string 46 src/PrintLoopNest.cpp string simplify_func_name(const string &s) { string 50 src/PrintLoopNest.cpp string simplify_name(const string &s, bool is_func) { string 155 src/PrintLoopNest.cpp string print_loop_nest(const vector<Function> &output_funcs) { string 159 src/PrintLoopNest.cpp map<string, Function> env; string 161 src/PrintLoopNest.cpp map<string, Function> more_funcs = find_transitive_calls(f); string 178 src/PrintLoopNest.cpp vector<string> order = realization_order(outputs, env); string 20 src/PrintLoopNest.h std::string print_loop_nest(const std::vector<Function> &output_funcs); string 19 src/Profiling.cpp using std::string; string 24 src/Profiling.cpp map<string, int> indices; // maps from func name -> index in buffer. string 28 src/Profiling.cpp string pipeline_name; string 30 src/Profiling.cpp InjectProfiling(const string &pipeline_name) : pipeline_name(pipeline_name) { string 51 src/Profiling.cpp string normalize_name(const string &name) { string 52 src/Profiling.cpp vector<string> v = split_string(name, "."); string 57 src/Profiling.cpp int get_func_id(const string &name) { string 58 src/Profiling.cpp string norm_name = normalize_name(name); string 60 src/Profiling.cpp map<string, int>::iterator iter = indices.find(norm_name); string 73 src/Profiling.cpp const std::string &name, string 265 src/Profiling.cpp Stmt inject_profiling(Stmt s, string pipeline_name) { string 322 src/Profiling.cpp for (std::pair<string, int> p : profiling.indices) { string 39 src/Profiling.h Stmt inject_profiling(Stmt, std::string); string 7 src/Qualify.cpp using std::string; string 13 src/Qualify.cpp const string &prefix; string 28 src/Qualify.cpp QualifyExpr(const string &p) : prefix(p) {} string 31 src/Qualify.cpp Expr qualify(const string &prefix, Expr value) { string 15 src/Qualify.h Expr qualify(const std::string &prefix, Expr value); string 13 src/RDom.cpp using std::string; string 40 src/RDom.cpp const std::string &RVar::name() const { string 57 src/RDom.cpp void RDom::init_vars(string name) { string 58 src/RDom.cpp static string var_names[] = { "x", "y", "z", "w" }; string 96 src/RDom.cpp string offending_func; string 97 src/RDom.cpp string offending_free_var; string 101 src/RDom.cpp void RDom::initialize_from_ranges(const std::vector<std::pair<Expr, Expr>> &ranges, string name) { string 126 src/RDom.cpp std::string rvar_uniquifier; string 145 src/RDom.cpp string name = unique_name('r'); string 146 src/RDom.cpp static string var_names[] = {"x", "y", "z", "w"}; string 162 src/RDom.cpp static string var_names[] = {"x", "y", "z", "w"}; string 23 src/RDom.h std::string _name; string 36 src/RDom.h explicit RVar(const std::string &n) : _name(n) { string 56 src/RDom.h EXPORT const std::string &name() const; string 182 src/RDom.h void init_vars(std::string name); string 184 src/RDom.h EXPORT void initialize_from_ranges(const std::vector<std::pair<Expr, Expr>> &ranges, std::string name = ""); string 199 src/RDom.h NO_INLINE RDom(const std::vector<std::pair<Expr, Expr>> &ranges, std::string name = "") { string 9 src/Random.cpp using std::string; string 74 src/Random.cpp string name = unique_name('R'); string 119 src/Random.cpp LowerRandom(const vector<string> &free_vars, int tag) { string 128 src/Random.cpp Expr lower_random(Expr e, const vector<string> &free_vars, int tag) { string 26 src/Random.h Expr lower_random(Expr e, const std::vector<std::string> &free_vars, int tag); string 9 src/RealizationOrder.cpp using std::string; string 15 src/RealizationOrder.cpp void realization_order_dfs(string current, string 16 src/RealizationOrder.cpp const map<string, set<string>> &graph, string 17 src/RealizationOrder.cpp set<string> &visited, string 18 src/RealizationOrder.cpp set<string> &result_set, string 19 src/RealizationOrder.cpp vector<string> &order) { string 22 src/RealizationOrder.cpp map<string, set<string>>::const_iterator iter = graph.find(current); string 25 src/RealizationOrder.cpp for (const string &fn : iter->second) { string 39 src/RealizationOrder.cpp vector<string> realization_order(const vector<Function> &outputs, string 40 src/RealizationOrder.cpp const map<string, Function> &env) { string 44 src/RealizationOrder.cpp map<string, set<string>> graph; string 46 src/RealizationOrder.cpp for (const pair<string, Function> &caller : env) { string 47 src/RealizationOrder.cpp set<string> &s = graph[caller.first]; string 48 src/RealizationOrder.cpp for (const pair<string, Function> &callee : find_direct_calls(caller.second)) { string 53 src/RealizationOrder.cpp vector<string> order; string 54 src/RealizationOrder.cpp set<string> result_set; string 55 src/RealizationOrder.cpp set<string> visited; string 24 src/RealizationOrder.h std::vector<std::string> realization_order(const std::vector<Function> &output, string 25 src/RealizationOrder.h const std::map<std::string, Function> &env); string 17 src/Reduction.h std::string var; string 20 src/RemoveDeadAllocations.cpp std::string func = var->name.substr(0, var->name.find_first_of('.')); string 16 src/Schedule.cpp std::string func_name; string 19 src/Schedule.cpp std::string var_name; string 22 src/Schedule.cpp LoopLevelContents(const std::string &func_name, string 23 src/Schedule.cpp const std::string &var_name, string 40 src/Schedule.cpp LoopLevel::LoopLevel(const std::string &func_name, const std::string &var_name, bool is_rvar) string 58 src/Schedule.cpp std::string LoopLevel::func() const { string 89 src/Schedule.cpp std::string LoopLevel::to_string() const { string 94 src/Schedule.cpp bool LoopLevel::match(const std::string &loop) const { string 134 src/Schedule.cpp std::map<std::string, IntrusivePtr<Internal::FunctionContents>> wrappers; string 289 src/Schedule.cpp std::map<std::string, IntrusivePtr<Internal::FunctionContents>> &Schedule::wrappers() { string 293 src/Schedule.cpp const std::map<std::string, IntrusivePtr<Internal::FunctionContents>> &Schedule::wrappers() const { string 297 src/Schedule.cpp void Schedule::add_wrapper(const std::string &f, string 104 src/Schedule.h EXPORT LoopLevel(const std::string &func_name, const std::string &var_name, bool is_rvar); string 126 src/Schedule.h EXPORT std::string func() const; string 148 src/Schedule.h EXPORT std::string to_string() const; string 153 src/Schedule.h EXPORT bool match(const std::string &loop) const; string 169 src/Schedule.h std::string old_var, outer, inner; string 199 src/Schedule.h std::string var; string 216 src/Schedule.h std::string var; string 223 src/Schedule.h std::string var; string 230 src/Schedule.h std::string name; string 231 src/Schedule.h std::string var; string 332 src/Schedule.h const std::map<std::string, IntrusivePtr<Internal::FunctionContents>> &wrappers() const; string 333 src/Schedule.h std::map<std::string, IntrusivePtr<Internal::FunctionContents>> &wrappers(); string 334 src/Schedule.h EXPORT void add_wrapper(const std::string &f, string 20 src/ScheduleFunctions.cpp using std::string; string 34 src/ScheduleFunctions.cpp string name; string 62 src/ScheduleFunctions.cpp Stmt build_provide_loop_nest_helper(string func_name, string 63 src/ScheduleFunctions.cpp string prefix, string 64 src/ScheduleFunctions.cpp const vector<string> &dims, string 82 src/ScheduleFunctions.cpp map<string, Expr> dim_extent_alignment; string 223 src/ScheduleFunctions.cpp vector<std::pair<string, Expr>> let_stmts = compute_loop_bounds_after_split(split, prefix); string 231 src/ScheduleFunctions.cpp string o = prefix + Var::outermost().name(); string 238 src/ScheduleFunctions.cpp for (const std::string &i : dims) { string 239 src/ScheduleFunctions.cpp string var = prefix + i; string 252 src/ScheduleFunctions.cpp string p = prefix + rv.var; string 264 src/ScheduleFunctions.cpp Stmt build_provide_loop_nest(string func_name, string 265 src/ScheduleFunctions.cpp string prefix, string 266 src/ScheduleFunctions.cpp const vector<string> &dims, string 335 src/ScheduleFunctions.cpp const string &extern_name = f.extern_function_name(); string 337 src/ScheduleFunctions.cpp vector<pair<string, Expr>> lets; string 350 src/ScheduleFunctions.cpp string buf_name = input.name(); string 389 src/ScheduleFunctions.cpp string buf_name = f.name(); string 403 src/ScheduleFunctions.cpp string stride_name = f.name(); string 407 src/ScheduleFunctions.cpp string stage_name = f.name() + ".s0."; string 408 src/ScheduleFunctions.cpp const vector<string> f_args = f.args(); string 410 src/ScheduleFunctions.cpp string src_buf_name = f.name(); string 429 src/ScheduleFunctions.cpp for (const string arg : f.args()) { string 430 src/ScheduleFunctions.cpp string var = stage_name + arg; string 441 src/ScheduleFunctions.cpp string buf_name = f.name() + "." + std::to_string(j) + ".tmp_buffer"; string 490 src/ScheduleFunctions.cpp string result_name = unique_name('t'); string 507 src/ScheduleFunctions.cpp string prefix = f.name() + ".s0."; string 508 src/ScheduleFunctions.cpp vector<string> dims = f.args(); string 521 src/ScheduleFunctions.cpp string prefix = f.name() + ".s" + std::to_string(i+1) + "."; string 523 src/ScheduleFunctions.cpp vector<string> dims = f.args(); string 548 src/ScheduleFunctions.cpp string prefix = func.name() + ".s" + std::to_string(stage) + "." + b.var; string 549 src/ScheduleFunctions.cpp string min_name = prefix + ".min_unbounded"; string 550 src/ScheduleFunctions.cpp string max_name = prefix + ".max_unbounded"; string 576 src/ScheduleFunctions.cpp string func; string 622 src/ScheduleFunctions.cpp string producing; string 655 src/ScheduleFunctions.cpp string name = func.name(); string 656 src/ScheduleFunctions.cpp const vector<string> func_args = func.args(); string 658 src/ScheduleFunctions.cpp const string &arg = func_args[i]; string 680 src/ScheduleFunctions.cpp string old = producing; string 703 src/ScheduleFunctions.cpp vector<pair<string, Expr>> lets; string 787 src/ScheduleFunctions.cpp ComputeLegalSchedules(Function f, const map<string, Function> &env) : found(false), func(f), env(env) {} string 795 src/ScheduleFunctions.cpp const map<string, Function> &env; string 802 src/ScheduleFunctions.cpp internal_assert(first_dot != string::npos && last_dot != string::npos); string 803 src/ScheduleFunctions.cpp string func = f->name.substr(0, first_dot); string 804 src/ScheduleFunctions.cpp string var = f->name.substr(last_dot + 1); string 860 src/ScheduleFunctions.cpp string schedule_to_source(Function f, string 872 src/ScheduleFunctions.cpp string store_var_name = store_at.var().name(); string 882 src/ScheduleFunctions.cpp string compute_var_name = compute_at.var().name(); string 895 src/ScheduleFunctions.cpp string func; string 904 src/ScheduleFunctions.cpp StmtUsesFunc(string f) : func(f) {} string 911 src/ScheduleFunctions.cpp string func, caller; string 951 src/ScheduleFunctions.cpp string old_caller = caller; string 971 src/ScheduleFunctions.cpp PrintUsesOfFunc(string f, std::ostream &s) : func(f), stream(s) {} string 978 src/ScheduleFunctions.cpp bool validate_schedule(Function f, Stmt s, const Target &target, bool is_output, const map<string, Function> &env) { string 1146 src/ScheduleFunctions.cpp const vector<string> &order, string 1147 src/ScheduleFunctions.cpp const map<string, Function> &env, string 1151 src/ScheduleFunctions.cpp string root_var = LoopLevel::root().to_string(); string 26 src/ScheduleFunctions.h const std::vector<std::string> &order, string 27 src/ScheduleFunctions.h const std::map<std::string, Function> &env, string 7 src/ScheduleParam.cpp ScheduleParamBase::ScheduleParamBase(const Type &t, const std::string &name, bool is_explicit_name) string 22 src/ScheduleParam.h const std::string &name() const { string 72 src/ScheduleParam.h std::string sp_name; string 78 src/ScheduleParam.h EXPORT ScheduleParamBase(const Type &t, const std::string &name, bool is_explicit_name); string 82 src/ScheduleParam.h virtual void set_from_string(const std::string &new_value_string) = 0; string 153 src/ScheduleParam.h NO_INLINE void set_from_string_impl(const std::string &new_value_string) { string 165 src/ScheduleParam.h NO_INLINE void set_from_string_impl(const std::string &new_value_string) { string 177 src/ScheduleParam.h NO_INLINE void set_from_string_impl(const std::string &new_value_string) { string 186 src/ScheduleParam.h void set_from_string(const std::string &new_value_string) override { string 193 src/ScheduleParam.h explicit ScheduleParam(const std::string &name) : ScheduleParamBase(get_param_type(), name, true) {} string 195 src/ScheduleParam.h ScheduleParam(const std::string &name, const T &value) : ScheduleParamBase(get_param_type(), name, true) { string 76 src/Scope.h std::map<std::string, SmallStack<T>> table; string 105 src/Scope.h T get(const std::string &name) const { string 106 src/Scope.h typename std::map<std::string, SmallStack<T>>::const_iterator iter = table.find(name); string 118 src/Scope.h T &ref(const std::string &name) { string 119 src/Scope.h typename std::map<std::string, SmallStack<T>>::iterator iter = table.find(name); string 127 src/Scope.h bool contains(const std::string &name) const { string 128 src/Scope.h typename std::map<std::string, SmallStack<T>>::const_iterator iter = table.find(name); string 142 src/Scope.h void push(const std::string &name, const T &value) { string 149 src/Scope.h void pop(const std::string &name) { string 150 src/Scope.h typename std::map<std::string, SmallStack<T>>::iterator iter = table.find(name); string 160 src/Scope.h typename std::map<std::string, SmallStack<T>>::const_iterator iter; string 162 src/Scope.h explicit const_iterator(const typename std::map<std::string, SmallStack<T>>::const_iterator &i) : string 176 src/Scope.h const std::string &name() { string 198 src/Scope.h typename std::map<std::string, SmallStack<T>>::iterator iter; string 200 src/Scope.h explicit iterator(typename std::map<std::string, SmallStack<T>>::iterator i) : string 214 src/Scope.h const std::string &name() { string 28 src/Simplify.cpp using std::string; string 55 src/Simplify.cpp bool is_var_relop_simple_const(const Expr &e, string* name) { string 75 src/Simplify.cpp bool is_var_simple_const_comparison(const Expr &e, string* name) { string 195 src/Simplify.cpp const std::string spaces(debug_indent, ' '); string 211 src/Simplify.cpp const std::string spaces(debug_indent, ' '); string 242 src/Simplify.cpp void found_buffer_reference(const string &name, size_t dimensions = 0) { string 244 src/Simplify.cpp string stride = name + ".stride." + std::to_string(i); string 249 src/Simplify.cpp string min = name + ".min." + std::to_string(i); string 3512 src/Simplify.cpp string name_a, name_b, name_c; string 4141 src/Simplify.cpp new_args.push_back(string(buf)); string 4149 src/Simplify.cpp new_args.push_back(string(buf)); string 4562 src/Simplify.cpp string new_name = op->name + ".s"; string 4884 src/Simplify.cpp vector<pair<string, Expr>> lets; string 4941 src/Simplify.cpp string var_name = unique_name('t'); string 6290 src/Simplify.cpp check(Call::make(type_of<const char *>(), Call::stringify, {3, string(" "), 4}, Call::Intrinsic), string 6291 src/Simplify.cpp string("3 4")); string 6293 src/Simplify.cpp check(Call::make(type_of<const char *>(), Call::stringify, {3, x, 4, string(", "), 3.4f}, Call::Intrinsic), string 6294 src/Simplify.cpp Call::make(type_of<const char *>(), Call::stringify, {string("3"), x, string("4, 3.400000")}, Call::Intrinsic)); string 16 src/SimplifySpecializations.cpp using std::string; string 21 src/SimplifySpecializations.cpp void substitute_value_in_var(const string &var, Expr value, vector<Definition> &definitions) { string 68 src/SimplifySpecializations.cpp vector<Definition> propagate_specialization_in_definition(Definition &def, const string &name) { string 161 src/SimplifySpecializations.cpp void simplify_specializations(map<string, Function> &env) { string 19 src/SimplifySpecializations.h EXPORT void simplify_specializations(std::map<std::string, Function> &env); string 16 src/SkipStages.cpp using std::string; string 22 src/SkipStages.cpp bool extern_call_uses_buffer(const Call *op, const std::string &func) { string 46 src/SkipStages.cpp PredicateFinder(const string &b, bool s) : predicate(const_false()), string 54 src/SkipStages.cpp string buffer; string 85 src/SkipStages.cpp void visit_let(const std::string &name, Expr value, T body) { string 240 src/SkipStages.cpp ProductionGuarder(const string &b, Expr compute_p, Expr alloc_p): string 243 src/SkipStages.cpp string buffer; string 307 src/SkipStages.cpp StageSkipper(const string &f) : func(f), in_vector_loop(false) {} string 309 src/SkipStages.cpp string func; string 450 src/SkipStages.cpp string func; string 456 src/SkipStages.cpp MightBeSkippable(string f) : func(f), guarded(false), result(false) {} string 459 src/SkipStages.cpp Stmt skip_stages(Stmt stmt, const vector<string> &order) { string 18 src/SkipStages.h Stmt skip_stages(Stmt s, const std::vector<std::string> &order); string 15 src/SlidingWindow.cpp using std::string; string 39 src/SlidingWindow.cpp string var; string 41 src/SlidingWindow.cpp ExprDependsOnVar(string v) : result(false), var(v) { string 45 src/SlidingWindow.cpp bool expr_depends_on_var(Expr e, string v) { string 84 src/SlidingWindow.cpp string loop_var; string 88 src/SlidingWindow.cpp map<string, Expr> replacements; string 94 src/SlidingWindow.cpp bool is_dim_always_pure(const Definition &def, const string& dim, int dim_idx) { string 119 src/SlidingWindow.cpp string dim = ""; string 127 src/SlidingWindow.cpp string prefix = func.name() + ".s" + std::to_string(func.updates().size()) + "."; string 128 src/SlidingWindow.cpp const std::vector<string> func_args = func.args(); string 131 src/SlidingWindow.cpp string var = prefix + func_args[i]; string 251 src/SlidingWindow.cpp string n = func.name() + ".s" + std::to_string(i) + "." + dim; string 265 src/SlidingWindow.cpp string n = prefix + dim + ".min"; string 269 src/SlidingWindow.cpp string n = prefix + dim + ".max"; string 308 src/SlidingWindow.cpp map<string, Expr>::iterator iter = replacements.find(op->name); string 323 src/SlidingWindow.cpp SlidingWindowOnFunctionAndLoop(Function f, string v, Expr v_min) : func(f), loop_var(v), loop_min(v_min) {} string 358 src/SlidingWindow.cpp const map<string, Function> &env; string 364 src/SlidingWindow.cpp map<string, Function>::const_iterator iter = env.find(op->name); string 396 src/SlidingWindow.cpp SlidingWindow(const map<string, Function> &e) : env(e) {} string 400 src/SlidingWindow.cpp Stmt sliding_window(Stmt s, const map<string, Function> &env) { string 21 src/SlidingWindow.h Stmt sliding_window(Stmt s, const std::map<std::string, Function> &env); string 12 src/Solve.cpp using std::string; string 31 src/Solve.cpp SolveExpression(const string &v, const Scope<Expr> &es) : string 63 src/Solve.cpp string var; string 734 src/Solve.cpp const string &var; string 746 src/Solve.cpp map<pair<string, bool>, Interval> solved_vars; string 864 src/Solve.cpp pair<string, bool> key = { op->name, target }; string 915 src/Solve.cpp static string b_name = unique_name('b'); string 916 src/Solve.cpp static string c_name = unique_name('c'); string 972 src/Solve.cpp static string b_name = unique_name('b'); string 973 src/Solve.cpp static string c_name = unique_name('c'); string 1067 src/Solve.cpp SolveForInterval(const string &v, bool o) : var(v), outer(o) {} string 1246 src/Solve.cpp string min_name = unique_name(op->name + ".min"); string 1247 src/Solve.cpp string max_name = unique_name(op->name + ".max"); string 1314 src/Solve.cpp SolverResult solve_expression(Expr e, const std::string &variable, const Scope<Expr> &scope) { string 1326 src/Solve.cpp Interval solve_for_inner_interval(Expr c, const std::string &var) { string 1340 src/Solve.cpp Interval solve_for_outer_interval(Expr c, const std::string &var) { string 27 src/Solve.h Expr e, const std::string &variable, string 34 src/Solve.h EXPORT Interval solve_for_outer_interval(Expr c, const std::string &variable); string 38 src/Solve.h EXPORT Interval solve_for_inner_interval(Expr c, const std::string &variable); string 9 src/SplitTuples.cpp using std::string; string 19 src/SplitTuples.cpp const string func; string 20 src/SplitTuples.cpp map<string, set<int>> func_value_indices; string 57 src/SplitTuples.cpp map<string, set<int>> func_value_indices; string 75 src/SplitTuples.cpp map<string, set<int>> old_func_value_indices = func_value_indices; string 110 src/SplitTuples.cpp string name = op->name; string 168 src/SplitTuples.cpp vector<pair<string, Expr>> lets; string 171 src/SplitTuples.cpp string name = op->name + "." + std::to_string(i); string 172 src/SplitTuples.cpp string var_name = name + ".value"; string 192 src/SplitTuples.cpp const map<string, Function> &env; string 197 src/SplitTuples.cpp SplitTuples(const map<string, Function> &e) : env(e) {} string 202 src/SplitTuples.cpp Stmt split_tuples(Stmt s, const map<string, Function> &env) { string 20 src/SplitTuples.h Stmt split_tuples(Stmt s, const std::map<std::string, Function> &env); string 15 src/StmtToHtml.cpp using std::string; string 19 src/StmtToHtml.cpp std::string to_string(T value) { string 27 src/StmtToHtml.cpp static const std::string css, js; string 40 src/StmtToHtml.cpp string open_tag(const string &tag, const string &cls, int id = -1) { string 53 src/StmtToHtml.cpp string tag(const string &tag, const string &cls, const string &body, int id = -1) { string 60 src/StmtToHtml.cpp string close_tag(const string &tag) { string 65 src/StmtToHtml.cpp string open_span(const string &cls, int id = -1) { string 68 src/StmtToHtml.cpp string close_span() { string 71 src/StmtToHtml.cpp string span(const string &cls, const string &body, int id = -1) { string 74 src/StmtToHtml.cpp string matched(const string &cls, const string &body, int id = -1) { string 77 src/StmtToHtml.cpp string matched(const string &body) { string 81 src/StmtToHtml.cpp string open_div(const string &cls, int id = -1) { string 84 src/StmtToHtml.cpp string close_div() { string 88 src/StmtToHtml.cpp string open_line() { return "<p class=WrapLine>"; } string 89 src/StmtToHtml.cpp string close_line() { return "</p>"; } string 91 src/StmtToHtml.cpp string keyword(const string &x) { return span("Keyword", x); } string 92 src/StmtToHtml.cpp string type(const string &x) { return span("Type", x); } string 93 src/StmtToHtml.cpp string symbol(const string &x) { return span("Symbol", x); } string 96 src/StmtToHtml.cpp string var(const string &x) { string 120 src/StmtToHtml.cpp void print_list(const string &l, const std::vector<Expr> &args, const string &r) { string 126 src/StmtToHtml.cpp string open_expand_button(int id) { string 136 src/StmtToHtml.cpp string close_expand_button() { string 184 src/StmtToHtml.cpp string hex_digits = "0123456789ABCDEF"; string 635 src/StmtToHtml.cpp StmtToHtml(string filename) : id_count(0), context_stack(1, 0) { string 658 src/StmtToHtml.cpp const std::string StmtToHtml::css = "\n \ string 678 src/StmtToHtml.cpp const std::string StmtToHtml::js = "\n \ string 696 src/StmtToHtml.cpp void print_to_html(string filename, Stmt s) { string 701 src/StmtToHtml.cpp void print_to_html(string filename, const Module &m) { string 16 src/StmtToHtml.h EXPORT void print_to_html(std::string filename, Stmt s); string 19 src/StmtToHtml.h EXPORT void print_to_html(std::string filename, const Module &m); string 14 src/StorageFlattening.cpp using std::string; string 24 src/StorageFlattening.cpp FlattenDimensions(const map<string, pair<Function, int>> &e, string 34 src/StorageFlattening.cpp const map<string, pair<Function, int>> &env; string 35 src/StorageFlattening.cpp set<string> outputs; string 39 src/StorageFlattening.cpp Expr flatten_args(const string &name, const vector<Expr> &args, string 47 src/StorageFlattening.cpp string dim = std::to_string(i); string 48 src/StorageFlattening.cpp string stride_name = name + ".stride." + dim; string 49 src/StorageFlattening.cpp string min_name = name + ".min." + dim; string 50 src/StorageFlattening.cpp string stride_name_constrained = stride_name + ".constrained"; string 51 src/StorageFlattening.cpp string min_name_constrained = min_name + ".constrained"; string 118 src/StorageFlattening.cpp const vector<string> &args = f.args(); string 140 src/StorageFlattening.cpp vector<string> min_name(dims), extent_name(dims), stride_name(dims); string 142 src/StorageFlattening.cpp string d = std::to_string(i); string 251 src/StorageFlattening.cpp const vector<string> &args = f.args(); string 342 src/StorageFlattening.cpp const map<string, Function> &env, string 347 src/StorageFlattening.cpp map<string, pair<Function, int>> tuple_env; string 22 src/StorageFlattening.h const std::map<std::string, Function> &env, string 23 src/StorageFolding.cpp using std::string; string 29 src/StorageFolding.cpp const std::string &name; string 44 src/StorageFolding.cpp CountProducers(const std::string &name) : name(name) {} string 47 src/StorageFolding.cpp int count_producers(Stmt in, const std::string &name) { string 55 src/StorageFolding.cpp string func; string 86 src/StorageFolding.cpp FoldStorageOfFunction(string f, int d, Expr e) : string 270 src/StorageFolding.cpp string func; string 273 src/StorageFolding.cpp IsBufferSpecial(string f) : func(f) {} string 288 src/StorageFolding.cpp const map<string, Function> &env; string 346 src/StorageFolding.cpp StorageFolding(const map<string, Function> &env) : env(env) {} string 383 src/StorageFolding.cpp Stmt storage_folding(Stmt s, const std::map<std::string, Function> &env) { string 27 src/StorageFolding.h Stmt storage_folding(Stmt s, const std::map<std::string, Function> &env); string 10 src/Substitute.cpp using std::string; string 13 src/Substitute.cpp const map<string, Expr> &replace; string 16 src/Substitute.cpp Expr find_replacement(const string &s) { string 17 src/Substitute.cpp map<string, Expr>::const_iterator iter = replace.find(s); string 26 src/Substitute.cpp Substitute(const map<string, Expr> &m) : replace(m) {} string 86 src/Substitute.cpp Expr substitute(const string &name, const Expr &replacement, const Expr &expr) { string 87 src/Substitute.cpp map<string, Expr> m; string 93 src/Substitute.cpp Stmt substitute(const string &name, const Expr &replacement, const Stmt &stmt) { string 94 src/Substitute.cpp map<string, Expr> m; string 100 src/Substitute.cpp Expr substitute(const map<string, Expr> &m, const Expr &expr) { string 105 src/Substitute.cpp Stmt substitute(const map<string, Expr> &m, const Stmt &stmt) { string 142 src/Substitute.cpp string var; string 157 src/Substitute.cpp GraphSubstitute(const string &var, const Expr &value) : var(var), value(value) {} string 176 src/Substitute.cpp Expr graph_substitute(const string &name, const Expr &replacement, const Expr &expr) { string 180 src/Substitute.cpp Stmt graph_substitute(const string &name, const Expr &replacement, const Stmt &stmt) { string 22 src/Substitute.h EXPORT Expr substitute(const std::string &name, const Expr &replacement, const Expr &expr); string 26 src/Substitute.h EXPORT Stmt substitute(const std::string &name, const Expr &replacement, const Stmt &stmt); string 30 src/Substitute.h EXPORT Expr substitute(const std::map<std::string, Expr> &replacements, const Expr &expr); string 31 src/Substitute.h EXPORT Stmt substitute(const std::map<std::string, Expr> &replacements, const Stmt &stmt); string 43 src/Substitute.h Expr graph_substitute(const std::string &name, const Expr &replacement, const Expr &expr); string 44 src/Substitute.h Stmt graph_substitute(const std::string &name, const Expr &replacement, const Stmt &stmt); string 18 src/Target.cpp using std::string; string 180 src/Target.cpp const std::map<std::string, Target::OS> os_name_map = { string 191 src/Target.cpp bool lookup_os(const std::string &tok, Target::OS &result) { string 200 src/Target.cpp const std::map<std::string, Target::Arch> arch_name_map = { string 209 src/Target.cpp bool lookup_arch(const std::string &tok, Target::Arch &result) { string 218 src/Target.cpp const std::map<std::string, Target::Feature> feature_name_map = { string 266 src/Target.cpp bool lookup_feature(const std::string &tok, Target::Feature &result) { string 278 src/Target.cpp string target = Internal::get_env_variable("HL_TARGET"); string 289 src/Target.cpp string target = Internal::get_env_variable("HL_JIT_TARGET"); string 304 src/Target.cpp bool merge_string(Target &t, const std::string &target) { string 305 src/Target.cpp string rest = target; string 306 src/Target.cpp vector<string> tokens; string 308 src/Target.cpp while ((first_dash = rest.find('-')) != string::npos) { string 318 src/Target.cpp const string &tok = tokens[i]; string 368 src/Target.cpp void bad_target_string(const std::string &target) { string 370 src/Target.cpp std::string architectures; string 376 src/Target.cpp std::string oses; string 385 src/Target.cpp std::string features; string 414 src/Target.cpp Target::Target(const std::string &target) { string 436 src/Target.cpp *this = Target(std::string(s)); string 439 src/Target.cpp bool Target::validate_target_string(const std::string &s) { string 444 src/Target.cpp std::string Target::to_string() const { string 445 src/Target.cpp string result; string 106 src/Target.h EXPORT explicit Target(const std::string &s); string 111 src/Target.h EXPORT static bool validate_target_string(const std::string &s); string 221 src/Target.h EXPORT std::string to_string() const; string 11 src/Tracing.cpp using std::string; string 15 src/Tracing.cpp string func; string 43 src/Tracing.cpp const map<string, Function> &env; string 46 src/Tracing.cpp InjectTracing(const map<string, Function> &e, const Target &t) string 53 src/Tracing.cpp string global_level = get_env_variable("HL_TRACE"); string 87 src/Tracing.cpp string value_var_name = unique_name('t'); string 111 src/Tracing.cpp map<string, Function>::const_iterator iter = env.find(op->name); string 129 src/Tracing.cpp string value_var_name = unique_name('t'); string 146 src/Tracing.cpp vector<pair<string, Expr>> lets; string 149 src/Tracing.cpp string name = unique_name('t'); string 167 src/Tracing.cpp map<string, Function>::const_iterator iter = env.find(op->name); string 204 src/Tracing.cpp map<string, Function>::const_iterator iter = env.find(op->name); string 214 src/Tracing.cpp const vector<string> f_args = f.args(); string 260 src/Tracing.cpp Stmt inject_tracing(Stmt s, const string &pipeline_name, string 261 src/Tracing.cpp const map<string, Function> &env, const vector<Function> &outputs, string 272 src/Tracing.cpp string d = std::to_string(i); string 20 src/Tracing.h Stmt inject_tracing(Stmt, const std::string &pipeline_name, string 21 src/Tracing.h const std::map<std::string, Function> &env, string 18 src/TrimNoOps.cpp using std::string; string 52 src/TrimNoOps.cpp string buffer; string 55 src/TrimNoOps.cpp LoadsFromBuffer(const string &b) : buffer(b) {} string 58 src/TrimNoOps.cpp bool loads_from_buffer(Expr e, string buf) { string 179 src/TrimNoOps.cpp string var; string 328 src/TrimNoOps.cpp SimplifyUsingBounds(const string &v, const Interval &i) { string 390 src/TrimNoOps.cpp string new_min_name = unique_name(op->name + ".new_min"); string 391 src/TrimNoOps.cpp string new_max_name = unique_name(op->name + ".new_max"); string 392 src/TrimNoOps.cpp string old_max_name = unique_name(op->name + ".old_max"); string 48 src/Type.h std::string name; string 50 src/Type.h halide_cplusplus_type_name(CPPTypeType cpp_type_type, const std::string &name) string 79 src/Type.h std::vector<std::string> namespaces; string 107 src/Type.h const std::vector<std::string> &namespaces = { }, string 10 src/UnifyDuplicateLets.cpp using std::string; string 15 src/UnifyDuplicateLets.cpp map<Expr, string, IRDeepCompare> scope; string 16 src/UnifyDuplicateLets.cpp map<string, string> rewrites; string 17 src/UnifyDuplicateLets.cpp string producing; string 25 src/UnifyDuplicateLets.cpp map<Expr, string, IRDeepCompare>::iterator iter = scope.find(e); string 40 src/UnifyDuplicateLets.cpp map<string, string>::iterator iter = rewrites.find(op->name); string 63 src/UnifyDuplicateLets.cpp string old_producing = producing; string 81 src/UnifyDuplicateLets.cpp map<Expr, string, IRDeepCompare>::iterator iter = scope.find(value); string 8 src/UniquifyVariableNames.cpp using std::string; string 15 src/UniquifyVariableNames.cpp map<string, int> vars; string 17 src/UniquifyVariableNames.cpp void push_name(string s) { string 25 src/UniquifyVariableNames.cpp string get_name(string s) { string 37 src/UniquifyVariableNames.cpp void pop_name(string s) { string 44 src/UniquifyVariableNames.cpp string new_name = get_name(op->name); string 61 src/UniquifyVariableNames.cpp string new_name = get_name(op->name); string 79 src/UniquifyVariableNames.cpp string new_name = get_name(op->name); string 94 src/UniquifyVariableNames.cpp string new_name = get_name(op->name); string 9 src/UnpackBuffers.cpp using std::string; string 24 src/UnpackBuffers.cpp void visit_param(const string &ref_name, const Parameter ¶m) { string 27 src/UnpackBuffers.cpp string name = param.name(); string 34 src/UnpackBuffers.cpp void visit_buffer(const string &ref_name, const Buffer<> &buffer) { string 37 src/UnpackBuffers.cpp string name = buffer.name(); string 61 src/UnpackBuffers.cpp set<string> symbols; string 62 src/UnpackBuffers.cpp map<string, BufferInfo> buffers; string 71 src/UnpackBuffers.cpp vector<pair<string, Expr>> lets; string 74 src/UnpackBuffers.cpp const string &name = p.first; string 78 src/UnpackBuffers.cpp string host_var = name; string 82 src/UnpackBuffers.cpp string dev_var = name + ".device"; string 86 src/UnpackBuffers.cpp string dev_interface_var = name + ".device_interface"; string 91 src/UnpackBuffers.cpp string type_code_var = name + ".type.code"; string 95 src/UnpackBuffers.cpp string type_bits_var = name + ".type.bits"; string 99 src/UnpackBuffers.cpp string type_lanes_var = name + ".type.lanes"; string 103 src/UnpackBuffers.cpp string host_dirty_var = name + ".host_dirty"; string 107 src/UnpackBuffers.cpp string dev_dirty_var = name + ".device_dirty"; string 114 src/UnpackBuffers.cpp string min_var = name + ".min." + std::to_string(i); string 118 src/UnpackBuffers.cpp string extent_var = name + ".extent." + std::to_string(i); string 122 src/UnpackBuffers.cpp string stride_var = name + ".stride." + std::to_string(i); string 129 src/UnpackBuffers.cpp pair<string, Expr> l = lets.back(); string 37 src/Util.cpp using std::string; string 42 src/Util.cpp std::string get_env_variable(char const *env_var_name) { string 51 src/Util.cpp if (read) return std::string(lvl); string 54 src/Util.cpp if (lvl) return std::string(lvl); string 60 src/Util.cpp string running_program_name() { string 64 src/Util.cpp string program_name; string 76 src/Util.cpp string tmp = std::string(path); string 109 src/Util.cpp string unique_name(char prefix) { string 114 src/Util.cpp string unique_name(const std::string &prefix) { string 115 src/Util.cpp string sanitized = prefix; string 146 src/Util.cpp int count = unique_count(std::hash<std::string>()(sanitized)); string 161 src/Util.cpp bool starts_with(const string &str, const string &prefix) { string 169 src/Util.cpp bool ends_with(const string &str, const string &suffix) { string 178 src/Util.cpp string replace_all(const string &str, const string &find, const string &replace) { string 180 src/Util.cpp string result = str; string 181 src/Util.cpp while ((pos = result.find(find, pos)) != string::npos) { string 188 src/Util.cpp string make_entity_name(void *stack_ptr, const string &type, char prefix) { string 189 src/Util.cpp string name = Introspection::get_variable_name(stack_ptr, type); string 204 src/Util.cpp std::vector<std::string> split_string(const std::string &source, const std::string &delim) { string 205 src/Util.cpp std::vector<std::string> elements; string 208 src/Util.cpp while ((found = source.find(delim, start)) != std::string::npos) { string 216 src/Util.cpp elements.push_back(source.substr(start, std::string::npos)); string 221 src/Util.cpp std::string extract_namespaces(const std::string &name, std::vector<std::string> &namespaces) { string 223 src/Util.cpp std::string result = namespaces.back(); string 228 src/Util.cpp bool file_exists(const std::string &name) { string 236 src/Util.cpp void assert_file_exists(const std::string &name) { string 240 src/Util.cpp void assert_no_file_exists(const std::string &name) { string 244 src/Util.cpp void file_unlink(const std::string &name) { string 252 src/Util.cpp void ensure_no_file_exists(const std::string &name) { string 259 src/Util.cpp void dir_rmdir(const std::string &name) { string 269 src/Util.cpp FileStat file_stat(const std::string &name) { string 288 src/Util.cpp std::string file_make_temp(const std::string &prefix, const std::string &suffix) { string 289 src/Util.cpp internal_assert(prefix.find("/") == string::npos && string 290 src/Util.cpp prefix.find("\\") == string::npos && string 291 src/Util.cpp suffix.find("/") == string::npos && string 292 src/Util.cpp suffix.find("\\") == string::npos); string 302 src/Util.cpp return std::string(tmp_file); string 304 src/Util.cpp std::string templ = "/tmp/" + prefix + "XXXXXX" + suffix; string 311 src/Util.cpp return std::string(&buf[0]); string 315 src/Util.cpp std::string dir_make_temp() { string 340 src/Util.cpp std::string dir = std::string(tmp_path) + std::string(name.str()); string 355 src/Util.cpp std::string templ = "/tmp/XXXXXX"; string 361 src/Util.cpp return std::string(result); string 64 src/Util.h EXPORT std::string make_entity_name(void *stack_ptr, const std::string &type, char prefix); string 70 src/Util.h EXPORT std::string get_env_variable(char const *env_var_name); string 74 src/Util.h EXPORT std::string running_program_name(); string 93 src/Util.h EXPORT std::string unique_name(char prefix); string 94 src/Util.h EXPORT std::string unique_name(const std::string &prefix); string 98 src/Util.h EXPORT bool starts_with(const std::string &str, const std::string &prefix); string 101 src/Util.h EXPORT bool ends_with(const std::string &str, const std::string &suffix); string 104 src/Util.h EXPORT std::string replace_all(const std::string &str, const std::string &find, const std::string &replace); string 107 src/Util.h EXPORT std::vector<std::string> split_string(const std::string &source, const std::string &delim); string 169 src/Util.h EXPORT std::string extract_namespaces(const std::string &name, std::vector<std::string> &namespaces); string 189 src/Util.h EXPORT std::string file_make_temp(const std::string &prefix, const std::string &suffix); string 197 src/Util.h EXPORT std::string dir_make_temp(); string 200 src/Util.h EXPORT bool file_exists(const std::string &name); string 203 src/Util.h EXPORT void assert_file_exists(const std::string &name); string 206 src/Util.h EXPORT void assert_no_file_exists(const std::string &name); string 209 src/Util.h EXPORT void file_unlink(const std::string &name); string 212 src/Util.h EXPORT void file_unlink(const std::string &name); string 216 src/Util.h EXPORT void ensure_no_file_exists(const std::string &name); string 219 src/Util.h EXPORT void dir_rmdir(const std::string &name); string 222 src/Util.h EXPORT FileStat file_stat(const std::string &name); string 232 src/Util.h TemporaryFile(const std::string &prefix, const std::string &suffix) string 234 src/Util.h const std::string &pathname() const { return temp_path; } string 237 src/Util.h const std::string temp_path; string 6 src/Var.cpp Var::Var(const std::string &n) : _name(n) { string 16 src/Var.cpp bool Var::is_implicit(const std::string &name) { string 18 src/Var.cpp name.find_first_not_of("0123456789", 1) == std::string::npos; string 18 src/Var.h std::string _name; string 21 src/Var.h EXPORT Var(const std::string &n); string 27 src/Var.h const std::string &name() const {return _name;} string 118 src/Var.h EXPORT static bool is_implicit(const std::string &name); string 129 src/Var.h static int implicit_index(const std::string &name) { string 139 src/Var.h static bool is_placeholder(const std::string &name) { string 38 src/VaryingAttributes.cpp Expr tag_linear_expression(Expr e, const std::string &name = unique_name('a')) { string 363 src/VaryingAttributes.cpp std::vector<std::string> loop_vars; string 392 src/VaryingAttributes.cpp FindVaryingAttributeTags(std::map<std::string, Expr>& varyings_) : varyings(varyings_) { } string 398 src/VaryingAttributes.cpp std::string name = op->args[0].as<StringImm>()->value; string 404 src/VaryingAttributes.cpp std::map<std::string, Expr>& varyings; string 439 src/VaryingAttributes.cpp std::string name = op->args[0].as<StringImm>()->value; string 468 src/VaryingAttributes.cpp std::set<std::string> variables; string 473 src/VaryingAttributes.cpp void prune_varying_attributes(Stmt loop_stmt, std::map<std::string, Expr>& varying) string 478 src/VaryingAttributes.cpp std::vector<std::string> remove_list; string 480 src/VaryingAttributes.cpp for (const std::pair<std::string, Expr> &i : varying) { string 481 src/VaryingAttributes.cpp const std::string &name = i.first; string 488 src/VaryingAttributes.cpp for (const std::string &i : remove_list) { string 664 src/VaryingAttributes.cpp CastVariablesToFloatAndOffset(const std::vector<std::string>& names_) : names(names_) { } string 666 src/VaryingAttributes.cpp const std::vector<std::string>& names; string 948 src/VaryingAttributes.cpp std::string attribute_name = op->args[0].as<StringImm>()->value; string 1002 src/VaryingAttributes.cpp std::string name = op->name + ".idx"; string 1045 src/VaryingAttributes.cpp std::vector<std::string> names = {for_loops[0]->name, for_loops[1]->name}; string 1085 src/VaryingAttributes.cpp std::string vertex_buffer_name; string 1089 src/VaryingAttributes.cpp typedef std::map<std::string, std::vector<Expr>> DimsType; string 1093 src/VaryingAttributes.cpp std::map<std::string, int> attribute_order; string 1128 src/VaryingAttributes.cpp Stmt used_in_codegen(Type type_, const std::string &v_) { string 1151 src/VaryingAttributes.cpp std::map<std::string, Expr> varyings; string 1157 src/VaryingAttributes.cpp std::map<std::string, int> attribute_order; string 1165 src/VaryingAttributes.cpp for (const std::pair<std::string, Expr> &v : varyings) { string 20 src/VectorizeLoops.cpp using std::string; string 29 src/VectorizeLoops.cpp string var; string 44 src/VectorizeLoops.cpp ReplaceShuffleVectors(const string &v) : var(v) {} string 186 src/VectorizeLoops.cpp string alloc; string 191 src/VectorizeLoops.cpp Expr mutate_index(string a, Expr index) { string 211 src/VectorizeLoops.cpp RewriteAccessToVectorAlloc(string v, string a, int l) : string 236 src/VectorizeLoops.cpp string var; string 341 src/VectorizeLoops.cpp PredicateLoadStore(string v, Expr vpred, bool in_hexagon, const Target &t) : string 356 src/VectorizeLoops.cpp string var; string 366 src/VectorizeLoops.cpp string widening_suffix; string 374 src/VectorizeLoops.cpp vector<pair<string, Expr>> containing_lets; string 401 src/VectorizeLoops.cpp string widened_name = op->name + widening_suffix; string 533 src/VectorizeLoops.cpp std::string vectorized_name; string 554 src/VectorizeLoops.cpp std::string mutated_name = op->name; string 583 src/VectorizeLoops.cpp string lane_name = mutated_name + ".lane." + std::to_string(i); string 842 src/VectorizeLoops.cpp string v = unique_name('v'); string 887 src/VectorizeLoops.cpp string name = iter.name() + ".lane." + std::to_string(i); string 910 src/VectorizeLoops.cpp VectorSubs(string v, Expr r, bool in_hexagon, const Target &t) : string 11 src/WrapCalls.cpp using std::string; string 48 src/WrapCalls.cpp map<string, Function> wrap_func_calls(const map<string, Function> &env) { string 49 src/WrapCalls.cpp map<string, Function> wrapped_env; string 59 src/WrapCalls.cpp string wrapped_fname = it.first; string 65 src/WrapCalls.cpp set<string> all_func_wrappers; string 71 src/WrapCalls.cpp string in_func = iter.first; string 18 src/WrapCalls.h std::map<std::string, Function> wrap_func_calls(const std::map<std::string, Function> &env); string 12 src/WrapExternStages.cpp using std::string; string 23 src/WrapExternStages.cpp string result_var_name = unique_name('t'); string 33 src/WrapExternStages.cpp string make_wrapper(const Call *op) { string 34 src/WrapExternStages.cpp string wrapper_name = replace_all(prefix + op->name, ":", "_"); string 68 src/WrapExternStages.cpp vector<pair<string, Expr>> old_buffers; string 76 src/WrapExternStages.cpp string old_buffer_name = a.name + ".old_buffer_t"; string 141 src/WrapExternStages.cpp set<string> done; string 145 src/WrapExternStages.cpp string prefix; string 168 src/WrapExternStages.cpp vector<pair<string, Expr>> new_buffers; string 177 src/WrapExternStages.cpp string new_buffer_name = arg.name + ".upgraded"; string 237 src/WrapExternStages.cpp string name = fn.name; string 202 src/runtime/hexagon_remote/sim_host.cpp std::string rpc_arg = "rpc_arg" + std::to_string(i); string 143 src/runtime/mini_opengl.h typedef void (*PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar* *string, const GLint *length); string 8 src/runtime/objc_support.h extern objc_sel sel_getUid(const char *string); string 31 src/runtime/objc_support.h WEAK objc_id wrap_string_as_ns_string(const char *string, size_t length) { string 32 src/runtime/objc_support.h typedef objc_id (*init_with_bytes_no_copy_method)(objc_id ns_string, objc_sel sel, const char *string, size_t length, size_t encoding, uint8_t freeWhenDone); string 36 src/runtime/objc_support.h string, length, 4, 0); string 39 src/runtime/objc_support.h extern "C" size_t strlen(const char *string); string 41 src/runtime/objc_support.h WEAK void ns_log_utf8_string(const char *string) { string 43 src/runtime/objc_support.h objc_id ns_string = wrap_string_as_ns_string(string, strlen(string)); string 14 test/common/check_call_graphs.h typedef std::map<std::string, std::vector<std::string>> CallGraphs; string 20 test/common/check_call_graphs.h std::string producer = ""; string 26 test/common/check_call_graphs.h std::string old_producer = producer; string 41 test/common/check_call_graphs.h std::vector<std::string> &callees = calls[producer]; string 60 test/common/check_call_graphs.h std::vector<std::string> &expected_callees = iter.second; string 61 test/common/check_call_graphs.h std::vector<std::string> &result_callees = result[iter.first]; string 65 test/common/check_call_graphs.h std::string expected_str = std::accumulate( string 66 test/common/check_call_graphs.h expected_callees.begin(), expected_callees.end(), std::string{}, string 67 test/common/check_call_graphs.h [](const std::string &a, const std::string &b) { string 70 test/common/check_call_graphs.h std::string result_str = std::accumulate( string 71 test/common/check_call_graphs.h result_callees.begin(), result_callees.end(), std::string{}, string 72 test/common/check_call_graphs.h [](const std::string &a, const std::string &b) { string 24 test/common/halide_test_dirs.h inline std::string get_env_variable(const char *name) { string 30 test/common/halide_test_dirs.h return std::string(buf); string 35 test/common/halide_test_dirs.h return std::string(buf); string 43 test/common/halide_test_dirs.h inline std::string get_current_directory() { string 45 test/common/halide_test_dirs.h std::string dir; string 53 test/common/halide_test_dirs.h std::string dir; string 73 test/common/halide_test_dirs.h inline std::string get_test_tmp_dir() { string 75 test/common/halide_test_dirs.h std::string dir = Test::get_env_variable("TEST_TMPDIR"); string 8 test/correctness/autotune_bug_2.cpp if (e->event == 2 && std::string(e->func) == "f") { string 8 test/correctness/autotune_bug_3.cpp if (e->event == 2 && std::string(e->func) == "f") { string 8 test/correctness/autotune_bug_4.cpp if (e->event == 2 && std::string(e->func) == "f") { string 44 test/correctness/bit_counting.cpp std::string as_bits(T v) { string 46 test/correctness/bit_counting.cpp std::string ret; string 83 test/correctness/bit_counting.cpp std::string bits_string = as_bits(input(i)); string 103 test/correctness/bit_counting.cpp std::string bits_string = as_bits(input(i)); string 123 test/correctness/bit_counting.cpp std::string bits_string = as_bits(input(i)); string 9 test/correctness/cascaded_filters.cpp Func blur(Func in, std::string n) { string 9 test/correctness/compile_to.cpp std::string fn_object = Internal::get_test_tmp_dir() + "compile_to_native.o"; string 21 test/correctness/compile_to.cpp std::string fn_object = Internal::get_test_tmp_dir() + "compile_to_native1.o"; string 22 test/correctness/compile_to.cpp std::string fn_assembly = Internal::get_test_tmp_dir() + "compile_to_assembly1.s"; string 20 test/correctness/compile_to_bitcode.cpp std::string result_file = Internal::get_test_tmp_dir() + "compile_to_bitcode.bc"; string 22 test/correctness/compile_to_lowered_stmt.cpp std::string result_file = Internal::get_test_tmp_dir() + "compile_to_lowered_stmt.stmt"; string 9 test/correctness/compile_to_multitarget.cpp std::string fn_object = Internal::get_test_tmp_dir() + "compile_to_multitarget"; string 11 test/correctness/compile_to_multitarget.cpp std::string expected_lib = fn_object + ".lib"; string 13 test/correctness/compile_to_multitarget.cpp std::string expected_lib = fn_object + ".a"; string 15 test/correctness/compile_to_multitarget.cpp std::string expected_h = fn_object + ".h"; string 69 test/correctness/constraints.cpp std::string assembly_file = Internal::get_test_tmp_dir() + "h.s"; string 18 test/correctness/cross_compilation.cpp std::string targets[] = { string 32 test/correctness/cross_compilation.cpp for (const std::string &t : targets) { string 36 test/correctness/cross_compilation.cpp std::string object_name = Internal::get_test_tmp_dir() + "test_object_" + t; string 37 test/correctness/cross_compilation.cpp std::string lib_name = Internal::get_test_tmp_dir() + "test_lib_" + t; string 10 test/correctness/debug_to_file.cpp std::string f_tmp = Internal::get_test_tmp_dir() + "f.tmp"; string 11 test/correctness/debug_to_file.cpp std::string g_tmp = Internal::get_test_tmp_dir() + "g.tmp"; string 12 test/correctness/debug_to_file.cpp std::string h_tmp = Internal::get_test_tmp_dir() + "h.tmp"; string 12 test/correctness/debug_to_file_multiple_outputs.cpp std::string f_tmp = Internal::get_test_tmp_dir() + "f3.tmp"; string 13 test/correctness/debug_to_file_multiple_outputs.cpp std::string g_tmp = Internal::get_test_tmp_dir() + "g3.tmp"; string 14 test/correctness/debug_to_file_multiple_outputs.cpp std::string h_tmp = Internal::get_test_tmp_dir() + "h3.tmp"; string 12 test/correctness/debug_to_file_reorder.cpp std::string f_tmp = Internal::get_test_tmp_dir() + "f2.tmp"; string 13 test/correctness/debug_to_file_reorder.cpp std::string g_tmp = Internal::get_test_tmp_dir() + "g2.tmp"; string 14 test/correctness/debug_to_file_reorder.cpp std::string h_tmp = Internal::get_test_tmp_dir() + "h2.tmp"; string 52 test/correctness/extern_consumer.cpp std::string path = Internal::get_test_tmp_dir() + "halide_test_extern_consumer.txt"; string 91 test/correctness/extern_consumer.cpp std::string path = Internal::get_test_tmp_dir() + "halide_test_extern_consumer.txt"; string 19 test/correctness/external_code.cpp std::string bitcode_file = Internal::get_test_tmp_dir() + "extern.bc"; string 20 test/correctness/fuzz_simplify.cpp std::string fuzz_var(int i) { string 21 test/correctness/fuzz_simplify.cpp return std::string(1, 'a' + i); string 184 test/correctness/fuzz_simplify.cpp bool test_simplification(Expr a, Expr b, Type T, const map<string, Expr> &vars) { string 201 test/correctness/fuzz_simplify.cpp for(map<string, Expr>::const_iterator i = vars.begin(); i != vars.end(); i++) { string 219 test/correctness/fuzz_simplify.cpp map<string, Expr> vars; string 225 test/correctness/fuzz_simplify.cpp for (std::map<string, Expr>::iterator v = vars.begin(); v != vars.end(); v++) { string 46 test/correctness/handle.cpp std::string msg = "hello!\n"; string 76 test/correctness/handle.cpp if (std::string(im(i)) != msg) { string 8 test/correctness/host_alignment.cpp using std::string; string 42 test/correctness/host_alignment.cpp std::map<string, int> alignments_needed; string 43 test/correctness/host_alignment.cpp CountHostAlignmentAsserts(std::map<string, int> m) : count(0), string 62 test/correctness/host_alignment.cpp string name_host_ptr = V->name; string 73 test/correctness/host_alignment.cpp void set_alignment_host_ptr(ImageParam &i, int align, std::map<string, int> &m) { string 75 test/correctness/host_alignment.cpp m.insert(std::pair<string, int>(i.name(), align)); string 78 test/correctness/host_alignment.cpp int count_host_alignment_asserts(Func f, std::map<string, int> m) { string 90 test/correctness/host_alignment.cpp std::map<string, int> m; string 101 test/correctness/host_alignment.cpp m.insert(std::pair<string, int>("f", 128)); string 15 test/correctness/image_io.cpp void test_round_trip(Buffer<uint8_t> buf, std::string format) { string 17 test/correctness/image_io.cpp std::string filename = Internal::get_test_tmp_dir() + "test." + format; string 78 test/correctness/image_io.cpp std::string formats[] = {"jpg", "png", "ppm"}; string 79 test/correctness/image_io.cpp for (std::string format : formats) { string 8 test/correctness/image_wrap.cpp using std::string; string 6 test/correctness/introspection.cpp void check(const void *var, const std::string &type, string 7 test/correctness/introspection.cpp const std::string &correct_name, string 8 test/correctness/introspection.cpp const std::string &correct_file, int line) { string 9 test/correctness/introspection.cpp std::string correct_loc = correct_file + ":" + std::to_string(line); string 10 test/correctness/introspection.cpp std::string loc = Halide::Internal::Introspection::get_source_location(); string 11 test/correctness/introspection.cpp std::string name = Halide::Internal::Introspection::get_variable_name(var, type); string 6 test/correctness/likely.cpp using std::string; string 10 test/correctness/likely.cpp string func; string 30 test/correctness/likely.cpp Counter(string f) : func(f), store_count(0), sin_count(0) {} string 54 test/correctness/likely.cpp string func; string 69 test/correctness/likely.cpp CheckStoreCount(string f, int c) : func(f), correct(c) {} string 46 test/correctness/make_struct.cpp Expr d = std::string("Test global string\n"); string 12 test/correctness/predicated_store_load.cpp using std::string; string 9 test/correctness/print.cpp std::vector<std::string> messages; string 13 test/correctness/reduction_non_rectangular.cpp std::string buffer_name = "g_" + std::to_string(buffer_index); string 14 test/correctness/reduction_non_rectangular.cpp if (std::string(e->func) == buffer_name) { string 36 test/correctness/reduction_non_rectangular.cpp std::string buffer_name = "g_" + std::to_string(buffer_index); string 37 test/correctness/reduction_non_rectangular.cpp if (std::string(e->func) == buffer_name) { string 57 test/correctness/reduction_non_rectangular.cpp std::string buffer_name = "g_" + std::to_string(buffer_index); string 58 test/correctness/reduction_non_rectangular.cpp if (std::string(e->func) == buffer_name) { string 8 test/correctness/rfactor.cpp using std::string; string 867 test/correctness/rfactor.cpp if (e->event == 2 && std::string(e->func) == "f") { string 14 test/correctness/schedule_param.cpp std::string inside_for_loop; string 38 test/correctness/schedule_param.cpp std::string old_for_loop = inside_for_loop; string 12 test/correctness/set_custom_trace.cpp std::string producer; string 13 test/correctness/set_custom_trace.cpp std::string consumer; string 23 test/correctness/set_custom_trace.cpp std::string old_producer = producer; string 34 test/correctness/set_custom_trace.cpp std::string old_consumer = consumer; string 16 test/correctness/simd_op_check.cpp using std::string; string 32 test/correctness/simd_op_check.cpp string op; string 33 test/correctness/simd_op_check.cpp string error_msg; string 37 test/correctness/simd_op_check.cpp string op; string 38 test/correctness/simd_op_check.cpp string name; string 58 test/correctness/simd_op_check.cpp string filter{"*"}; string 59 test/correctness/simd_op_check.cpp string output_directory{Internal::get_test_tmp_dir()}; string 180 test/correctness/simd_op_check.cpp bool wildcard_match(const string& p, const string& str) const { string 185 test/correctness/simd_op_check.cpp bool wildcard_search(const string& p, const string& str) const { string 189 test/correctness/simd_op_check.cpp TestResult check_one(const string &op, const string &name, int vector_width, Expr e) const { string 211 test/correctness/simd_op_check.cpp string asm_filename = output_directory + "check_" + name + ".s"; string 222 test/correctness/simd_op_check.cpp string line; string 238 test/correctness/simd_op_check.cpp string fn_name = "test_" + name; string 257 test/correctness/simd_op_check.cpp void check(string op, int vector_width, Expr e) { string 259 test/correctness/simd_op_check.cpp string name = "op_" + op; string 1340 test/correctness/simd_op_check.cpp string op = "vst2." + std::to_string(bits); string 1341 test/correctness/simd_op_check.cpp check(arm32 ? op : string("st2"), width/bits, tmp2(0, 0) + tmp2(0, 63)); string 1358 test/correctness/simd_op_check.cpp string op = "vst2." + std::to_string(bits); string 1359 test/correctness/simd_op_check.cpp check(arm32 ? op : string("st2"), width/bits, tmp2(0, 0) + tmp2(0, 127)); string 1376 test/correctness/simd_op_check.cpp string op = "vst3." + std::to_string(bits); string 1377 test/correctness/simd_op_check.cpp check(arm32 ? op : string("st3"), width/bits, tmp2(0, 0) + tmp2(0, 127)); string 1395 test/correctness/simd_op_check.cpp string op = "vst4." + std::to_string(bits); string 1396 test/correctness/simd_op_check.cpp check(arm32 ? op : string("st4"), width/bits, tmp2(0, 0) + tmp2(0, 127)); string 12 test/correctness/skip_stages_memoize.cpp std::string buffer_name = "f1_" + std::to_string(buffer_index); string 13 test/correctness/skip_stages_memoize.cpp if ((e->event == halide_trace_store) && (std::string(e->func) == buffer_name)) { string 24 test/correctness/skip_stages_memoize.cpp std::string buffer_name = "f1_" + std::to_string(buffer_index); string 25 test/correctness/skip_stages_memoize.cpp if ((e->event == halide_trace_store) && (std::string(e->func) == buffer_name)) { string 31 test/correctness/skip_stages_memoize.cpp std::string buffer_name = "f2_" + std::to_string(buffer_index); string 32 test/correctness/skip_stages_memoize.cpp if ((e->event == halide_trace_store) && (std::string(e->func) == buffer_name)) { string 541 test/correctness/specialize.cpp std::map<std::string, Internal::Function> env; string 587 test/correctness/specialize.cpp std::map<std::string, Internal::Function> env; string 28 test/correctness/stmt_to_html.cpp std::string result_file_1 = Internal::get_test_tmp_dir() + "stmt_to_html_dump_1.html"; string 34 test/correctness/stmt_to_html.cpp std::string result_file_2 = Internal::get_test_tmp_dir() + "stmt_to_html_dump_2.html"; string 41 test/correctness/stmt_to_html.cpp std::string result_file_3 = Internal::get_test_tmp_dir() + "stmt_to_html_dump_3.html"; string 8 test/correctness/target.cpp std::string ts; string 17 test/correctness/tracing_stack.cpp using std::string; string 19 test/correctness/tracing_stack.cpp stack<string> stack_trace; string 23 test/correctness/tracing_stack.cpp const string event_types[] = {"Load ", string 8 test/correctness/wrap.cpp using std::string; string 56 test/generator/cxx_mangling_aottest.cpp std::string *string_ptr = nullptr; string 57 test/generator/cxx_mangling_aottest.cpp const std::string *const_string_ptr = nullptr; string 57 test/generator/cxx_mangling_define_extern_aottest.cpp std::string *string_ptr = nullptr; string 58 test/generator/cxx_mangling_define_extern_aottest.cpp const std::string *const_string_ptr = nullptr; string 12 test/generator/cxx_mangling_define_extern_generator.cpp Param<std::string *> string_ptr{"string_ptr", 0}; string 13 test/generator/cxx_mangling_define_extern_generator.cpp Param<std::string const *> const_string_ptr{"const_string_ptr", 0}; string 55 test/generator/cxx_mangling_generator.cpp Param<std::string *> string_ptr{"string_ptr", 0}; string 56 test/generator/cxx_mangling_generator.cpp Param<std::string const *> const_string_ptr{"const_string_ptr", 0}; string 14 test/generator/memory_profiler_mandelbrot_aottest.cpp using std::string; string 14 test/generator/multitarget_aottest.cpp std::pair<std::string, bool> get_env_variable(char const *env_var_name) { string 25 test/generator/multitarget_aottest.cpp return {std::string(lvl), true}; string 32 test/generator/multitarget_aottest.cpp std::string value; string 28 test/opengl/varying.cpp std::set<std::string> varyings; string 32 test/performance/block_transpose.cpp std::string algorithm; string 82 test/performance/block_transpose.cpp std::string algorithm; string 21 test/performance/inner_loop_parallel.cpp std::string str = ss.str(); string 8 tools/build_halide_h.cpp std::set<std::string> done; string 10 tools/build_halide_h.cpp void dump_header(std::string header) { string 14 tools/build_halide_h.cpp if (header.find("runtime_internal") != std::string::npos) { string 35 tools/build_halide_h.cpp std::string path; string 36 tools/build_halide_h.cpp if (slash_pos != std::string::npos) string 83 tools/halide_image_io.h inline bool ends_with_ignore_case(const std::string &ac, const std::string &bc) { string 85 tools/halide_image_io.h std::string a = ac, b = bc; string 148 tools/halide_image_io.h bool load_png(const std::string &filename, ImageType *im) { string 242 tools/halide_image_io.h bool save_png(ImageType &im, const std::string &filename) { string 344 tools/halide_image_io.h bool load_pgm(const std::string &filename, ImageType *im) { string 357 tools/halide_image_io.h if (header == std::string("P5") || header == std::string("p5")) string 407 tools/halide_image_io.h bool save_pgm(ImageType &im, const std::string &filename, unsigned int channel = 0) { string 449 tools/halide_image_io.h bool load_ppm(const std::string &filename, ImageType *im) { string 462 tools/halide_image_io.h if (header == std::string("P6") || header == std::string("p6")) string 520 tools/halide_image_io.h bool save_ppm(ImageType &im, const std::string &filename) { string 594 tools/halide_image_io.h bool save_jpg(ImageType &im, const std::string &filename) { string 671 tools/halide_image_io.h bool load_jpg(const std::string &filename, ImageType *im) { string 726 tools/halide_image_io.h bool load(const std::string &filename, ImageType *im) { string 742 tools/halide_image_io.h bool save(ImageType &im, const std::string &filename) { string 765 tools/halide_image_io.h load_image(const std::string &f) : filename(f) {} string 773 tools/halide_image_io.h const std::string filename; string 782 tools/halide_image_io.h void save_image(ImageType &im, const std::string &filename) { string 29 util/HalideTraceViz.cpp using std::string; string 195 util/HalideTraceViz.cpp string qualified_name; string 475 util/HalideTraceViz.cpp map<string, FuncInfo> func_info; string 501 util/HalideTraceViz.cpp string next = argv[i]; string 626 util/HalideTraceViz.cpp string name; string 729 util/HalideTraceViz.cpp string qualified_name = pipeline.name + ":" + p.func(); string 879 util/HalideTraceViz.cpp vector<std::pair<std::string, FuncInfo> > funcs; string 880 util/HalideTraceViz.cpp for (std::pair<std::string, FuncInfo> p : func_info) { string 884 util/HalideTraceViz.cpp bool operator()(const std::pair<std::string, FuncInfo> &a, string 885 util/HalideTraceViz.cpp const std::pair<std::string, FuncInfo> &b) const { string 890 util/HalideTraceViz.cpp for (std::pair<std::string, FuncInfo> p : funcs) {