Home
last modified time | relevance | path

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

1234

/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()
/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…
248 TOperator mapAtomicOp(const TSourceLoc& loc, TOperator op, bool isImage);
/external/angle/third_party/glslang/src/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…
248 TOperator mapAtomicOp(const TSourceLoc& loc, TOperator op, bool isImage);
/external/deqp-deps/glslang/glslang/MachineIndependent/
Dlocalintermediate.h412 TIntermTyped* addConversion(TOperator, const TType&, TIntermTyped*);
413 …std::tuple<TIntermTyped*, TIntermTyped*> addConversion(TOperator op, TIntermTyped* node0, TIntermT…
414 TIntermTyped* addUniShapeConversion(TOperator, const TType&, TIntermTyped*);
416 void addBiShapeConversion(TOperator, TIntermTyped*& lhsNode, TIntermTyped*& rhsNode);
418 TIntermTyped* addBinaryMath(TOperator, TIntermTyped* left, TIntermTyped* right, TSourceLoc);
419 TIntermTyped* addAssign(TOperator op, TIntermTyped* left, TIntermTyped* right, TSourceLoc);
420 TIntermTyped* addIndex(TOperator op, TIntermTyped* base, TIntermTyped* index, TSourceLoc);
421 TIntermTyped* addUnaryMath(TOperator, TIntermTyped* child, TSourceLoc);
422 …TIntermTyped* addBuiltInFunctionCall(const TSourceLoc& line, TOperator, bool unary, TIntermNode*, …
423 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;
200 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()
229 TIntermBinary* TIntermediate::addBinaryNode(TOperator op, TIntermTyped* left, TIntermTyped* right, … in addBinaryNode()
245 TIntermBinary* TIntermediate::addBinaryNode(TOperator op, TIntermTyped* left, TIntermTyped* right, … in addBinaryNode()
255 TIntermUnary* TIntermediate::addUnaryNode(TOperator op, TIntermTyped* child, TSourceLoc loc) const in addUnaryNode()
269 TIntermUnary* TIntermediate::addUnaryNode(TOperator op, TIntermTyped* child, TSourceLoc loc, const … in addUnaryNode()
284 TIntermTyped* TIntermediate::addAssign(TOperator op, TIntermTyped* left, TIntermTyped* right, TSour… in addAssign()
341 TIntermTyped* TIntermediate::addIndex(TOperator op, TIntermTyped* base, TIntermTyped* index, TSourc… in addIndex()
352 TIntermTyped* TIntermediate::addUnaryMath(TOperator op, TIntermTyped* child, TSourceLoc loc) in addUnaryMath()
460 TIntermTyped* TIntermediate::addBuiltInFunctionCall(const TSourceLoc& loc, TOperator op, bool unary, in addBuiltInFunctionCall()
498 TIntermTyped* TIntermediate::setAggregateOperator(TIntermNode* node, TOperator op, const TType& typ… in setAggregateOperator()
[all …]
/external/angle/third_party/glslang/src/glslang/MachineIndependent/
Dlocalintermediate.h405 TIntermTyped* addConversion(TOperator, const TType&, TIntermTyped*);
406 …std::tuple<TIntermTyped*, TIntermTyped*> addConversion(TOperator op, TIntermTyped* node0, TIntermT…
407 TIntermTyped* addUniShapeConversion(TOperator, const TType&, TIntermTyped*);
409 void addBiShapeConversion(TOperator, TIntermTyped*& lhsNode, TIntermTyped*& rhsNode);
411 TIntermTyped* addBinaryMath(TOperator, TIntermTyped* left, TIntermTyped* right, TSourceLoc);
412 TIntermTyped* addAssign(TOperator op, TIntermTyped* left, TIntermTyped* right, TSourceLoc);
413 TIntermTyped* addIndex(TOperator op, TIntermTyped* base, TIntermTyped* index, TSourceLoc);
414 TIntermTyped* addUnaryMath(TOperator, TIntermTyped* child, TSourceLoc);
415 …TIntermTyped* addBuiltInFunctionCall(const TSourceLoc& line, TOperator, bool unary, TIntermNode*, …
416 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;
200 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()
229 TIntermBinary* TIntermediate::addBinaryNode(TOperator op, TIntermTyped* left, TIntermTyped* right, … in addBinaryNode()
245 TIntermBinary* TIntermediate::addBinaryNode(TOperator op, TIntermTyped* left, TIntermTyped* right, … in addBinaryNode()
255 TIntermUnary* TIntermediate::addUnaryNode(TOperator op, TIntermTyped* child, TSourceLoc loc) const in addUnaryNode()
269 TIntermUnary* TIntermediate::addUnaryNode(TOperator op, TIntermTyped* child, TSourceLoc loc, const … in addUnaryNode()
284 TIntermTyped* TIntermediate::addAssign(TOperator op, TIntermTyped* left, TIntermTyped* right, TSour… in addAssign()
341 TIntermTyped* TIntermediate::addIndex(TOperator op, TIntermTyped* base, TIntermTyped* index, TSourc… in addIndex()
352 TIntermTyped* TIntermediate::addUnaryMath(TOperator op, TIntermTyped* child, TSourceLoc loc) in addUnaryMath()
460 TIntermTyped* TIntermediate::addBuiltInFunctionCall(const TSourceLoc& loc, TOperator op, bool unary, in addBuiltInFunctionCall()
498 TIntermTyped* TIntermediate::setAggregateOperator(TIntermNode* node, TOperator op, const TType& typ… in setAggregateOperator()
[all …]
/external/angle/src/compiler/translator/
DOperator.h13 enum TOperator enum
266 const char *GetOperatorString(TOperator op);
269 bool IsAssignment(TOperator op);
272 bool IsAtomicFunction(TOperator op);
DIntermNode.h238 TIntermBranch(TOperator op, TIntermTyped *e) : mFlowOp(op), mExpression(e) {} in TIntermBranch()
247 TOperator getFlowOp() { return mFlowOp; } in getFlowOp()
253 TOperator mFlowOp;
364 TConstantUnion *foldUnaryNonComponentWise(TOperator op);
365 TConstantUnion *foldUnaryComponentWise(TOperator op, TDiagnostics *diagnostics);
367 static const TConstantUnion *FoldBinary(TOperator op,
401 TOperator getOp() const { return mOp; } in getOp()
414 TIntermOperator(TOperator op) : TIntermExpression(TType(EbtFloat, EbpUndefined)), mOp(op) {} in TIntermOperator()
415 TIntermOperator(TOperator op, const TType &type) : TIntermExpression(type), mOp(op) {} in TIntermOperator()
419 const TOperator mOp;
[all …]
DParseContext.h416 TIntermTyped *addUnaryMath(TOperator op, TIntermTyped *child, const TSourceLoc &loc);
417 TIntermTyped *addUnaryMathLValue(TOperator op, TIntermTyped *child, const TSourceLoc &loc);
418 TIntermTyped *addBinaryMath(TOperator op,
422 TIntermTyped *addBinaryMathBooleanResult(TOperator op,
426 TIntermTyped *addAssign(TOperator op,
433 TIntermBranch *addBranch(TOperator op, const TSourceLoc &loc);
434 TIntermBranch *addBranch(TOperator op, TIntermTyped *expression, const TSourceLoc &loc);
514 bool isMultiplicationTypeCombinationValid(TOperator op, const TType &left, const TType &right);
575 TIntermTyped *addBinaryMathInternal(TOperator op,
579 TIntermTyped *createUnaryMath(TOperator op,
[all …]
DOperator.cpp9 const char *GetOperatorString(TOperator op) in GetOperatorString()
377 bool IsAssignment(TOperator op) in IsAssignment()
406 bool IsAtomicFunction(TOperator op) in IsAtomicFunction()
DTranslatorMetal.cpp54 TIntermBinary *assignment = new TIntermBinary(TOperator::EOpAssign, positionYLHS, inverseY); in AppendVertexShaderPositionYCorrectionToMain()
122 TIntermBinary *assignment = new TIntermBinary(TOperator::EOpAssign, positionZLHS, zScale); in transformDepthBeforeCorrection()
DSymbol.h222 TOperator getBuiltInOp() const { return mOp; } in getBuiltInOp()
247 TOperator op, in TFunction()
270 const TOperator mOp; // Only set for built-ins
/external/angle/third_party/glslang/src/glslang/Include/
Dintermediate.h67 enum TOperator { enum
1225 TIntermBranch(TOperator op, TIntermTyped* e) : in TIntermBranch()
1231 TOperator getFlowOp() const { return flowOp; } in getFlowOp()
1235 TOperator flowOp;
1308 virtual TIntermTyped* fold(TOperator, const TIntermTyped*) const;
1309 virtual TIntermTyped* fold(TOperator, const TType&) const;
1343 TOperator getOp() const { return op; } in getOp()
1344 void setOp(TOperator newOp) { op = newOp; } in setOp()
1557 TIntermOperator(TOperator o) : TIntermTyped(EbtFloat), op(o), operationPrecision(EpqNone) {} in TIntermOperator()
1558 TIntermOperator(TOperator o, TType& t) : TIntermTyped(t), op(o), operationPrecision(EpqNone) {} in TIntermOperator()
[all …]
/external/deqp-deps/glslang/glslang/Include/
Dintermediate.h67 enum TOperator { enum
1225 TIntermBranch(TOperator op, TIntermTyped* e) : in TIntermBranch()
1231 TOperator getFlowOp() const { return flowOp; } in getFlowOp()
1235 TOperator flowOp;
1308 virtual TIntermTyped* fold(TOperator, const TIntermTyped*) const;
1309 virtual TIntermTyped* fold(TOperator, const TType&) const;
1343 TOperator getOp() const { return op; } in getOp()
1344 void setOp(TOperator newOp) { op = newOp; } in setOp()
1557 TIntermOperator(TOperator o) : TIntermTyped(EbtFloat), op(o), operationPrecision(EpqNone) {} in TIntermOperator()
1558 TIntermOperator(TOperator o, TType& t) : TIntermTyped(t), op(o), operationPrecision(EpqNone) {} in TIntermOperator()
[all …]
/external/angle/src/compiler/translator/tree_ops/
DRewriteRowMajorMatrices.cpp100 TOperator op = binaryNode->getOp(); in IsIndexNode()
128 TOperator GetIndex(TSymbolTable *symbolTable, in GetIndex()
148 TOperator op = binaryNode->getOp(); in GetIndex()
182 TOperator GetIndexOp(TIntermNode *node) in GetIndexOp()
893 TOperator op = GetIndex(mSymbolTable, ancestor, &indices, &prependStatements); in transformExpression()
1036 TOperator assignmentOperator = EOpAssign; in transformExpression()
1229 TOperator primaryIndexOp = GetIndexOp(primaryIndex); in transformReadExpression()
1235 TOperator secondaryIndexOp = GetIndexOp(secondaryIndex); in transformReadExpression()
1262 TOperator assignmentOperator, in transformWriteExpression()
1347 TOperator primaryIndexOp = GetIndexOp(primaryIndex); in transformWriteExpression()
[all …]

1234