Home
last modified time | relevance | path

Searched refs:overload (Results 1 - 25 of 36) sorted by relevance

12

/third_party/mesa3d/src/microsoft/compiler/
H A Ddxil_function.c95 enum overload_type overload; member
116 if (f->descr.overload < descr->overload) in func_compare_to_name_and_overload()
118 if (f->descr.overload > descr->overload) in func_compare_to_name_and_overload()
127 enum overload_type overload) in allocate_function_from_predefined()
131 return dxil_alloc_func(mod, name, overload, in allocate_function_from_predefined()
142 const char *name, enum overload_type overload) in dxil_get_function()
144 struct func_descr descr = { name, overload }; in dxil_get_function()
150 return allocate_function_from_predefined(mod, name, overload); in dxil_get_function()
125 allocate_function_from_predefined(struct dxil_module *mod, const char *name, enum overload_type overload) allocate_function_from_predefined() argument
141 dxil_get_function(struct dxil_module *mod, const char *name, enum overload_type overload) dxil_get_function() argument
160 dxil_add_function(struct rb_tree *functions, const struct dxil_func *func, const char *name, enum overload_type overload) dxil_add_function() argument
171 get_type_from_string(struct dxil_module *mod, const char *param_descr, enum overload_type overload, int *idx) get_type_from_string() argument
206 dxil_alloc_func_with_rettype(struct dxil_module *mod, const char *name, enum overload_type overload, const struct dxil_type *retval_type, const char *param_descr, enum dxil_attr_kind attr) dxil_alloc_func_with_rettype() argument
246 dxil_alloc_func(struct dxil_module *mod, const char *name, enum overload_type overload, const char *retval_type_descr, const char *param_descr, enum dxil_attr_kind attr) dxil_alloc_func() argument
[all...]
H A Ddxil_function.h49 const char *dxil_overload_suffix( enum overload_type overload);
52 dxil_get_overload_type(struct dxil_module *mod, enum overload_type overload);
73 dxil_alloc_func(struct dxil_module *mod, const char *name, enum overload_type overload,
80 dxil_alloc_func_with_rettype(struct dxil_module *mod, const char *name, enum overload_type overload,
86 * with 'name' and 'overload' must already be allocated by using one of the above
92 enum overload_type overload);
H A Ddxil_enums.c164 const char *dxil_overload_suffix( enum overload_type overload) in dxil_overload_suffix() argument
166 assert(overload < DXIL_NUM_OVERLOADS); in dxil_overload_suffix()
167 return overload_str[overload]; in dxil_overload_suffix()
H A Dnir_to_dxil.c510 emit_unary_call(struct ntd_context *ctx, enum overload_type overload, in emit_unary_call() argument
516 overload); in emit_unary_call()
533 emit_binary_call(struct ntd_context *ctx, enum overload_type overload, in emit_binary_call() argument
537 const struct dxil_func *func = dxil_get_function(&ctx->mod, "dx.op.binary", overload); in emit_binary_call()
555 emit_tertiary_call(struct ntd_context *ctx, enum overload_type overload, in emit_tertiary_call() argument
561 const struct dxil_func *func = dxil_get_function(&ctx->mod, "dx.op.tertiary", overload); in emit_tertiary_call()
580 emit_quaternary_call(struct ntd_context *ctx, enum overload_type overload, in emit_quaternary_call() argument
587 const struct dxil_func *func = dxil_get_function(&ctx->mod, "dx.op.quaternary", overload); in emit_quaternary_call()
693 enum overload_type overload) in emit_bufferload_call()
695 const struct dxil_func *func = dxil_get_function(&ctx->mod, "dx.op.bufferLoad", overload); in emit_bufferload_call()
690 emit_bufferload_call(struct ntd_context *ctx, const struct dxil_value *handle, const struct dxil_value *coord[2], enum overload_type overload) emit_bufferload_call() argument
707 emit_bufferstore_call(struct ntd_context *ctx, const struct dxil_value *handle, const struct dxil_value *coord[2], const struct dxil_value *value[4], const struct dxil_value *write_mask, enum overload_type overload) emit_bufferstore_call() argument
732 emit_textureload_call(struct ntd_context *ctx, const struct dxil_value *handle, const struct dxil_value *coord[3], enum overload_type overload) emit_textureload_call() argument
754 emit_texturestore_call(struct ntd_context *ctx, const struct dxil_value *handle, const struct dxil_value *coord[3], const struct dxil_value *value[4], const struct dxil_value *write_mask, enum overload_type overload) emit_texturestore_call() argument
2040 enum overload_type overload = get_overload(info->input_types[0], src_bits); emit_unary_intin() local
2060 enum overload_type overload = get_overload(info->output_type, dst_bits); emit_binary_intin() local
2087 enum overload_type overload = get_overload(info->output_type, dst_bits); emit_tertiary_intin() local
2513 load_ubo(struct ntd_context *ctx, const struct dxil_value *handle, const struct dxil_value *offset, enum overload_type overload) load_ubo() argument
3164 enum overload_type overload = get_overload(out_type, intr->src[0].ssa->bit_size); emit_store_output_via_intrinsic() local
3330 enum overload_type overload = get_overload(out_type, intr->dest.ssa.bit_size); emit_load_input_via_intrinsic() local
3674 enum overload_type overload = get_overload(in_type, 32); emit_image_store() local
3734 enum overload_type overload = get_overload(out_type, 32); emit_image_load() local
3867 enum overload_type overload; global() member
[all...]
H A Ddxil_module.h287 dxil_get_overload_type(struct dxil_module *mod, enum overload_type overload);
293 dxil_module_get_cbuf_ret_type(struct dxil_module *mod, enum overload_type overload);
303 dxil_module_get_resret_type(struct dxil_module *m, enum overload_type overload);
H A Ddxil_enums.h365 const char *dxil_overload_suffix( enum overload_type overload);
H A Ddxil_module.c675 dxil_get_overload_type(struct dxil_module *mod, enum overload_type overload) in dxil_get_overload_type() argument
677 switch (overload) { in dxil_get_overload_type()
685 unreachable("unexpected overload type"); in dxil_get_overload_type()
704 dxil_module_get_cbuf_ret_type(struct dxil_module *mod, enum overload_type overload) in dxil_module_get_cbuf_ret_type() argument
706 const struct dxil_type *overload_type = dxil_get_overload_type(mod, overload); in dxil_module_get_cbuf_ret_type()
711 snprintf(name, sizeof(name), "dx.types.CBufRet.%s", dxil_overload_suffix(overload)); in dxil_module_get_cbuf_ret_type()
713 switch (overload) { in dxil_module_get_cbuf_ret_type()
723 unreachable("unexpected overload type"); in dxil_module_get_cbuf_ret_type()
845 dxil_module_get_resret_type(struct dxil_module *m, enum overload_type overload) in dxil_module_get_resret_type() argument
847 const struct dxil_type *overload_type = dxil_get_overload_type(m, overload); in dxil_module_get_resret_type()
[all...]
/third_party/skia/third_party/externals/tint/src/
H A Dintrinsic_table.cc159 /// MatchState holds the state used to match an overload.
170 overload(o), in MatchState()
179 /// The current overload being evaluated
180 OverloadInfo const& overload;
209 /// overload's parameter or return type.
224 /// messages when no overload is found.
229 /// as part of an overload's parameter or return type.
242 /// messages when no overload is found.
248 /// across all uses in the overload)
270 /// consistent for the overload)
[all...]
/third_party/skia/third_party/externals/tint/tools/src/cmd/intrinsic-gen/resolver/
H A Dresolve.go223 // function() resolves a function overload declaration.
224 // The the first overload for the function creates and appends the sem.Function
225 // to Sem.Functions. Subsequent overloads append their resolved overload to the
228 // If this is the first overload of the function, create and register the
246 // Construct the semantic overload
247 overload := &sem.Overload{
254 // Process overload decorations
260 overload.CanBeUsedInStage.Vertex = true
262 overload.CanBeUsedInStage.Fragment = true
264 overload
[all...]
/third_party/skia/third_party/externals/tint/src/resolver/
H A Dintrinsic_validation_test.cc138 if (overloads.count(c.overload)) { in TextureCases()
237 auto overload = std::get<0>(p); in TEST_P()
241 overload.BuildTextureVariable(this); in TEST_P()
242 overload.BuildSamplerVariable(this); in TEST_P()
244 auto args = overload.args(this); in TEST_P()
259 Func("func", {}, ty.void_(), {CallStmt(Call(overload.function, args))}, in TEST_P()
284 auto overload = std::get<0>(p); in TEST_P()
289 overload.BuildTextureVariable(this); in TEST_P()
290 overload.BuildSamplerVariable(this); in TEST_P()
295 auto args = overload in TEST_P()
[all...]
H A Dintrinsic_test.cc1727 ast::intrinsic::test::ValidTextureOverload overload) { in expected_texture_overload()
1729 switch (overload) { in expected_texture_overload()
1956 return "<unmatched texture overload>"; in expected_texture_overload()
2058 auto* expected = expected_texture_overload(param.overload); in TEST_P()
1726 expected_texture_overload( ast::intrinsic::test::ValidTextureOverload overload) expected_texture_overload() argument
/third_party/skia/third_party/externals/tint/tools/src/cmd/intrinsic-gen/gen/
H A Dpermutate.go51 // Permutation describes a single permutation of an overload
53 sem.Overload // The permutated overload signature
54 Desc string // Description of the overload
55 Hash string // Hash of the overload
58 // Permute generates a set of permutations for the given intrinsic overload
59 func (p *Permuter) Permute(overload *sem.Overload) ([]Permutation, error) {
76 Decl: overload.Decl,
77 Function: overload.Function,
78 CanBeUsedInStage: overload.CanBeUsedInStage,
80 for i, p := range overload
[all...]
H A Dgenerate.go139 func (g *generator) permute(overload *sem.Overload) ([]Permutation, error) {
147 return g.cached.permuter.Permute(overload)
/third_party/node/deps/v8/src/asmjs/
H A Dasm-types.cc304 void AsmOverloadedFunctionType::AddOverload(AsmType* overload) { in AddOverload() argument
305 DCHECK_NOT_NULL(overload->AsCallableType()); in AddOverload()
306 overloads_.push_back(overload); in AddOverload()
H A Dasm-types.h162 void AddOverload(AsmType* overload);
/third_party/skia/third_party/externals/tint/src/writer/glsl/
H A Dgenerator_impl_intrinsic_texture_test.cc36 ast::intrinsic::test::ValidTextureOverload overload) { in expected_texture_overload()
38 switch (overload) { in expected_texture_overload()
267 return "<unmatched texture overload>"; in expected_texture_overload()
288 auto expected = expected_texture_overload(param.overload); in TEST_P()
35 expected_texture_overload( ast::intrinsic::test::ValidTextureOverload overload) expected_texture_overload() argument
/third_party/skia/third_party/externals/tint/src/writer/hlsl/
H A Dgenerator_impl_intrinsic_texture_test.cc37 ast::intrinsic::test::ValidTextureOverload overload) { in expected_texture_overload()
39 switch (overload) { in expected_texture_overload()
361 return "<unmatched texture overload>"; in expected_texture_overload()
382 auto expected = expected_texture_overload(param.overload); in TEST_P()
36 expected_texture_overload( ast::intrinsic::test::ValidTextureOverload overload) expected_texture_overload() argument
/third_party/skia/third_party/externals/tint/src/writer/msl/
H A Dgenerator_impl_intrinsic_texture_test.cc25 ast::intrinsic::test::ValidTextureOverload overload) { in expected_texture_overload()
27 switch (overload) { in expected_texture_overload()
271 return "<unmatched texture overload>"; in expected_texture_overload()
293 auto expected = expected_texture_overload(param.overload); in TEST_P()
24 expected_texture_overload( ast::intrinsic::test::ValidTextureOverload overload) expected_texture_overload() argument
/third_party/skia/third_party/externals/tint/src/writer/spirv/
H A Dbuilder_intrinsic_texture_test.cc34 ast::intrinsic::test::ValidTextureOverload overload) { in expected_texture_overload()
36 switch (overload) { in expected_texture_overload()
3671 return {"<unmatched texture overload>", "<unmatched texture overload>", in expected_texture_overload()
3672 "<unmatched texture overload>"}; in expected_texture_overload()
3701 auto expected = expected_texture_overload(param.overload); in TEST_P()
33 expected_texture_overload( ast::intrinsic::test::ValidTextureOverload overload) expected_texture_overload() argument
/third_party/jinja2/
H A Dfilters.py1309 return sum(iterable, start) # type: ignore[no-any-return, call-overload]
1358 @typing.overload
1363 @typing.overload
1417 @typing.overload
1424 @typing.overload
1485 @typing.overload
1496 @typing.overload
H A Denvironment.py706 @typing.overload
717 @typing.overload
H A Dparser.py457 @typing.overload
463 @typing.overload
/third_party/skia/third_party/externals/tint/src/ast/
H A Dintrinsic_texture_helper_test.h187 /// Describes a texture intrinsic overload
237 /// The enumerator for this overload
238 const ValidTextureOverload overload;
239 /// A human readable description of the overload
258 /// A function that builds the AST arguments for the overload
H A Dintrinsic_texture_helper_test.cc39 : overload(o), in TextureOverloadCase()
55 : overload(o), in TextureOverloadCase()
71 : overload(o), in TextureOverloadCase()
120 out << "TextureOverloadCase " << static_cast<int>(data.overload) << "\n"; in operator <<()
/third_party/lwip/src/core/ipv4/
H A Ddhcp.c1685 /* decode overload only in options, not in file/sname: invalid packet */
1686 LWIP_DHCP_INPUT_ERROR("overload in file/sname", options_offset == DHCP_OPTIONS_OFS, return ERR_VAL;);
1772 u32_t overload = dhcp_get_option_value(dhcp, DHCP_OPTION_IDX_OVERLOAD); local
1774 if (overload == DHCP_OVERLOAD_FILE) {
1777 } else if (overload == DHCP_OVERLOAD_SNAME) {
1780 } else if (overload == DHCP_OVERLOAD_SNAME_FILE) {
1785 LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE, ("invalid overload option: %d\n", (int)overload));

Completed in 38 milliseconds

12