Home
last modified time | relevance | path

Searched refs:getAsFunctionDefinition (Results 1 – 15 of 15) sorted by relevance

/external/angle/src/compiler/translator/TranslatorMetalDirect/
DDiscoverEnclosingFunctionTraverser.cpp20 ASSERT(!node->getAsFunctionDefinition()); in discoverEnclosingFunction()
25 if (TIntermFunctionDefinition *funcDefNode = ancestor->getAsFunctionDefinition()) in discoverEnclosingFunction()
DWrapMain.cpp37 if (TIntermFunctionDefinition *funcDefNode = node->getAsFunctionDefinition()) in visitBlock()
DIntermRebuild.cpp371 return visitFunctionDefinitionPre(*originalNode.getAsFunctionDefinition()); in traversePre()
434 return traverseFunctionDefinitionChildren(*currNode.getAsFunctionDefinition()); in traverseChildren()
502 return visitFunctionDefinitionPost(*currNode.getAsFunctionDefinition()); in traversePost()
DEmitMetal.cpp2099 if (node.getAsFunctionDefinition()) in RequiresSemicolonTerminator()
2113 if (node.getAsFunctionDefinition()) in NewlinePad()
/external/angle/src/compiler/translator/tree_util/
DFindMain.cpp23 TIntermFunctionDefinition *nodeFunction = node->getAsFunctionDefinition(); in FindMainIndex()
36 TIntermFunctionDefinition *nodeFunction = node->getAsFunctionDefinition(); in FindMain()
DFindFunction.cpp23 TIntermFunctionDefinition *nodeFunction = node->getAsFunctionDefinition(); in FindFirstFunctionDefinitionIndex()
DAsNode.h144 return node ? node->getAsFunctionDefinition() : nullptr;
/external/angle/src/compiler/translator/
DValidateMaxParameters.cpp20 TIntermFunctionDefinition *definition = node->getAsFunctionDefinition(); in ValidateMaxParameters()
DIntermNode.h89 virtual TIntermFunctionDefinition *getAsFunctionDefinition() { return nullptr; } in getAsFunctionDefinition() function
757 TIntermFunctionDefinition *getAsFunctionDefinition() override { return this; } in getAsFunctionDefinition() function
DOutputGLSLBase.cpp25 if (node->getAsFunctionDefinition()) in isSingleStatement()
DCompiler.cpp1443 const TIntermFunctionDefinition *asFunctionDefinition = node->getAsFunctionDefinition(); in operator ()()
DOutputHLSL.cpp2096 bool isMainBlock = mInsideMain && getParentNode()->getAsFunctionDefinition(); in visitBlock()
2135 statement->getAsFunctionDefinition() == nullptr && in visitBlock()
/external/angle/src/compiler/translator/tree_ops/d3d/
DAddDefaultReturnStatements.cpp48 TIntermFunctionDefinition *definition = node->getAsFunctionDefinition(); in AddDefaultReturnStatements()
DRewriteAtomicFunctionExpressions.cpp163 if (!mTempVariables.empty() && getParentNode()->getAsFunctionDefinition()) in visitBlock()
/external/angle/src/compiler/translator/tree_ops/vulkan/
DMonomorphizeUnsupportedFunctionsInVulkanGLSL.cpp51 TIntermFunctionDefinition *asFuncDef = node->getAsFunctionDefinition(); in InitializeFunctionMap()
408 const bool isInFunctionDefinition = getParentNode()->getAsFunctionDefinition() != nullptr; in visitFunctionPrototype()
490 if (node->getAsFunctionDefinition() || node->getAsFunctionPrototypeNode()) in SortDeclarations()