Searched refs:return_type (Results 1 - 21 of 21) sorted by relevance

/art/compiler/optimizing/
H A Doptimizing_unit_test.h84 Primitive::Type return_type = Primitive::kPrimInt) {
86 HGraphBuilder builder(graph, return_type);
H A Dcode_generator_arm64.h64 Location ARM64ReturnLocation(Primitive::Type return_type);
100 Location GetReturnLocation(Primitive::Type return_type);
115 Location GetReturnLocation(Primitive::Type return_type) { argument
116 return ARM64ReturnLocation(return_type);
130 Location GetReturnLocation(Primitive::Type return_type) { argument
131 return calling_convention.GetReturnLocation(return_type);
H A Dbuilder.h60 HGraphBuilder(HGraph* graph, Primitive::Type return_type = Primitive::kPrimInt)
72 return_type_(return_type),
H A Dconstant_folding_test.cc37 Primitive::Type return_type = Primitive::kPrimInt) {
40 HGraph* graph = CreateCFG(&allocator, data, return_type);
H A Dcode_generator_mips64.h102 Location GetReturnLocation(Primitive::Type return_type);
H A Dcode_generator_arm64.cc84 Location ARM64ReturnLocation(Primitive::Type return_type) { argument
85 DCHECK_NE(return_type, Primitive::kPrimVoid);
89 if (return_type == Primitive::kPrimFloat) {
91 } else if (return_type == Primitive::kPrimDouble) {
93 } else if (return_type == Primitive::kPrimLong) {
100 Location InvokeRuntimeCallingConvention::GetReturnLocation(Primitive::Type return_type) { argument
101 return ARM64ReturnLocation(return_type);
1930 Primitive::Type return_type = invoke->GetType(); local
1931 if (return_type != Primitive::kPrimVoid) {
1932 locations->SetOut(calling_convention_visitor.GetReturnLocation(return_type));
2516 Primitive::Type return_type = instruction->InputAt(0)->GetType(); local
[all...]
H A Dnodes.h2414 Primitive::Type return_type,
2420 return_type_(return_type),
2456 Primitive::Type return_type,
2467 return_type,
2556 Primitive::Type return_type,
2560 : HInvoke(arena, number_of_arguments, 0u, return_type, dex_pc, dex_method_index),
2582 Primitive::Type return_type,
2586 : HInvoke(arena, number_of_arguments, 0u, return_type, dex_pc, dex_method_index),
2411 HInvoke(ArenaAllocator* arena, uint32_t number_of_arguments, uint32_t number_of_other_inputs, Primitive::Type return_type, uint32_t dex_pc, uint32_t dex_method_index) argument
2454 HInvokeStaticOrDirect(ArenaAllocator* arena, uint32_t number_of_arguments, Primitive::Type return_type, uint32_t dex_pc, uint32_t dex_method_index, bool is_recursive, int32_t string_init_offset, InvokeType original_invoke_type, InvokeType invoke_type, ClinitCheckRequirement clinit_check_requirement) argument
2554 HInvokeVirtual(ArenaAllocator* arena, uint32_t number_of_arguments, Primitive::Type return_type, uint32_t dex_pc, uint32_t dex_method_index, uint32_t vtable_index) argument
2580 HInvokeInterface(ArenaAllocator* arena, uint32_t number_of_arguments, Primitive::Type return_type, uint32_t dex_pc, uint32_t dex_method_index, uint32_t imt_index) argument
H A Dbuilder.cc607 Primitive::Type return_type = Primitive::GetType(descriptor[0]); local
643 return_type = Primitive::kPrimNot;
654 arena_, number_of_arguments, return_type, dex_pc, method_idx, table_index);
657 arena_, number_of_arguments, return_type, dex_pc, method_idx, table_index);
736 arena_, number_of_arguments, return_type, dex_pc, target_method.dex_method_index,
H A Dcode_generator_mips64.cc45 Location Mips64ReturnLocation(Primitive::Type return_type) { argument
46 switch (return_type) {
2310 Primitive::Type return_type = invoke->GetType(); local
2311 if (return_type != Primitive::kPrimVoid) {
2312 locations->SetOut(calling_convention_visitor.GetReturnLocation(return_type));
2921 Primitive::Type return_type = ret->InputAt(0)->GetType(); local
2922 locations->SetInAt(0, Mips64ReturnLocation(return_type));
/art/compiler/utils/
H A Dtest_dex_file_builder.h67 AddType(proto_key.return_type);
185 Write16(raw_offset + 4u, GetTypeIdx(entry.first.return_type));
276 std::string return_type; member in struct:art::TestDexFileBuilder::ProtoKey
281 if (lhs.return_type != rhs.return_type) {
282 return lhs.return_type < rhs.return_type;
316 const char* return_type = args_end + 1; local
319 std::string() + ((*return_type == '[') ? 'L' : *return_type),
[all...]
/art/runtime/verifier/
H A Dmethod_verifier.cc1749 const RegType& return_type = GetMethodReturnType(); local
1750 if (!return_type.IsCategory1Types()) {
1752 << return_type;
1758 bool use_src = ((return_type.IsBoolean() && src_type.IsByte()) ||
1759 ((return_type.IsBoolean() || return_type.IsByte() ||
1760 return_type.IsShort() || return_type.IsChar()) &&
1764 work_line_->VerifyRegisterType(this, vregA, use_src ? src_type : return_type);
1774 const RegType& return_type local
1789 const RegType& return_type = GetMethodReturnType(); local
1815 << reg_type << " vs " << return_type; local
1821 << "', but expected from declaration '" << return_type << "'"; local
2405 const RegType* return_type = nullptr; local
2442 const RegType* return_type = nullptr; local
2532 const RegType& return_type = reg_types_.FromDescriptor(GetClassLoader(), descriptor, false); local
2589 const RegType& return_type = reg_types_.FromDescriptor(GetClassLoader(), descriptor, false); local
2886 const RegType& return_type = reg_types_.FromDescriptor(GetClassLoader(), descriptor, false); local
[all...]
/art/compiler/dex/
H A Dtype_inference.cc634 Type return_type = Type::DexType(dex_file, proto_id.return_type_idx_); local
647 return MethodSignature{ return_type, size, param_types }; // NOLINT
756 Type return_type = signatures_[mir->meta.method_lowering_info].return_type; local
757 DCHECK(return_type.IsDefined()); // Method return type can't be void.
758 sregs_[defs[0]] = return_type.AsNonNull();
759 if (return_type.Wide()) {
761 sregs_[defs[1]] = return_type.ToHighWord();
837 Type return_type = signature->return_type; local
[all...]
H A Dtype_inference.h354 Type return_type; member in struct:art::TypeInference::MethodSignature
/art/runtime/entrypoints/
H A Dentrypoint_utils.cc217 mirror::Class* return_type = self->GetCurrentMethod(nullptr)->GetReturnType(); local
219 if (!o->InstanceOf(return_type)) {
/art/compiler/dex/quick/
H A Ddex_file_method_inliner.h286 * The return_type and params are used with the IndexCache to look up
290 ClassCacheIndex return_type; member in struct:art::DexFileMethodInliner::ProtoDef
H A Ddex_file_method_inliner.cc750 uint32_t return_index = FindClassIndex(dex_file, cache, proto_def.return_type);
755 uint16_t return_type = static_cast<uint16_t>(return_index); local
756 DCHECK_EQ(static_cast<uint32_t>(return_type), return_index);
770 const DexFile::ProtoId* proto_id = dex_file->FindProtoId(return_type, signature_type_idxs,
/art/runtime/
H A Dutils.cc341 const char* return_type = strchr(signature, ')'); local
342 CHECK(return_type != nullptr);
343 ++return_type; // Skip ')'.
344 return PrettyDescriptor(return_type);
H A Ddex_file_verifier.cc1553 LOAD_STRING_BY_TYPE(return_type, item->return_type_idx_, "inter_proto_id_item return_type_idx")
1554 if (!CheckShortyDescriptorMatch(*shorty, return_type, true)) {
H A Dclass_linker.cc3804 std::string return_type = PrettyType(return_type_idx, *dex_file); local
3813 return_type.c_str(), class_loader.c_str());
3859 Handle<mirror::Class> return_type(hs.NewHandle(method1->GetReturnType()));
3860 if (UNLIKELY(return_type.Get() == nullptr)) {
3869 if (UNLIKELY(other_return_type != return_type.Get())) {
3872 PrettyClassAndClassLoader(return_type.Get()).c_str(),
3873 return_type.Get(),
/art/runtime/interpreter/
H A Dinterpreter_goto_table_impl.cc319 Class* return_type = shadow_frame.GetMethod()->GetReturnType(); local
321 if (return_type == nullptr) {
325 if (!obj_result->VerifierInstanceOf(return_type)) {
331 return_type->GetDescriptor(&temp2));
H A Dinterpreter_switch_impl.cc223 Class* return_type = shadow_frame.GetMethod()->GetReturnType(); local
226 if (return_type == nullptr) {
230 if (!obj_result->VerifierInstanceOf(return_type)) {
236 return_type->GetDescriptor(&temp2));

Completed in 2895 milliseconds