Home
last modified time | relevance | path

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

1234

/external/angle/src/compiler/translator/tree_ops/msl/
DRewriteUnaddressableReferences.cpp33 TOperator op = binary.getOp(); in IsVectorAccess()
36 case TOperator::EOpIndexDirect: in IsVectorAccess()
37 case TOperator::EOpIndexIndirect: in IsVectorAccess()
65 bool IsAssignEqualsSign(TOperator op) in IsAssignEqualsSign()
69 case TOperator::EOpAssign: in IsAssignEqualsSign()
70 case TOperator::EOpInitialize: in IsAssignEqualsSign()
71 case TOperator::EOpAddAssign: in IsAssignEqualsSign()
72 case TOperator::EOpSubAssign: in IsAssignEqualsSign()
73 case TOperator::EOpMulAssign: in IsAssignEqualsSign()
74 case TOperator::EOpVectorTimesMatrixAssign: in IsAssignEqualsSign()
[all …]
DSeparateCompoundExpressions.cpp22 bool IsIndex(TOperator op) in IsIndex()
26 case TOperator::EOpIndexDirect: in IsIndex()
27 case TOperator::EOpIndexDirectInterfaceBlock: in IsIndex()
28 case TOperator::EOpIndexDirectStruct: in IsIndex()
29 case TOperator::EOpIndexIndirect: in IsIndex()
45 bool IsCompoundAssignment(TOperator op) in IsCompoundAssignment()
69 bool ViewBinaryChain(TOperator op, TIntermTyped &node, std::vector<TIntermTyped *> &out) in ViewBinaryChain()
114 const TOperator op = node.getOp(); in reassociateRight()
140 const TOperator op = node.getOp(); in visitBinaryPre()
141 if (op == TOperator::EOpLogicalAnd || op == TOperator::EOpLogicalOr) in visitBinaryPre()
[all …]
/external/angle/src/compiler/translator/msl/
DProgramPrelude.cpp81 void visitOperator(TOperator op, const TFunction *func, const TType *argType0);
83 void visitOperator(TOperator op,
88 void visitOperator(TOperator op,
3617 void ProgramPrelude::visitOperator(TOperator op, const TFunction *func, const TType *argType0) in visitOperator()
3622 void ProgramPrelude::visitOperator(TOperator op, in visitOperator()
3629 void ProgramPrelude::visitOperator(TOperator op, in visitOperator()
3637 case TOperator::EOpRadians: in visitOperator()
3640 case TOperator::EOpDegrees: in visitOperator()
3643 case TOperator::EOpAtan: in visitOperator()
3646 case TOperator::EOpMod: in visitOperator()
[all …]
DEmitMetal.cpp262 static const char *GetOperatorString(TOperator op, in GetOperatorString()
270 case TOperator::EOpComma: in GetOperatorString()
272 case TOperator::EOpAssign: in GetOperatorString()
274 case TOperator::EOpInitialize: in GetOperatorString()
276 case TOperator::EOpAddAssign: in GetOperatorString()
278 case TOperator::EOpSubAssign: in GetOperatorString()
280 case TOperator::EOpMulAssign: in GetOperatorString()
282 case TOperator::EOpDivAssign: in GetOperatorString()
284 case TOperator::EOpIModAssign: in GetOperatorString()
286 case TOperator::EOpBitShiftLeftAssign: in GetOperatorString()
[all …]
DToposortStructs.cpp183 return new TIntermBinary(TOperator::EOpEqual, &a, &b); in CreateStructEqualityFunction()
219 outNode = new TIntermBinary(TOperator::EOpLogicalAnd, andNode, outNode); in CreateStructEqualityFunction()
221 bodyEquality.appendStatement(new TIntermBranch(TOperator::EOpReturn, outNode)); in CreateStructEqualityFunction()
278 const TOperator op = binary->getOp(); in visitBinary()
282 case TOperator::EOpEqual: in visitBinary()
283 case TOperator::EOpNotEqual: in visitBinary()
/external/angle/src/compiler/translator/
DOperator_autogen.h19 enum TOperator : uint16_t enum
483 const char *GetOperatorString(TOperator op);
486 bool IsAssignment(TOperator op);
490 static inline bool IsBuiltIn(TOperator op) in IsBuiltIn()
494 static inline bool IsMath(TOperator op) in IsMath()
498 static inline bool IsTextureOffsetNoBias(TOperator op) in IsTextureOffsetNoBias()
502 static inline bool IsTextureOffsetBias(TOperator op) in IsTextureOffsetBias()
506 static inline bool IsTextureGatherOffsetNoComp(TOperator op) in IsTextureGatherOffsetNoComp()
510 static inline bool IsTextureGatherOffsetComp(TOperator op) in IsTextureGatherOffsetComp()
514 static inline bool IsTextureGatherOffset(TOperator op) in IsTextureGatherOffset()
[all …]
DIntermNode.h257 TIntermBranch(TOperator op, TIntermTyped *e) : mFlowOp(op), mExpression(e) {} in TIntermBranch()
266 TOperator getFlowOp() { return mFlowOp; } in getFlowOp()
272 TOperator mFlowOp;
384 TConstantUnion *foldUnaryNonComponentWise(TOperator op);
385 TConstantUnion *foldUnaryComponentWise(TOperator op,
389 static const TConstantUnion *FoldBinary(TOperator op,
424 TOperator getOp() const { return mOp; } in getOp()
436 TIntermOperator(TOperator op) : TIntermExpression(TType(EbtFloat, EbpUndefined)), mOp(op) {} in TIntermOperator()
437 TIntermOperator(TOperator op, const TType &type) : TIntermExpression(type), mOp(op) {} in TIntermOperator()
441 const TOperator mOp;
[all …]
DParseContext.h441 TIntermTyped *addUnaryMath(TOperator op, TIntermTyped *child, const TSourceLoc &loc);
442 TIntermTyped *addUnaryMathLValue(TOperator op, TIntermTyped *child, const TSourceLoc &loc);
443 TIntermTyped *addBinaryMath(TOperator op,
447 TIntermTyped *addBinaryMathBooleanResult(TOperator op,
451 TIntermTyped *addAssign(TOperator op,
458 TIntermBranch *addBranch(TOperator op, const TSourceLoc &loc);
459 TIntermBranch *addBranch(TOperator op, TIntermTyped *expression, const TSourceLoc &loc);
566 bool isMultiplicationTypeCombinationValid(TOperator op, const TType &left, const TType &right);
643 TIntermTyped *addBinaryMathInternal(TOperator op,
647 TIntermTyped *createUnaryMath(TOperator op,
[all …]
DOperator.cpp14 const char *GetOperatorString(TOperator op) in GetOperatorString()
142 bool IsAssignment(TOperator op) in IsAssignment()
DSymbol.h316 TOperator getBuiltInOp() const { return mOp; } in getBuiltInOp()
341 TOperator op, in TFunction()
367 TOperator op, in TFunction()
391 const TOperator mOp; // Only set for built-ins
/external/deqp-deps/glslang/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…
93 … TIntermTyped* handleAssign(const TSourceLoc&, TOperator, TIntermTyped* left, TIntermTyped* right);
94 …TIntermTyped* handleAssignToMatrixSwizzle(const TSourceLoc&, TOperator, TIntermTyped* left, TInter…
96 …TIntermAggregate* assignClipCullDistance(const TSourceLoc&, TOperator, int semanticId, TIntermType…
97 …TIntermTyped* assignPosition(const TSourceLoc&, TOperator, TIntermTyped* left, TIntermTyped* right…
98 …TIntermTyped* assignFromFragCoord(const TSourceLoc&, TOperator, TIntermTyped* left, TIntermTyped* …
126 bool constructorError(const TSourceLoc&, TIntermNode*, TFunction&, TOperator, TType&);
156 …TIntermTyped* constructBuiltIn(const TType&, TOperator, TIntermTyped*, const TSourceLoc&, bool sub…
251 TOperator mapAtomicOp(const TSourceLoc& loc, TOperator op, bool isImage);
/external/angle/third_party/vulkan-deps/glslang/src/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…
93 … TIntermTyped* handleAssign(const TSourceLoc&, TOperator, TIntermTyped* left, TIntermTyped* right);
94 …TIntermTyped* handleAssignToMatrixSwizzle(const TSourceLoc&, TOperator, TIntermTyped* left, TInter…
96 …TIntermAggregate* assignClipCullDistance(const TSourceLoc&, TOperator, int semanticId, TIntermType…
97 …TIntermTyped* assignPosition(const TSourceLoc&, TOperator, TIntermTyped* left, TIntermTyped* right…
98 …TIntermTyped* assignFromFragCoord(const TSourceLoc&, TOperator, TIntermTyped* left, TIntermTyped* …
126 bool constructorError(const TSourceLoc&, TIntermNode*, TFunction&, TOperator, TType&);
156 …TIntermTyped* constructBuiltIn(const TType&, TOperator, TIntermTyped*, const TSourceLoc&, bool sub…
251 TOperator mapAtomicOp(const TSourceLoc& loc, TOperator op, bool isImage);
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/
Dlocalintermediate.h517 TIntermTyped* addConversion(TOperator, const TType&, TIntermTyped*);
518 …std::tuple<TIntermTyped*, TIntermTyped*> addPairConversion(TOperator op, TIntermTyped* node0, TInt…
519 TIntermTyped* addUniShapeConversion(TOperator, const TType&, TIntermTyped*);
521 void addBiShapeConversion(TOperator, TIntermTyped*& lhsNode, TIntermTyped*& rhsNode);
523 …TIntermTyped* addBinaryMath(TOperator, TIntermTyped* left, TIntermTyped* right, const TSourceLoc&);
524 … TIntermTyped* addAssign(TOperator op, TIntermTyped* left, TIntermTyped* right, const TSourceLoc&);
525 … TIntermTyped* addIndex(TOperator op, TIntermTyped* base, TIntermTyped* index, const TSourceLoc&);
526 TIntermTyped* addUnaryMath(TOperator, TIntermTyped* child, const TSourceLoc&);
527 …TIntermTyped* addBuiltInFunctionCall(const TSourceLoc& line, TOperator, bool unary, TIntermNode*, …
528 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;
199 bool TIntermediate::parseConstTree(TIntermNode* root, TConstUnionArray unionArray, TOperator constr… in parseConstTree()
DIntermediate.cpp116 TIntermTyped* TIntermediate::addBinaryMath(TOperator op, TIntermTyped* left, TIntermTyped* right, c… in addBinaryMath()
230 TIntermBinary* TIntermediate::addBinaryNode(TOperator op, TIntermTyped* left, TIntermTyped* right, in addBinaryNode()
245 TIntermBinary* TIntermediate::addBinaryNode(TOperator op, TIntermTyped* left, TIntermTyped* right, in addBinaryNode()
256 TIntermUnary* TIntermediate::addUnaryNode(TOperator op, TIntermTyped* child, const TSourceLoc& loc)… in addUnaryNode()
268 TIntermUnary* TIntermediate::addUnaryNode(TOperator op, TIntermTyped* child, const TSourceLoc& loc,… in addUnaryNode()
284 TIntermTyped* TIntermediate::addAssign(TOperator op, TIntermTyped* left, TIntermTyped* right, in addAssign()
340 TIntermTyped* TIntermediate::addIndex(TOperator op, TIntermTyped* base, TIntermTyped* index, in addIndex()
352 TIntermTyped* TIntermediate::addUnaryMath(TOperator op, TIntermTyped* child, in addUnaryMath()
465 TIntermTyped* TIntermediate::addBuiltInFunctionCall(const TSourceLoc& loc, TOperator op, bool unary, in addBuiltInFunctionCall()
503 TIntermTyped* TIntermediate::setAggregateOperator(TIntermNode* node, TOperator op, const TType& typ… in setAggregateOperator()
[all …]
/external/deqp-deps/glslang/glslang/MachineIndependent/
Dlocalintermediate.h517 TIntermTyped* addConversion(TOperator, const TType&, TIntermTyped*);
518 …std::tuple<TIntermTyped*, TIntermTyped*> addPairConversion(TOperator op, TIntermTyped* node0, TInt…
519 TIntermTyped* addUniShapeConversion(TOperator, const TType&, TIntermTyped*);
521 void addBiShapeConversion(TOperator, TIntermTyped*& lhsNode, TIntermTyped*& rhsNode);
523 …TIntermTyped* addBinaryMath(TOperator, TIntermTyped* left, TIntermTyped* right, const TSourceLoc&);
524 … TIntermTyped* addAssign(TOperator op, TIntermTyped* left, TIntermTyped* right, const TSourceLoc&);
525 … TIntermTyped* addIndex(TOperator op, TIntermTyped* base, TIntermTyped* index, const TSourceLoc&);
526 TIntermTyped* addUnaryMath(TOperator, TIntermTyped* child, const TSourceLoc&);
527 …TIntermTyped* addBuiltInFunctionCall(const TSourceLoc& line, TOperator, bool unary, TIntermNode*, …
528 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;
199 bool TIntermediate::parseConstTree(TIntermNode* root, TConstUnionArray unionArray, TOperator constr… in parseConstTree()
DIntermediate.cpp116 TIntermTyped* TIntermediate::addBinaryMath(TOperator op, TIntermTyped* left, TIntermTyped* right, c… in addBinaryMath()
230 TIntermBinary* TIntermediate::addBinaryNode(TOperator op, TIntermTyped* left, TIntermTyped* right, in addBinaryNode()
245 TIntermBinary* TIntermediate::addBinaryNode(TOperator op, TIntermTyped* left, TIntermTyped* right, in addBinaryNode()
256 TIntermUnary* TIntermediate::addUnaryNode(TOperator op, TIntermTyped* child, const TSourceLoc& loc)… in addUnaryNode()
268 TIntermUnary* TIntermediate::addUnaryNode(TOperator op, TIntermTyped* child, const TSourceLoc& loc,… in addUnaryNode()
284 TIntermTyped* TIntermediate::addAssign(TOperator op, TIntermTyped* left, TIntermTyped* right, in addAssign()
340 TIntermTyped* TIntermediate::addIndex(TOperator op, TIntermTyped* base, TIntermTyped* index, in addIndex()
352 TIntermTyped* TIntermediate::addUnaryMath(TOperator op, TIntermTyped* child, in addUnaryMath()
465 TIntermTyped* TIntermediate::addBuiltInFunctionCall(const TSourceLoc& loc, TOperator op, bool unary, in addBuiltInFunctionCall()
503 TIntermTyped* TIntermediate::setAggregateOperator(TIntermNode* node, TOperator op, const TType& typ… in setAggregateOperator()
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/glslang/Include/
Dintermediate.h67 enum TOperator { enum
1296 TIntermBranch(TOperator op, TIntermTyped* e) : in TIntermBranch()
1302 TOperator getFlowOp() const { return flowOp; } in getFlowOp()
1307 TOperator flowOp;
1382 virtual TIntermTyped* fold(TOperator, const TIntermTyped*) const;
1383 virtual TIntermTyped* fold(TOperator, const TType&) const;
1418 TOperator getOp() const { return op; } in getOp()
1419 void setOp(TOperator newOp) { op = newOp; } in setOp()
1636 TIntermOperator(TOperator o) : TIntermTyped(EbtFloat), op(o), operationPrecision(EpqNone) {} in TIntermOperator()
1637 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
1292 TIntermBranch(TOperator op, TIntermTyped* e) : in TIntermBranch()
1298 TOperator getFlowOp() const { return flowOp; } in getFlowOp()
1303 TOperator flowOp;
1378 virtual TIntermTyped* fold(TOperator, const TIntermTyped*) const;
1379 virtual TIntermTyped* fold(TOperator, const TType&) const;
1414 TOperator getOp() const { return op; } in getOp()
1415 void setOp(TOperator newOp) { op = newOp; } in setOp()
1632 TIntermOperator(TOperator o) : TIntermTyped(EbtFloat), op(o), operationPrecision(EpqNone) {} in TIntermOperator()
1633 TIntermOperator(TOperator o, TType& t) : TIntermTyped(t), op(o), operationPrecision(EpqNone) {} in TIntermOperator()
[all …]
/external/angle/src/compiler/translator/tree_ops/glsl/apple/
DRewriteRowMajorMatrices.cpp100 TOperator op = binaryNode->getOp(); in IsIndexNode()
129 TOperator GetIndex(TSymbolTable *symbolTable, in GetIndex()
149 TOperator op = binaryNode->getOp(); in GetIndex()
183 TOperator GetIndexOp(TIntermNode *node) in GetIndexOp()
892 TOperator op = GetIndex(mSymbolTable, ancestor, &indices, &prependStatements); in transformExpression()
1035 TOperator assignmentOperator = EOpAssign; in transformExpression()
1228 TOperator primaryIndexOp = GetIndexOp(primaryIndex); in transformReadExpression()
1234 TOperator secondaryIndexOp = GetIndexOp(secondaryIndex); in transformReadExpression()
1261 TOperator assignmentOperator, in transformWriteExpression()
1346 TOperator primaryIndexOp = GetIndexOp(primaryIndex); in transformWriteExpression()
[all …]

1234