Home
last modified time | relevance | path

Searched refs:newFunction (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Transforms/Utils/
DCodeExtractor.cpp346 Function *newFunction = Function::Create(funcType, in constructFunction() local
352 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() argument
429 LLVMContext &Context = newFunction->getContext(); in emitCallAndSwitchStatement()
460 StructArgTy = StructType::get(newFunction->getContext(), ArgTypes); in emitCallAndSwitchStatement()
[all …]
/external/llvm/include/llvm/Transforms/Utils/
DCodeExtractor.h117 void moveCodeToFunction(Function *newFunction);
119 void emitCallAndSwitchStatement(Function *newFunction,