MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / gen_op_def_pybind11

Function gen_op_def_pybind11

imperative/tablegen/targets/pybind11.cpp:116–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114} // namespace
115
116bool gen_op_def_pybind11(raw_ostream& os, llvm::RecordKeeper& keeper) {
117 Environment env;
118 using namespace std::placeholders;
119 foreach_operator(keeper, [&](MgbOp& op) { OpDefEmitter(op, os, env).emit(); });
120 return false;
121}
122} // namespace mlir::tblgen

Callers

nothing calls this directly

Calls 3

foreach_operatorFunction · 0.85
OpDefEmitterClass · 0.70
emitMethod · 0.45

Tested by

no test coverage detected