/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/ |
D | IntermNode.h | 68 class TIntermNode : angle::NonCopyable 72 TIntermNode() in TIntermNode() function 79 virtual ~TIntermNode() {} in ~TIntermNode() 108 virtual TIntermNode *getChildNode(size_t index) const = 0; 111 virtual bool replaceChildNode(TIntermNode *original, TIntermNode *replacement) = 0; 122 TIntermNode *node1; 123 TIntermNode *node2; 129 class TIntermTyped : public TIntermNode 186 class TIntermLoop : public TIntermNode 190 TIntermNode *init, [all …]
|
D | ValidateAST.cpp | 21 static bool validate(TIntermNode *root, 45 ValidateAST(TIntermNode *root, TDiagnostics *diagnostics, const ValidateASTOptions &options); 48 void visitNode(Visit visit, TIntermNode *node); 50 void expectNonNullChildren(Visit visit, TIntermNode *node, size_t least_count); 58 std::map<TIntermNode *, TIntermNode *> mParent; 65 bool ValidateAST::validate(TIntermNode *root, in validate() 74 ValidateAST::ValidateAST(TIntermNode *root, in ValidateAST() 85 void ValidateAST::visitNode(Visit visit, TIntermNode *node) in visitNode() 92 TIntermNode *child = node->getChildNode(i); in visitNode() 110 void ValidateAST::expectNonNullChildren(Visit visit, TIntermNode *node, size_t least_count) in expectNonNullChildren() [all …]
|
D | IntermNode.cpp | 211 TIntermNode *TIntermSymbol::getChildNode(size_t index) const in getChildNode() 222 TIntermNode *TIntermConstantUnion::getChildNode(size_t index) const in getChildNode() 233 TIntermNode *TIntermLoop::getChildNode(size_t index) const in getChildNode() 235 TIntermNode *children[4]; in getChildNode() 261 bool TIntermLoop::replaceChildNode(TIntermNode *original, TIntermNode *replacement) in replaceChildNode() 264 REPLACE_IF_IS(mInit, TIntermNode, original, replacement); in replaceChildNode() 276 TIntermNode *TIntermBranch::getChildNode(size_t index) const in getChildNode() 283 bool TIntermBranch::replaceChildNode(TIntermNode *original, TIntermNode *replacement) in replaceChildNode() 294 TIntermNode *TIntermSwizzle::getChildNode(size_t index) const in getChildNode() 301 bool TIntermSwizzle::replaceChildNode(TIntermNode *original, TIntermNode *replacement) in replaceChildNode() [all …]
|
D | ValidateLimitations.cpp | 95 bool isConstExpr(TIntermNode *node); 96 bool isConstIndexExpr(TIntermNode *node); 147 TIntermNode *body = node->getBody(); in visitLoop() 209 TIntermNode *init = node->getInit(); in validateForLoopInit() 265 TIntermNode *cond = node->getCondition(); in validateForLoopCond() 321 TIntermNode *expr = node->getExpression(); in validateForLoopExpr() 397 bool ValidateLimitationsTraverser::isConstExpr(TIntermNode *node) in isConstExpr() 403 bool ValidateLimitationsTraverser::isConstIndexExpr(TIntermNode *node) in isConstIndexExpr() 432 bool ValidateLimitations(TIntermNode *root, in ValidateLimitations()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/ |
D | IntermRebuild.h | 103 BaseResult(TIntermNode &node, VisitBits visit); 104 BaseResult(TIntermNode *node, VisitBits visit); 107 BaseResult(std::vector<TIntermNode *> &&nodes); 111 static BaseResult Multi(std::vector<TIntermNode *> &&nodes); 116 std::vector<TIntermNode *> nodes; in Multi() 126 TIntermNode *single() const; 127 const std::vector<TIntermNode *> *multi() const; 132 TIntermNode *mSingle; 133 std::vector<TIntermNode *> mMulti; 143 PreResult(TIntermNode &node, VisitBits visit = VisitBits::BothWhenSame); [all …]
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/ |
D | IntermRebuild.h | 103 BaseResult(TIntermNode &node, VisitBits visit); 104 BaseResult(TIntermNode *node, VisitBits visit); 107 BaseResult(std::vector<TIntermNode *> &&nodes); 111 static BaseResult Multi(std::vector<TIntermNode *> &&nodes); 116 std::vector<TIntermNode *> nodes; in Multi() 126 TIntermNode *single() const; 127 const std::vector<TIntermNode *> *multi() const; 132 TIntermNode *mSingle; 133 std::vector<TIntermNode *> mMulti; 143 PreResult(TIntermNode &node, VisitBits visit = VisitBits::BothWhenSame); [all …]
|
D | AsNode.h | 26 struct AsNode<TIntermNode> 28 static ANGLE_INLINE TIntermNode *exec(TIntermNode *node) { return node; } 34 static ANGLE_INLINE TIntermTyped *exec(TIntermNode *node) 43 static ANGLE_INLINE TIntermSymbol *exec(TIntermNode *node) 52 static ANGLE_INLINE TIntermConstantUnion *exec(TIntermNode *node) 61 static ANGLE_INLINE TIntermFunctionPrototype *exec(TIntermNode *node) 70 static ANGLE_INLINE TIntermPreprocessorDirective *exec(TIntermNode *node) 79 static ANGLE_INLINE TIntermSwizzle *exec(TIntermNode *node) 88 static ANGLE_INLINE TIntermBinary *exec(TIntermNode *node) 97 static ANGLE_INLINE TIntermUnary *exec(TIntermNode *node) [all …]
|
D | IntermTraverse.h | 97 ANGLE_NO_DISCARD bool updateTree(TCompiler *compiler, TIntermNode *node); 103 bool incrementDepth(TIntermNode *current) in incrementDepth() 120 ScopedNodeInTraversalPath(TIntermTraverser *traverser, TIntermNode *current) in ScopedNodeInTraversalPath() 138 TIntermNode *getParentNode() const in getParentNode() 144 TIntermNode *getAncestorNode(unsigned int n) const in getAncestorNode() 171 TIntermNode *getRootNode() const in getRootNode() 186 TIntermNode *originalIn, in NodeReplaceWithMultipleEntry() 192 TIntermNode *original; 208 void insertStatementInParentBlock(TIntermNode *statement); 227 void queueReplacement(TIntermNode *replacement, OriginalNode originalStatus); [all …]
|
D | IntermRebuild.cpp | 49 TIntermRebuild::BaseResult::BaseResult(TIntermNode &node, VisitBits visit) in BaseResult() 53 TIntermRebuild::BaseResult::BaseResult(TIntermNode *node, VisitBits visit) in BaseResult() 67 TIntermRebuild::BaseResult::BaseResult(std::vector<TIntermNode *> &&nodes) in BaseResult() 82 TIntermRebuild::BaseResult TIntermRebuild::BaseResult::Multi(std::vector<TIntermNode *> &&nodes) in Multi() 99 TIntermNode *TIntermRebuild::BaseResult::single() const in single() 104 const std::vector<TIntermNode *> *TIntermRebuild::BaseResult::multi() const in multi() 117 PreResult::PreResult(TIntermNode &node, VisitBits visit) : BaseResult(node, visit) {} in PreResult() 118 PreResult::PreResult(TIntermNode *node, VisitBits visit) : BaseResult(node, visit) {} in PreResult() 134 PostResult::PostResult(TIntermNode &node) : BaseResult(node, VisitBits::Neither) {} in PostResult() 135 PostResult::PostResult(TIntermNode *node) : BaseResult(node, VisitBits::Neither) {} in PostResult() [all …]
|
D | IntermNodePatternMatcher.h | 20 class TIntermNode; variable 63 bool match(TIntermBinary *node, TIntermNode *parentNode) const; 67 bool match(TIntermBinary *node, TIntermNode *parentNode, bool isLValueRequiredHere) const; 69 bool match(TIntermAggregate *node, TIntermNode *parentNode) const; 76 bool matchInternal(TIntermBinary *node, TIntermNode *parentNode) const;
|
/third_party/glslang/glslang/HLSL/ |
D | hlslGrammar.h | 68 bool acceptDeclarationList(TIntermNode*&); 69 bool acceptDeclaration(TIntermNode*&); 70 bool acceptControlDeclaration(TIntermNode*& node); 74 …bool acceptFullySpecifiedType(TType&, TIntermNode*& nodeList, const TAttributes&, bool forbidDecla… 78 bool acceptType(TType&, TIntermNode*& nodeList); 94 bool acceptStruct(TType&, TIntermNode*& nodeList); 95 …bool acceptStructDeclarationList(TTypeList*&, TIntermNode*& nodeList, TVector<TFunctionDeclarator>… 96 … bool acceptMemberFunctionDefinition(TIntermNode*& nodeList, const TType&, TString& memberName, 100 …bool acceptFunctionDefinition(TFunctionDeclarator&, TIntermNode*& nodeList, TVector<HlslToken>* de… 101 bool acceptFunctionBody(TFunctionDeclarator& declarator, TIntermNode*& nodeList); [all …]
|
D | hlslParseHelper.h | 83 …eFunctionDefinition(const TSourceLoc&, TFunction&, const TAttributes&, TIntermNode*& entryPointTre… 84 TIntermNode* transformEntryPoint(const TSourceLoc&, TFunction&, const TAttributes&); 87 …void handleFunctionBody(const TSourceLoc&, TFunction&, TIntermNode* functionBody, TIntermNode*& no… 90 TIntermNode* handleDeclare(const TSourceLoc&, TIntermTyped*); 91 TIntermNode* handleReturnValue(const TSourceLoc&, TIntermTyped*); 99 void decomposeIntrinsic(const TSourceLoc&, TIntermTyped*& node, TIntermNode* arguments); 100 void decomposeSampleMethods(const TSourceLoc&, TIntermTyped*& node, TIntermNode* arguments); 101 … void decomposeStructBufferMethods(const TSourceLoc&, TIntermTyped*& node, TIntermNode* arguments); 102 void decomposeGeometryMethods(const TSourceLoc&, TIntermTyped*& node, TIntermNode* arguments); 126 bool constructorError(const TSourceLoc&, TIntermNode*, TFunction&, TOperator, TType&); [all …]
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | IntermNode.h | 68 class TIntermNode : angle::NonCopyable 72 TIntermNode() in TIntermNode() function 79 virtual ~TIntermNode() {} in ~TIntermNode() 110 virtual TIntermNode *deepCopy() const = 0; 113 virtual TIntermNode *getChildNode(size_t index) const = 0; 116 virtual bool replaceChildNode(TIntermNode *original, TIntermNode *replacement) = 0; 127 TIntermNode *node1; 128 TIntermNode *node2; 134 class TIntermTyped : public TIntermNode 210 class TIntermLoop : public TIntermNode [all …]
|
D | IntermNode.cpp | 221 TIntermNode *TIntermSymbol::getChildNode(size_t index) const in getChildNode() 232 TIntermNode *TIntermConstantUnion::getChildNode(size_t index) const in getChildNode() 243 TIntermNode *TIntermLoop::getChildNode(size_t index) const in getChildNode() 245 TIntermNode *children[4]; in getChildNode() 271 bool TIntermLoop::replaceChildNode(TIntermNode *original, TIntermNode *replacement) in replaceChildNode() 274 REPLACE_IF_IS(mInit, TIntermNode, original, replacement); in replaceChildNode() 290 TIntermNode *TIntermBranch::getChildNode(size_t index) const in getChildNode() 297 bool TIntermBranch::replaceChildNode(TIntermNode *original, TIntermNode *replacement) in replaceChildNode() 308 TIntermNode *TIntermSwizzle::getChildNode(size_t index) const in getChildNode() 315 bool TIntermSwizzle::replaceChildNode(TIntermNode *original, TIntermNode *replacement) in replaceChildNode() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_util/ |
D | IntermTraverse.h | 98 bool incrementDepth(TIntermNode *current) in incrementDepth() 114 ScopedNodeInTraversalPath(TIntermTraverser *traverser, TIntermNode *current) in ScopedNodeInTraversalPath() 132 TIntermNode *getParentNode() { return mPath.size() <= 1 ? nullptr : mPath[mPath.size() - 2u]; } in getParentNode() 135 TIntermNode *getAncestorNode(unsigned int n) in getAncestorNode() 155 TIntermNode *originalIn, in NodeReplaceWithMultipleEntry() 161 TIntermNode *original; 177 void insertStatementInParentBlock(TIntermNode *statement); 196 void queueReplacement(TIntermNode *replacement, OriginalNode originalStatus); 198 void queueReplacementWithParent(TIntermNode *parent, 199 TIntermNode *original, [all …]
|
D | IntermNodePatternMatcher.h | 20 class TIntermNode; variable 62 bool match(TIntermBinary *node, TIntermNode *parentNode); 66 bool match(TIntermBinary *node, TIntermNode *parentNode, bool isLValueRequiredHere); 68 bool match(TIntermAggregate *node, TIntermNode *parentNode); 75 bool matchInternal(TIntermBinary *node, TIntermNode *parentNode);
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
D | intermediate.h | 261 class TIntermNode { 265 TIntermNode() in POOL_ALLOCATOR_NEW_DELETE() 288 virtual ~TIntermNode() { } in ~TIntermNode() 298 TIntermNode* node1; 299 TIntermNode* node2; 305 class TIntermTyped : public TIntermNode { 352 class TIntermLoop : public TIntermNode { 355 TIntermNode *aInit, TIntermTyped* aCond, TIntermTyped* aExpr, in TIntermLoop() 356 TIntermNode* aBody) : in TIntermLoop() 368 TIntermNode* getInit() { return init; } in getInit() [all …]
|
D | localintermediate.h | 39 TIntermAggregate* growAggregate(TIntermNode* left, TIntermNode* right, const TSourceLoc&); 40 TIntermAggregate* makeAggregate(TIntermNode* node, const TSourceLoc&); 41 TIntermAggregate* setAggregateOperator(TIntermNode*, TOperator, const TSourceLoc&); 42 TIntermNode* addSelection(TIntermTyped* cond, TIntermNodePair code, const TSourceLoc&); 49 …bool parseConstTree(const TSourceLoc&, TIntermNode*, ConstantUnion*, TOperator, TType, bool single… 50 …TIntermNode* addLoop(TLoopType, TIntermNode*, TIntermTyped*, TIntermTyped*, TIntermNode*, const TS… 54 bool postProcess(TIntermNode*); 55 void outputTree(TIntermNode*);
|
D | OutputASM.h | 269 …, TIntermTyped *dst = 0, TIntermNode *src0 = 0, TIntermNode *src1 = 0, TIntermNode *src2 = 0, TInt… 270 …hader::Opcode op, TIntermTyped *dst, int dstIndex, TIntermNode *src0 = 0, int index0 = 0, TIntermN… 271 …TIntermNode *src2 = 0, int index2 = 0, TIntermNode *src3 = 0, int index3 = 0, TIntermNode *src4 = … 274 …y(sw::Shader::Opcode op, TIntermTyped *dst = 0, TIntermNode *src0 = 0, TIntermNode *src1 = 0, TInt… 276 …void emitCmp(sw::Shader::Control cmpOp, TIntermTyped *dst, TIntermNode *left, TIntermNode *right, … 278 void source(sw::Shader::SourceParameter ¶meter, TIntermNode *argument, int index = 0); 280 void copy(TIntermTyped *dst, TIntermNode *src, int offset = 0); 291 int cost(TIntermNode *expression, int budget); 319 static int dim(TIntermNode *v); 320 static int dim2(TIntermNode *m);
|
/third_party/glslang/glslang/MachineIndependent/ |
D | ParseHelper.h | 348 TIntermTyped* handleFunctionCall(const TSourceLoc&, TFunction*, TIntermNode*); 349 …TIntermTyped* handleBuiltInFunctionCall(TSourceLoc, TIntermNode* arguments, const TFunction& funct… 351 TIntermNode* handleReturnValue(const TSourceLoc&, TIntermTyped*); 353 TIntermTyped* handleLengthMethod(const TSourceLoc&, TFunction*, TIntermNode*); 354 void addInputArgumentConversions(const TFunction&, TIntermNode*&) const; 360 void samplerConstructorLocationCheck(const TSourceLoc&, const char* token, TIntermNode*); 366 TIntermTyped* vkRelaxedRemapFunctionCall(const TSourceLoc&, TFunction*, TIntermNode*); 379 bool constructorError(const TSourceLoc&, TIntermNode*, TFunction&, TOperator, TType&); 418 void inductiveLoopCheck(const TSourceLoc&, TIntermNode* init, TIntermLoop* loop); 422 void inductiveLoopBodyCheck(TIntermNode*, long long loopIndexId, TSymbolTable&); [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
D | RewriteAtomicFunctionExpressions.cpp | 54 TIntermNode *parentNode); 55 static bool IsAtomicFunctionInsideExpression(TIntermAggregate *node, TIntermNode *parentNode); 115 TIntermNode *parentNode) in IsAtomicExchangeOrCompSwapNoReturnValue() 124 TIntermNode *parentNode) in IsAtomicFunctionInsideExpression() 149 TIntermNode *parentNode = getParentNode(); in visitAggregate() 174 void RewriteAtomicFunctionExpressions(TIntermNode *root, in RewriteAtomicFunctionExpressions()
|
D | RewriteElseBlocks.cpp | 33 TIntermNode *rewriteIfElse(TIntermIfElse *ifElse); 56 TIntermNode *statement = (*node->getSequence())[statementIndex]; in visitBlock() 67 TIntermNode *ElseBlockRewriter::rewriteIfElse(TIntermIfElse *ifElse) in rewriteIfElse() 88 TIntermNode *returnNode = new TIntermBranch(EOpReturn, CreateZeroNode(*mFunctionType)); in rewriteIfElse() 114 void RewriteElseBlocks(TIntermNode *node, TSymbolTable *symbolTable) in RewriteElseBlocks()
|
D | EmulatePrecision.cpp | 434 bool ParentUsesResult(TIntermNode *parent, TIntermTyped *node) in ParentUsesResult() 457 bool ParentConstructorTakesCareOfRounding(TIntermNode *parent, TIntermTyped *node) in ParentConstructorTakesCareOfRounding() 483 TIntermNode *parent = getParentNode(); in visitSymbol() 488 TIntermNode *replacement = createRoundingFunctionCallNode(node); in visitSymbol() 530 TIntermNode *parent = getParentNode(); in visitBinary() 536 TIntermNode *replacement = createRoundingFunctionCallNode(node); in visitBinary() 547 TIntermNode *replacement = createCompoundAssignmentFunctionCallNode( in visitBinary() 557 TIntermNode *replacement = createCompoundAssignmentFunctionCallNode( in visitBinary() 571 TIntermNode *replacement = createCompoundAssignmentFunctionCallNode( in visitBinary() 581 TIntermNode *replacement = createCompoundAssignmentFunctionCallNode( in visitBinary() [all …]
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/ |
D | RewriteAtomicFunctionExpressions.cpp | 54 TIntermNode *parentNode); 55 static bool IsAtomicFunctionInsideExpression(TIntermAggregate *node, TIntermNode *parentNode); 115 TIntermNode *parentNode) in IsAtomicExchangeOrCompSwapNoReturnValue() 124 TIntermNode *parentNode) in IsAtomicFunctionInsideExpression() 149 TIntermNode *parentNode = getParentNode(); in visitAggregate() 175 TIntermNode *root, in RewriteAtomicFunctionExpressions()
|
/third_party/glslang/glslang/Include/ |
D | intermediate.h | 1081 class TIntermNode { 1085 TIntermNode() { loc.init(); } in POOL_ALLOCATOR_NEW_DELETE() 1114 virtual ~TIntermNode() { } in ~TIntermNode() 1117 TIntermNode(const TIntermNode&); 1118 TIntermNode& operator=(const TIntermNode&); 1128 TIntermNode* node1; 1129 TIntermNode* node2; 1135 class TIntermTyped : public TIntermNode { 1173 class TIntermLoop : public TIntermNode { 1175 TIntermLoop(TIntermNode* aBody, TIntermTyped* aTest, TIntermTyped* aTerminal, bool testFirst) : in TIntermLoop() [all …]
|