Home
last modified time | relevance | path

Searched refs:Precedence (Results 1 – 25 of 29) sorted by relevance

12

/third_party/skia/src/sksl/codegen/
DSkSLPipelineStageCodeGenerator.cpp62 using Precedence = Operator::Precedence; typedef in SkSL::PipelineStage::PipelineStageCodeGenerator
84 void writeExpression(const Expression& expr, Precedence parentPrecedence);
87 void writeAnyConstructor(const AnyConstructor& c, Precedence parentPrecedence);
90 void writeBinaryExpression(const BinaryExpression& b, Precedence parentPrecedence);
91 void writeTernaryExpression(const TernaryExpression& t, Precedence parentPrecedence);
93 void writePrefixExpression(const PrefixExpression& p, Precedence parentPrecedence);
94 void writePostfixExpression(const PostfixExpression& p, Precedence parentPrecedence);
173 this->writeExpression(*arguments[0], Precedence::kSequence); in writeChildCall()
197 this->writeExpression(*arguments[1], Precedence::kSequence); in writeChildCall()
227 this->writeExpression(*arg, Precedence::kSequence); in writeFunctionCall()
[all …]
DSkSLGLSLCodeGenerator.cpp170 void GLSLCodeGenerator::writeExpression(const Expression& expr, Precedence parentPrecedence) { in writeExpression()
245 this->writeExpression(absExpr, Precedence::kTopLevel); in writeMinAbsHack()
247 this->writeExpression(otherExpr, Precedence::kAssignment); in writeMinAbsHack()
253 this->writeExpression(x, Precedence::kTopLevel); in writeInverseSqrtHack()
319 this->writeExpression(mat, Precedence::kTopLevel); in writeDeterminantHack()
407 this->writeExpression(mat, Precedence::kTopLevel); in writeInverseHack()
435 this->writeExpression(mat, Precedence::kTopLevel); in writeTransposeHack()
474 this->writeExpression(*arguments[0], Precedence::kSequence); in writeFunctionCall()
476 this->writeExpression(*p.operand(), Precedence::kMultiplicative); in writeFunctionCall()
489 this->writeExpression(*arguments[0], Precedence::kSequence); in writeFunctionCall()
[all …]
DSkSLMetalCodeGenerator.cpp131 void MetalCodeGenerator::writeExpression(const Expression& expr, Precedence parentPrecedence) { in writeExpression()
270 this->writeExpression(*arguments[index], Precedence::kAssignment); in getOutParamHelper()
304 this->writeExpression(*arguments[index], Precedence::kAssignment); in getOutParamHelper()
378 this->writeExpression(*outVars[i], Precedence::kSequence); in writeFunctionCall()
380 this->writeExpression(*arguments[i], Precedence::kSequence); in writeFunctionCall()
531 this->writeExpression(*arg, Precedence::kSequence); in writeArgumentList()
540 this->writeExpression(*arguments[0], Precedence::kSequence); in writeIntrinsicCall()
542 this->writeExpression(*arguments[0], Precedence::kSequence); in writeIntrinsicCall()
550 this->writeExpression(*arguments[1], Precedence::kSequence); in writeIntrinsicCall()
554 this->writeExpression(*arguments[1], Precedence::kSequence); in writeIntrinsicCall()
[all …]
DSkSLMetalCodeGenerator.h65 using Precedence = Operator::Precedence;
148 void writeExpression(const Expression& expr, Precedence parentPrecedence);
193 void writeConstructorCompound(const ConstructorCompound& c, Precedence parentPrecedence);
195 void writeConstructorCompoundVector(const ConstructorCompound& c, Precedence parentPrecedence);
197 void writeConstructorCompoundMatrix(const ConstructorCompound& c, Precedence parentPrecedence);
200 Precedence parentPrecedence);
205 Precedence parentPrecedence);
210 Precedence parentPrecedence);
212 void writeConstructorArrayCast(const ConstructorArrayCast& c, Precedence parentPrecedence);
221 void writeBinaryExpression(const BinaryExpression& b, Precedence parentPrecedence);
[all …]
DSkSLGLSLCodeGenerator.h58 using Precedence = Operator::Precedence;
106 void writeExpression(const Expression& expr, Precedence parentPrecedence);
125 Precedence parentPrecedence);
127 virtual void writeAnyConstructor(const AnyConstructor& c, Precedence parentPrecedence);
129 virtual void writeCastConstructor(const AnyConstructor& c, Precedence parentPrecedence);
135 virtual void writeBinaryExpression(const BinaryExpression& b, Precedence parentPrecedence);
138 Precedence parentPrecedence);
140 virtual void writeTernaryExpression(const TernaryExpression& t, Precedence parentPrecedence);
144 void writePrefixExpression(const PrefixExpression& p, Precedence parentPrecedence);
146 void writePostfixExpression(const PostfixExpression& p, Precedence parentPrecedence);
/third_party/skia/src/sksl/
DSkSLOperators.cpp16 Operator::Precedence Operator::getBinaryPrecedence() const { in getBinaryPrecedence()
20 case Kind::TK_PERCENT: return Precedence::kMultiplicative; in getBinaryPrecedence()
22 case Kind::TK_MINUS: return Precedence::kAdditive; in getBinaryPrecedence()
24 case Kind::TK_SHR: return Precedence::kShift; in getBinaryPrecedence()
28 case Kind::TK_GTEQ: return Precedence::kRelational; in getBinaryPrecedence()
30 case Kind::TK_NEQ: return Precedence::kEquality; in getBinaryPrecedence()
31 case Kind::TK_BITWISEAND: return Precedence::kBitwiseAnd; in getBinaryPrecedence()
32 case Kind::TK_BITWISEXOR: return Precedence::kBitwiseXor; in getBinaryPrecedence()
33 case Kind::TK_BITWISEOR: return Precedence::kBitwiseOr; in getBinaryPrecedence()
34 case Kind::TK_LOGICALAND: return Precedence::kLogicalAnd; in getBinaryPrecedence()
[all …]
DSkSLOperators.h28 enum class Precedence { enum
51 Precedence getBinaryPrecedence() const;
/third_party/vk-gl-cts/framework/randomshaders/
DrsgBinaryOps.cpp196 template <int Precedence, Associativity Assoc>
197 BinaryOp<Precedence, Assoc>::BinaryOp (Token::Type operatorToken) in BinaryOp()
206 template <int Precedence, Associativity Assoc>
207 BinaryOp<Precedence, Assoc>::~BinaryOp (void) in ~BinaryOp()
213 template <int Precedence, Associativity Assoc>
214 Expression* BinaryOp<Precedence, Assoc>::createNextChild (GeneratorState& state) in createNextChild()
216 int leftPrec = Assoc == ASSOCIATIVITY_LEFT ? Precedence : Precedence-1; in createNextChild()
217 int rightPrec = Assoc == ASSOCIATIVITY_LEFT ? Precedence-1 : Precedence; in createNextChild()
325 template <int Precedence, Associativity Assoc>
326 float BinaryOp<Precedence, Assoc>::getWeight (const GeneratorState& state, ConstValueRangeAccess va… in getWeight()
[all …]
DrsgBinaryOps.hpp40 template <int Precedence, Associativity Assoc>
68 template <int Precedence, bool Float, bool Int, bool Bool, class ComputeValueRange, class EvaluateC…
69 class BinaryVecOp : public BinaryOp<Precedence, ASSOCIATIVITY_LEFT>
/third_party/python/Lib/test/test_email/data/
Dmsg_02.txt54 Precedence: bulk
68 Precedence: bulk
83 Precedence: bulk
98 Precedence: bulk
113 Precedence: bulk
Dmsg_32.txt11 Precedence: bulk
Dmsg_33.txt12 Precedence: bulk
Dmsg_16.txt23 Precedence: bulk
98 Precedence: bulk
Dmsg_25.txt104 Precedence: bulk
/third_party/rust/crates/syn/src/
Dexpr.rs964 pub(crate) enum Precedence { enum
980 impl Precedence { implementation
983 BinOp::Add(_) | BinOp::Sub(_) => Precedence::Arithmetic, in of()
984 BinOp::Mul(_) | BinOp::Div(_) | BinOp::Rem(_) => Precedence::Term, in of()
985 BinOp::And(_) => Precedence::And, in of()
986 BinOp::Or(_) => Precedence::Or, in of()
987 BinOp::BitXor(_) => Precedence::BitXor, in of()
988 BinOp::BitAnd(_) => Precedence::BitAnd, in of()
989 BinOp::BitOr(_) => Precedence::BitOr, in of()
990 BinOp::Shl(_) | BinOp::Shr(_) => Precedence::Shift, in of()
[all …]
/third_party/node/deps/v8/src/parsing/
Dtoken.h336 static int Precedence(Value token, bool accept_IN) { in Precedence() function
Dparser-base.h3107 int prec1 = Token::Precedence(peek(), accept_IN_); in ParseLogicalExpression()
3185 while (Token::Precedence(peek(), accept_IN_) == prec1) { in ParseBinaryContinuation()
3242 int prec1 = Token::Precedence(peek(), accept_IN_); in ParseBinaryExpression()
3251 int prec1 = Token::Precedence(peek(), accept_IN_); in ParseBinaryExpression()
/third_party/gn/src/gn/
Dcommand_format.cc101 enum Precedence { enum
260 std::map<std::string_view, Precedence> precedence_;
740 Precedence prec = precedence_[binop->op().value()]; in Expr()
Dparser.cc229 enum Precedence { enum
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Option/
DOptParser.td19 int Precedence = precedence;
/third_party/icu/docs/userguide/strings/
Dunicodeset.md87 ### Precedence subsection
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/
DAsmParser.cpp349 bool parseBinOpRHS(unsigned Precedence, const MCExpr *&Res, SMLoc &EndLoc);
1648 bool AsmParser::parseBinOpRHS(unsigned Precedence, const MCExpr *&Res, in parseBinOpRHS() argument
1657 if (TokPrec < Precedence) in parseBinOpRHS()
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DNV_shader_buffer_load.txt704 Precedence Operator Class Operators Associativity
/third_party/openGLES/extensions/NV/
DNV_shader_buffer_load.txt704 Precedence Operator Class Operators Associativity
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/
DEXT_gpu_shader4.txt1523 Precedence Operator class

12