Lines Matching refs:CurrBB
45 BasicBlock &CurrBB, Function::iterator &BB);
62 Function::iterator CurrBB; in runOnFunction() local
68 CurrBB = BB++; in runOnFunction()
70 for (BasicBlock::iterator II = CurrBB->begin(), IE = CurrBB->end(); in runOnFunction()
89 optimizeSQRT(Call, CalledFunc, *CurrBB, BB)) in runOnFunction()
106 BasicBlock &CurrBB, in optimizeSQRT() argument
131 BasicBlock *JoinBB = llvm::SplitBlock(&CurrBB, Call->getNextNode()); in optimizeSQRT()
137 BasicBlock *LibCallBB = BasicBlock::Create(CurrBB.getContext(), "call.sqrt", in optimizeSQRT()
138 CurrBB.getParent(), JoinBB); in optimizeSQRT()
148 CurrBB.getTerminator()->eraseFromParent(); in optimizeSQRT()
149 Builder.SetInsertPoint(&CurrBB); in optimizeSQRT()
154 Phi->addIncoming(Call, &CurrBB); in optimizeSQRT()