/art/runtime/arch/arm64/ |
D | quick_method_frame_info_arm64.h | 62 constexpr uint32_t Arm64CalleeSaveCoreSpills(Runtime::CalleeSaveType type) { in Arm64CalleeSaveCoreSpills() argument 64 (type == Runtime::kRefsAndArgs ? kArm64CalleeSaveArgSpills : 0) | in Arm64CalleeSaveCoreSpills() 65 (type == Runtime::kSaveAll ? kArm64CalleeSaveAllSpills : 0); in Arm64CalleeSaveCoreSpills() 68 constexpr uint32_t Arm64CalleeSaveFpSpills(Runtime::CalleeSaveType type) { in Arm64CalleeSaveFpSpills() argument 70 (type == Runtime::kRefsAndArgs ? kArm64CalleeSaveFpArgSpills: 0) | in Arm64CalleeSaveFpSpills() 71 (type == Runtime::kSaveAll ? kArm64FpAllSpills : 0); in Arm64CalleeSaveFpSpills() 74 constexpr uint32_t Arm64CalleeSaveFrameSize(Runtime::CalleeSaveType type) { in Arm64CalleeSaveFrameSize() argument 75 return RoundUp((POPCOUNT(Arm64CalleeSaveCoreSpills(type)) /* gprs */ + in Arm64CalleeSaveFrameSize() 76 POPCOUNT(Arm64CalleeSaveFpSpills(type)) /* fprs */ + in Arm64CalleeSaveFrameSize() 80 constexpr QuickMethodFrameInfo Arm64CalleeSaveMethodFrameInfo(Runtime::CalleeSaveType type) { in Arm64CalleeSaveMethodFrameInfo() argument [all …]
|
/art/runtime/arch/arm/ |
D | quick_method_frame_info_arm.h | 45 constexpr uint32_t ArmCalleeSaveCoreSpills(Runtime::CalleeSaveType type) { in ArmCalleeSaveCoreSpills() argument 46 return kArmCalleeSaveRefSpills | (type == Runtime::kRefsAndArgs ? kArmCalleeSaveArgSpills : 0) | in ArmCalleeSaveCoreSpills() 47 (type == Runtime::kSaveAll ? kArmCalleeSaveAllSpills : 0) | (1 << art::arm::LR); in ArmCalleeSaveCoreSpills() 50 constexpr uint32_t ArmCalleeSaveFpSpills(Runtime::CalleeSaveType type) { in ArmCalleeSaveFpSpills() argument 51 return type == Runtime::kSaveAll ? kArmCalleeSaveFpAllSpills : 0; in ArmCalleeSaveFpSpills() 54 constexpr uint32_t ArmCalleeSaveFrameSize(Runtime::CalleeSaveType type) { in ArmCalleeSaveFrameSize() argument 55 return RoundUp((POPCOUNT(ArmCalleeSaveCoreSpills(type)) /* gprs */ + in ArmCalleeSaveFrameSize() 56 POPCOUNT(ArmCalleeSaveFpSpills(type)) /* fprs */ + in ArmCalleeSaveFrameSize() 60 constexpr QuickMethodFrameInfo ArmCalleeSaveMethodFrameInfo(Runtime::CalleeSaveType type) { in ArmCalleeSaveMethodFrameInfo() argument 61 return QuickMethodFrameInfo(ArmCalleeSaveFrameSize(type), in ArmCalleeSaveMethodFrameInfo() [all …]
|
D | asm_support_arm.S | 35 .type \name, #function 47 .type \name, #function 59 .type \name, #function 73 .type \name, #function
|
/art/runtime/ |
D | primitive.h | 46 static Type GetType(char type) { in GetType() argument 47 switch (type) { in GetType() 71 static size_t ComponentSize(Type type) { in ComponentSize() argument 72 switch (type) { in ComponentSize() 84 LOG(FATAL) << "Invalid type " << static_cast<int>(type); in ComponentSize() 89 static size_t FieldSize(Type type) { in FieldSize() argument 90 return ComponentSize(type) <= 4 ? 4 : 8; in FieldSize() 93 static const char* Descriptor(Type type) { in Descriptor() argument 94 switch (type) { in Descriptor() 114 LOG(FATAL) << "Primitive char conversion on invalid type " << static_cast<int>(type); in Descriptor()
|
D | field_helper.cc | 35 mirror::Class* type = field_->GetDexCache()->GetResolvedType(field_id.type_idx_); in GetType() local 36 if (resolve && (type == nullptr)) { in GetType() 37 type = Runtime::Current()->GetClassLinker()->ResolveType(field_id.type_idx_, field_.Get()); in GetType() 38 CHECK(type != nullptr || Thread::Current()->IsExceptionPending()); in GetType() 40 return type; in GetType()
|
D | primitive.cc | 33 std::ostream& operator<<(std::ostream& os, const Primitive::Type& type) { in operator <<() argument 34 int32_t int_type = static_cast<int32_t>(type); in operator <<() 35 if (type >= Primitive::kPrimNot && type <= Primitive::kPrimVoid) { in operator <<()
|
D | runtime-inl.h | 63 inline mirror::ArtMethod* Runtime::GetCalleeSaveMethod(CalleeSaveType type) in GetCalleeSaveMethod() argument 65 DCHECK(HasCalleeSaveMethod(type)); in GetCalleeSaveMethod() 66 return callee_save_methods_[type].Read(); in GetCalleeSaveMethod() 69 inline mirror::ArtMethod* Runtime::GetCalleeSaveMethodUnchecked(CalleeSaveType type) in GetCalleeSaveMethodUnchecked() argument 71 return callee_save_methods_[type].Read(); in GetCalleeSaveMethodUnchecked()
|
D | method_helper-inl.h | 48 mirror::Class* type = method->GetDexCacheResolvedType(type_idx); in GetClassFromTypeIdx() local 49 if (type == nullptr && resolve) { in GetClassFromTypeIdx() 50 type = Runtime::Current()->GetClassLinker()->ResolveType(type_idx, method); in GetClassFromTypeIdx() 51 CHECK(type != nullptr || Thread::Current()->IsExceptionPending()); in GetClassFromTypeIdx() 53 return type; in GetClassFromTypeIdx()
|
D | dex_file_verifier.h | 75 bool CheckIntraSectionIterate(size_t offset, uint32_t count, uint16_t type); 76 bool CheckIntraIdSection(size_t offset, uint32_t count, uint16_t type); 77 bool CheckIntraDataSection(size_t offset, uint32_t count, uint16_t type); 80 bool CheckOffsetToTypeMap(size_t offset, uint16_t type); 98 bool CheckInterSectionIterate(size_t offset, uint32_t count, uint16_t type);
|
/art/runtime/arch/x86_64/ |
D | quick_method_frame_info_x86_64.h | 41 constexpr uint32_t X86_64CalleeSaveCoreSpills(Runtime::CalleeSaveType type) { in X86_64CalleeSaveCoreSpills() argument 43 (type == Runtime::kRefsAndArgs ? kX86_64CalleeSaveArgSpills : 0) | in X86_64CalleeSaveCoreSpills() 47 constexpr uint32_t X86_64CalleeSaveFpSpills(Runtime::CalleeSaveType type) { in X86_64CalleeSaveFpSpills() argument 49 (type == Runtime::kRefsAndArgs ? kX86_64CalleeSaveFpArgSpills : 0); in X86_64CalleeSaveFpSpills() 52 constexpr uint32_t X86_64CalleeSaveFrameSize(Runtime::CalleeSaveType type) { in X86_64CalleeSaveFrameSize() argument 53 return RoundUp((POPCOUNT(X86_64CalleeSaveCoreSpills(type)) /* gprs */ + in X86_64CalleeSaveFrameSize() 54 POPCOUNT(X86_64CalleeSaveFpSpills(type)) /* fprs */ + in X86_64CalleeSaveFrameSize() 58 constexpr QuickMethodFrameInfo X86_64CalleeSaveMethodFrameInfo(Runtime::CalleeSaveType type) { in X86_64CalleeSaveMethodFrameInfo() argument 59 return QuickMethodFrameInfo(X86_64CalleeSaveFrameSize(type), in X86_64CalleeSaveMethodFrameInfo() 60 X86_64CalleeSaveCoreSpills(type), in X86_64CalleeSaveMethodFrameInfo() [all …]
|
/art/runtime/entrypoints/quick/ |
D | callee_save_frame.h | 39 Runtime::CalleeSaveType type) in FinishCalleeSaveFrameSetup() argument 43 sp->Assign(Runtime::Current()->GetCalleeSaveMethod(type)); in FinishCalleeSaveFrameSetup() 48 static constexpr size_t GetCalleeSaveFrameSize(InstructionSet isa, Runtime::CalleeSaveType type) { in GetCalleeSaveFrameSize() argument 50 return (isa == kArm || isa == kThumb2) ? arm::ArmCalleeSaveFrameSize(type) : in GetCalleeSaveFrameSize() 51 isa == kArm64 ? arm64::Arm64CalleeSaveFrameSize(type) : in GetCalleeSaveFrameSize() 52 isa == kMips ? mips::MipsCalleeSaveFrameSize(type) : in GetCalleeSaveFrameSize() 53 isa == kX86 ? x86::X86CalleeSaveFrameSize(type) : in GetCalleeSaveFrameSize() 54 isa == kX86_64 ? x86_64::X86_64CalleeSaveFrameSize(type) : in GetCalleeSaveFrameSize() 72 static constexpr size_t GetCalleeSavePCOffset(InstructionSet isa, Runtime::CalleeSaveType type) { in GetCalleeSavePCOffset() argument 73 return GetCalleeSaveFrameSize(isa, type) - GetConstExprPointerSize(isa); in GetCalleeSavePCOffset()
|
D | quick_trampoline_entrypoints_test.cc | 29 Runtime::CalleeSaveType type) in CreateCalleeSaveMethod() argument 37 mirror::ArtMethod* save_method = r->CreateCalleeSaveMethod(type); in CreateCalleeSaveMethod() 38 r->SetCalleeSaveMethod(save_method, type); in CreateCalleeSaveMethod() 45 static void CheckFrameSize(InstructionSet isa, Runtime::CalleeSaveType type, uint32_t save_size) in CheckFrameSize() argument 47 mirror::ArtMethod* save_method = CreateCalleeSaveMethod(isa, type); in CheckFrameSize() 50 << type << " core spills=" << std::hex << frame_info.CoreSpillMask() << " fp spills=" in CheckFrameSize() 54 static void CheckPCOffset(InstructionSet isa, Runtime::CalleeSaveType type, size_t pc_offset) in CheckPCOffset() argument 56 mirror::ArtMethod* save_method = CreateCalleeSaveMethod(isa, type); in CheckPCOffset() 59 " differs for " << type << " core spills=" << std::hex << frame_info.CoreSpillMask() << in CheckPCOffset()
|
/art/runtime/arch/mips/ |
D | quick_method_frame_info_mips.h | 35 constexpr uint32_t MipsCalleeSaveCoreSpills(Runtime::CalleeSaveType type) { in MipsCalleeSaveCoreSpills() argument 37 (type == Runtime::kRefsAndArgs ? kMipsCalleeSaveArgSpills : 0) | in MipsCalleeSaveCoreSpills() 38 (type == Runtime::kSaveAll ? kMipsCalleeSaveAllSpills : 0) | (1 << art::mips::RA); in MipsCalleeSaveCoreSpills() 41 constexpr uint32_t MipsCalleeSaveFrameSize(Runtime::CalleeSaveType type) { in MipsCalleeSaveFrameSize() argument 42 return RoundUp((POPCOUNT(MipsCalleeSaveCoreSpills(type)) /* gprs */ + in MipsCalleeSaveFrameSize() 43 (type == Runtime::kRefsAndArgs ? 0 : 3) + 1 /* Method* */) * in MipsCalleeSaveFrameSize() 47 constexpr QuickMethodFrameInfo MipsCalleeSaveMethodFrameInfo(Runtime::CalleeSaveType type) { in MipsCalleeSaveMethodFrameInfo() argument 48 return QuickMethodFrameInfo(MipsCalleeSaveFrameSize(type), in MipsCalleeSaveMethodFrameInfo() 49 MipsCalleeSaveCoreSpills(type), in MipsCalleeSaveMethodFrameInfo()
|
/art/runtime/arch/x86/ |
D | quick_method_frame_info_x86.h | 32 constexpr uint32_t X86CalleeSaveCoreSpills(Runtime::CalleeSaveType type) { in X86CalleeSaveCoreSpills() argument 33 return kX86CalleeSaveRefSpills | (type == Runtime::kRefsAndArgs ? kX86CalleeSaveArgSpills : 0) | in X86CalleeSaveCoreSpills() 37 constexpr uint32_t X86CalleeSaveFrameSize(Runtime::CalleeSaveType type) { in X86CalleeSaveFrameSize() argument 38 return RoundUp((POPCOUNT(X86CalleeSaveCoreSpills(type)) /* gprs */ + in X86CalleeSaveFrameSize() 42 constexpr QuickMethodFrameInfo X86CalleeSaveMethodFrameInfo(Runtime::CalleeSaveType type) { in X86CalleeSaveMethodFrameInfo() argument 43 return QuickMethodFrameInfo(X86CalleeSaveFrameSize(type), in X86CalleeSaveMethodFrameInfo() 44 X86CalleeSaveCoreSpills(type), in X86CalleeSaveMethodFrameInfo()
|
/art/compiler/llvm/ |
D | ir_builder.cc | 41 ::llvm::Type* type = module.getTypeByName("Method"); in IRBuilder() 42 if (type != NULL) { in IRBuilder() 43 java_method_type_ = type->getPointerTo(); in IRBuilder() 49 type = module.getTypeByName("Thread"); in IRBuilder() 50 if (type != NULL) { in IRBuilder() 51 java_thread_type_ = type->getPointerTo(); in IRBuilder() 114 if (::llvm::Type* type = module_->getTypeByName(name)) { in getShadowFrameTy() 115 CHECK(::llvm::isa< ::llvm::StructType>(type)); in getShadowFrameTy() 116 return static_cast< ::llvm::StructType*>(type); in getShadowFrameTy()
|
D | intrinsic_helper.cc | 41 IntrinsicHelper::IntrinsicValType type) { in GetLLVMTypeOfIntrinsicValType() argument 42 switch (type) { in GetLLVMTypeOfIntrinsicValType() 86 LOG(FATAL) << "Invalid intrinsic type " << type << "to get LLVM type!"; in GetLLVMTypeOfIntrinsicValType() 113 IntrinsicValType type = info.arg_type_[arg_iter]; in IntrinsicHelper() local 115 if (type == kNone) { in IntrinsicHelper() 117 } else if (type == kVarArgTy) { in IntrinsicHelper() 123 arg_type[num_args++] = GetLLVMTypeOfIntrinsicValType(irb, type); in IntrinsicHelper() 130 ::llvm::FunctionType* type = in IntrinsicHelper() 136 ::llvm::Function *fn = ::llvm::Function::Create(type, in IntrinsicHelper()
|
D | runtime_support_builder_arm.cc | 41 char LDRSTRSuffixByType(art::llvm::IRBuilder& irb, Type* type) { in LDRSTRSuffixByType() argument 42 int width = type->isPointerTy() ? in LDRSTRSuffixByType() 44 ::llvm::cast<IntegerType>(type)->getBitWidth(); in LDRSTRSuffixByType() 71 Value* RuntimeSupportBuilderARM::EmitLoadFromThreadOffset(int64_t offset, ::llvm::Type* type, in EmitLoadFromThreadOffset() argument 73 FunctionType* func_ty = FunctionType::get(/*Result=*/type, in EmitLoadFromThreadOffset() 76 LDRSTRSuffixByType(irb_, type), in EmitLoadFromThreadOffset()
|
/art/runtime/entrypoints/ |
D | entrypoint_utils-inl.h | 257 template<FindFieldType type, bool access_check> 263 switch (type) { in FindFieldFromCode() 352 template<InvokeType type, bool access_check> 357 mirror::ArtMethod* resolved_method = class_linker->GetResolvedMethod(method_idx, *referrer, type); in FindMethodFromCode() 362 hs.NewHandleWrapper(type == kStatic ? &null_this : this_object)); in FindMethodFromCode() 363 resolved_method = class_linker->ResolveMethod(self, method_idx, referrer, type); in FindMethodFromCode() 368 } else if (UNLIKELY(*this_object == nullptr && type != kStatic)) { in FindMethodFromCode() 373 ThrowNullPointerExceptionForMethodAccess(throw_location, method_idx, type); in FindMethodFromCode() 377 if (UNLIKELY(resolved_method->CheckIncompatibleClassChange(type))) { in FindMethodFromCode() 378 ThrowIncompatibleClassChangeError(type, resolved_method->GetInvokeType(), resolved_method, in FindMethodFromCode() [all …]
|
/art/compiler/dex/ |
D | local_value_numbering.h | 168 uint16_t type; member 173 return base == other.base && type == other.type && field_id == other.field_id; 186 if (lhs.type != rhs.type) { in operator() 187 return lhs.type < rhs.type; in operator() 198 uint16_t type; member 202 return base == other.base && type == other.type; 212 return lhs.type < rhs.type; in operator() 297 bool IsNonAliasingIField(uint16_t reg, uint16_t field_id, uint16_t type) const; 298 bool IsNonAliasingArray(uint16_t reg, uint16_t type) const; 310 void RemoveSFieldsForType(uint16_t type);
|
D | pass_me.h | 69 explicit PassME(const char* name, DataFlowAnalysisMode type = kAllNodes, 71 : Pass(name), traversal_type_(type), flags_(flags), dump_cfg_folder_(dump) { in Pass() 74 PassME(const char* name, DataFlowAnalysisMode type, const char* dump) in PassME() argument 75 : Pass(name), traversal_type_(type), flags_(0), dump_cfg_folder_(dump) { in PassME()
|
D | local_value_numbering.cc | 59 uint16_t type = gvn->GetFieldType(field_id); in StartMemoryVersion() local 61 lvn->global_memory_version_, lvn->unresolved_ifield_version_[type]); in StartMemoryVersion() 78 uint16_t type = gvn->GetFieldType(field_id); in LookupMergeValue() local 79 if (lvn->IsNonAliasingIField(base, field_id, type)) { in LookupMergeValue() 80 uint16_t loc = gvn->LookupValue(kNonAliasingIFieldLocOp, base, field_id, type); in LookupMergeValue() 92 uint16_t type = gvn->GetFieldType(field_id); in HasNewBaseVersion() local 93 return lvn->unresolved_ifield_version_[type] == lvn->merge_new_memory_version_ || in HasNewBaseVersion() 151 uint16_t type) { in StartMemoryVersion() argument 152 return gvn->LookupValue(kAliasingArrayStartVersionOp, type, lvn->global_memory_version_, in StartMemoryVersion() 163 uint16_t type, uint16_t location, uint16_t memory_version) { in LookupGlobalValue() argument [all …]
|
/art/compiler/sea_ir/types/ |
D | type_inference_visitor.cc | 86 const Type* type = NULL; in MergeTypes() local 88 type = *(types.begin()); in MergeTypes() 92 if (!type->Equals(**cit)) { in MergeTypes() 93 type = MergeTypes(type, *cit); in MergeTypes() 98 return type; in MergeTypes()
|
/art/runtime/mirror/ |
D | art_field-inl.h | 171 Primitive::Type type = GetTypeAsPrimitiveType(); in GetInt() local 172 CHECK(type == Primitive::kPrimInt || type == Primitive::kPrimFloat) << PrettyField(this); in GetInt() 180 Primitive::Type type = GetTypeAsPrimitiveType(); in SetInt() local 181 CHECK(type == Primitive::kPrimInt || type == Primitive::kPrimFloat) << PrettyField(this); in SetInt() 188 Primitive::Type type = GetTypeAsPrimitiveType(); in GetLong() local 189 CHECK(type == Primitive::kPrimLong || type == Primitive::kPrimDouble) << PrettyField(this); in GetLong() 197 Primitive::Type type = GetTypeAsPrimitiveType(); in SetLong() local 198 CHECK(type == Primitive::kPrimLong || type == Primitive::kPrimDouble) << PrettyField(this); in SetLong()
|
/art/compiler/ |
D | elf_writer_quick.h | 58 ElfSectionBuilder(const std::string& sec_name, Elf32_Word type, Elf32_Word flags, in ElfSectionBuilder() argument 63 section_.sh_type = type; in ElfSectionBuilder() 123 ElfRawSectionBuilder(const std::string& sec_name, Elf32_Word type, Elf32_Word flags, in ElfRawSectionBuilder() argument 126 : ElfSectionBuilder(sec_name, type, flags, link, info, align, entsize) {} in ElfRawSectionBuilder() 141 Elf32_Word type, Elf32_Word flags) in ElfOatSectionBuilder() argument 142 : ElfSectionBuilder(sec_name, type, flags, NULL, 0, kPageSize, 0), in ElfOatSectionBuilder() 166 uint8_t type, 169 ElfSymtabBuilder(const std::string& sec_name, Elf32_Word type, in ElfSymtabBuilder() argument 171 : ElfSectionBuilder(sec_name, type, ((alloc) ? SHF_ALLOC : 0U), &strtab_, 0, in ElfSymtabBuilder()
|
/art/test/046-reflect/ |
D | expected.txt | 6 Return type is int 11 Return type is int 15 Return type is void 22 Return type is int 38 Field type is java.lang.String 51 Field type is int 64 Field type is int 69 Field type is double 76 Field type is java.lang.String 81 Field type is int
|