Searched refs:newFunction (Results 1 – 2 of 2) sorted by relevance
345 Function *newFunction = Function::Create(funcType, in constructFunction() local351 newFunction->setDoesNotThrow(); in constructFunction()353 newFunction->getBasicBlockList().push_back(newRootNode); in constructFunction()356 Function::arg_iterator AI = newFunction->arg_begin(); in constructFunction()366 TerminatorInst *TI = newFunction->begin()->getTerminator(); in constructFunction()383 AI = newFunction->arg_begin(); in constructFunction()402 return newFunction; in constructFunction()422 emitCallAndSwitchStatement(Function *newFunction, BasicBlock *codeReplacer, in emitCallAndSwitchStatement() argument428 LLVMContext &Context = newFunction->getContext(); in emitCallAndSwitchStatement()459 StructArgTy = StructType::get(newFunction->getContext(), ArgTypes); in emitCallAndSwitchStatement()[all …]
117 void moveCodeToFunction(Function *newFunction);119 void emitCallAndSwitchStatement(Function *newFunction,