Lines Matching refs:codeReplacer
423 emitCallAndSwitchStatement(Function *newFunction, BasicBlock *codeReplacer, in emitCallAndSwitchStatement() argument
445 &codeReplacer->getParent()->front().front()); in emitCallAndSwitchStatement()
462 &codeReplacer->getParent()->front().front()); in emitCallAndSwitchStatement()
471 codeReplacer->getInstList().push_back(GEP); in emitCallAndSwitchStatement()
473 codeReplacer->getInstList().push_back(SI); in emitCallAndSwitchStatement()
480 codeReplacer->getInstList().push_back(call); in emitCallAndSwitchStatement()
496 codeReplacer->getInstList().push_back(GEP); in emitCallAndSwitchStatement()
503 codeReplacer->getInstList().push_back(load); in emitCallAndSwitchStatement()
515 codeReplacer, 0, codeReplacer); in emitCallAndSwitchStatement()
710 BasicBlock *codeReplacer = BasicBlock::Create(header->getContext(), in extractCodeRegion() local
734 codeReplacer, oldFunction, in extractCodeRegion()
737 emitCallAndSwitchStatement(newFunction, codeReplacer, inputs, outputs); in extractCodeRegion()
753 std::vector<BasicBlock*> Succs(succ_begin(codeReplacer), in extractCodeRegion()
754 succ_end(codeReplacer)); in extractCodeRegion()
762 PN->setIncomingBlock(i, codeReplacer); in extractCodeRegion()