Home
last modified time | relevance | path

Searched refs:CallExpression (Results 1 – 25 of 128) sorted by relevance

123456

/third_party/skia/third_party/externals/tint/src/ast/
Dcall_expression.cc19 TINT_INSTANTIATE_TYPEINFO(tint::ast::CallExpression);
25 CallExpression::Target ToTarget(const IdentifierExpression* name) { in ToTarget()
26 CallExpression::Target target; in ToTarget()
30 CallExpression::Target ToTarget(const Type* type) { in ToTarget()
31 CallExpression::Target target; in ToTarget()
37 CallExpression::CallExpression(ProgramID pid, in CallExpression() function in tint::ast::CallExpression
50 CallExpression::CallExpression(ProgramID pid, in CallExpression() function in tint::ast::CallExpression
63 CallExpression::CallExpression(CallExpression&&) = default;
65 CallExpression::~CallExpression() = default;
67 const CallExpression* CallExpression::Clone(CloneContext* ctx) const { in Clone()
[all …]
Dcall_expression.h32 class CallExpression : public Castable<CallExpression, Expression> {
39 CallExpression(ProgramID program_id,
49 CallExpression(ProgramID program_id,
55 CallExpression(CallExpression&&);
56 ~CallExpression() override;
62 const CallExpression* Clone(CloneContext* ctx) const override;
Dcall_expression_test.cc30 auto* stmt = create<CallExpression>(func, params); in TEST_F()
42 auto* stmt = create<CallExpression>(Source{{20, 2}}, func, ExpressionList{}); in TEST_F()
57 auto* stmt = create<CallExpression>(type, params); in TEST_F()
69 auto* stmt = create<CallExpression>(Source{{20, 2}}, type, ExpressionList{}); in TEST_F()
80 auto* stmt = create<CallExpression>(func, ExpressionList{}); in TEST_F()
81 EXPECT_TRUE(stmt->Is<CallExpression>()); in TEST_F()
88 b.create<CallExpression>(static_cast<IdentifierExpression*>(nullptr), in TEST_F()
98 b.create<CallExpression>(static_cast<Type*>(nullptr), ExpressionList{}); in TEST_F()
111 b.create<CallExpression>(b.Expr("func"), params); in TEST_F()
121 b1.create<CallExpression>(b2.Expr("func"), ExpressionList{}); in TEST_F()
[all …]
Dcall_statement.h31 CallStatement(ProgramID pid, const Source& src, const CallExpression* call);
43 const CallExpression* const expr;
Dcall_statement_test.cc27 auto* expr = create<CallExpression>(Expr("func"), ExpressionList{}); in TEST_F()
53 b2.create<CallExpression>(b2.Expr("func"), ExpressionList{})); in TEST_F()
/third_party/skia/third_party/externals/tint/src/writer/hlsl/
Dgenerator_impl.h133 bool EmitCall(std::ostream& out, const ast::CallExpression* expr);
174 const ast::CallExpression* expr,
184 const ast::CallExpression* expr,
198 const ast::CallExpression* expr,
206 const ast::CallExpression* expr,
221 bool EmitSelectCall(std::ostream& out, const ast::CallExpression* expr);
228 const ast::CallExpression* expr,
236 const ast::CallExpression* expr,
244 const ast::CallExpression* expr,
252 const ast::CallExpression* expr,
[all …]
/third_party/skia/third_party/externals/tint/src/reader/wgsl/
Dparser_impl_const_expr_test.cc27 ASSERT_TRUE(e->Is<ast::CallExpression>()); in TEST_F()
29 auto* t = e->As<ast::CallExpression>(); in TEST_F()
47 ASSERT_TRUE(e->Is<ast::CallExpression>()); in TEST_F()
49 auto* t = e->As<ast::CallExpression>(); in TEST_F()
61 ASSERT_TRUE(e->Is<ast::CallExpression>()); in TEST_F()
63 auto* t = e->As<ast::CallExpression>(); in TEST_F()
132 ASSERT_TRUE(e->Is<ast::CallExpression>()); in TEST_F()
133 ASSERT_NE(e->As<ast::CallExpression>()->target.type, nullptr); in TEST_F()
134 ASSERT_TRUE(e->As<ast::CallExpression>()->target.type->Is<ast::TypeName>()); in TEST_F()
136 e->As<ast::CallExpression>()->target.type->As<ast::TypeName>()->name, in TEST_F()
Dparser_impl_primary_expression_test.cc42 ASSERT_TRUE(e->Is<ast::CallExpression>()); in TEST_F()
43 auto* call = e->As<ast::CallExpression>(); in TEST_F()
70 ASSERT_TRUE(e->Is<ast::CallExpression>()); in TEST_F()
71 auto* call = e->As<ast::CallExpression>(); in TEST_F()
131 ASSERT_TRUE(e->Is<ast::CallExpression>()); in TEST_F()
132 auto* call = e->As<ast::CallExpression>(); in TEST_F()
155 ASSERT_TRUE(e->Is<ast::CallExpression>()); in TEST_F()
156 auto* call = e->As<ast::CallExpression>(); in TEST_F()
230 ASSERT_TRUE(e->Is<ast::CallExpression>()); in TEST_F()
231 auto* call = e->As<ast::CallExpression>(); in TEST_F()
Dparser_impl_singular_expression_test.cc97 ASSERT_TRUE(e->Is<ast::CallExpression>()); in TEST_F()
98 auto* c = e->As<ast::CallExpression>(); in TEST_F()
113 ASSERT_TRUE(e->Is<ast::CallExpression>()); in TEST_F()
114 auto* c = e->As<ast::CallExpression>(); in TEST_F()
131 ASSERT_TRUE(e->Is<ast::CallExpression>()); in TEST_F()
132 auto* c = e->As<ast::CallExpression>(); in TEST_F()
Dparser_impl_variable_stmt_test.cc83 auto* call = e->variable->constructor->As<ast::CallExpression>(); in TEST_F()
101 auto* call = e->variable->constructor->As<ast::CallExpression>(); in TEST_F()
119 auto* call = e->variable->constructor->As<ast::CallExpression>(); in TEST_F()
137 auto* call = e->variable->constructor->As<ast::CallExpression>(); in TEST_F()
/third_party/skia/third_party/externals/tint/src/writer/glsl/
Dgenerator_impl.h110 bool EmitCall(std::ostream& out, const ast::CallExpression* expr);
155 const ast::CallExpression* expr,
163 const ast::CallExpression* expr,
178 bool EmitSelectCall(std::ostream& out, const ast::CallExpression* expr);
185 const ast::CallExpression* expr,
193 const ast::CallExpression* expr,
201 const ast::CallExpression* expr,
209 const ast::CallExpression* expr,
217 const ast::CallExpression* expr,
225 const ast::CallExpression* expr,
[all …]
/third_party/skia/third_party/externals/tint/src/resolver/
Dresolver.h45 class CallExpression; variable
182 sem::Call* Call(const ast::CallExpression*);
185 sem::Call* FunctionCall(const ast::CallExpression*,
190 sem::Call* IntrinsicCall(const ast::CallExpression*,
196 sem::Call* TypeConversion(const ast::CallExpression* expr,
200 sem::Call* TypeConstructor(const ast::CallExpression* expr,
271 bool ValidateStructureConstructorOrCast(const ast::CallExpression* ctor,
280 bool ValidateVectorConstructorOrCast(const ast::CallExpression* ctor,
282 bool ValidateMatrixConstructorOrCast(const ast::CallExpression* ctor,
284 bool ValidateScalarConstructorOrCast(const ast::CallExpression* ctor,
[all …]
/third_party/skia/third_party/externals/tint/src/writer/
Dappend_vector_test.cc41 auto* vec_123 = As<ast::CallExpression>(append->Declaration()); in TEST_F()
81 auto* vec_123 = As<ast::CallExpression>(append->Declaration()); in TEST_F()
86 auto* u32_to_i32 = vec_123->args[2]->As<ast::CallExpression>(); in TEST_F()
127 auto* vec_123 = As<ast::CallExpression>(append->Declaration()); in TEST_F()
130 auto* v2u32_to_v2i32 = vec_123->args[0]->As<ast::CallExpression>(); in TEST_F()
139 auto* u32_to_i32 = vec_123->args[1]->As<ast::CallExpression>(); in TEST_F()
176 auto* vec_123 = As<ast::CallExpression>(append->Declaration()); in TEST_F()
181 auto* f32_to_i32 = vec_123->args[2]->As<ast::CallExpression>(); in TEST_F()
221 auto* vec_1234 = As<ast::CallExpression>(append->Declaration()); in TEST_F()
263 auto* vec_123 = As<ast::CallExpression>(append->Declaration()); in TEST_F()
[all …]
/third_party/skia/third_party/externals/tint/src/sem/
Dcall.h36 Call(const ast::CallExpression* declaration,
54 const ast::CallExpression* Declaration() const { in Declaration()
55 return static_cast<const ast::CallExpression*>(declaration_); in Declaration()
Dtype_mappings.h24 class CallExpression; variable
57 Call* operator()(ast::CallExpression*);
/third_party/skia/third_party/externals/tint/src/writer/msl/
Dgenerator_impl.h145 bool EmitCall(std::ostream& out, const ast::CallExpression* expr);
185 const ast::CallExpression* expr,
202 const ast::CallExpression* expr,
210 const ast::CallExpression* expr,
218 const ast::CallExpression* expr,
394 const ast::CallExpression* call,
/third_party/skia/third_party/externals/tint/src/transform/
Dmultiplanar_external_texture.cc150 [&](const ast::CallExpression* expr) -> const ast::CallExpression* { in Process()
254 const ast::CallExpression* single_plane_call; in createTexFnExtStatementList()
255 const ast::CallExpression* plane_0_call; in createTexFnExtStatementList()
256 const ast::CallExpression* plane_1_call; in createTexFnExtStatementList()
318 const ast::CallExpression* createTexSmpExt(const ast::CallExpression* expr, in createTexSmpExt()
362 const ast::CallExpression* createTexLdExt(const ast::CallExpression* expr, in createTexLdExt()
Dvectorize_scalar_matrix_constructors.cc39 [&](const ast::CallExpression* expr) -> const ast::CallExpression* { in Run()
Darray_length_from_uniform.cc51 auto* call_expr = node->As<ast::CallExpression>(); in IterateArrayLengthOnStorageVar()
122 ctx, [&](const ast::CallExpression*, const sem::VariableUser*, in Run()
164 ctx, [&](const ast::CallExpression* call_expr, in Run()
/third_party/typescript/scripts/eslint/rules/
Dboolean-trivia.ts39 const shouldIgnoreCalledExpression = (node: TSESTree.CallExpression): boolean => {
92 const checkBooleanTrivia = (node: TSESTree.CallExpression) => {
103 CallExpression: checkBooleanTrivia,
Ddebug-assert.ts34 const checkDebugAssert = (node: TSESTree.CallExpression) => {
57 CallExpression: checkDebugAssert,
/third_party/typescript/src/compiler/transformers/
Des2020.ts26 case SyntaxKind.CallExpression:
92 …function visitNonOptionalCallExpression(node: CallExpression, captureThisArg: boolean): Expression…
105 …case SyntaxKind.CallExpression: return visitNonOptionalCallExpression(node as CallExpression, capt…
140 case SyntaxKind.CallExpression:
/third_party/skia/third_party/externals/tint/src/
Dprogram_builder.h1133 const ast::CallExpression* Construct(ARGS&&... args) { in Construct()
1142 const ast::CallExpression* Construct(const ast::Type* type, ARGS&&... args) { in Construct()
1152 const ast::CallExpression* Construct(const Source& source, in Construct()
1155 return create<ast::CallExpression>(source, type, in Construct()
1195 const ast::CallExpression* vec(const ast::Type* type, in vec()
1205 const ast::CallExpression* vec2(ARGS&&... args) { in vec2()
1213 const ast::CallExpression* vec3(ARGS&&... args) { in vec3()
1221 const ast::CallExpression* vec4(ARGS&&... args) { in vec4()
1229 const ast::CallExpression* mat2x2(ARGS&&... args) { in mat2x2()
1237 const ast::CallExpression* mat2x3(ARGS&&... args) { in mat2x3()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Scalar/
DGVNExpression.h296 class CallExpression final : public MemoryExpression {
301 CallExpression(unsigned NumOperands, CallInst *C, in CallExpression() function
304 CallExpression() = delete;
305 CallExpression(const CallExpression &) = delete;
306 CallExpression &operator=(const CallExpression &) = delete;
307 ~CallExpression() override;
/third_party/typescript/src/services/codefixes/
DfixClassSuperMustPrecedeThisAccess.ts45 …function findSuperCall(n: Node): ExpressionStatement & { expression: CallExpression } | undefined {
47 ? n as ExpressionStatement & { expression: CallExpression }

123456