/external/angle/src/compiler/translator/TranslatorMetalDirect/ |
D | RewriteUnaddressableReferences.cpp | 33 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 …]
|
D | ProgramPrelude.cpp | 80 void visitOperator(TOperator op, 3380 void ProgramPrelude::visitOperator(TOperator op, in visitOperator() 3387 case TOperator::EOpRadians: in visitOperator() 3390 case TOperator::EOpDegrees: in visitOperator() 3393 case TOperator::EOpAtan: in visitOperator() 3396 case TOperator::EOpMod: in visitOperator() 3399 case TOperator::EOpRefract: in visitOperator() 3402 case TOperator::EOpDistance: in visitOperator() 3405 case TOperator::EOpLength: in visitOperator() 3408 case TOperator::EOpDot: in visitOperator() [all …]
|
D | EmitMetal.cpp | 263 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 …]
|
D | SeparateCompoundExpressions.cpp | 22 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 ViewBinaryChain(TOperator op, TIntermTyped &node, std::vector<TIntermTyped *> &out) in ViewBinaryChain() 90 const TOperator op = node.getOp(); in reassociateRight() 116 const TOperator op = node.getOp(); in visitBinaryPre() 117 if (op == TOperator::EOpLogicalAnd || op == TOperator::EOpLogicalOr) in visitBinaryPre() 287 seq.push_back(new TIntermBinary(TOperator::EOpAssign, new TIntermSymbol(&var), &newExpr)); in buildBlockWithTailAssign() [all …]
|
D | ToposortStructs.cpp | 161 return new TIntermBinary(TOperator::EOpEqual, &a, &b); in CreateStructEqualityFunction() 197 outNode = new TIntermBinary(TOperator::EOpLogicalAnd, andNode, outNode); in CreateStructEqualityFunction() 199 bodyEquality.appendStatement(new TIntermBranch(TOperator::EOpReturn, outNode)); in CreateStructEqualityFunction() 256 const TOperator op = binary->getOp(); in visitBinary() 260 case TOperator::EOpEqual: in visitBinary() 261 case TOperator::EOpNotEqual: in visitBinary()
|
/external/angle/src/compiler/translator/ |
D | Operator_autogen.h | 19 enum TOperator : uint16_t enum 458 const char *GetOperatorString(TOperator op); 461 bool IsAssignment(TOperator op); 465 static inline bool IsBuiltIn(TOperator op) in IsBuiltIn() 469 static inline bool IsMath(TOperator op) in IsMath() 473 static inline bool IsTextureOffsetNoBias(TOperator op) in IsTextureOffsetNoBias() 477 static inline bool IsTextureOffsetBias(TOperator op) in IsTextureOffsetBias() 481 static inline bool IsTextureGatherOffsetNoComp(TOperator op) in IsTextureGatherOffsetNoComp() 485 static inline bool IsTextureGatherOffsetComp(TOperator op) in IsTextureGatherOffsetComp() 489 static inline bool IsTextureGatherOffset(TOperator op) in IsTextureGatherOffset() [all …]
|
D | IntermNode.h | 240 TIntermBranch(TOperator op, TIntermTyped *e) : mFlowOp(op), mExpression(e) {} in TIntermBranch() 249 TOperator getFlowOp() { return mFlowOp; } in getFlowOp() 255 TOperator mFlowOp; 366 TConstantUnion *foldUnaryNonComponentWise(TOperator op); 367 TConstantUnion *foldUnaryComponentWise(TOperator op, 371 static const TConstantUnion *FoldBinary(TOperator op, 405 TOperator getOp() const { return mOp; } in getOp() 417 TIntermOperator(TOperator op) : TIntermExpression(TType(EbtFloat, EbpUndefined)), mOp(op) {} in TIntermOperator() 418 TIntermOperator(TOperator op, const TType &type) : TIntermExpression(type), mOp(op) {} in TIntermOperator() 422 const TOperator mOp; [all …]
|
D | ParseContext.h | 422 TIntermTyped *addUnaryMath(TOperator op, TIntermTyped *child, const TSourceLoc &loc); 423 TIntermTyped *addUnaryMathLValue(TOperator op, TIntermTyped *child, const TSourceLoc &loc); 424 TIntermTyped *addBinaryMath(TOperator op, 428 TIntermTyped *addBinaryMathBooleanResult(TOperator op, 432 TIntermTyped *addAssign(TOperator op, 439 TIntermBranch *addBranch(TOperator op, const TSourceLoc &loc); 440 TIntermBranch *addBranch(TOperator op, TIntermTyped *expression, const TSourceLoc &loc); 538 bool isMultiplicationTypeCombinationValid(TOperator op, const TType &left, const TType &right); 616 TIntermTyped *addBinaryMathInternal(TOperator op, 620 TIntermTyped *createUnaryMath(TOperator op, [all …]
|
D | Operator.cpp | 14 const char *GetOperatorString(TOperator op) in GetOperatorString() 142 bool IsAssignment(TOperator op) in IsAssignment()
|
/external/swiftshader/src/OpenGL/compiler/ |
D | localintermediate.h | 35 …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&);
|
D | ParseHelper.h | 127 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 …]
|
D | intermediate.h | 34 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 …]
|
/external/angle/third_party/vulkan-deps/glslang/src/glslang/HLSL/ |
D | hlslOpMap.h | 60 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);
|
D | hlslOpMap.cpp | 44 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()
|
D | hlslParseHelper.h | 77 …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/HLSL/ |
D | hlslOpMap.h | 60 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);
|
D | hlslOpMap.cpp | 44 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()
|
D | hlslParseHelper.h | 77 …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/ |
D | localintermediate.h | 467 TIntermTyped* addConversion(TOperator, const TType&, TIntermTyped*); 468 …std::tuple<TIntermTyped*, TIntermTyped*> addPairConversion(TOperator op, TIntermTyped* node0, TInt… 469 TIntermTyped* addUniShapeConversion(TOperator, const TType&, TIntermTyped*); 471 void addBiShapeConversion(TOperator, TIntermTyped*& lhsNode, TIntermTyped*& rhsNode); 473 …TIntermTyped* addBinaryMath(TOperator, TIntermTyped* left, TIntermTyped* right, const TSourceLoc&); 474 … TIntermTyped* addAssign(TOperator op, TIntermTyped* left, TIntermTyped* right, const TSourceLoc&); 475 … TIntermTyped* addIndex(TOperator op, TIntermTyped* base, TIntermTyped* index, const TSourceLoc&); 476 TIntermTyped* addUnaryMath(TOperator, TIntermTyped* child, const TSourceLoc&); 477 …TIntermTyped* addBuiltInFunctionCall(const TSourceLoc& line, TOperator, bool unary, TIntermNode*, … 478 bool canImplicitlyPromote(TBasicType from, TBasicType to, TOperator op = EOpNull) const; [all …]
|
D | parseConst.cpp | 46 …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()
|
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/ |
D | localintermediate.h | 476 TIntermTyped* addConversion(TOperator, const TType&, TIntermTyped*); 477 …std::tuple<TIntermTyped*, TIntermTyped*> addPairConversion(TOperator op, TIntermTyped* node0, TInt… 478 TIntermTyped* addUniShapeConversion(TOperator, const TType&, TIntermTyped*); 480 void addBiShapeConversion(TOperator, TIntermTyped*& lhsNode, TIntermTyped*& rhsNode); 482 …TIntermTyped* addBinaryMath(TOperator, TIntermTyped* left, TIntermTyped* right, const TSourceLoc&); 483 … TIntermTyped* addAssign(TOperator op, TIntermTyped* left, TIntermTyped* right, const TSourceLoc&); 484 … TIntermTyped* addIndex(TOperator op, TIntermTyped* base, TIntermTyped* index, const TSourceLoc&); 485 TIntermTyped* addUnaryMath(TOperator, TIntermTyped* child, const TSourceLoc&); 486 …TIntermTyped* addBuiltInFunctionCall(const TSourceLoc& line, TOperator, bool unary, TIntermNode*, … 487 bool canImplicitlyPromote(TBasicType from, TBasicType to, TOperator op = EOpNull) const; [all …]
|
D | parseConst.cpp | 46 …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()
|
D | Intermediate.cpp | 116 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() 461 TIntermTyped* TIntermediate::addBuiltInFunctionCall(const TSourceLoc& loc, TOperator op, bool unary, in addBuiltInFunctionCall() 499 TIntermTyped* TIntermediate::setAggregateOperator(TIntermNode* node, TOperator op, const TType& typ… in setAggregateOperator() [all …]
|
/external/angle/third_party/vulkan-deps/glslang/src/glslang/Include/ |
D | intermediate.h | 67 enum TOperator { enum 1243 TIntermBranch(TOperator op, TIntermTyped* e) : in TIntermBranch() 1249 TOperator getFlowOp() const { return flowOp; } in getFlowOp() 1254 TOperator flowOp; 1329 virtual TIntermTyped* fold(TOperator, const TIntermTyped*) const; 1330 virtual TIntermTyped* fold(TOperator, const TType&) const; 1364 TOperator getOp() const { return op; } in getOp() 1365 void setOp(TOperator newOp) { op = newOp; } in setOp() 1578 TIntermOperator(TOperator o) : TIntermTyped(EbtFloat), op(o), operationPrecision(EpqNone) {} in TIntermOperator() 1579 TIntermOperator(TOperator o, TType& t) : TIntermTyped(t), op(o), operationPrecision(EpqNone) {} in TIntermOperator() [all …]
|
/external/deqp-deps/glslang/glslang/Include/ |
D | intermediate.h | 67 enum TOperator { enum 1237 TIntermBranch(TOperator op, TIntermTyped* e) : in TIntermBranch() 1243 TOperator getFlowOp() const { return flowOp; } in getFlowOp() 1248 TOperator flowOp; 1323 virtual TIntermTyped* fold(TOperator, const TIntermTyped*) const; 1324 virtual TIntermTyped* fold(TOperator, const TType&) const; 1358 TOperator getOp() const { return op; } in getOp() 1359 void setOp(TOperator newOp) { op = newOp; } in setOp() 1572 TIntermOperator(TOperator o) : TIntermTyped(EbtFloat), op(o), operationPrecision(EpqNone) {} in TIntermOperator() 1573 TIntermOperator(TOperator o, TType& t) : TIntermTyped(t), op(o), operationPrecision(EpqNone) {} in TIntermOperator() [all …]
|