Home
last modified time | relevance | path

Searched refs:function_type (Results 1 – 25 of 55) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
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 = _.FindDef(function_type_id); in ValidateFunctionCall() local
246 if (!function_type || function_type->opcode() != SpvOpTypeFunction) { in ValidateFunctionCall()
[all …]
/third_party/spirv-tools/source/val/
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()
244 const auto function_type = _.FindDef(function_type_id); in ValidateFunctionCall() local
245 if (!function_type || function_type->opcode() != SpvOpTypeFunction) { in ValidateFunctionCall()
[all …]
/third_party/skia/third_party/externals/spirv-tools/source/val/
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 = _.FindDef(function_type_id); in ValidateFunctionCall() local
246 if (!function_type || function_type->opcode() != SpvOpTypeFunction) { in ValidateFunctionCall()
[all …]
/third_party/spirv-tools/source/fuzz/
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()
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->AsVoid()) { in Apply()
[all …]
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/
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()
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->AsVoid()) { in Apply()
[all …]
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/spirv-tools/source/fuzz/
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()
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->AsVoid()) { in Apply()
[all …]
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/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_intr.c108 LLVMTypeRef function_type) in lp_declare_intrinsic_with_type() argument
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()
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()
Dlp_bld_const.c451 LLVMTypeRef function_type, in lp_build_const_func_pointer_from_type() argument
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()
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()
Dlp_bld_intr.h86 LLVMTypeRef function_type);
/third_party/libabigail/include/
Dabg-fwd.h172 class function_type; variable
174 typedef shared_ptr<function_type> function_type_sptr;
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&, bool internal = false);
995 get_pretty_representation(const function_type*, bool internal = false);
1306 lookup_function_type(const function_type&,
[all …]
Dabg-ir.h262 friend class function_type; variable
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
3278 function_type();
3282 function_type(type_base_sptr return_type,
3287 function_type(type_base_sptr return_type,
[all …]
/third_party/libabigail/src/
Dabg-ir-priv.h642 function_type* c = reinterpret_cast<function_type*>(p.first); in dump_fn_types_being_compared()
1307 struct function_type::priv
1336 mark_as_being_compared(const function_type& first, in mark_as_being_compared()
1337 const function_type& second) const in mark_as_being_compared()
1353 unmark_as_being_compared(const function_type& first, in unmark_as_being_compared()
1354 const function_type& second) const in unmark_as_being_compared()
1368 comparison_started(const function_type& first, in comparison_started()
1369 const function_type& second) const in comparison_started()
Dabg-hash.cc501 function_type::hash::operator()(const function_type& t) const in operator ()()
523 function_type::hash::operator()(const function_type* t) const in operator ()()
539 function_type::hash::operator()(const function_type_sptr t) const in operator ()()
1027 if (const function_type* d = dynamic_cast<const function_type*>(t)) in operator ()()
1028 return function_type::hash()(*d); in operator ()()
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& fn_type, bool internal) in get_pretty_representation()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/glesext/draw_elements_base_vertex/
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);
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()
835 std::string DrawElementsBaseVertexTestBase::getFunctionName(_function_type function_type) in getFunctionName() argument
839 switch (function_type) in getFunctionName()
1722 new_test_case.function_type = (_function_type)n_function; in setUpTestCases()
1851 new_test_case.function_type = (_function_type)n_function; in setUpTestCases()
1978 new_test_case.function_type = (_function_type)n_function; in setUpTestCases()
2239 new_test_case.function_type = (_function_type)n_function; in setUpTestCases()
2404 new_test_case.function_type = (_function_type)n_function; in setUpTestCases()
/third_party/googletest/googlemock/scripts/generator/cpp/
Dgmock_class.py114 function_type = (
121 if (isinstance(node, ast.Function) and node.modifiers & function_type and

123