| 54 | |
| 55 | bool has_compiler_for(const std::string& name) { return compiler_map().count(name) > 0; } |
| 56 | compiler_replace |
| 57 | compile(context& ctx, instruction_ref ins, const operation& op, const value& solution) |
| 58 | { |
| 59 | assert(contains(compiler_map(), op.name())); |
| 60 | return compiler_map().at(op.name()).compile(ctx, ins, op, solution); |
| 61 | } |
| 62 | operation |
| 63 | compile_op(const std::string& name, context& ctx, const std::vector<shape>& inputs, const value& v) |
| 64 | { |