Home
last modified time | relevance | path

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

/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/angle/src/compiler/translator/tree_ops/
DRewriteStructSamplers.cpp231 TFunction **newFunction = &(*functionInstantiations)[function->name()][instantiation]; in GenerateFunctionFromArguments() local
233 if (!*newFunction) in GenerateFunctionFromArguments()
235 *newFunction = in GenerateFunctionFromArguments()
238 (*functionMap)[*newFunction] = function; in GenerateFunctionFromArguments()
255 (*newFunction)->addParameter(param); in GenerateFunctionFromArguments()
258 return *newFunction; in GenerateFunctionFromArguments()
439 TFunction *newFunction = createStructSamplerFunction(function); in visitFunctionPrototype() local
440 mSymbolTable->declareUserDefinedFunction(newFunction, true); in visitFunctionPrototype()
441 function = newFunction; in visitFunctionPrototype()
480 TFunction *newFunction = GenerateFunctionFromArguments( in visitAggregate() local
[all …]
DRewriteStructSamplersOld.cpp181 TFunction *newFunction = createStructSamplerFunction(function); in visitFunctionPrototype() local
182 mSymbolTable->declareUserDefinedFunction(newFunction, true); in visitFunctionPrototype()
183 function = newFunction; in visitFunctionPrototype()
220 TFunction *newFunction = mSymbolTable->findUserDefinedFunction(function->name()); in visitAggregate() local
224 TIntermAggregate::CreateFunctionCall(*newFunction, newArguments); in visitAggregate()
/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,
/external/swiftshader/src/Pipeline/
DSpirvShaderDebugger.cpp628 debug::Function *newFunction = newSrcScope ? newSrcScope->scope->function : nullptr; in setScope() local
630 if(oldFunction != newFunction) in setScope()
633 if(newFunction) { thread->enter(lock, newFunction->source->dbgFile, newFunction->name); } in setScope()