Lines Matching refs:loop
139 struct Loop {
143 std::stack<Loop> m_loopStack;
194 BasicBlock *begin = BasicBlock::Create(m_builder.getContext(), name("loop"), function,0);
198 Loop loop;
199 loop.begin = begin;
200 loop.end = end;
202 m_loopStack.push(loop);
207 Loop loop = m_loopStack.top();
208 m_builder.CreateBr(loop.begin);
209 loop.end->moveAfter(m_builder.GetInsertBlock());
210 m_builder.SetInsertPoint(loop.end);