Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp886 Function *newFunction = Function::Create( in constructFunction() local
1000 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() argument
1152 Module *M = newFunction->getParent(); in emitCallAndSwitchStatement()
1196 StructArgTy = StructType::get(newFunction->getContext(), ArgTypes); in emitCallAndSwitchStatement()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/Utils/
H A DCodeExtractor.h254 void moveCodeToFunction(Function *newFunction);
261 CallInst *emitCallAndSwitchStatement(Function *newFunction,