Searched refs:funcDefNode (Results 1 – 7 of 7) sorted by relevance
37 if (TIntermFunctionDefinition *funcDefNode = node->getAsFunctionDefinition()) in visitBlock() local39 const TFunction &func = *funcDefNode->getFunction(); in visitBlock()42 visitMain(*blockNode, funcDefNode); in visitBlock()52 void visitMain(TIntermBlock &root, TIntermFunctionDefinition *funcDefNode) in visitMain() argument54 const TFunction &func = *funcDefNode->getFunction(); in visitMain()59 const TFunction &externalMainFunc = *funcDefNode->getFunction(); in visitMain()62 TIntermFunctionPrototype *externalMainProto = funcDefNode->getFunctionPrototype(); in visitMain()70 TIntermBlock *internalMainBody = funcDefNode->getBody(); in visitMain()78 &root, funcDefNode, TIntermSequence{internalMainDef, externalMainDef})); in visitMain()
20 bool visitFunctionDefinition(Visit, TIntermFunctionDefinition *funcDefNode) override in visitFunctionDefinition() argument22 const TFunction *func = funcDefNode->getFunction(); in visitFunctionDefinition()24 mFuncToDef[func] = funcDefNode; in visitFunctionDefinition()
76 TIntermFunctionDefinition &funcDefNode = *it->second; in visitAggregate() local77 funcDefNode.traverse(this); in visitAggregate()93 bool visitFunctionDefinition(Visit visit, TIntermFunctionDefinition *funcDefNode) override in visitFunctionDefinition() argument95 const TFunction *func = funcDefNode->getFunction(); in visitFunctionDefinition()
25 if (TIntermFunctionDefinition *funcDefNode = ancestor->getAsFunctionDefinition()) in discoverEnclosingFunction() local27 return funcDefNode->getFunction(); in discoverEnclosingFunction()
658 PostResult visitFunctionDefinitionPost(TIntermFunctionDefinition &funcDefNode) override in visitFunctionDefinitionPost() argument660 if (funcDefNode.getFunction()->isMain()) in visitFunctionDefinitionPost()662 return visitMain(funcDefNode); in visitFunctionDefinitionPost()666 return visitNonMain(funcDefNode); in visitFunctionDefinitionPost()670 TIntermNode &visitNonMain(TIntermFunctionDefinition &funcDefNode) in visitNonMain() argument672 TIntermFunctionPrototype &funcProtoNode = *funcDefNode.getFunctionPrototype(); in visitNonMain()679 return funcDefNode; in visitNonMain()685 TIntermBlock *body = funcDefNode.getBody(); in visitNonMain()690 TIntermNode &visitMain(TIntermFunctionDefinition &funcDefNode) in visitMain() argument692 TIntermFunctionPrototype &funcProtoNode = *funcDefNode.getFunctionPrototype(); in visitMain()[all …]
387 PostResult visitFunctionDefinitionPost(TIntermFunctionDefinition &funcDefNode) override in visitFunctionDefinitionPost() argument389 TIntermFunctionPrototype &funcProtoNode = *funcDefNode.getFunctionPrototype(); in visitFunctionDefinitionPost()395 return *new TIntermFunctionDefinition(rFuncProtoNode, funcDefNode.getBody()); in visitFunctionDefinitionPost()397 return funcDefNode; in visitFunctionDefinitionPost()
1836 bool GenMetalTraverser::visitFunctionDefinition(Visit, TIntermFunctionDefinition *funcDefNode) in visitFunctionDefinition() argument1838 const TFunction &func = *funcDefNode->getFunction(); in visitFunctionDefinition()1839 TIntermBlock &body = *funcDefNode->getBody(); in visitFunctionDefinition()