Home
last modified time | relevance | path

Searched refs:CloneContext (Results 1 – 25 of 210) sorted by relevance

123456789

/third_party/skia/third_party/externals/tint/src/
Dclone_context.cc26 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 …]
Dclone_context.h34 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 …]
Dclone_context_test.cc47 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/
Dwrap_arrays_in_structs.cc41 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()
Dtransform.h169 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,
Dcalculate_array_length.h26 class CloneContext; variable
51 const BufferSizeIntrinsic* Clone(CloneContext* ctx) const override;
66 void Run(CloneContext& ctx, const DataMap& inputs, DataMap& outputs) override;
Dwrap_arrays_in_structs.h54 void Run(CloneContext& ctx, const DataMap& inputs, DataMap& outputs) override;
63 std::function<const ast::Type*(CloneContext&)> array_type;
79 CloneContext& ctx,
Ddecompose_memory_access.h26 class CloneContext; variable
91 const Intrinsic* Clone(CloneContext* ctx) const override;
115 void Run(CloneContext& ctx, const DataMap& inputs, DataMap& outputs) override;
Dtransform.cc51 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()
Dunshadow.cc35 CloneContext& ctx;
39 explicit State(CloneContext& context) : ctx(context) {} in State()
94 void Unshadow::Run(CloneContext& ctx, const DataMap&, DataMap&) { in Run()
Dnum_workgroups_from_uniform.h24 class CloneContext; variable
74 void Run(CloneContext& ctx, const DataMap& inputs, DataMap& outputs) override;
Dglsl.h25 class CloneContext; variable
68 void AddEmptyEntryPoint(CloneContext& ctx) const;
Darray_length_from_uniform.h27 class CloneContext; variable
107 void Run(CloneContext& ctx, const DataMap& inputs, DataMap& outputs) override;
Dsimplify_pointers.cc52 CloneContext& ctx;
56 explicit State(CloneContext& context) : ctx(context) {} in State()
234 void SimplifyPointers::Run(CloneContext& ctx, const DataMap&, DataMap&) { in Run()
Dglsl.cc90 CloneContext ctx(&builder, &out.program); in Run()
97 void Glsl::AddEmptyEntryPoint(CloneContext& ctx) const { in AddEmptyEntryPoint()
Dpad_array_elements.cc46 CloneContext& ctx, in PadArray()
100 void PadArrayElements::Run(CloneContext& ctx, const DataMap&, DataMap&) { in Run()
Ddecompose_memory_access.cc53 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()
Dmodule_scope_var_to_entry_point_param.cc55 CloneContext& ctx;
59 explicit State(CloneContext& context) : ctx(context) {} in State()
352 void ModuleScopeVarToEntryPointParam::Run(CloneContext& ctx, in Run()
Dfold_trivial_single_use_lets.h53 void Run(CloneContext& ctx, const DataMap& inputs, DataMap& outputs) override;
Dexternal_texture_transform.h45 void Run(CloneContext& ctx, const DataMap& inputs, DataMap& outputs) override;
Dadd_empty_entry_point.h38 void Run(CloneContext& ctx, const DataMap& inputs, DataMap& outputs) override;
Dfold_constants.h39 void Run(CloneContext& ctx, const DataMap& inputs, DataMap& outputs) override;
Dpad_array_elements.h48 void Run(CloneContext& ctx, const DataMap& inputs, DataMap& outputs) override;
/third_party/skia/third_party/externals/tint/src/ast/
Dmodule.h98 const Module* Clone(CloneContext* ctx) const override;
103 void Copy(CloneContext* ctx, const Module* src);
Dmodule.cc83 const Module* Module::Clone(CloneContext* ctx) const { in Clone()
89 void Module::Copy(CloneContext* ctx, const Module* src) { in Copy()

123456789