Lines Matching refs:codeReplacer
887 BasicBlock *codeReplacer, in emitCallAndSwitchStatement() argument
914 &codeReplacer->getParent()->front().front()); in emitCallAndSwitchStatement()
932 &codeReplacer->getParent()->front().front()); in emitCallAndSwitchStatement()
941 codeReplacer->getInstList().push_back(GEP); in emitCallAndSwitchStatement()
943 codeReplacer->getInstList().push_back(SI); in emitCallAndSwitchStatement()
954 if (codeReplacer->getParent()->getSubprogram()) { in emitCallAndSwitchStatement()
958 codeReplacer->getInstList().push_back(call); in emitCallAndSwitchStatement()
975 codeReplacer->getInstList().push_back(GEP); in emitCallAndSwitchStatement()
982 codeReplacer->getInstList().push_back(load); in emitCallAndSwitchStatement()
1028 codeReplacer, 0, codeReplacer); in emitCallAndSwitchStatement()
1320 BasicBlock *codeReplacer = BasicBlock::Create(header->getContext(), in extractCodeRegion() local
1372 constructFunction(inputs, outputs, header, newFuncRoot, codeReplacer, in extractCodeRegion()
1381 BFI->setBlockFreq(codeReplacer, EntryFreq.getFrequency()); in extractCodeRegion()
1385 emitCallAndSwitchStatement(newFunction, codeReplacer, inputs, outputs); in extractCodeRegion()
1400 calculateNewCallTerminatorWeights(codeReplacer, ExitWeights, BPI); in extractCodeRegion()
1421 PN.setIncomingBlock(i, codeReplacer); in extractCodeRegion()