Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DCodeExtractor.cpp93 void moveCodeToFunction(Function *newFunction);
95 void emitCallAndSwitchStatement(Function *newFunction,
297 Function *newFunction = Function::Create(funcType, in constructFunction() local
303 newFunction->setDoesNotThrow(true); in constructFunction()
305 newFunction->getBasicBlockList().push_back(newRootNode); in constructFunction()
308 Function::arg_iterator AI = newFunction->arg_begin(); in constructFunction()
318 TerminatorInst *TI = newFunction->begin()->getTerminator(); in constructFunction()
335 AI = newFunction->arg_begin(); in constructFunction()
354 return newFunction; in constructFunction()
375 emitCallAndSwitchStatement(Function *newFunction, BasicBlock *codeReplacer, in emitCallAndSwitchStatement() argument
[all …]
/external/llvm/lib/Transforms/Utils/
DCodeExtractor.cpp335 Function *newFunction = Function::Create(funcType, in constructFunction() local
341 newFunction->setDoesNotThrow(); in constructFunction()
343 newFunction->getBasicBlockList().push_back(newRootNode); in constructFunction()
346 Function::arg_iterator AI = newFunction->arg_begin(); in constructFunction()
356 TerminatorInst *TI = newFunction->begin()->getTerminator(); in constructFunction()
372 AI = newFunction->arg_begin(); in constructFunction()
391 return newFunction; in constructFunction()
411 emitCallAndSwitchStatement(Function *newFunction, BasicBlock *codeReplacer, in emitCallAndSwitchStatement() argument
417 LLVMContext &Context = newFunction->getContext(); in emitCallAndSwitchStatement()
448 StructArgTy = StructType::get(newFunction->getContext(), ArgTypes); in emitCallAndSwitchStatement()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DCodeExtractor.cpp673 Function *newFunction = Function::Create(funcType, in constructFunction() local
679 newFunction->setDoesNotThrow(); in constructFunction()
683 newFunction->setHasUWTable(); in constructFunction()
766 newFunction->addFnAttr(Attr); in constructFunction()
768 newFunction->getBasicBlockList().push_back(newRootNode); in constructFunction()
771 Function::arg_iterator AI = newFunction->arg_begin(); in constructFunction()
781 TerminatorInst *TI = newFunction->begin()->getTerminator(); in constructFunction()
797 AI = newFunction->arg_begin(); in constructFunction()
816 return newFunction; in constructFunction()
823 emitCallAndSwitchStatement(Function *newFunction, BasicBlock *codeReplacer, in emitCallAndSwitchStatement() argument
[all …]
/external/llvm/include/llvm/Transforms/Utils/
DCodeExtractor.h117 void moveCodeToFunction(Function *newFunction);
119 void emitCallAndSwitchStatement(Function *newFunction,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
DCodeExtractor.h151 void moveCodeToFunction(Function *newFunction);
158 void emitCallAndSwitchStatement(Function *newFunction,