Home
last modified time | relevance | path

Searched refs:newFunction (Results 1 – 11 of 11) 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/angle/src/compiler/translator/tree_ops/
DInitializeVariables.cpp239 TFunction *newFunction = in CloneFunctionHeader() local
245 newFunction->setDefined(); in CloneFunctionHeader()
249 newFunction->setHasPrototypeDeclaration(); in CloneFunctionHeader()
251 return newFunction; in CloneFunctionHeader()
280 TFunction *newFunction = nullptr; in collectUnnamedOutFunctions() local
287 if (!newFunction) in collectUnnamedOutFunctions()
289 newFunction = CloneFunctionHeader(mSymbolTable, function); in collectUnnamedOutFunctions()
290 mFunctionsToReplace[function] = newFunction; in collectUnnamedOutFunctions()
293 newFunction->addParameter(function->getParam(z)); in collectUnnamedOutFunctions()
299 if (newFunction) in collectUnnamedOutFunctions()
[all …]
DPreTransformTextureCubeGradDerivatives.cpp233 TIntermFunctionDefinition *newFunction = traverser.getNewReplacementFunction(); in PreTransformTextureCubeGradDerivatives() local
234 if (newFunction != nullptr) in PreTransformTextureCubeGradDerivatives()
236 root->insertStatement(FindFirstFunctionDefinitionIndex(root), newFunction); in PreTransformTextureCubeGradDerivatives()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DCodeExtractor.cpp823 Function *newFunction = Function::Create( in constructFunction() local
828 newFunction->setDoesNotThrow(); in constructFunction()
832 newFunction->setHasUWTable(); in constructFunction()
921 newFunction->addFnAttr(Attr); in constructFunction()
923 newFunction->getBasicBlockList().push_back(newRootNode); in constructFunction()
926 Function::arg_iterator AI = newFunction->arg_begin(); in constructFunction()
936 Instruction *TI = newFunction->begin()->getTerminator(); in constructFunction()
953 AI = newFunction->arg_begin(); in constructFunction()
972 return newFunction; in constructFunction()
1060 CallInst *CodeExtractor::emitCallAndSwitchStatement(Function *newFunction, in emitCallAndSwitchStatement() argument
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/Utils/
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 …]
/external/llvm/include/llvm/Transforms/Utils/
DCodeExtractor.h117 void moveCodeToFunction(Function *newFunction);
119 void emitCallAndSwitchStatement(Function *newFunction,
/external/angle/src/compiler/translator/tree_ops/msl/
DIntroduceVertexIndexID.cpp78 const TFunction &newFunction = CloneFunctionAndAppendParams( in visitFunctionDefinitionPre() local
80 TIntermFunctionPrototype *newProto = new TIntermFunctionPrototype(&newFunction); in visitFunctionDefinitionPre()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DCodeExtractor.h219 void moveCodeToFunction(Function *newFunction);
226 CallInst *emitCallAndSwitchStatement(Function *newFunction,
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/Transforms/Utils/
DCodeExtractor.h254 void moveCodeToFunction(Function *newFunction);
261 CallInst *emitCallAndSwitchStatement(Function *newFunction,
/external/swiftshader/src/Pipeline/
DSpirvShaderDebugger.cpp2242 auto newFunction = debug::find<debug::Function>(newStack[i].block); in trap() local
2243 if(wasTopMostFrame && oldFunction == newFunction) in trap()
/external/bazelbuild-rules_go/third_party/
Dorg_golang_x_tools-deletegopls.patch75557 - name = "newFunction"
92385 - a = newFunction(a) //@mark(exEn0, "2")
92392 -func newFunction(a int) int {
92407 - newFunction(a) //@mark(exEnd, "4")
92411 -func newFunction(a int) {
92443 - newFunction() //@mark(exEn18, "4"),mark(exEn19, "4"),mark(exSt20, "_")
92451 -func newFunction() {
92463 - newFunction() //@mark(exEn18, "4"),mark(exEn19, "4"),mark(exSt20, "_")
92471 -func newFunction() {
92481 - newFunction() //@mark(exEn18, "4"),mark(exEn19, "4"),mark(exSt20, "_")
[all …]