Searched refs:Routing (Results 1 – 2 of 2) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyFixIrreducibleControlFlow.cpp | 444 MachineBasicBlock *Routing = MF.CreateMachineBasicBlock(); in makeSingleEntryLoop() local 448 Routing); in makeSingleEntryLoop() 449 Blocks.insert(Routing); in makeSingleEntryLoop() 453 BuildMI(Routing, DebugLoc(), TII.get(WebAssembly::CONST_I32), Reg) in makeSingleEntryLoop() 455 BuildMI(Routing, DebugLoc(), TII.get(WebAssembly::BR)).addMBB(Dispatch); in makeSingleEntryLoop() 456 Routing->addSuccessor(Dispatch); in makeSingleEntryLoop() 457 Map[{Entry, PredInLoop}] = Routing; in makeSingleEntryLoop() 472 auto *Routing = Map[{Succ, PredInLoop}]; in makeSingleEntryLoop() local 473 Pred->replaceSuccessor(Succ, Routing); in makeSingleEntryLoop()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/WebAssembly/ |
| H A D | irreducible-cfg.mir | 48 ; Routing block for entry0, when predecessor is outside the loop 61 ; Routing block for entry1, when predecessor is inside the loop 77 ; Routing block for entry1, when predecessor is outside the loop 82 ; Routing block for entry0, when predecessor is inside the loop
|