| 112 | } |
| 113 | |
| 114 | bool LICMPass::IsImmediatelyContainedInLoop(Loop* loop, Function* f, |
| 115 | BasicBlock* bb) { |
| 116 | LoopDescriptor* loop_descriptor = context()->GetLoopDescriptor(f); |
| 117 | return loop == (*loop_descriptor)[bb->id()]; |
| 118 | } |
| 119 | |
| 120 | bool LICMPass::HoistInstruction(Loop* loop, Instruction* inst) { |
| 121 | BasicBlock* pre_header_bb = loop->GetOrCreatePreHeaderBlock(); |
nothing calls this directly
no test coverage detected