/third_party/skia/src/sksl/analysis/ |
H A D | SkSLIsConstantExpression.cpp | 26 bool visitExpression(const Expression& e) override { 30 case Expression::Kind::kLiteral: 34 case Expression::Kind::kSetting: 39 case Expression::Kind::kVariableReference: { 50 case Expression::Kind::kBinary: 51 case Expression::Kind::kConstructorArray: 52 case Expression::Kind::kConstructorArrayCast: 53 case Expression::Kind::kConstructorCompound: 54 case Expression::Kind::kConstructorCompoundCast: 55 case Expression [all...] |
/third_party/skia/src/sksl/ir/ |
H A D | SkSLTernaryExpression.h | 18 class TernaryExpression final : public Expression { 22 TernaryExpression(int line, std::unique_ptr<Expression> test, in TernaryExpression() 23 std::unique_ptr<Expression> ifTrue, std::unique_ptr<Expression> ifFalse) in TernaryExpression() 33 static std::unique_ptr<Expression> Convert(const Context& context, 34 std::unique_ptr<Expression> test, 35 std::unique_ptr<Expression> ifTrue, 36 std::unique_ptr<Expression> ifFalse); 39 static std::unique_ptr<Expression> Make(const Context& context, 40 std::unique_ptr<Expression> tes [all...] |
H A D | SkSLBinaryExpression.h | 26 class BinaryExpression final : public Expression { 30 BinaryExpression(int line, std::unique_ptr<Expression> left, Operator op, in BinaryExpression() 31 std::unique_ptr<Expression> right, const Type* type) in BinaryExpression() 42 static std::unique_ptr<Expression> Convert(const Context& context, 43 std::unique_ptr<Expression> left, 45 std::unique_ptr<Expression> right); 49 static std::unique_ptr<Expression> Make(const Context& context, 50 std::unique_ptr<Expression> left, 52 std::unique_ptr<Expression> right); 56 static std::unique_ptr<Expression> Mak [all...] |
H A D | SkSLConstructor.h | 19 class AnyConstructor : public Expression { 24 virtual SkSpan<std::unique_ptr<Expression>> argumentSpan() = 0; 25 virtual SkSpan<const std::unique_ptr<Expression>> argumentSpan() const = 0; 28 for (const std::unique_ptr<Expression>& arg : this->argumentSpan()) { 39 for (const std::unique_ptr<Expression>& arg : this->argumentSpan()) { 53 for (const std::unique_ptr<Expression>& arg : this->argumentSpan()) { 62 for (const std::unique_ptr<Expression>& arg : this->argumentSpan()) { 73 ComparisonResult compareConstant(const Expression& other) const override; 76 std::unique_ptr<Expression> fArgument; 78 using INHERITED = Expression; [all...] |
H A D | SkSLIndexExpression.h | 20 struct IndexExpression final : public Expression { 23 IndexExpression(const Context& context, std::unique_ptr<Expression> base, in IndexExpression() 24 std::unique_ptr<Expression> index) in IndexExpression() 30 static std::unique_ptr<Expression> Convert(const Context& context, 32 std::unique_ptr<Expression> base, 33 std::unique_ptr<Expression> index); 36 static std::unique_ptr<Expression> Make(const Context& context, 37 std::unique_ptr<Expression> base, 38 std::unique_ptr<Expression> index); 45 std::unique_ptr<Expression> [all...] |
H A D | SkSLBinaryExpression.cpp | 23 static bool is_low_precision_matrix_vector_multiply(const Expression& left, in is_low_precision_matrix_vector_multiply() 25 const Expression& right, in is_low_precision_matrix_vector_multiply() 36 static std::unique_ptr<Expression> rewrite_matrix_vector_multiply(const Context& context, in rewrite_matrix_vector_multiply() 37 const Expression& left, in rewrite_matrix_vector_multiply() 39 const Expression& right, in rewrite_matrix_vector_multiply() 42 std::unique_ptr<Expression> sum; in rewrite_matrix_vector_multiply() 45 std::unique_ptr<Expression> matN = IndexExpression::Make( in rewrite_matrix_vector_multiply() 48 std::unique_ptr<Expression> vecN = Swizzle::Make( in rewrite_matrix_vector_multiply() 52 std::unique_ptr<Expression> product = in rewrite_matrix_vector_multiply() 69 std::unique_ptr<Expression> BinaryExpressio [all...] |
H A D | SkSLSwizzle.h | 22 struct Swizzle final : public Expression { 25 Swizzle(const Context& context, std::unique_ptr<Expression> base, in Swizzle() 37 static std::unique_ptr<Expression> Convert(const Context& context, 38 std::unique_ptr<Expression> base, 41 static std::unique_ptr<Expression> Convert(const Context& context, 42 std::unique_ptr<Expression> base, 47 static std::unique_ptr<Expression> Make(const Context& context, 48 std::unique_ptr<Expression> expr, 51 std::unique_ptr<Expression>& base() { in base() 55 const std::unique_ptr<Expression> [all...] |
H A D | SkSLPrefixExpression.cpp | 26 static std::unique_ptr<Expression> simplify_negation(const Context& context, in simplify_negation() 27 const Expression& originalExpr) { in simplify_negation() 28 const Expression* value = ConstantFolder::GetConstantValueForVariable(originalExpr); in simplify_negation() 30 case Expression::Kind::kLiteral: { in simplify_negation() 40 case Expression::Kind::kPrefix: { in simplify_negation() 48 case Expression::Kind::kConstructorArray: in simplify_negation() 57 case Expression::Kind::kConstructorDiagonalMatrix: in simplify_negation() 61 if (std::unique_ptr<Expression> simplified = simplify_negation(context, in simplify_negation() 69 case Expression::Kind::kConstructorSplat: in simplify_negation() 73 if (std::unique_ptr<Expression> simplifie in simplify_negation() [all...] |
H A D | SkSLFieldAccess.h | 26 class FieldAccess final : public Expression { 32 FieldAccess(std::unique_ptr<Expression> base, int fieldIndex, in FieldAccess() 40 static std::unique_ptr<Expression> Convert(const Context& context, 42 std::unique_ptr<Expression> base, 46 static std::unique_ptr<Expression> Make(const Context& context, 47 std::unique_ptr<Expression> base, 51 std::unique_ptr<Expression>& base() { in base() 55 const std::unique_ptr<Expression>& base() const { in base() 71 std::unique_ptr<Expression> clone() const override { 72 return std::unique_ptr<Expression>(ne [all...] |
H A D | SkSLPrefixExpression.h | 22 class PrefixExpression final : public Expression { 27 PrefixExpression(Operator op, std::unique_ptr<Expression> operand) in PrefixExpression() 33 static std::unique_ptr<Expression> Convert(const Context& context, Operator op, 34 std::unique_ptr<Expression> base); 37 static std::unique_ptr<Expression> Make(const Context& context, Operator op, 38 std::unique_ptr<Expression> base); 44 std::unique_ptr<Expression>& operand() { in operand() 48 const std::unique_ptr<Expression>& operand() const { in operand() 61 std::unique_ptr<Expression> clone() const override { 71 std::unique_ptr<Expression> fOperan [all...] |
H A D | SkSLPostfixExpression.h | 20 class PostfixExpression final : public Expression { 24 PostfixExpression(std::unique_ptr<Expression> operand, Operator op) in PostfixExpression() 30 static std::unique_ptr<Expression> Convert(const Context& context, 31 std::unique_ptr<Expression> base, 35 static std::unique_ptr<Expression> Make(const Context& context, 36 std::unique_ptr<Expression> base, 43 std::unique_ptr<Expression>& operand() { in operand() 47 const std::unique_ptr<Expression>& operand() const { in operand() 56 std::unique_ptr<Expression> clone() const override { 65 std::unique_ptr<Expression> fOperan [all...] |
H A D | SkSLForStatement.h | 36 std::unique_ptr<Expression> test, in ForStatement() 37 std::unique_ptr<Expression> next, in ForStatement() 52 std::unique_ptr<Expression> test, 53 std::unique_ptr<Expression> next, 59 std::unique_ptr<Expression> test, 66 std::unique_ptr<Expression> test, 67 std::unique_ptr<Expression> next, 80 std::unique_ptr<Expression>& test() { in test() 84 const std::unique_ptr<Expression>& test() const { in test() 88 std::unique_ptr<Expression> [all...] |
/third_party/vk-gl-cts/framework/randomshaders/ |
H A D | rsgExpression.hpp | 50 class Expression class 53 virtual ~Expression (void); 56 virtual Expression* createNextChild (GeneratorState& state) = DE_NULL; 62 virtual ExecValueAccess getLValue (void) const { DE_ASSERT(DE_FALSE); throw Exception("Expression::getLValue(): not L-value node"); } in getLValue() 64 static Expression* createRandom (GeneratorState& state, ConstValueRangeAccess valueRange); 65 static Expression* createRandomLValue (GeneratorState& state, ConstValueRangeAccess valueRange); 68 class VariableAccess : public Expression 73 Expression* createNextChild (GeneratorState& state) { DE_UNREF(state); return DE_NULL; } in createNextChild() 106 class FloatLiteral : public Expression 113 Expression* createNextChil [all...] |
/third_party/node/deps/v8/src/ast/ |
H A D | ast.h | 127 class Expression; 188 class Expression : public AstNode { class 277 Expression(int pos, NodeType type) : AstNode(pos, type) { in Expression() function in v8::internal::Expression 285 class FailureExpression : public Expression { 289 FailureExpression() : Expression(kNoSourcePosition, kFailureExpression) {} in FailureExpression() 446 void Initialize(Expression* cond, Statement* body) { in Initialize() 451 Expression* cond() const { return cond_; } in cond() 460 Expression* cond_; 466 void Initialize(Expression* cond, Statement* body) { in Initialize() 471 Expression* con [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Scalar/ |
H A D | GVNExpression.h | 1 //===- GVNExpression.h - GVN Expression classes -----------------*- C++ -*-===// 60 class Expression { class 67 Expression(ExpressionType ET = ET_Base, unsigned O = ~2U) in Expression() function in llvm::GVNExpression::Expression 69 Expression(const Expression &) = delete; 70 Expression &operator=(const Expression &) = delete; 71 virtual ~Expression(); 76 bool operator!=(const Expression &Other) const { return !(*this == Other); } in operator !=() 77 bool operator==(const Expression in operator !=() [all...] |
/third_party/skia/src/sksl/ |
H A D | SkSLAnalysis.cpp | 92 bool visitExpression(const Expression& e) override { 99 const Expression* maybeCoords = arguments[0].get(); 129 bool visitExpression(const Expression& e) override { 147 bool visitExpression(const Expression& e) override { 173 bool visitExpression(const Expression& e) override { 204 bool visitExpression(const Expression& e) override { 237 bool visit(Expression& expr, Analysis::AssignmentInfo* info) { in visit() 246 void visitExpression(Expression& expr) { in visitExpression() 248 case Expression::Kind::kVariableReference: { in visitExpression() 260 case Expression in visitExpression() [all...] |
H A D | SkSLConstantFolder.cpp | 29 static std::unique_ptr<Expression> eliminate_no_op_boolean(const Expression& left, in eliminate_no_op_boolean() 31 const Expression& right) { in eliminate_no_op_boolean() 47 static std::unique_ptr<Expression> short_circuit_boolean(const Expression& left, in short_circuit_boolean() 49 const Expression& right) { in short_circuit_boolean() 64 static std::unique_ptr<Expression> simplify_vector_equality(const Context& context, in simplify_vector_equality() 65 const Expression& left, in simplify_vector_equality() 67 const Expression& right) { in simplify_vector_equality() 72 case Expression in simplify_vector_equality() [all...] |
H A D | SkSLConstantFolder.h | 19 class Expression; 31 static bool GetConstantInt(const Expression& value, SKSL_INT* out); 37 static bool GetConstantValue(const Expression& value, double* out); 43 static const Expression* GetConstantValueForVariable(const Expression& value); 49 static std::unique_ptr<Expression> MakeConstantValueForVariable( 50 std::unique_ptr<Expression> expr); 53 static std::unique_ptr<Expression> Simplify(const Context& context, 55 const Expression& left, 57 const Expression [all...] |
H A D | SkSLInliner.cpp | 73 bool visitExpression(const Expression& expr) override { in count_returns_at_end_of_control_flow() 117 bool visitExpression(const Expression& expr) override { in contains_recursive_call() 160 std::unique_ptr<Expression> clone_with_ref_kind(const Expression& expr, in clone_with_ref_kind() 162 std::unique_ptr<Expression> clone = expr.clone(); in clone_with_ref_kind() 173 bool visitExpression(const Expression& expr) override { 228 Expression* expr = iter->second.get(); in RemapVariable() 300 std::unique_ptr<Expression> Inliner::inlineExpression(int line, in inlineExpression() 303 const Expression& expression) { in inlineExpression() 304 auto expr = [&](const std::unique_ptr<Expression> in inlineExpression() [all...] |
/third_party/skia/third_party/externals/tint/src/ast/ |
H A D | traverse_expressions_test.cc | 28 std::vector<const ast::Expression*> e = {Expr(1), Expr(1), Expr(1), Expr(1)}; in TEST_F() 29 std::vector<const ast::Expression*> i = {IndexAccessor(e[0], e[1]), in TEST_F() 33 std::vector<const ast::Expression*> l2r; in TEST_F() 35 root, Diagnostics(), [&](const ast::Expression* expr) { in TEST_F() 42 std::vector<const ast::Expression*> r2l; in TEST_F() 44 root, Diagnostics(), [&](const ast::Expression* expr) { in TEST_F() 53 std::vector<const ast::Expression*> e = {Expr(1), Expr(1), Expr(1), Expr(1)}; in TEST_F() 54 std::vector<const ast::Expression*> i = {Add(e[0], e[1]), Sub(e[2], e[3])}; in TEST_F() 57 std::vector<const ast::Expression*> l2r; in TEST_F() 59 root, Diagnostics(), [&](const ast::Expression* exp in TEST_F() [all...] |
H A D | expression.cc | 20 TINT_INSTANTIATE_TYPEINFO(tint::ast::Expression); variable 25 Expression::Expression(ProgramID pid, const Source& src) : Base(pid, src) {} in Expression() function in tint::ast::Expression 27 Expression::Expression(Expression&&) = default; 29 Expression::~Expression() = default;
|
/third_party/node/deps/v8/src/parsing/ |
H A D | parser.h | 47 Parameter(Expression* pattern, Expression* initializer, int position, in Parameter() 54 base::PointerWithPayload<Expression, bool, 1> initializer_and_is_rest; 56 Expression* pattern; 57 Expression* initializer() const { in initializer() 110 using Expression = v8::internal::Expression*; 111 using ExpressionList = ScopedPtrList<v8::internal::Expression>; 261 Expression* WrapREPLResult(Expression* valu [all...] |
/third_party/node/deps/v8/src/torque/ |
H A D | ast.h | 147 struct Expression : AstNode { struct 148 Expression(Kind kind, SourcePosition pos) : AstNode(kind, pos) {} in Expression() function 149 DEFINE_AST_NODE_INNER_BOILERPLATE(Expression) 151 using VisitCallback = std::function<void(Expression*)>; 158 struct LocationExpression : Expression { 159 LocationExpression(Kind kind, SourcePosition pos) : Expression(kind, pos) {} in LocationExpression() 292 struct IntrinsicCallExpression : Expression { 296 std::vector<Expression*> arguments) in IntrinsicCallExpression() 297 : Expression(kKind, pos), in IntrinsicCallExpression() 311 std::vector<Expression*> argument [all...] |
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
H A D | parser_impl.h | 56 const ast::Expression* cond, 64 const ast::Expression* condition = nullptr; 503 Expect<const ast::Expression*> expect_paren_rhs_stmt(); 563 Expect<const ast::Expression*> expect_const_expr(); 566 Maybe<const ast::Expression*> primary_expression(); 576 Maybe<const ast::Expression*> postfix_expression( 577 const ast::Expression* prefix); 580 Maybe<const ast::Expression*> singular_expression(); 583 Maybe<const ast::Expression*> unary_expression(); 588 Expect<const ast::Expression*> expect_multiplicative_exp [all...] |
/third_party/node/deps/v8/src/interpreter/ |
H A D | bytecode-generator.h | 96 static AssignmentLhsData NonProperty(Expression* expr); 97 static AssignmentLhsData NamedProperty(Expression* object_expr, 111 Expression* expr() const { in expr() 118 Expression* object_expr() const { in object_expr() 148 AssignmentLhsData(AssignType assign_type, Expression* expr, in AssignmentLhsData() 150 Register key, Expression* object_expr, in AssignmentLhsData() 169 Expression* expr_; 173 Expression* object_expr_; 204 void VisitForTypeOfValue(Expression* expr); 207 void VisitCondition(Expression* exp [all...] |