Home
last modified time | relevance | path

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

/src/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp890 Function *newFunction = Function::Create( in constructFunction() local
893 newFunction->IsNewDbgInfoFormat = oldFunction->IsNewDbgInfoFormat; in constructFunction()
1014 newFunction->addFnAttr(Attr); in constructFunction()
1025 newFunction->setDoesNotReturn(); in constructFunction()
1028 newFunction->insert(newFunction->end(), newRootNode); in constructFunction()
1032 Function::arg_iterator ScalarAI = newFunction->arg_begin(); in constructFunction()
1043 BasicBlock::iterator TI = newFunction->begin()->getTerminator()->getIterator(); in constructFunction()
1061 ScalarAI = newFunction->arg_begin(); in constructFunction()
1082 return newFunction; in constructFunction()
1155 CallInst *CodeExtractor::emitCallAndSwitchStatement(Function *newFunction, in emitCallAndSwitchStatement() argument
[all …]
/src/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DCodeExtractor.h261 void moveCodeToFunction(Function *newFunction);
268 CallInst *emitCallAndSwitchStatement(Function *newFunction,