Home
last modified time | relevance | path

Searched refs:TIntermNode (Results 1 – 25 of 45) sorted by relevance

12

/external/deqp-deps/glslang/hlsl/
DhlslGrammar.h68 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 …]
DhlslParseHelper.h83 …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* handleReturnValue(const TSourceLoc&, TIntermTyped*);
97 void decomposeIntrinsic(const TSourceLoc&, TIntermTyped*& node, TIntermNode* arguments);
98 void decomposeSampleMethods(const TSourceLoc&, TIntermTyped*& node, TIntermNode* arguments);
99 … void decomposeStructBufferMethods(const TSourceLoc&, TIntermTyped*& node, TIntermNode* arguments);
100 void decomposeGeometryMethods(const TSourceLoc&, TIntermTyped*& node, TIntermNode* arguments);
124 bool constructorError(const TSourceLoc&, TIntermNode*, TFunction&, TOperator, TType&);
148TIntermNode* declareVariable(const TSourceLoc&, const TString& identifier, TType&, TIntermTyped* i…
[all …]
DhlslGrammar.cpp153 bool HlslGrammar::acceptDeclarationList(TIntermNode*& nodeList) in acceptDeclarationList()
329 bool HlslGrammar::acceptDeclaration(TIntermNode*& nodeList) in acceptDeclaration()
537 bool HlslGrammar::acceptControlDeclaration(TIntermNode*& node) in acceptControlDeclaration()
587 TIntermNode* nodeList = nullptr; in acceptFullySpecifiedType()
590 bool HlslGrammar::acceptFullySpecifiedType(TType& type, TIntermNode*& nodeList, const TAttributes& … in acceptFullySpecifiedType()
1092 TIntermNode* node = nullptr; in acceptAnnotations()
1410 TIntermNode* nodeList = nullptr; in acceptType()
1413 bool HlslGrammar::acceptType(TType& type, TIntermNode*& nodeList) in acceptType()
2077 bool HlslGrammar::acceptStruct(TType& type, TIntermNode*& nodeList) in acceptStruct()
2379 bool HlslGrammar::acceptStructDeclarationList(TTypeList*& typeList, TIntermNode*& nodeList, in acceptStructDeclarationList()
[all …]
/external/swiftshader/src/OpenGL/compiler/
Dlocalintermediate.h39 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…
50TIntermNode* addLoop(TLoopType, TIntermNode*, TIntermTyped*, TIntermTyped*, TIntermNode*, const TS…
54 bool postProcess(TIntermNode*);
55 void outputTree(TIntermNode*);
Dintermediate.h261 class TIntermNode {
265 TIntermNode() in TIntermNode() function
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 …]
DOutputASM.h269 …, 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…
271TIntermNode *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 &parameter, TIntermNode *argument, int index = 0);
280 void copy(TIntermTyped *dst, TIntermNode *src, int offset = 0);
291 int cost(TIntermNode *expression, int budget);
317 static int dim(TIntermNode *v);
318 static int dim2(TIntermNode *m);
DCompiler.h98 bool validateCallDepth(TIntermNode *root, TInfoSink &infoSink);
101 bool validateLimitations(TIntermNode *root);
103 virtual bool translate(TIntermNode *root) = 0;
DValidateLimitations.h54 bool validateOperation(TIntermOperator* node, TIntermNode* operand);
58 bool isConstExpr(TIntermNode* node);
59 bool isConstIndexExpr(TIntermNode* node);
DParseHelper.h87 TIntermNode *getTreeRoot() const { return mTreeRoot; } in getTreeRoot()
88 void setTreeRoot(TIntermNode *treeRoot) { mTreeRoot = treeRoot; } in setTreeRoot()
127 bool constructorErrorCheck(const TSourceLoc &line, TIntermNode*, TFunction&, TOperator, TType*);
158 TIntermTyped *initializer, TIntermNode **intermNode);
196 TIntermTyped* addConstructor(TIntermNode*, const TType*, TOperator, TFunction*, const TSourceLoc&);
238 …TIntermTyped *addFunctionCallOrMethod(TFunction *fnCall, TIntermNode *paramNode, TIntermNode *this…
260 TIntermNode *mTreeRoot; // root of parse tree being created
DValidateLimitations.cpp168 TIntermNode* body = node->getBody(); in visitLoop()
232 TIntermNode* init = node->getInit(); in validateForLoopInit()
285 TIntermNode* cond = node->getCondition(); in validateForLoopCond()
339 TIntermNode* expr = node->getExpression(); in validateForLoopExpr()
451 TIntermNode* operand) { in validateOperation()
465 bool ValidateLimitations::isConstExpr(TIntermNode* node) in isConstExpr()
471 bool ValidateLimitations::isConstIndexExpr(TIntermNode* node) in isConstIndexExpr()
DCompiler.cpp141 TIntermNode* root = parseContext.getTreeRoot(); in compile()
210 bool TCompiler::validateCallDepth(TIntermNode *root, TInfoSink &infoSink) in validateCallDepth()
242 bool TCompiler::validateLimitations(TIntermNode* root) { in validateLimitations()
DOutputASM.cpp1745 TIntermNode *trueBlock = node->getTrueBlock(); in visitSelection()
1746 TIntermNode *falseBlock = node->getFalseBlock(); in visitSelection()
1853 TIntermNode *init = node->getInit(); in visitLoop()
1856 TIntermNode *body = node->getBody(); in visitLoop()
2082 …r::Opcode op, TIntermTyped *dst, TIntermNode *src0, TIntermNode *src1, TIntermNode *src2, TIntermN… in emit()
2087 …w::Shader::Opcode op, TIntermTyped *dst, int dstIndex, TIntermNode *src0, int index0, TIntermNode in emit()
2088TIntermNode *src2, int index2, TIntermNode *src3, int index3, TIntermNode *src4, int index4) in emit()
2168 …mitBinary(sw::Shader::Opcode op, TIntermTyped *dst, TIntermNode *src0, TIntermNode *src1, TIntermN… in emitBinary()
2182 …utASM::emitCmp(sw::Shader::Control cmpOp, TIntermTyped *dst, TIntermNode *left, TIntermNode *right… in emitCmp()
2381 void OutputASM::source(sw::Shader::SourceParameter &parameter, TIntermNode *argument, int index) in source()
[all …]
DTranslatorASM.h32 virtual bool translate(TIntermNode* root);
DTranslatorASM.cpp23 bool TranslatorASM::translate(TIntermNode* root) in translate()
DAnalyzeCallDepth.h27 AnalyzeCallDepth(TIntermNode *root);
/external/deqp-deps/glslang/glslang/MachineIndependent/
DParseHelper.h312 TIntermTyped* handleFunctionCall(const TSourceLoc&, TFunction*, TIntermNode*);
313 …TIntermTyped* handleBuiltInFunctionCall(TSourceLoc, TIntermNode* arguments, const TFunction& funct…
315 TIntermNode* handleReturnValue(const TSourceLoc&, TIntermTyped*);
317 TIntermTyped* handleLengthMethod(const TSourceLoc&, TFunction*, TIntermNode*);
318 void addInputArgumentConversions(const TFunction&, TIntermNode*&) const;
323 void samplerConstructorLocationCheck(const TSourceLoc&, const char* token, TIntermNode*);
338 bool constructorError(const TSourceLoc&, TIntermNode*, TFunction&, TOperator, TType&);
376 void inductiveLoopCheck(const TSourceLoc&, TIntermNode* init, TIntermLoop* loop);
380 void inductiveLoopBodyCheck(TIntermNode*, int loopIndexId, TSymbolTable&);
381 void constantIndexExpressionCheck(TIntermNode*);
[all …]
Dlocalintermediate.h273 bool postProcess(TIntermNode*, EShLanguage);
436 void setTreeRoot(TIntermNode* r) { treeRoot = r; } in setTreeRoot()
437 TIntermNode* getTreeRoot() const { return treeRoot; } in getTreeRoot()
462 …TIntermTyped* addBuiltInFunctionCall(const TSourceLoc& line, TOperator, bool unary, TIntermNode*, …
470 TIntermAggregate* growAggregate(TIntermNode* left, TIntermNode* right);
471 TIntermAggregate* growAggregate(TIntermNode* left, TIntermNode* right, const TSourceLoc&);
472 TIntermAggregate* makeAggregate(TIntermNode* node);
473 TIntermAggregate* makeAggregate(TIntermNode* node, const TSourceLoc&);
475 TIntermTyped* setAggregateOperator(TIntermNode*, TOperator, const TType& type, TSourceLoc);
494 …bool parseConstTree(TIntermNode*, TConstUnionArray, TOperator, const TType&, bool singleConstantPa…
[all …]
Dattribute.cpp125 TAttributes* TParseContext::makeAttributes(const TString& identifier, TIntermNode* node) const in makeAttributes()
149 void TParseContext::handleSelectionAttributes(const TAttributes& attributes, TIntermNode* node) in handleSelectionAttributes()
178 void TParseContext::handleSwitchAttributes(const TAttributes& attributes, TIntermNode* node) in handleSwitchAttributes()
207 void TParseContext::handleLoopAttributes(const TAttributes& attributes, TIntermNode* node) in handleLoopAttributes()
Dlimits.cpp132 void TParseContext::inductiveLoopBodyCheck(TIntermNode* body, int loopId, TSymbolTable& symbolTable) in inductiveLoopBodyCheck()
188 void TParseContext::constantIndexExpressionCheck(TIntermNode* index) in constantIndexExpressionCheck()
DRemoveTree.h39 void RemoveAllTreeNodes(TIntermNode*);
DRemoveTree.cpp111 void RemoveAllTreeNodes(TIntermNode* root) in RemoveAllTreeNodes()
DIntermediate.cpp383 TIntermNode* childNode, const TType& returnType) in addBuiltInFunctionCall()
420 TIntermTyped* TIntermediate::setAggregateOperator(TIntermNode* node, TOperator op, const TType& typ… in setAggregateOperator()
2159 TIntermAggregate* TIntermediate::growAggregate(TIntermNode* left, TIntermNode* right) in growAggregate()
2179 TIntermAggregate* TIntermediate::growAggregate(TIntermNode* left, TIntermNode* right, const TSource… in growAggregate()
2193 TIntermAggregate* TIntermediate::makeAggregate(TIntermNode* node) in makeAggregate()
2205 TIntermAggregate* TIntermediate::makeAggregate(TIntermNode* node, const TSourceLoc& loc) in makeAggregate()
2542 TIntermLoop* TIntermediate::addLoop(TIntermNode* body, TIntermTyped* test, TIntermTyped* terminal, … in addLoop()
2554 TIntermAggregate* TIntermediate::addForLoop(TIntermNode* body, TIntermNode* initializer, TIntermTyp… in addForLoop()
2593 bool TIntermediate::postProcess(TIntermNode* root, EShLanguage /*language*/) in postProcess()
3538 [](const TIntermNode* node) { return node != nullptr; })) { in promoteAggregate()
[all …]
/external/deqp-deps/glslang/glslang/Include/
Dintermediate.h1015 class TIntermNode {
1019 TIntermNode() { loc.init(); } in POOL_ALLOCATOR_NEW_DELETE()
1048 virtual ~TIntermNode() { } in ~TIntermNode()
1051 TIntermNode(const TIntermNode&);
1052 TIntermNode& operator=(const TIntermNode&);
1062 TIntermNode* node1;
1063 TIntermNode* node2;
1069 class TIntermTyped : public TIntermNode {
1103 class TIntermLoop : public TIntermNode {
1105 TIntermLoop(TIntermNode* aBody, TIntermTyped* aTest, TIntermTyped* aTerminal, bool testFirst) : in TIntermLoop()
[all …]
DShHandle.h83 class TIntermNode; variable
96 virtual bool compile(TIntermNode* root, int version = 0, EProfile profile = ENoProfile) = 0;
/external/deqp-deps/glslang/glslang/GenericCodeGen/
DCodeGen.cpp45 virtual bool compile(TIntermNode* root, int version = 0, EProfile profile = ENoProfile);
71 bool TGenericCompiler::compile(TIntermNode* /*root*/, int /*version*/, EProfile /*profile*/) in compile() argument

12