Home
last modified time | relevance | path

Searched defs:BailOutInserter (Results 1 – 1 of 1) sorted by relevance

/external/pytorch/torch/csrc/jit/passes/
Dbailout_graph.cpp223 struct BailOutInserter { struct
224 explicit BailOutInserter(std::shared_ptr<Graph> graph) in BailOutInserter() argument
227 void run() { in run()
239 void addUnoptimizedFuncToBailouts() { in addUnoptimizedFuncToBailouts()
255 void removeGuards(Block* b) { in removeGuards()
273 void replaceGuardsWithBailouts() { in replaceGuardsWithBailouts()
286 void insertBailOuts(Block* b) { in insertBailOuts()
322 std::shared_ptr<Graph> graph_;
323 std::map<Node*, Node*> subgraphs;
324 std::size_t bailout_index_{0};
[all …]