/third_party/skia/third_party/externals/tint/src/ |
D | clone_context.cc | 26 CloneContext::ListTransforms::ListTransforms() = default; 27 CloneContext::ListTransforms::~ListTransforms() = default; 29 CloneContext::CloneContext(ProgramBuilder* to, in CloneContext() function in tint::CloneContext 41 CloneContext::CloneContext(ProgramBuilder* builder) in CloneContext() function in tint::CloneContext 42 : CloneContext(builder, nullptr, false) {} in CloneContext() 44 CloneContext::~CloneContext() = default; 46 Symbol CloneContext::Clone(Symbol s) { in Clone() 58 void CloneContext::Clone() { in Clone() 63 ast::FunctionList CloneContext::Clone(const ast::FunctionList& v) { in Clone() 72 const tint::Cloneable* CloneContext::CloneCloneable(const Cloneable* object) { in CloneCloneable() [all …]
|
D | clone_context.h | 34 class CloneContext; variable 51 virtual const Cloneable* Clone(CloneContext* ctx) const = 0; 60 class CloneContext { 77 CloneContext(ProgramBuilder* to, 83 explicit CloneContext(ProgramBuilder* builder); 86 ~CloneContext(); 275 traits::EnableIf<ParamTypeIsPtrOf<F, Cloneable>::value, CloneContext>& 308 CloneContext& ReplaceAll(const SymbolTransform& replacer) { in ReplaceAll() 334 CloneContext& Replace(const WHAT* what, const WITH* with) { in Replace() 355 CloneContext& Replace(const WHAT* what, WITH&& with) { in Replace() [all …]
|
D | clone_context_test.cc | 47 Node* Clone(CloneContext* ctx) const override { in Clone() 74 NotANode* Clone(CloneContext*) const override { in Clone() 87 ProgramNode* Clone(CloneContext*) const override { in Clone() 125 auto* cloned_root = CloneContext(&cloned, &original).Clone(original_root); in TEST_F() 186 CloneContext ctx(&cloned, &original); in TEST_F() 281 auto* cloned_root = CloneContext(&cloned, &original, false) in TEST_F() 304 CloneContext ctx(&cloned, &original); in TEST_F() 332 auto* cloned_root = CloneContext(&cloned, &original) in TEST_F() 365 CloneContext(&cloned, &original) in TEST_F() 391 auto* cloned_root = CloneContext(&cloned, &original) in TEST_F() [all …]
|
/third_party/skia/third_party/externals/tint/src/transform/ |
D | wrap_arrays_in_structs.cc | 41 void WrapArraysInStructs::Run(CloneContext& ctx, const DataMap&, DataMap&) { in Run() 107 CloneContext& ctx, in WrapArray() 121 std::function<const ast::Type*(CloneContext&)> el_type; in WrapArray() 125 el_type = [=](CloneContext& c) { in WrapArray() 133 el_type = [=](CloneContext& c) { in WrapArray() 139 info.array_type = [=](CloneContext& c) { in WrapArray()
|
D | transform.h | 169 virtual void Run(CloneContext& ctx, const DataMap& inputs, DataMap& outputs); 176 bool Requires(CloneContext& ctx) { in Requires() 185 bool Requires(CloneContext& ctx, 193 static void RemoveStatement(CloneContext& ctx, const ast::Statement* stmt); 201 static const ast::Type* CreateASTTypeFor(CloneContext& ctx,
|
D | calculate_array_length.h | 26 class CloneContext; variable 51 const BufferSizeIntrinsic* Clone(CloneContext* ctx) const override; 66 void Run(CloneContext& ctx, const DataMap& inputs, DataMap& outputs) override;
|
D | wrap_arrays_in_structs.h | 54 void Run(CloneContext& ctx, const DataMap& inputs, DataMap& outputs) override; 63 std::function<const ast::Type*(CloneContext&)> array_type; 79 CloneContext& ctx,
|
D | decompose_memory_access.h | 26 class CloneContext; variable 91 const Intrinsic* Clone(CloneContext* ctx) const override; 115 void Run(CloneContext& ctx, const DataMap& inputs, DataMap& outputs) override;
|
D | transform.cc | 51 CloneContext ctx(&builder, program); in Run() 59 void Transform::Run(CloneContext& ctx, const DataMap&, DataMap&) { in Run() 64 bool Transform::Requires(CloneContext& ctx, in Requires() 78 void Transform::RemoveStatement(CloneContext& ctx, const ast::Statement* stmt) { in RemoveStatement() 93 const ast::Type* Transform::CreateASTTypeFor(CloneContext& ctx, in CreateASTTypeFor()
|
D | unshadow.cc | 35 CloneContext& ctx; 39 explicit State(CloneContext& context) : ctx(context) {} in State() 94 void Unshadow::Run(CloneContext& ctx, const DataMap&, DataMap&) { in Run()
|
D | num_workgroups_from_uniform.h | 24 class CloneContext; variable 74 void Run(CloneContext& ctx, const DataMap& inputs, DataMap& outputs) override;
|
D | glsl.h | 25 class CloneContext; variable 68 void AddEmptyEntryPoint(CloneContext& ctx) const;
|
D | array_length_from_uniform.h | 27 class CloneContext; variable 107 void Run(CloneContext& ctx, const DataMap& inputs, DataMap& outputs) override;
|
D | simplify_pointers.cc | 52 CloneContext& ctx; 56 explicit State(CloneContext& context) : ctx(context) {} in State() 234 void SimplifyPointers::Run(CloneContext& ctx, const DataMap&, DataMap&) { in Run()
|
D | glsl.cc | 90 CloneContext ctx(&builder, &out.program); in Run() 97 void Glsl::AddEmptyEntryPoint(CloneContext& ctx) const { in AddEmptyEntryPoint()
|
D | pad_array_elements.cc | 46 CloneContext& ctx, in PadArray() 100 void PadArrayElements::Run(CloneContext& ctx, const DataMap&, DataMap&) { in Run()
|
D | decompose_memory_access.cc | 53 virtual const ast::Expression* Build(CloneContext& ctx) const = 0; 63 const ast::Expression* Build(CloneContext& ctx) const override { in Build() 80 const ast::Expression* Build(CloneContext& ctx) const override { in Build() 92 const ast::Expression* Build(CloneContext& ctx) const override { in Build() 298 CloneContext& ctx; 322 explicit State(CloneContext& context) : ctx(context), b(*ctx.dst) {} in State() 785 CloneContext* ctx) const { in Clone() 793 void DecomposeMemoryAccess::Run(CloneContext& ctx, const DataMap&, DataMap&) { in Run()
|
D | module_scope_var_to_entry_point_param.cc | 55 CloneContext& ctx; 59 explicit State(CloneContext& context) : ctx(context) {} in State() 352 void ModuleScopeVarToEntryPointParam::Run(CloneContext& ctx, in Run()
|
D | fold_trivial_single_use_lets.h | 53 void Run(CloneContext& ctx, const DataMap& inputs, DataMap& outputs) override;
|
D | external_texture_transform.h | 45 void Run(CloneContext& ctx, const DataMap& inputs, DataMap& outputs) override;
|
D | add_empty_entry_point.h | 38 void Run(CloneContext& ctx, const DataMap& inputs, DataMap& outputs) override;
|
D | fold_constants.h | 39 void Run(CloneContext& ctx, const DataMap& inputs, DataMap& outputs) override;
|
D | pad_array_elements.h | 48 void Run(CloneContext& ctx, const DataMap& inputs, DataMap& outputs) override;
|
/third_party/skia/third_party/externals/tint/src/ast/ |
D | module.h | 98 const Module* Clone(CloneContext* ctx) const override; 103 void Copy(CloneContext* ctx, const Module* src);
|
D | module.cc | 83 const Module* Module::Clone(CloneContext* ctx) const { in Clone() 89 void Module::Copy(CloneContext* ctx, const Module* src) { in Copy()
|