Searched refs:newFunction (Results 1 – 2 of 2) sorted by relevance
346 Function *newFunction = Function::Create(funcType, in constructFunction() local352 newFunction->setDoesNotThrow(); in constructFunction()354 newFunction->getBasicBlockList().push_back(newRootNode); in constructFunction()357 Function::arg_iterator AI = newFunction->arg_begin(); in constructFunction()367 TerminatorInst *TI = newFunction->begin()->getTerminator(); in constructFunction()384 AI = newFunction->arg_begin(); in constructFunction()403 return newFunction; in constructFunction()423 emitCallAndSwitchStatement(Function *newFunction, BasicBlock *codeReplacer, in emitCallAndSwitchStatement() argument429 LLVMContext &Context = newFunction->getContext(); in emitCallAndSwitchStatement()460 StructArgTy = StructType::get(newFunction->getContext(), ArgTypes); in emitCallAndSwitchStatement()[all …]
117 void moveCodeToFunction(Function *newFunction);119 void emitCallAndSwitchStatement(Function *newFunction,