Searched refs:newFunction (Results 1 – 2 of 2) sorted by relevance
890 Function *newFunction = Function::Create( in constructFunction() local893 newFunction->IsNewDbgInfoFormat = oldFunction->IsNewDbgInfoFormat; in constructFunction()1014 newFunction->addFnAttr(Attr); in constructFunction()1025 newFunction->setDoesNotReturn(); in constructFunction()1028 newFunction->insert(newFunction->end(), newRootNode); in constructFunction()1032 Function::arg_iterator ScalarAI = newFunction->arg_begin(); in constructFunction()1043 BasicBlock::iterator TI = newFunction->begin()->getTerminator()->getIterator(); in constructFunction()1061 ScalarAI = newFunction->arg_begin(); in constructFunction()1082 return newFunction; in constructFunction()1155 CallInst *CodeExtractor::emitCallAndSwitchStatement(Function *newFunction, in emitCallAndSwitchStatement() argument[all …]
261 void moveCodeToFunction(Function *newFunction);268 CallInst *emitCallAndSwitchStatement(Function *newFunction,