Home
last modified time | relevance | path

Searched refs:TOperator (Results 1 - 25 of 84) sorted by relevance

1234

/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
H A 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 in IsAssignEqualsSign()
[all...]
H A DProgramPrelude.cpp80 void visitOperator(TOperator op, const TFunction *func, const TType *argType0);
82 void visitOperator(TOperator op,
87 void visitOperator(TOperator op,
3413 void ProgramPrelude::visitOperator(TOperator op, const TFunction *func, const TType *argType0) in visitOperator()
3418 void ProgramPrelude::visitOperator(TOperator op, in visitOperator()
3425 void ProgramPrelude::visitOperator(TOperator op, in visitOperator()
3433 case TOperator::EOpRadians: in visitOperator()
3436 case TOperator::EOpDegrees: in visitOperator()
3439 case TOperator::EOpAtan: in visitOperator()
3442 case TOperator in visitOperator()
[all...]
H A DEmitMetal.cpp259 static const char *GetOperatorString(TOperator op, in GetOperatorString()
267 case TOperator::EOpComma: in GetOperatorString()
269 case TOperator::EOpAssign: in GetOperatorString()
271 case TOperator::EOpInitialize: in GetOperatorString()
273 case TOperator::EOpAddAssign: in GetOperatorString()
275 case TOperator::EOpSubAssign: in GetOperatorString()
277 case TOperator::EOpMulAssign: in GetOperatorString()
279 case TOperator::EOpDivAssign: in GetOperatorString()
281 case TOperator::EOpIModAssign: in GetOperatorString()
283 case TOperator in GetOperatorString()
[all...]
H A 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 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();
117 if (op == TOperator::EOpLogicalAnd || op == TOperator
[all...]
H A DToposortStructs.cpp161 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();
260 case TOperator::EOpEqual:
261 case TOperator::EOpNotEqual:
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
H A DOperator_autogen.h19 enum TOperator : uint16_t
460 const char *GetOperatorString(TOperator op);
463 bool IsAssignment(TOperator op);
467 static inline bool IsBuiltIn(TOperator op) in IsBuiltIn()
471 static inline bool IsMath(TOperator op) in IsMath()
475 static inline bool IsTextureOffsetNoBias(TOperator op) in IsTextureOffsetNoBias()
479 static inline bool IsTextureOffsetBias(TOperator op) in IsTextureOffsetBias()
483 static inline bool IsTextureGatherOffsetNoComp(TOperator op) in IsTextureGatherOffsetNoComp()
487 static inline bool IsTextureGatherOffsetComp(TOperator op) in IsTextureGatherOffsetComp()
491 static inline bool IsTextureGatherOffset(TOperator o in IsTextureGatherOffsetComp()
[all...]
H A DParseContext.h426 TIntermTyped *addUnaryMath(TOperator op, TIntermTyped *child, const TSourceLoc &loc);
427 TIntermTyped *addUnaryMathLValue(TOperator op, TIntermTyped *child, const TSourceLoc &loc);
428 TIntermTyped *addBinaryMath(TOperator op,
432 TIntermTyped *addBinaryMathBooleanResult(TOperator op,
436 TIntermTyped *addAssign(TOperator op,
443 TIntermBranch *addBranch(TOperator op, const TSourceLoc &loc);
444 TIntermBranch *addBranch(TOperator op, TIntermTyped *expression, const TSourceLoc &loc);
545 bool isMultiplicationTypeCombinationValid(TOperator op, const TType &left, const TType &right);
623 TIntermTyped *addBinaryMathInternal(TOperator op,
627 TIntermTyped *createUnaryMath(TOperator o
[all...]
H A 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 mO
[all...]
H A DOperator.cpp14 const char *GetOperatorString(TOperator op) in GetOperatorString()
142 bool IsAssignment(TOperator op) in IsAssignment()
H A DTranslatorMetal.cpp70 TIntermBinary *assignment = new TIntermBinary(TOperator::EOpAssign, positionYLHS, inverseY); in AppendVertexShaderPositionYCorrectionToMain()
209 TIntermBinary *assignment = new TIntermBinary(TOperator::EOpAssign, positionZLHS, zScale); in transformDepthBeforeCorrection()
319 new TIntermBinary(TOperator::EOpAssign, positionRef->deepCopy(), constVarConstructor); in insertRasterizerDiscardLogic()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
H A Dlocalintermediate.h35 TIntermTyped* addBinaryMath(TOperator op, TIntermTyped* left, TIntermTyped* right, const TSourceLoc&);
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 singleConstantParam = false);
51 TIntermBranch* addBranch(TOperator, const TSourceLoc&);
52 TIntermBranch* addBranch(TOperator, TIntermTyped*, const TSourceLoc&);
H A 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 TSourceLoc &loc);
231 TIntermTyped *addBinaryMathBooleanResult(TOperator op, TIntermTyped *left, TIntermTyped *right, const TSourceLoc &loc);
233 TIntermTyped *addAssign(TOperator op, TIntermTyped *left, TIntermTyped *right, const TSourceLoc &loc);
235 TIntermBranch *addBranch(TOperator op, const TSourceLoc &loc);
236 TIntermBranch *addBranch(TOperator op, TIntermTyped *returnValue, const TSourceLoc &loc);
245 TIntermTyped *addBinaryMathInternal(TOperator o
[all...]
H A 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
[all...]
H A DparseConst.cpp23 TConstTraverser(ConstantUnion* cUnion, bool singleConstParam, TOperator constructType, TInfoSink& sink, TType& t) in TConstTraverser()
51 TOperator constructorType;
239 bool TIntermediate::parseConstTree(const TSourceLoc& line, TIntermNode* root, ConstantUnion* unionArray, TOperator constructorType, TType t, bool singleConstantParam) in parseConstTree()
H A DSymbolTable.h142 TFunction(TOperator o) : in TFunction()
148 TFunction(const TString *name, const TType& retType, TOperator tOp = EOpNull, const char *ext = "") : in TFunction()
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 *name, TType *ptype1, TType *ptype2 = 0, TType *ptype3 = 0, TType *ptype4 = 0, TType *ptype5 = 0) in insertBuiltIn()
440 void insertBuiltIn(ESymbolLevel level, TOperator op, TType *rvalue, const char *name, TType *ptype1, TType *ptype2 = 0, TType *ptype3 = 0, TType *ptype4 = 0, TType *ptype5 = 0) in insertBuiltIn()
/third_party/glslang/glslang/HLSL/
H A 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);
H A 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()
H A DhlslParseHelper.h77 TIntermTyped* handleBinaryMath(const TSourceLoc&, const char* str, TOperator op, TIntermTyped* left, TIntermTyped* right);
78 TIntermTyped* handleUnaryMath(const TSourceLoc&, const char* str, TOperator op, TIntermTyped* childNode);
93 TIntermTyped* handleAssign(const TSourceLoc&, TOperator, TIntermTyped* left, TIntermTyped* right);
94 TIntermTyped* handleAssignToMatrixSwizzle(const TSourceLoc&, TOperator, TIntermTyped* left, TIntermTyped* right);
96 TIntermAggregate* assignClipCullDistance(const TSourceLoc&, TOperator, int semanticId, TIntermTyped* left, TIntermTyped* right);
97 TIntermTyped* assignPosition(const TSourceLoc&, TOperator, TIntermTyped* left, TIntermTyped* right);
98 TIntermTyped* assignFromFragCoord(const TSourceLoc&, TOperator, TIntermTyped* left, TIntermTyped* right);
126 bool constructorError(const TSourceLoc&, TIntermNode*, TFunction&, TOperator, TType&);
156 TIntermTyped* constructBuiltIn(const TType&, TOperator, TIntermTyped*, const TSourceLoc&, bool subset);
251 TOperator mapAtomicO
[all...]
/third_party/glslang/glslang/MachineIndependent/
H A Dlocalintermediate.h511 TIntermTyped* addConversion(TOperator, const TType&, TIntermTyped*);
512 std::tuple<TIntermTyped*, TIntermTyped*> addPairConversion(TOperator op, TIntermTyped* node0, TIntermTyped* node1);
513 TIntermTyped* addUniShapeConversion(TOperator, const TType&, TIntermTyped*);
515 void addBiShapeConversion(TOperator, TIntermTyped*& lhsNode, TIntermTyped*& rhsNode);
517 TIntermTyped* addBinaryMath(TOperator, TIntermTyped* left, TIntermTyped* right, const TSourceLoc&);
518 TIntermTyped* addAssign(TOperator op, TIntermTyped* left, TIntermTyped* right, const TSourceLoc&);
519 TIntermTyped* addIndex(TOperator op, TIntermTyped* base, TIntermTyped* index, const TSourceLoc&);
520 TIntermTyped* addUnaryMath(TOperator, TIntermTyped* child, const TSourceLoc&);
521 TIntermTyped* addBuiltInFunctionCall(const TSourceLoc& line, TOperator, bool unary, TIntermNode*, const TType& returnType);
522 bool canImplicitlyPromote(TBasicType from, TBasicType to, TOperator o
[all...]
H A DparseConst.cpp46 TConstTraverser(const TConstUnionArray& cUnion, bool singleConstParam, TOperator constructType, const TType& t) in TConstTraverser()
56 TOperator tOp;
58 TOperator constructorType;
199 bool TIntermediate::parseConstTree(TIntermNode* root, TConstUnionArray unionArray, TOperator constructorType, const TType& t, bool singleConstantParam) in parseConstTree()
H A DIntermediate.cpp116 TIntermTyped* TIntermediate::addBinaryMath(TOperator op, TIntermTyped* left, TIntermTyped* right, const TSourceLoc& loc) 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) const in addUnaryNode()
268 TIntermUnary* TIntermediate::addUnaryNode(TOperator op, TIntermTyped* child, const TSourceLoc& loc, const TType& type) 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()
463 TIntermTyped* TIntermediate::addBuiltInFunctionCall(const TSourceLoc& loc, TOperator op, bool unary, in addBuiltInFunctionCall()
501 TIntermTyped* TIntermediate::setAggregateOperator(TIntermNode* node, TOperator o
[all...]
H A DSymbolTable.h241 explicit TFunction(TOperator o) : in TFunction()
245 TFunction(const TString *name, const TType& retType, TOperator tOp = EOpNull) : in TFunction()
299 virtual void relateToOperator(TOperator o) { assert(writable); op = o; } in relateToOperator()
300 virtual TOperator getBuiltInOp() const { return op; } in getBuiltInOp()
343 TOperator op;
577 void relateToOperator(const char* name, TOperator op);
869 void relateToOperator(const char* name, TOperator op) in relateToOperator()
H A DParseHelper.h224 std::function<bool(const TType&, const TType&, TOperator, int arg)>,
343 TIntermTyped* handleBinaryMath(const TSourceLoc&, const char* str, TOperator op, TIntermTyped* left, TIntermTyped* right);
344 TIntermTyped* handleUnaryMath(const TSourceLoc&, const char* str, TOperator op, TIntermTyped* childNode);
354 void checkLocation(const TSourceLoc&, TOperator);
358 TIntermTyped* addAssign(const TSourceLoc&, TOperator op, TIntermTyped* left, TIntermTyped* right);
385 bool constructorError(const TSourceLoc&, TIntermNode*, TFunction&, TOperator, TType&);
451 TIntermTyped* constructBuiltIn(const TType&, TOperator, TIntermTyped*, const TSourceLoc&, bool subset);
/third_party/glslang/glslang/Include/
H A Dintermediate.h62 enum TOperator { enum
1302 TIntermBranch(TOperator op, TIntermTyped* e) : in TIntermBranch()
1308 TOperator getFlowOp() const { return flowOp; } in getFlowOp()
1313 TOperator flowOp;
1381 virtual TIntermTyped* fold(TOperator, const TIntermTyped*) const;
1382 virtual TIntermTyped* fold(TOperator, const TType&) const;
1394 // Represent the independent aspects of a texturing TOperator
1417 TOperator getOp() const { return op; } in getOp()
1418 void setOp(TOperator newOp) { op = newOp; } in setOp()
1625 TIntermOperator(TOperator
[all...]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/apple/
H A 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 primaryIndexO in transformWriteExpression()
[all...]

Completed in 34 milliseconds

1234