Home
last modified time | relevance | path

Searched refs:TOperator (Results 1 – 25 of 33) sorted by relevance

12

/external/swiftshader/src/OpenGL/compiler/
Dlocalintermediate.h35 …TIntermTyped* addBinaryMath(TOperator op, TIntermTyped* left, TIntermTyped* right, const TSourceLo…
36 TIntermTyped* addAssign(TOperator op, TIntermTyped* left, TIntermTyped* right, const TSourceLoc&);
37 TIntermTyped* addIndex(TOperator op, TIntermTyped* base, TIntermTyped* index, const TSourceLoc&);
38 TIntermTyped* addUnaryMath(TOperator op, TIntermTyped* child, const TSourceLoc&, const TType*);
41 TIntermAggregate* setAggregateOperator(TIntermNode*, TOperator, const TSourceLoc&);
49 …bool parseConstTree(const TSourceLoc&, TIntermNode*, ConstantUnion*, TOperator, TType, bool single…
51 TIntermBranch* addBranch(TOperator, const TSourceLoc&);
52 TIntermBranch* addBranch(TOperator, TIntermTyped*, const TSourceLoc&);
DParseHelper.h127 bool constructorErrorCheck(const TSourceLoc &line, TIntermNode*, TFunction&, TOperator, TType*);
196 TIntermTyped* addConstructor(TIntermNode*, const TType*, TOperator, TFunction*, const TSourceLoc&);
228 TIntermTyped *addUnaryMath(TOperator op, TIntermTyped *child, const TSourceLoc &loc);
229 TIntermTyped *addUnaryMathLValue(TOperator op, TIntermTyped *child, const TSourceLoc &loc);
230 …TIntermTyped *addBinaryMath(TOperator op, TIntermTyped *left, TIntermTyped *right, const TSourceLo…
231 …TIntermTyped *addBinaryMathBooleanResult(TOperator op, TIntermTyped *left, TIntermTyped *right, co…
233 …TIntermTyped *addAssign(TOperator op, TIntermTyped *left, TIntermTyped *right, const TSourceLoc &l…
235 TIntermBranch *addBranch(TOperator op, const TSourceLoc &loc);
236 TIntermBranch *addBranch(TOperator op, TIntermTyped *returnValue, const TSourceLoc &loc);
245 …TIntermTyped *addBinaryMathInternal(TOperator op, TIntermTyped *left, TIntermTyped *right, const T…
[all …]
Dintermediate.h34 enum TOperator { enum
241 extern TOperator TypeToConstructorOperator(const TType &type);
242 extern const char* getOperatorString(TOperator op);
391 TIntermBranch(TOperator op, TIntermTyped* e) : in TIntermBranch()
398 TOperator getFlowOp() { return flowOp; } in getFlowOp()
402 TOperator flowOp;
450 TIntermTyped* fold(TOperator, TIntermTyped*, TInfoSink&);
461 TOperator getOp() const { return op; } in getOp()
462 void setOp(TOperator o) { op = o; } in setOp()
468 TIntermOperator(TOperator o) : TIntermTyped(TType(EbtFloat, EbpUndefined)), op(o) {} in TIntermOperator()
[all …]
DparseConst.cpp23 …TConstTraverser(ConstantUnion* cUnion, bool singleConstParam, TOperator constructType, TInfoSink& … in TConstTraverser()
51 TOperator constructorType;
239 …e(const TSourceLoc& line, TIntermNode* root, ConstantUnion* unionArray, TOperator constructorType,… in parseConstTree()
DSymbolTable.h142 TFunction(TOperator o) : in TFunction()
148 …TFunction(const TString *name, const TType& retType, TOperator tOp = EOpNull, const char *ext = ""…
174 TOperator getBuiltInOp() const { return op; } in getBuiltInOp()
190 TOperator op;
353 …void insertBuiltIn(ESymbolLevel level, TOperator op, const char *ext, TType *rvalue, const char *n…
440 …void insertBuiltIn(ESymbolLevel level, TOperator op, TType *rvalue, const char *name, TType *ptype…
DIntermediate.cpp33 static bool ValidateMultiplication(TOperator op, const TType &left, const TType &right) in ValidateMultiplication()
65 TOperator TypeToConstructorOperator(const TType &type) in TypeToConstructorOperator()
193 const char* getOperatorString(TOperator op) { in getOperatorString()
330 TIntermTyped* TIntermediate::addBinaryMath(TOperator op, TIntermTyped* left, TIntermTyped* right, c… in addBinaryMath()
430 TIntermTyped* TIntermediate::addAssign(TOperator op, TIntermTyped* left, TIntermTyped* right, const… in addAssign()
458 TIntermTyped* TIntermediate::addIndex(TOperator op, TIntermTyped* base, TIntermTyped* index, const … in addIndex()
475 TIntermTyped* TIntermediate::addUnaryMath(TOperator op, TIntermTyped* child, const TSourceLoc &line… in addUnaryMath()
539 TIntermAggregate* TIntermediate::setAggregateOperator(TIntermNode* node, TOperator op, const TSourc… in setAggregateOperator()
753 TIntermBranch* TIntermediate::addBranch(TOperator branchOp, const TSourceLoc &line) in addBranch()
758 TIntermBranch* TIntermediate::addBranch(TOperator branchOp, TIntermTyped* expression, const TSource… in addBranch()
[all …]
DParseHelper.cpp72 bool IsAssignment(TOperator op) in IsAssignment()
497 …rorCheck(const TSourceLoc &line, TIntermNode* node, TFunction& function, TOperator op, TType* type) in constructorErrorCheck()
2074 TOperator op = EOpNull; in addConstructorFunc()
2101 TIntermTyped* TParseContext::addConstructor(TIntermNode* arguments, const TType* type, TOperator op… in addConstructor()
3064 TIntermTyped *TParseContext::createUnaryMath(TOperator op, TIntermTyped *child, const TSourceLoc &l… in createUnaryMath()
3109 TIntermTyped *TParseContext::addUnaryMath(TOperator op, TIntermTyped *child, const TSourceLoc &loc) in addUnaryMath()
3121 TIntermTyped *TParseContext::addUnaryMathLValue(TOperator op, TIntermTyped *child, const TSourceLoc… in addUnaryMathLValue()
3128 bool TParseContext::binaryOpCommonCheck(TOperator op, TIntermTyped *left, TIntermTyped *right, cons… in binaryOpCommonCheck()
3369 TIntermTyped *TParseContext::createAssign(TOperator op, TIntermTyped *left, TIntermTyped *right, co… in createAssign()
3378 TIntermTyped *TParseContext::addAssign(TOperator op, TIntermTyped *left, TIntermTyped *right, const… in addAssign()
[all …]
Dglslang_tab.h201 TOperator op;
DValidateLimitations.cpp357 TOperator op = EOpNull; in validateForLoopExpr()
DOutputASM.h332 TOperator comparator = EOpNull;
/external/deqp-deps/glslang/hlsl/
DhlslOpMap.h60 static TOperator assignment(EHlslTokenClass op);
61 static TOperator binary(EHlslTokenClass op);
62 static TOperator preUnary(EHlslTokenClass op);
63 static TOperator postUnary(EHlslTokenClass op);
64 static PrecedenceLevel precedenceLevel(TOperator);
DhlslOpMap.cpp44 TOperator HlslOpMap::assignment(EHlslTokenClass op) in assignment()
65 TOperator HlslOpMap::binary(EHlslTokenClass op) in binary()
95 TOperator HlslOpMap::preUnary(EHlslTokenClass op) in preUnary()
112 TOperator HlslOpMap::postUnary(EHlslTokenClass op) in postUnary()
128 PrecedenceLevel HlslOpMap::precedenceLevel(TOperator op) in precedenceLevel()
DhlslParseHelper.h77 …TIntermTyped* handleBinaryMath(const TSourceLoc&, const char* str, TOperator op, TIntermTyped* lef…
78 …TIntermTyped* handleUnaryMath(const TSourceLoc&, const char* str, TOperator op, TIntermTyped* chil…
92 … TIntermTyped* handleAssign(const TSourceLoc&, TOperator, TIntermTyped* left, TIntermTyped* right);
93 …TIntermTyped* handleAssignToMatrixSwizzle(const TSourceLoc&, TOperator, TIntermTyped* left, TInter…
95 …TIntermAggregate* assignClipCullDistance(const TSourceLoc&, TOperator, int semanticId, TIntermType…
96 …TIntermTyped* assignPosition(const TSourceLoc&, TOperator, TIntermTyped* left, TIntermTyped* right…
124 bool constructorError(const TSourceLoc&, TIntermNode*, TFunction&, TOperator, TType&);
154 …TIntermTyped* constructBuiltIn(const TType&, TOperator, TIntermTyped*, const TSourceLoc&, bool sub…
243 TOperator mapAtomicOp(const TSourceLoc& loc, TOperator op, bool isImage);
DhlslParseHelper.cpp302 const auto makeBinary = [&](TOperator op, TIntermTyped* lhs, TIntermTyped* rhs) { in handleLvalue()
320 const auto makeUnary = [&](TOperator op, TIntermSymbol* rhsTmp) { in handleLvalue()
383 const TOperator assignOp = nodeAsBinary->getOp(); in handleLvalue()
463 const TOperator assignOp = nodeAsUnary->getOp(); in handleLvalue()
766 …const TOperator idxOp = (index->getQualifier().storage == EvqConst) ? EOpIndexDirect : EOpIndexInd… in handleBracketOperator()
874 TIntermTyped* HlslParseContext::handleBinaryMath(const TSourceLoc& loc, const char* str, TOperator in handleBinaryMath()
885 TIntermTyped* HlslParseContext::handleUnaryMath(const TSourceLoc& loc, const char* str, TOperator o… in handleUnaryMath()
2365 TIntermTyped* HlslParseContext::assignPosition(const TSourceLoc& loc, TOperator op, in assignPosition()
2426 TIntermAggregate* HlslParseContext::assignClipCullDistance(const TSourceLoc& loc, TOperator op, int… in assignClipCullDistance()
2660 TIntermTyped* HlslParseContext::handleAssign(const TSourceLoc& loc, TOperator op, TIntermTyped* lef… in handleAssign()
[all …]
/external/deqp-deps/glslang/glslang/MachineIndependent/
Dlocalintermediate.h453 TIntermTyped* addConversion(TOperator, const TType&, TIntermTyped*) const;
454 …std::tuple<TIntermTyped*, TIntermTyped*> addConversion(TOperator op, TIntermTyped* node0, TIntermT…
455 TIntermTyped* addUniShapeConversion(TOperator, const TType&, TIntermTyped*);
456 void addBiShapeConversion(TOperator, TIntermTyped*& lhsNode, TIntermTyped*& rhsNode);
458 TIntermTyped* addBinaryMath(TOperator, TIntermTyped* left, TIntermTyped* right, TSourceLoc);
459 TIntermTyped* addAssign(TOperator op, TIntermTyped* left, TIntermTyped* right, TSourceLoc);
460 TIntermTyped* addIndex(TOperator op, TIntermTyped* base, TIntermTyped* index, TSourceLoc);
461 TIntermTyped* addUnaryMath(TOperator, TIntermTyped* child, TSourceLoc);
462 …TIntermTyped* addBuiltInFunctionCall(const TSourceLoc& line, TOperator, bool unary, TIntermNode*, …
463 bool canImplicitlyPromote(TBasicType from, TBasicType to, TOperator op = EOpNull) const;
[all …]
DparseConst.cpp46 …TConstTraverser(const TConstUnionArray& cUnion, bool singleConstParam, TOperator constructType, co… in TConstTraverser()
56 TOperator tOp;
58 TOperator constructorType;
190 bool TIntermediate::parseConstTree(TIntermNode* root, TConstUnionArray unionArray, TOperator constr… in parseConstTree()
DIntermediate.cpp116 TIntermTyped* TIntermediate::addBinaryMath(TOperator op, TIntermTyped* left, TIntermTyped* right, T… in addBinaryMath()
173 TIntermBinary* TIntermediate::addBinaryNode(TOperator op, TIntermTyped* left, TIntermTyped* right, … in addBinaryNode()
189 TIntermBinary* TIntermediate::addBinaryNode(TOperator op, TIntermTyped* left, TIntermTyped* right, … in addBinaryNode()
199 TIntermUnary* TIntermediate::addUnaryNode(TOperator op, TIntermTyped* child, TSourceLoc loc) const in addUnaryNode()
213 TIntermUnary* TIntermediate::addUnaryNode(TOperator op, TIntermTyped* child, TSourceLoc loc, const … in addUnaryNode()
228 TIntermTyped* TIntermediate::addAssign(TOperator op, TIntermTyped* left, TIntermTyped* right, TSour… in addAssign()
265 TIntermTyped* TIntermediate::addIndex(TOperator op, TIntermTyped* base, TIntermTyped* index, TSourc… in addIndex()
276 TIntermTyped* TIntermediate::addUnaryMath(TOperator op, TIntermTyped* child, TSourceLoc loc) in addUnaryMath()
382 TIntermTyped* TIntermediate::addBuiltInFunctionCall(const TSourceLoc& loc, TOperator op, bool unary, in addBuiltInFunctionCall()
420 TIntermTyped* TIntermediate::setAggregateOperator(TIntermNode* node, TOperator op, const TType& typ… in setAggregateOperator()
[all …]
DSymbolTable.h219 explicit TFunction(TOperator o) : in TFunction()
223 TFunction(const TString *name, const TType& retType, TOperator tOp = EOpNull) :
276 virtual void relateToOperator(TOperator o) { assert(writable); op = o; } in relateToOperator()
277 virtual TOperator getBuiltInOp() const { return op; } in getBuiltInOp()
309 TOperator op;
516 void relateToOperator(const char* name, TOperator op);
780 void relateToOperator(const char* name, TOperator op) in relateToOperator()
DParseHelper.h208 std::function<bool(const TType&, const TType&, TOperator, int arg)>,
306 …TIntermTyped* handleBinaryMath(const TSourceLoc&, const char* str, TOperator op, TIntermTyped* lef…
307 …TIntermTyped* handleUnaryMath(const TSourceLoc&, const char* str, TOperator op, TIntermTyped* chil…
316 void checkLocation(const TSourceLoc&, TOperator);
338 bool constructorError(const TSourceLoc&, TIntermNode*, TFunction&, TOperator, TType&);
402 …TIntermTyped* constructBuiltIn(const TType&, TOperator, TIntermTyped*, const TSourceLoc&, bool sub…
DpropagateNoContraction.cpp86 bool isDereferenceOperation(glslang::TOperator op) in isDereferenceOperation()
101 bool isAssignOperation(glslang::TOperator op) in isAssignOperation()
149 bool isArithmeticOperation(glslang::TOperator op) in isArithmeticOperation()
Dglslang_tab.cpp.h476 glslang::TOperator op;
DSymbolTable.cpp235 void TSymbolTableLevel::relateToOperator(const char* name, TOperator op) in relateToOperator()
DParseContextBase.cpp338 std::function<bool(const TType& from, const TType& to, TOperator op, int arg)> convertible, in selectFunction()
/external/deqp-deps/glslang/glslang/Include/
Dintermediate.h66 enum TOperator { enum
1147 TIntermBranch(TOperator op, TIntermTyped* e) : in TIntermBranch()
1153 TOperator getFlowOp() const { return flowOp; } in getFlowOp()
1156 TOperator flowOp;
1229 virtual TIntermTyped* fold(TOperator, const TIntermTyped*) const;
1230 virtual TIntermTyped* fold(TOperator, const TType&) const;
1266 TOperator getOp() const { return op; } in getOp()
1267 void setOp(TOperator newOp) { op = newOp; } in setOp()
1477 TIntermOperator(TOperator o) : TIntermTyped(EbtFloat), op(o), operationPrecision(EpqNone) {} in TIntermOperator()
1478 TIntermOperator(TOperator o, TType& t) : TIntermTyped(t), op(o), operationPrecision(EpqNone) {} in TIntermOperator()
[all …]
/external/deqp-deps/glslang/SPIRV/
DGlslangToSpv.cpp179 …spv::Id createBinaryOperation(glslang::TOperator op, OpDecorations&, spv::Id typeId, spv::Id left,…
182 …spv::Id createUnaryOperation(glslang::TOperator op, OpDecorations&, spv::Id typeId, spv::Id operan…
186 …spv::Id createConversion(glslang::TOperator op, OpDecorations&, spv::Id destTypeId, spv::Id operan…
188 spv::Id createIntWidthConversion(glslang::TOperator op, spv::Id operand, int vectorSize);
190 …spv::Id createAtomicOperation(glslang::TOperator op, spv::Decoration precision, spv::Id typeId, st…
191 …spv::Id createInvocationsOperation(glslang::TOperator op, spv::Id typeId, std::vector<spv::Id>& op…
193 …spv::Id createSubgroupOperation(glslang::TOperator op, spv::Id typeId, std::vector<spv::Id>& opera…
194 …spv::Id createMiscOperation(glslang::TOperator op, spv::Decoration precision, spv::Id typeId, std:…
195 spv::Id createNoArgOperation(glslang::TOperator op, spv::Decoration precision, spv::Id typeId);
204 …spv::Id createShortCircuit(glslang::TOperator, glslang::TIntermTyped& left, glslang::TIntermTyped&…
[all …]

12