Searched refs:getAsDeclarationNode (Results 1 – 18 of 18) sorted by relevance
31 ASSERT(node->getAsDeclarationNode() == nullptr || in IsEmptyBlock()32 !node->getAsDeclarationNode()->getSequence()->empty()); in IsEmptyBlock()
32 bool isEmptyDeclaration = node->getAsDeclarationNode() != nullptr && in IsNoOp()33 node->getAsDeclarationNode()->getSequence()->empty(); in IsNoOp()
344 node->getExpression()->getAsDeclarationNode() == nullptr); in traverseLoop()346 node->getCondition()->getAsDeclarationNode() == nullptr); in traverseLoop()
145 TIntermDeclaration *declaration = statement->getAsDeclarationNode(); in DeferGlobalInitializers()
70 TIntermDeclaration *declNode = opaqueDeclNode->getAsDeclarationNode(); in rewrite()
380 return visitDeclarationPre(*originalNode.getAsDeclarationNode()); in traversePre()443 return traverseDeclarationChildren(*currNode.getAsDeclarationNode()); in traverseChildren()511 return visitDeclarationPost(*currNode.getAsDeclarationNode()); in traversePost()
265 if (TIntermDeclaration *decl = stmt->getAsDeclarationNode()) in pushStmtsIntoBlock()389 if (op == TOperator::EOpInitialize && getParentNode()->getAsDeclarationNode()) in visitBinaryPost()
217 if (TIntermDeclaration *declNode = node.getAsDeclarationNode()) in GetAsDeclaredStructure()
2117 if (TIntermDeclaration *declNode = node.getAsDeclarationNode()) in NewlinePad()
54 TIntermDeclaration *asDeclaration = statement->getAsDeclarationNode(); in visitSwitch()
24 TIntermSequence *declSeq = loop->getInit()->getAsDeclarationNode()->getSequence(); in GetLoopSymbolId()220 TIntermDeclaration *decl = init->getAsDeclarationNode(); in validateForLoopInit()
97 virtual TIntermDeclaration *getAsDeclarationNode() { return nullptr; } in getAsDeclarationNode() function791 TIntermDeclaration *getAsDeclarationNode() override { return this; } in getAsDeclarationNode() function
2136 (statement->getAsDeclarationNode() == nullptr || in visitBlock()2137 IsDeclarationWrittenOut(statement->getAsDeclarationNode())) && in visitBlock()2978 TIntermDeclaration *init = node->getInit()->getAsDeclarationNode(); in handleExcessiveLoop()
131 TIntermDeclaration *decl = node->getAsDeclarationNode(); in DeclareDefaultUniforms()
1456 if (mInit && mInit->getAsDeclarationNode() && in TIntermLoop()1457 mInit->getAsDeclarationNode()->getSequence()->empty()) in TIntermLoop()
4470 ASSERT(getParentNode()->getAsDeclarationNode() != nullptr); in visitBinary()
2424 TIntermDeclaration *declaration = cond->getAsDeclarationNode(); in addLoop()
180 return node ? node->getAsDeclarationNode() : nullptr;