Home
last modified time | relevance | path

Searched refs:getAsDeclarationNode (Results 1 – 18 of 18) sorted by relevance

/external/angle/src/compiler/translator/tree_ops/
DPruneEmptyCases.cpp31 ASSERT(node->getAsDeclarationNode() == nullptr || in IsEmptyBlock()
32 !node->getAsDeclarationNode()->getSequence()->empty()); in IsEmptyBlock()
DPruneNoOps.cpp32 bool isEmptyDeclaration = node->getAsDeclarationNode() != nullptr && in IsNoOp()
33 node->getAsDeclarationNode()->getSequence()->empty(); in IsNoOp()
DRemoveUnreferencedVariables.cpp344 node->getExpression()->getAsDeclarationNode() == nullptr); in traverseLoop()
346 node->getCondition()->getAsDeclarationNode() == nullptr); in traverseLoop()
DDeferGlobalInitializers.cpp145 TIntermDeclaration *declaration = statement->getAsDeclarationNode(); in DeferGlobalInitializers()
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DHoistConstants.cpp70 TIntermDeclaration *declNode = opaqueDeclNode->getAsDeclarationNode(); in rewrite()
DIntermRebuild.cpp380 return visitDeclarationPre(*originalNode.getAsDeclarationNode()); in traversePre()
443 return traverseDeclarationChildren(*currNode.getAsDeclarationNode()); in traverseChildren()
511 return visitDeclarationPost(*currNode.getAsDeclarationNode()); in traversePost()
DSeparateCompoundExpressions.cpp265 if (TIntermDeclaration *decl = stmt->getAsDeclarationNode()) in pushStmtsIntoBlock()
389 if (op == TOperator::EOpInitialize && getParentNode()->getAsDeclarationNode()) in visitBinaryPost()
DToposortStructs.cpp217 if (TIntermDeclaration *declNode = node.getAsDeclarationNode()) in GetAsDeclaredStructure()
DEmitMetal.cpp2117 if (TIntermDeclaration *declNode = node.getAsDeclarationNode()) in NewlinePad()
/external/angle/src/compiler/translator/tree_ops/d3d/
DWrapSwitchStatementsInBlocks.cpp54 TIntermDeclaration *asDeclaration = statement->getAsDeclarationNode(); in visitSwitch()
/external/angle/src/compiler/translator/
DValidateLimitations.cpp24 TIntermSequence *declSeq = loop->getInit()->getAsDeclarationNode()->getSequence(); in GetLoopSymbolId()
220 TIntermDeclaration *decl = init->getAsDeclarationNode(); in validateForLoopInit()
DIntermNode.h97 virtual TIntermDeclaration *getAsDeclarationNode() { return nullptr; } in getAsDeclarationNode() function
791 TIntermDeclaration *getAsDeclarationNode() override { return this; } in getAsDeclarationNode() function
DOutputHLSL.cpp2136 (statement->getAsDeclarationNode() == nullptr || in visitBlock()
2137 IsDeclarationWrittenOut(statement->getAsDeclarationNode())) && in visitBlock()
2978 TIntermDeclaration *init = node->getInit()->getAsDeclarationNode(); in handleExcessiveLoop()
DTranslatorVulkan.cpp131 TIntermDeclaration *decl = node->getAsDeclarationNode(); in DeclareDefaultUniforms()
DIntermNode.cpp1456 if (mInit && mInit->getAsDeclarationNode() && in TIntermLoop()
1457 mInit->getAsDeclarationNode()->getSequence()->empty()) in TIntermLoop()
DOutputSPIRV.cpp4470 ASSERT(getParentNode()->getAsDeclarationNode() != nullptr); in visitBinary()
DParseContext.cpp2424 TIntermDeclaration *declaration = cond->getAsDeclarationNode(); in addLoop()
/external/angle/src/compiler/translator/tree_util/
DAsNode.h180 return node ? node->getAsDeclarationNode() : nullptr;