Home
last modified time | relevance | path

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

/aosp_15_r20/external/pytorch/torch/csrc/jit/passes/
H A Dguard_elimination.cpp13 struct GuardElimination { struct
14 GuardElimination(std::shared_ptr<Graph> graph) in GuardElimination() function
17 void run() { in run()
31 static bool isLoweredGradOf(Node* n) { in isLoweredGradOf()
39 bool moveGuardsToDefs(Block* b) { in moveGuardsToDefs()
87 void coalesceGuards(Block* b) { in coalesceGuards()
119 void removeDominatedGuards(Block* b) { in removeDominatedGuards()
181 bool guardsOutput(Node* guard) { in guardsOutput()
199 void eliminateRedundantGuards(Block* b) { in eliminateRedundantGuards()
226 bool checkInputs( in checkInputs()
[all …]