Lines Matching +full:exec +full:- +full:sh
3 // Use of this source code is governed by a BSD-style license that can be
15 namespace sh
28 static ANGLE_INLINE TIntermNode *exec(TIntermNode *node) { return node; }
34 static ANGLE_INLINE TIntermTyped *exec(TIntermNode *node)
36 return node ? node->getAsTyped() : nullptr;
43 static ANGLE_INLINE TIntermSymbol *exec(TIntermNode *node)
45 return node ? node->getAsSymbolNode() : nullptr;
52 static ANGLE_INLINE TIntermConstantUnion *exec(TIntermNode *node)
54 return node ? node->getAsConstantUnion() : nullptr;
61 static ANGLE_INLINE TIntermFunctionPrototype *exec(TIntermNode *node)
63 return node ? node->getAsFunctionPrototypeNode() : nullptr;
70 static ANGLE_INLINE TIntermPreprocessorDirective *exec(TIntermNode *node)
72 return node ? node->getAsPreprocessorDirective() : nullptr;
79 static ANGLE_INLINE TIntermSwizzle *exec(TIntermNode *node)
81 return node ? node->getAsSwizzleNode() : nullptr;
88 static ANGLE_INLINE TIntermBinary *exec(TIntermNode *node)
90 return node ? node->getAsBinaryNode() : nullptr;
97 static ANGLE_INLINE TIntermUnary *exec(TIntermNode *node)
99 return node ? node->getAsUnaryNode() : nullptr;
106 static ANGLE_INLINE TIntermTernary *exec(TIntermNode *node)
108 return node ? node->getAsTernaryNode() : nullptr;
115 static ANGLE_INLINE TIntermIfElse *exec(TIntermNode *node)
117 return node ? node->getAsIfElseNode() : nullptr;
124 static ANGLE_INLINE TIntermSwitch *exec(TIntermNode *node)
126 return node ? node->getAsSwitchNode() : nullptr;
133 static ANGLE_INLINE TIntermCase *exec(TIntermNode *node)
135 return node ? node->getAsCaseNode() : nullptr;
142 static ANGLE_INLINE TIntermFunctionDefinition *exec(TIntermNode *node)
144 return node ? node->getAsFunctionDefinition() : nullptr;
151 static ANGLE_INLINE TIntermAggregate *exec(TIntermNode *node)
153 return node ? node->getAsAggregate() : nullptr;
160 static ANGLE_INLINE TIntermBlock *exec(TIntermNode *node)
162 return node ? node->getAsBlock() : nullptr;
169 static ANGLE_INLINE TIntermGlobalQualifierDeclaration *exec(TIntermNode *node)
171 return node ? node->getAsGlobalQualifierDeclarationNode() : nullptr;
178 static ANGLE_INLINE TIntermDeclaration *exec(TIntermNode *node)
180 return node ? node->getAsDeclarationNode() : nullptr;
187 static ANGLE_INLINE TIntermLoop *exec(TIntermNode *node)
189 return node ? node->getAsLoopNode() : nullptr;
196 static ANGLE_INLINE TIntermBranch *exec(TIntermNode *node)
198 return node ? node->getAsBranchNode() : nullptr;
207 return priv::AsNode<T>::exec(node);
210 } // namespace sh