Searched refs:newFunction (Results 1 – 2 of 2) sorted by relevance
886 Function *newFunction = Function::Create( in constructFunction() local1000 newFunction->addFnAttr(Attr); in constructFunction()1002 newFunction->insert(newFunction->end(), newRootNode); in constructFunction()1006 Function::arg_iterator ScalarAI = newFunction->arg_begin(); in constructFunction()1017 Instruction *TI = newFunction->begin()->getTerminator(); in constructFunction()1035 ScalarAI = newFunction->arg_begin(); in constructFunction()1056 return newFunction; in constructFunction()1143 CallInst *CodeExtractor::emitCallAndSwitchStatement(Function *newFunction, in emitCallAndSwitchStatement() argument1152 Module *M = newFunction->getParent(); in emitCallAndSwitchStatement()1196 StructArgTy = StructType::get(newFunction->getContext(), ArgTypes); in emitCallAndSwitchStatement()[all …]
254 void moveCodeToFunction(Function *newFunction);261 CallInst *emitCallAndSwitchStatement(Function *newFunction,