/art/runtime/ |
H A D | primitive.cc | 33 std::ostream& operator<<(std::ostream& os, const Primitive::Type& type) { argument 34 int32_t int_type = static_cast<int32_t>(type); 35 if (type >= Primitive::kPrimNot && type <= Primitive::kPrimVoid) {
|
H A D | primitive.h | 46 static Type GetType(char type) { argument 47 switch (type) { 71 static size_t ComponentSize(Type type) { argument 72 switch (type) { 84 LOG(FATAL) << "Invalid type " << static_cast<int>(type); 89 static size_t FieldSize(Type type) { argument 90 return ComponentSize(type) <= 4 ? 4 : 8; 93 static const char* Descriptor(Type type) { argument 94 switch (type) { [all...] |
H A D | field_helper.cc | 35 mirror::Class* type = field_->GetDexCache()->GetResolvedType(field_id.type_idx_); local 36 if (resolve && (type == nullptr)) { 37 type = Runtime::Current()->GetClassLinker()->ResolveType(field_id.type_idx_, field_.Get()); 38 CHECK(type != nullptr || Thread::Current()->IsExceptionPending()); 40 return type;
|
H A D | runtime-inl.h | 63 inline mirror::ArtMethod* Runtime::GetCalleeSaveMethod(CalleeSaveType type) 65 DCHECK(HasCalleeSaveMethod(type)); 66 return callee_save_methods_[type].Read(); 69 inline mirror::ArtMethod* Runtime::GetCalleeSaveMethodUnchecked(CalleeSaveType type) 71 return callee_save_methods_[type].Read();
|
H A D | method_helper-inl.h | 48 mirror::Class* type = method->GetDexCacheResolvedType(type_idx); local 49 if (type == nullptr && resolve) { 50 type = Runtime::Current()->GetClassLinker()->ResolveType(type_idx, method); 51 CHECK(type != nullptr || Thread::Current()->IsExceptionPending()); 53 return type;
|
/art/runtime/arch/x86/ |
H A D | quick_method_frame_info_x86.h | 32 constexpr uint32_t X86CalleeSaveCoreSpills(Runtime::CalleeSaveType type) { argument 33 return kX86CalleeSaveRefSpills | (type == Runtime::kRefsAndArgs ? kX86CalleeSaveArgSpills : 0) | 37 constexpr uint32_t X86CalleeSaveFrameSize(Runtime::CalleeSaveType type) { argument 38 return RoundUp((POPCOUNT(X86CalleeSaveCoreSpills(type)) /* gprs */ + 42 constexpr QuickMethodFrameInfo X86CalleeSaveMethodFrameInfo(Runtime::CalleeSaveType type) { argument 43 return QuickMethodFrameInfo(X86CalleeSaveFrameSize(type), 44 X86CalleeSaveCoreSpills(type),
|
/art/runtime/entrypoints/quick/ |
H A D | callee_save_frame.h | 37 // Place a special frame at the TOS that will save the callee saves for the given type. 39 Runtime::CalleeSaveType type) 43 sp->Assign(Runtime::Current()->GetCalleeSaveMethod(type)); 48 static constexpr size_t GetCalleeSaveFrameSize(InstructionSet isa, Runtime::CalleeSaveType type) { argument 50 return (isa == kArm || isa == kThumb2) ? arm::ArmCalleeSaveFrameSize(type) : 51 isa == kArm64 ? arm64::Arm64CalleeSaveFrameSize(type) : 52 isa == kMips ? mips::MipsCalleeSaveFrameSize(type) : 53 isa == kX86 ? x86::X86CalleeSaveFrameSize(type) : 54 isa == kX86_64 ? x86_64::X86_64CalleeSaveFrameSize(type) : 72 static constexpr size_t GetCalleeSavePCOffset(InstructionSet isa, Runtime::CalleeSaveType type) { argument [all...] |
H A D | quick_trampoline_entrypoints_test.cc | 29 Runtime::CalleeSaveType type) 37 mirror::ArtMethod* save_method = r->CreateCalleeSaveMethod(type); 38 r->SetCalleeSaveMethod(save_method, type); 45 static void CheckFrameSize(InstructionSet isa, Runtime::CalleeSaveType type, uint32_t save_size) 47 mirror::ArtMethod* save_method = CreateCalleeSaveMethod(isa, type); 50 << type << " core spills=" << std::hex << frame_info.CoreSpillMask() << " fp spills=" 54 static void CheckPCOffset(InstructionSet isa, Runtime::CalleeSaveType type, size_t pc_offset) 56 mirror::ArtMethod* save_method = CreateCalleeSaveMethod(isa, type); 59 " differs for " << type << " core spills=" << std::hex << frame_info.CoreSpillMask() <<
|
/art/runtime/arch/mips/ |
H A D | quick_method_frame_info_mips.h | 35 constexpr uint32_t MipsCalleeSaveCoreSpills(Runtime::CalleeSaveType type) { argument 37 (type == Runtime::kRefsAndArgs ? kMipsCalleeSaveArgSpills : 0) | 38 (type == Runtime::kSaveAll ? kMipsCalleeSaveAllSpills : 0) | (1 << art::mips::RA); 41 constexpr uint32_t MipsCalleeSaveFrameSize(Runtime::CalleeSaveType type) { argument 42 return RoundUp((POPCOUNT(MipsCalleeSaveCoreSpills(type)) /* gprs */ + 43 (type == Runtime::kRefsAndArgs ? 0 : 3) + 1 /* Method* */) * 47 constexpr QuickMethodFrameInfo MipsCalleeSaveMethodFrameInfo(Runtime::CalleeSaveType type) { argument 48 return QuickMethodFrameInfo(MipsCalleeSaveFrameSize(type), 49 MipsCalleeSaveCoreSpills(type),
|
H A D | asm_support_mips.S | 32 .type \name, %function
|
/art/runtime/arch/arm64/ |
H A D | quick_method_frame_info_arm64.h | 62 constexpr uint32_t Arm64CalleeSaveCoreSpills(Runtime::CalleeSaveType type) { argument 64 (type == Runtime::kRefsAndArgs ? kArm64CalleeSaveArgSpills : 0) | 65 (type == Runtime::kSaveAll ? kArm64CalleeSaveAllSpills : 0); 68 constexpr uint32_t Arm64CalleeSaveFpSpills(Runtime::CalleeSaveType type) { argument 70 (type == Runtime::kRefsAndArgs ? kArm64CalleeSaveFpArgSpills: 0) | 71 (type == Runtime::kSaveAll ? kArm64FpAllSpills : 0); 74 constexpr uint32_t Arm64CalleeSaveFrameSize(Runtime::CalleeSaveType type) { argument 75 return RoundUp((POPCOUNT(Arm64CalleeSaveCoreSpills(type)) /* gprs */ + 76 POPCOUNT(Arm64CalleeSaveFpSpills(type)) /* fprs */ + 80 constexpr QuickMethodFrameInfo Arm64CalleeSaveMethodFrameInfo(Runtime::CalleeSaveType type) { argument 86 Arm64CalleeSaveFpr1Offset(Runtime::CalleeSaveType type) argument 92 Arm64CalleeSaveGpr1Offset(Runtime::CalleeSaveType type) argument 97 Arm64CalleeSaveLrOffset(Runtime::CalleeSaveType type) argument [all...] |
H A D | asm_support_arm64.S | 46 .type \name, #function 56 .type \name, #function
|
/art/runtime/arch/arm/ |
H A D | quick_method_frame_info_arm.h | 45 constexpr uint32_t ArmCalleeSaveCoreSpills(Runtime::CalleeSaveType type) { argument 46 return kArmCalleeSaveRefSpills | (type == Runtime::kRefsAndArgs ? kArmCalleeSaveArgSpills : 0) | 47 (type == Runtime::kSaveAll ? kArmCalleeSaveAllSpills : 0) | (1 << art::arm::LR); 50 constexpr uint32_t ArmCalleeSaveFpSpills(Runtime::CalleeSaveType type) { argument 51 return type == Runtime::kSaveAll ? kArmCalleeSaveFpAllSpills : 0; 54 constexpr uint32_t ArmCalleeSaveFrameSize(Runtime::CalleeSaveType type) { argument 55 return RoundUp((POPCOUNT(ArmCalleeSaveCoreSpills(type)) /* gprs */ + 56 POPCOUNT(ArmCalleeSaveFpSpills(type)) /* fprs */ + 60 constexpr QuickMethodFrameInfo ArmCalleeSaveMethodFrameInfo(Runtime::CalleeSaveType type) { argument 61 return QuickMethodFrameInfo(ArmCalleeSaveFrameSize(type), 66 ArmCalleeSaveFpr1Offset(Runtime::CalleeSaveType type) argument 72 ArmCalleeSaveGpr1Offset(Runtime::CalleeSaveType type) argument 77 ArmCalleeSaveLrOffset(Runtime::CalleeSaveType type) argument [all...] |
H A D | asm_support_arm.S | 35 .type \name, #function 47 .type \name, #function 59 .type \name, #function 73 .type \name, #function
|
/art/runtime/arch/x86_64/ |
H A D | quick_method_frame_info_x86_64.h | 41 constexpr uint32_t X86_64CalleeSaveCoreSpills(Runtime::CalleeSaveType type) { argument 43 (type == Runtime::kRefsAndArgs ? kX86_64CalleeSaveArgSpills : 0) | 47 constexpr uint32_t X86_64CalleeSaveFpSpills(Runtime::CalleeSaveType type) { argument 49 (type == Runtime::kRefsAndArgs ? kX86_64CalleeSaveFpArgSpills : 0); 52 constexpr uint32_t X86_64CalleeSaveFrameSize(Runtime::CalleeSaveType type) { argument 53 return RoundUp((POPCOUNT(X86_64CalleeSaveCoreSpills(type)) /* gprs */ + 54 POPCOUNT(X86_64CalleeSaveFpSpills(type)) /* fprs */ + 58 constexpr QuickMethodFrameInfo X86_64CalleeSaveMethodFrameInfo(Runtime::CalleeSaveType type) { argument 59 return QuickMethodFrameInfo(X86_64CalleeSaveFrameSize(type), 60 X86_64CalleeSaveCoreSpills(type), [all...] |
/art/compiler/llvm/ |
H A D | ir_builder.cc | 35 // Get java object type from module 40 // If type of Method is not explicitly defined in the module, use JavaObject* 41 ::llvm::Type* type = module.getTypeByName("Method"); local 42 if (type != NULL) { 43 java_method_type_ = type->getPointerTo(); 48 // If type of Thread is not explicitly defined in the module, use JavaObject* 49 type = module.getTypeByName("Thread"); 50 if (type != NULL) { 51 java_thread_type_ = type->getPointerTo(); 56 // Create JEnv* type [all...] |
H A D | intrinsic_helper.cc | 41 IntrinsicHelper::IntrinsicValType type) { 42 switch (type) { 86 LOG(FATAL) << "Invalid intrinsic type " << type << "to get LLVM type!"; 108 // Parse and construct the argument type from IntrinsicInfo 113 IntrinsicValType type = info.arg_type_[arg_iter]; local 115 if (type == kNone) { 117 } else if (type == kVarArgTy) { 118 // Variable argument type mus 40 GetLLVMTypeOfIntrinsicValType(IRBuilder& irb, IntrinsicHelper::IntrinsicValType type) argument 130 ::llvm::FunctionType* type = local [all...] |
H A D | runtime_support_builder_arm.cc | 41 char LDRSTRSuffixByType(art::llvm::IRBuilder& irb, Type* type) { argument 42 int width = type->isPointerTy() ? 44 ::llvm::cast<IntegerType>(type)->getBitWidth(); 71 Value* RuntimeSupportBuilderARM::EmitLoadFromThreadOffset(int64_t offset, ::llvm::Type* type, argument 73 FunctionType* func_ty = FunctionType::get(/*Result=*/type, 76 LDRSTRSuffixByType(irb_, type),
|
H A D | runtime_support_builder_arm.h | 32 virtual ::llvm::Value* EmitLoadFromThreadOffset(int64_t offset, ::llvm::Type* type,
|
H A D | runtime_support_builder_x86.h | 32 virtual ::llvm::Value* EmitLoadFromThreadOffset(int64_t offset, ::llvm::Type* type,
|
/art/compiler/sea_ir/types/ |
H A D | types.h | 29 // Stores information about the result type of each instruction. 30 // Note: Main purpose is to encapsulate the map<instruction id, type*>, 37 // Returns the type associated with instruction with @instruction_id. 46 // Saves the fact that instruction @instruction_id produces a value of type @type. 47 void SetTypeOf(int instruction_id, const Type* type) { argument 48 type_map_.Overwrite(instruction_id, type);
|
H A D | type_inference_visitor.cc | 86 const Type* type = NULL; local 88 type = *(types.begin()); 92 if (!type->Equals(**cit)) { 93 type = MergeTypes(type, *cit); 98 return type;
|
/art/runtime/native/ |
H A D | org_apache_harmony_dalvik_ddmc_DdmServer.cc | 24 static void DdmServer_nativeSendChunk(JNIEnv* env, jclass, jint type, argument 29 Dbg::DdmSendChunk(type, length, reinterpret_cast<const uint8_t*>(&data[offset]));
|
/art/compiler/dex/ |
H A 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) { 74 PassME(const char* name, DataFlowAnalysisMode type, const char* dump) argument 75 : Pass(name), traversal_type_(type), flags_(0), dump_cfg_folder_(dump) {
|
/art/runtime/mirror/ |
H A D | art_field.cc | 49 Primitive::Type type = GetTypeAsPrimitiveType(); local 50 if (type == Primitive::kPrimDouble || type == Primitive::kPrimLong) {
|