Home
last modified time | relevance | path

Searched refs:function_type (Results 1 - 25 of 53) sorted by relevance

123

/third_party/skia/third_party/externals/spirv-tools/source/val/
H A Dvalidate_function.cpp58 const auto function_type = _.FindDef(function_type_id); in ValidateFunction() local
59 if (!function_type || SpvOpTypeFunction != function_type->opcode()) { in ValidateFunction()
65 const auto return_id = function_type->GetOperandAs<uint32_t>(1); in ValidateFunction()
128 const auto function_type = _.FindDef(function_type_id); in ValidateFunctionParameter() local
129 if (!function_type) { in ValidateFunctionParameter()
133 if (param_index >= function_type->words().size() - 3) { in ValidateFunctionParameter()
136 << ": expected " << function_type->words().size() - 3 in ValidateFunctionParameter()
141 _.FindDef(function_type->GetOperandAs<uint32_t>(param_index + 2)); in ValidateFunctionParameter()
245 const auto function_type in ValidateFunctionCall() local
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
H A Dvalidate_function.cpp58 const auto function_type = _.FindDef(function_type_id); in ValidateFunction() local
59 if (!function_type || SpvOpTypeFunction != function_type->opcode()) { in ValidateFunction()
65 const auto return_id = function_type->GetOperandAs<uint32_t>(1); in ValidateFunction()
128 const auto function_type = _.FindDef(function_type_id); in ValidateFunctionParameter() local
129 if (!function_type) { in ValidateFunctionParameter()
133 if (param_index >= function_type->words().size() - 3) { in ValidateFunctionParameter()
136 << ": expected " << function_type->words().size() - 3 in ValidateFunctionParameter()
141 _.FindDef(function_type->GetOperandAs<uint32_t>(param_index + 2)); in ValidateFunctionParameter()
245 const auto function_type in ValidateFunctionCall() local
[all...]
/third_party/spirv-tools/source/val/
H A Dvalidate_function.cpp60 const auto function_type = _.FindDef(function_type_id); in ValidateFunction() local
61 if (!function_type || spv::Op::OpTypeFunction != function_type->opcode()) { in ValidateFunction()
67 const auto return_id = function_type->GetOperandAs<uint32_t>(1); in ValidateFunction()
130 const auto function_type = _.FindDef(function_type_id); in ValidateFunctionParameter() local
131 if (!function_type) { in ValidateFunctionParameter()
135 if (param_index >= function_type->words().size() - 3) { in ValidateFunctionParameter()
138 << ": expected " << function_type->words().size() - 3 in ValidateFunctionParameter()
143 _.FindDef(function_type->GetOperandAs<uint32_t>(param_index + 2)); in ValidateFunctionParameter()
246 const auto function_type in ValidateFunctionCall() local
[all...]
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_assert.c78 LLVMTypeRef function_type = LLVMFunctionType(ret_type, arg_types, 2, 0); in lp_build_assert() local
82 function_type, in lp_build_assert()
92 LLVMBuildCall2(builder, function_type, function, args, ARRAY_SIZE(args), ""); in lp_build_assert()
H A Dlp_bld_intr.c108 LLVMTypeRef function_type) in lp_declare_intrinsic_with_type()
112 LLVMValueRef function = LLVMAddFunction(module, name, function_type); in lp_declare_intrinsic_with_type()
130 LLVMTypeRef function_type = LLVMFunctionType(ret_type, arg_types, num_args, 0); in lp_declare_intrinsic() local
131 return lp_declare_intrinsic_with_type(module, name, function_type); in lp_declare_intrinsic()
251 LLVMTypeRef function_type = LLVMFunctionType(ret_type, arg_types, num_args, 0); in lp_build_intrinsic() local
256 function = lp_declare_intrinsic_with_type(module, name, function_type); in lp_build_intrinsic()
277 call = LLVMBuildCall2(builder, function_type, function, args, num_args, ""); in lp_build_intrinsic()
106 lp_declare_intrinsic_with_type(LLVMModuleRef module, const char *name, LLVMTypeRef function_type) lp_declare_intrinsic_with_type() argument
H A Dlp_bld_const.c451 LLVMTypeRef function_type, in lp_build_const_func_pointer_from_type()
456 LLVMPointerType(function_type, 0), in lp_build_const_func_pointer_from_type()
475 LLVMTypeRef function_type = LLVMFunctionType(ret_type, arg_types, num_args, 0); in lp_build_const_func_pointer() local
476 return lp_build_const_func_pointer_from_type(gallivm, ptr, function_type, name); in lp_build_const_func_pointer()
449 lp_build_const_func_pointer_from_type(struct gallivm_state *gallivm, const void *ptr, LLVMTypeRef function_type, const char *name) lp_build_const_func_pointer_from_type() argument
H A Dlp_bld_format_aos.c823 LLVMTypeRef function_type; in lp_build_fetch_rgba_aos() local
837 function_type = LLVMFunctionType(ret_type, arg_types, in lp_build_fetch_rgba_aos()
847 function = LLVMBuildBitCast(builder, function, LLVMPointerType(function_type, 0), "cast callee"); in lp_build_fetch_rgba_aos()
875 LLVMBuildCall2(builder, function_type, function, args, ARRAY_SIZE(args), ""); in lp_build_fetch_rgba_aos()
929 LLVMTypeRef function_type = NULL; in lp_build_fetch_rgba_aos() local
943 function_type = LLVMFunctionType(ret_type, arg_types, ARRAY_SIZE(arg_types), 0); in lp_build_fetch_rgba_aos()
949 function_type, in lp_build_fetch_rgba_aos()
976 LLVMBuildCall2(builder, function_type, function, args, ARRAY_SIZE(args), ""); in lp_build_fetch_rgba_aos()
H A Dlp_bld_intr.h86 LLVMTypeRef function_type);
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
H A Dfuzzer_pass_permute_function_parameters.cpp51 auto* function_type = in Apply() local
53 assert(function_type && "Function type is null"); in Apply()
56 uint32_t arg_size = function_type->NumInOperands() - 1; in Apply()
H A Dtransformation_merge_function_returns.cpp81 auto function_type = ir_context->get_type_mgr()->GetType(function->type_id()); in IsApplicable() local
82 assert(function_type && "The function type should always exist."); in IsApplicable()
84 if (!function_type->AsVoid() && in IsApplicable()
152 types_to_available_ids, function_type->AsVoid(), ir_context, in IsApplicable()
165 if (!function_type->AsVoid() && !merge_blocks_to_returning_preds.empty()) { in IsApplicable()
198 auto function_type = ir_context->get_type_mgr()->GetType(function->type_id()); in Apply() local
245 if (!function_type->AsVoid() && in Apply()
267 function_type->AsVoid() in Apply()
328 if (!function_type->AsVoid()) { in Apply()
382 if (!function_type in Apply()
[all...]
H A Dtransformation_permute_function_parameters.cpp52 const auto* function_type = fuzzerutil::GetFunctionType(ir_context, function); in IsApplicable() local
53 assert(function_type && "Function type is null"); in IsApplicable()
59 auto arg_size = function_type->NumInOperands() - 1; in IsApplicable()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
H A Dfuzzer_pass_permute_function_parameters.cpp51 auto* function_type = in Apply() local
53 assert(function_type && "Function type is null"); in Apply()
56 uint32_t arg_size = function_type->NumInOperands() - 1; in Apply()
H A Dtransformation_merge_function_returns.cpp81 auto function_type = ir_context->get_type_mgr()->GetType(function->type_id()); in IsApplicable() local
82 assert(function_type && "The function type should always exist."); in IsApplicable()
84 if (!function_type->AsVoid() && in IsApplicable()
152 types_to_available_ids, function_type->AsVoid(), ir_context, in IsApplicable()
165 if (!function_type->AsVoid() && !merge_blocks_to_returning_preds.empty()) { in IsApplicable()
198 auto function_type = ir_context->get_type_mgr()->GetType(function->type_id()); in Apply() local
245 if (!function_type->AsVoid() && in Apply()
267 function_type->AsVoid() in Apply()
328 if (!function_type->AsVoid()) { in Apply()
382 if (!function_type in Apply()
[all...]
H A Dtransformation_permute_function_parameters.cpp52 const auto* function_type = fuzzerutil::GetFunctionType(ir_context, function); in IsApplicable() local
53 assert(function_type && "Function type is null"); in IsApplicable()
59 auto arg_size = function_type->NumInOperands() - 1; in IsApplicable()
/third_party/spirv-tools/source/fuzz/
H A Dfuzzer_pass_permute_function_parameters.cpp51 auto* function_type = in Apply() local
53 assert(function_type && "Function type is null"); in Apply()
56 uint32_t arg_size = function_type->NumInOperands() - 1; in Apply()
H A Dtransformation_merge_function_returns.cpp81 auto function_type = ir_context->get_type_mgr()->GetType(function->type_id()); in IsApplicable() local
82 assert(function_type && "The function type should always exist."); in IsApplicable()
84 if (!function_type->AsVoid() && in IsApplicable()
152 types_to_available_ids, function_type->AsVoid(), ir_context, in IsApplicable()
165 if (!function_type->AsVoid() && !merge_blocks_to_returning_preds.empty()) { in IsApplicable()
198 auto function_type = ir_context->get_type_mgr()->GetType(function->type_id()); in Apply() local
245 if (!function_type->AsVoid() && in Apply()
267 function_type->AsVoid() in Apply()
328 if (!function_type->AsVoid()) { in Apply()
382 if (!function_type in Apply()
[all...]
H A Dtransformation_permute_function_parameters.cpp52 const auto* function_type = fuzzerutil::GetFunctionType(ir_context, function); in IsApplicable() local
53 assert(function_type && "Function type is null"); in IsApplicable()
59 auto arg_size = function_type->NumInOperands() - 1; in IsApplicable()
/third_party/libabigail/include/
H A Dabg-fwd.h172 class function_type;
173 /// Convenience typedef for a shared pointer on a @ref function_type
174 typedef shared_ptr<function_type> function_type_sptr;
179 /// Convenience typedef for a weak pointer on a @ref function_type
180 typedef weak_ptr<function_type> function_type_wptr;
505 function_type*
508 const function_type*
958 get_function_type_name(const function_type*, bool internal = false);
961 get_function_type_name(const function_type&, bool internal = false);
992 get_pretty_representation(const function_type
[all...]
H A Dabg-ir.h57 /// represented by abigail::function_type and abigail::method_type.
262 friend class function_type;
780 lookup_function_type_in_translation_unit(const function_type& t,
784 synthesize_function_type_from_translation_unit(const function_type& fn_type,
3014 function_type_sptr function_type,
3051 const function_type*
3256 equals(const function_type&, const function_type&, change_kind*);
3259 class function_type : public virtual type_base class
3265 /// Hasher for an instance of function_type
[all...]
/third_party/libabigail/src/
H A Dabg-ir-priv.h642 function_type* c = reinterpret_cast<function_type*>(p.first); in dump_fn_types_being_compared()
1304 // <function_type::priv definitions>
1306 /// The type of the private data of the @ref function_type type.
1307 struct function_type::priv
1328 /// Mark a given pair of @ref function_type as being compared.
1330 /// @param first the first @ref function_type of the pair being
1333 /// @param second the second @ref function_type of the pair being
1336 mark_as_being_compared(const function_type& first, in mark_as_being_compared()
1337 const function_type in mark_as_being_compared()
[all...]
H A Dabg-hash.cc493 // <struct function_type::hash stuff>
495 /// Hashing function for @ref function_type.
501 function_type::hash::operator()(const function_type& t) const in operator ()()
517 /// Hashing function for a pointer to @ref function_type.
519 /// @param t the pointer to @ref function_type to hash.
523 function_type::hash::operator()(const function_type* t) const in operator ()()
533 /// Hashing function for a shared pointer to @ref function_type.
535 /// @param t the pointer to @ref function_type t
[all...]
H A Dabg-ir.cc485 function_type::hash,
6628 t.reset(new function_type(p, parm, in strip_typedef()
8587 const function_type* fn_type = is_function_type(t); in get_type_name()
8761 get_function_type_name(const function_type* fn_type, in get_function_type_name()
8783 get_function_type_name(const function_type& fn_type, in get_function_type_name()
8801 for (function_type::parameters::const_iterator i = in get_function_type_name()
8892 for (function_type::parameters::const_iterator i = in get_method_type_name()
8991 if (const function_type* fn_type = is_function_type(t)) in get_pretty_representation()
9053 get_pretty_representation(const function_type* fn_type, bool internal) in get_pretty_representation()
9075 get_pretty_representation(const function_type
12921 lookup_function_type(const function_type&t, const corpus& corp) lookup_function_type() argument
19305 function_type::function_type(type_base_sptr return_type, function_type() function in abigail::ir::function_type
19338 function_type::function_type(type_base_sptr return_type, function_type() function in abigail::ir::function_type
19357 function_type::function_type(const environment& env, function_type() function in abigail::ir::function_type
20084 function_decl(const string& name, function_type_sptr function_type, bool declared_inline, const location& locus, const string& mangled_name, visibility vis, binding bind) function_decl() argument
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/glesext/draw_elements_base_vertex/
H A DesextcDrawElementsBaseVertexTests.hpp87 _function_type function_type; /* Tells the type of the basevertex draw call that should member
135 , function_type(FUNCTION_COUNT) in _test_case()
172 std::string getFunctionName(_function_type function_type);
H A DesextcDrawElementsBaseVertexTests.cpp677 switch (test_case.function_type) in executeTestCases()
727 error_sstream << getFunctionName(test_case.function_type) << " call failed"; in executeTestCases()
771 switch (test_case.function_type) in executeTestCases()
830 * @param function_type Function type to use for the query.
833 * if @param function_type was not recognized.
835 std::string DrawElementsBaseVertexTestBase::getFunctionName(_function_type function_type) in getFunctionName() argument
839 switch (function_type) in getFunctionName()
901 } /* switch (function_type) */ in getFunctionName()
1722 new_test_case.function_type = (_function_type)n_function;
1851 new_test_case.function_type
[all...]
/third_party/googletest/googlemock/scripts/generator/cpp/
H A Dgmock_class.py114 function_type = (
121 if (isinstance(node, ast.Function) and node.modifiers & function_type and

Completed in 41 milliseconds

123