Searched refs:instruction_set (Results 1 - 25 of 38) sorted by relevance

12

/art/runtime/
H A Ddisassembler.cc28 Disassembler* Disassembler::Create(InstructionSet instruction_set) { argument
29 if (instruction_set == kArm || instruction_set == kThumb2) {
31 } else if (instruction_set == kMips) {
33 } else if (instruction_set == kX86) {
36 UNIMPLEMENTED(FATAL) << "no disassembler for " << instruction_set;
H A Ddisassembler.h25 #include "instruction_set.h"
31 static Disassembler* Create(InstructionSet instruction_set);
H A Doat.cc31 OatHeader::OatHeader(InstructionSet instruction_set, argument
41 CHECK_NE(instruction_set, kNone);
42 instruction_set_ = instruction_set;
H A Dcommon_test.h37 #include "instruction_set.h"
318 InstructionSet instruction_set = kNone; local
320 instruction_set = kThumb2;
322 instruction_set = kMips;
324 instruction_set = kX86;
341 runtime_->CreateCalleeSaveMethod(instruction_set, type), type);
345 compiler_driver_.reset(new CompilerDriver(compiler_backend, instruction_set,
H A Druntime.h32 #include "instruction_set.h"
361 mirror::ArtMethod* CreateCalleeSaveMethod(InstructionSet instruction_set,
365 mirror::ArtMethod* CreateRefOnlyCalleeSaveMethod(InstructionSet instruction_set)
368 mirror::ArtMethod* CreateRefAndArgsCalleeSaveMethod(InstructionSet instruction_set)
H A Doat.h24 #include "instruction_set.h"
34 OatHeader(InstructionSet instruction_set,
H A Druntime.cc1187 mirror::ArtMethod* Runtime::CreateCalleeSaveMethod(InstructionSet instruction_set, argument
1197 if ((instruction_set == kThumb2) || (instruction_set == kArm)) {
1222 } else if (instruction_set == kMips) {
1236 } else if (instruction_set == kX86) {
/art/compiler/
H A Dcompiled_method.cc22 CompiledCode::CompiledCode(CompilerDriver* compiler_driver, InstructionSet instruction_set, argument
24 : compiler_driver_(compiler_driver), instruction_set_(instruction_set), code_(nullptr) {
28 CompiledCode::CompiledCode(CompilerDriver* compiler_driver, InstructionSet instruction_set, argument
30 : compiler_driver_(compiler_driver), instruction_set_(instruction_set), symbol_(symbol) {
53 uint32_t CompiledCode::AlignCode(uint32_t offset, InstructionSet instruction_set) { argument
54 switch (instruction_set) {
63 LOG(FATAL) << "Unknown InstructionSet: " << instruction_set;
85 InstructionSet instruction_set) {
86 switch (instruction_set) {
98 LOG(FATAL) << "Unknown InstructionSet: " << instruction_set;
84 CodePointer(const void* code_pointer, InstructionSet instruction_set) argument
119 CompiledMethod(CompilerDriver& driver, InstructionSet instruction_set, const std::vector<uint8_t>& code, const size_t frame_size_in_bytes, const uint32_t core_spill_mask, const uint32_t fp_spill_mask, const std::vector<uint8_t>& mapping_table, const std::vector<uint8_t>& vmap_table, const std::vector<uint8_t>& native_gc_map) argument
135 CompiledMethod(CompilerDriver& driver, InstructionSet instruction_set, const std::vector<uint8_t>& code, const size_t frame_size_in_bytes, const uint32_t core_spill_mask, const uint32_t fp_spill_mask) argument
150 CompiledMethod(CompilerDriver& driver, InstructionSet instruction_set, const std::string& code, const std::vector<uint8_t>& gc_map, const std::string& symbol) argument
160 CompiledMethod(CompilerDriver& driver, InstructionSet instruction_set, const std::string& code, const std::string& symbol) argument
[all...]
H A Dcompiled_method.h23 #include "instruction_set.h"
38 CompiledCode(CompilerDriver* compiler_driver, InstructionSet instruction_set,
42 CompiledCode(CompilerDriver* compiler_driver, InstructionSet instruction_set,
63 static uint32_t AlignCode(uint32_t offset, InstructionSet instruction_set);
73 InstructionSet instruction_set);
103 InstructionSet instruction_set,
114 InstructionSet instruction_set,
121 CompiledMethod(CompilerDriver& driver, InstructionSet instruction_set, const std::string& code,
125 CompiledMethod(CompilerDriver& driver, InstructionSet instruction_set, const std::string& code,
H A Doat_test.cc151 InstructionSet instruction_set = kX86; local
156 OatHeader oat_header(instruction_set,
H A Doat_writer.cc181 InstructionSet instruction_set = compiler_driver_->GetInstructionSet(); local
184 offset = CompiledCode::AlignCode(offset, instruction_set); \
553 InstructionSet instruction_set = compiler_driver_->GetInstructionSet(); local
557 uint32_t aligned_offset = CompiledCode::AlignCode(relative_offset, instruction_set); \
/art/compiler/jni/quick/
H A Dcalling_convention.cc35 bool is_static, bool is_synchronized, const char* shorty, InstructionSet instruction_set) {
36 switch (instruction_set) {
45 LOG(FATAL) << "Unknown InstructionSet: " << instruction_set;
89 InstructionSet instruction_set) {
90 switch (instruction_set) {
99 LOG(FATAL) << "Unknown InstructionSet: " << instruction_set;
34 Create( bool is_static, bool is_synchronized, const char* shorty, InstructionSet instruction_set) argument
87 Create(bool is_static, bool is_synchronized, const char* shorty, InstructionSet instruction_set) argument
H A Djni_compiler.cc63 InstructionSet instruction_set = compiler.GetInstructionSet(); local
64 if (instruction_set == kThumb2) {
65 instruction_set = kArm;
69 JniCallingConvention::Create(is_static, is_synchronized, shorty, instruction_set));
73 ManagedRuntimeCallingConvention::Create(is_static, is_synchronized, shorty, instruction_set));
83 JniCallingConvention::Create(is_static, is_synchronized, jni_end_shorty, instruction_set));
87 UniquePtr<Assembler> jni_asm(Assembler::Create(instruction_set));
277 if (instruction_set == kX86) {
292 if (instruction_set == kMips && main_jni_conv->GetReturnType() == Primitive::kPrimDouble &&
370 UniquePtr<Disassembler> disassembler(Disassembler::Create(instruction_set));
[all...]
H A Dcalling_convention.h168 InstructionSet instruction_set);
212 InstructionSet instruction_set);
/art/compiler/utils/
H A Dassembler.cc104 Assembler* Assembler::Create(InstructionSet instruction_set) { argument
105 switch (instruction_set) {
114 LOG(FATAL) << "Unknown InstructionSet: " << instruction_set;
/art/compiler/dex/
H A Dcompiler_ir.h61 instruction_set(kNone),
90 InstructionSet instruction_set; member in struct:art::CompilationUnit
H A Dfrontend.cc126 cu.instruction_set = compiler.GetInstructionSet();
128 DCHECK((cu.instruction_set == kThumb2) ||
129 (cu.instruction_set == kX86) ||
130 (cu.instruction_set == kMips));
158 if (cu.instruction_set == kMips) {
/art/compiler/dex/quick/
H A Dgen_invoke.cc41 return (cu_->instruction_set == kX86) ? 0 : LoadHelper(helper_offset);
48 if (cu_->instruction_set == kX86) {
149 if (cu_->instruction_set == kMips) {
155 if (cu_->instruction_set == kMips) {
293 if ((cu_->instruction_set == kThumb2) && t_loc->fp && !need_flush) {
338 if (cu->instruction_set != kThumb2) {
358 DCHECK_EQ(cu->instruction_set, kThumb2) << reinterpret_cast<void*>(data_target);
372 DCHECK_EQ(cu->instruction_set, kThumb2) << reinterpret_cast<void*>(data_target);
401 DCHECK_EQ(cu->instruction_set, kThumb2) << reinterpret_cast<void*>(data_target);
413 if (cu->instruction_set !
[all...]
H A Dgen_common.cc46 DCHECK_NE(cu_->instruction_set, kMips);
283 switch (cu_->instruction_set) {
294 default: LOG(FATAL) << "Unexpected instruction set: " << cu_->instruction_set;
311 if (cu_->instruction_set == kX86) {
380 if (cu_->instruction_set == kMips) {
461 if (cu_->instruction_set == kMips) {
548 const bool target_x86 = cu_->instruction_set == kX86;
549 const bool target_arm = cu_->instruction_set == kArm || cu_->instruction_set == kThumb2;
550 const bool target_mips = cu_->instruction_set
[all...]
H A Dlocal_optimizations.cc100 if (cu_->instruction_set == kX86) {
122 if (cu_->instruction_set == kX86) {
239 if (cu_->instruction_set == kX86) {
303 if (cu_->instruction_set != kX86) {
/art/compiler/sea_ir/code_gen/
H A Dcode_gen_data.cc32 std::string CodeGenData::GetElf(art::InstructionSet instruction_set) { argument
39 art::CompilerDriver::InstructionSetToLLVMTarget(instruction_set,
H A Dcode_gen.h20 #include "instruction_set.h"
72 std::string GetElf(art::InstructionSet instruction_set);
/art/dex2oat/
H A Ddex2oat.cc157 InstructionSet instruction_set,
160 if (!CreateRuntime(options, instruction_set)) {
164 *p_dex2oat = new Dex2Oat(Runtime::Current(), compiler_backend, instruction_set, thread_count);
329 InstructionSet instruction_set,
332 instruction_set_(instruction_set),
338 static bool CreateRuntime(Runtime::Options& options, InstructionSet instruction_set)
352 runtime->SetCalleeSaveMethod(runtime->CreateCalleeSaveMethod(instruction_set, type), type);
603 InstructionSet instruction_set = kThumb2; local
605 InstructionSet instruction_set = kX86; local
607 InstructionSet instruction_set local
327 Dex2Oat(Runtime* runtime, CompilerBackend compiler_backend, InstructionSet instruction_set, size_t thread_count) argument
[all...]
/art/compiler/dex/quick/x86/
H A Dint_x86.cc220 DCHECK_EQ(cu_->instruction_set, kX86);
228 DCHECK_EQ(cu_->instruction_set, kX86);
248 DCHECK_NE(cu_->instruction_set, kThumb2);
/art/compiler/driver/
H A Dcompiler_driver.h30 #include "instruction_set.h"
88 // Create a compiler targeting the requested "instruction_set".
93 explicit CompilerDriver(CompilerBackend compiler_backend, InstructionSet instruction_set,
232 static void InstructionSetToLLVMTarget(InstructionSet instruction_set,

Completed in 3287 milliseconds

12