/art/compiler/ |
H A D | vector_output_stream.cc | 23 VectorOutputStream::VectorOutputStream(const std::string& location, std::vector<uint8_t>& vector) argument 24 : OutputStream(location), offset_(vector.size()), vector_(vector) {}
|
H A D | output_stream.h | 37 explicit OutputStream(const std::string& location) : location_(location) {} argument
|
H A D | image_test.cc | 47 // Create a generic location tmp file, to be the base of the .art and .oat temporary files. 48 ScratchFile location; local 49 ScratchFile image_location(location, ".art");
|
/art/compiler/dex/ |
H A D | reg_location.h | 43 RegLocationType location:3; member in struct:art::RegLocation 51 unsigned home:1; // Does this represent the home location?
|
H A D | global_value_numbering.cc | 175 uint16_t location = static_cast<uint16_t>(array_location_reverse_map_.size()); local 176 DCHECK_EQ(location, array_location_reverse_map_.size()); // No overflow. 177 auto it = array_location_map_.PutBefore(lb, key, location); 179 return location;
|
H A D | local_value_numbering.cc | 163 uint16_t type, uint16_t location, uint16_t memory_version) { 164 return gvn->LookupValue(kAliasingArrayOp, type, location, memory_version); 168 uint16_t type, uint16_t location) { 169 // If the location is non-aliasing in lvn, use the non-aliasing value. 170 uint16_t array = gvn->GetArrayLocationBase(location); 172 uint16_t index = gvn->GetArrayLocationIndex(location); 176 gvn, lvn, &lvn->aliasing_array_value_map_, type, location); 190 uint16_t type, uint16_t location) { 191 return gvn->LookupValue(kMergeBlockAliasingArrayMergeLocationOp, type, location, lvn_id); 228 uint16_t location) { 162 LookupGlobalValue(GlobalValueNumbering* gvn, uint16_t type, uint16_t location, uint16_t memory_version) argument 167 LookupMergeValue(GlobalValueNumbering* gvn, const LocalValueNumbering* lvn, uint16_t type, uint16_t location) argument 189 LookupMergeLocationValue(GlobalValueNumbering* gvn, uint16_t lvn_id, uint16_t type, uint16_t location) argument 225 AliasingValuesMergeGet(GlobalValueNumbering* gvn, const LocalValueNumbering* lvn, Map* map, const typename Map::key_type& key, uint16_t location) argument 251 HandleAliasingValuesGet(Map* map, const typename Map::key_type& key, uint16_t location) argument 272 HandleAliasingValuesPut(Map* map, const typename Map::key_type& key, uint16_t location, uint16_t value) argument 835 uint16_t location = load_value_entry.first; local 1093 uint16_t location = gvn_->GetArrayLocation(array, index); local 1126 uint16_t location = gvn_->GetArrayLocation(array, index); local [all...] |
/art/runtime/mirror/ |
H A D | dex_cache.cc | 35 String* location, 41 CHECK(location != nullptr); 48 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(DexCache, location_), location); local 34 Init(const DexFile* dex_file, String* location, ObjectArray<String>* strings, ObjectArray<Class>* resolved_types, ObjectArray<ArtMethod>* resolved_methods, ObjectArray<ArtField>* resolved_fields) argument
|
/art/runtime/ |
H A D | dex_file_verifier.h | 30 const char* location, std::string* error_msg); 37 DexFileVerifier(const DexFile* dex_file, const byte* begin, size_t size, const char* location) argument 38 : dex_file_(dex_file), begin_(begin), size_(size), location_(location),
|
H A D | dex_file_verifier_test.cc | 104 static const DexFile* OpenDexFileBase64(const char* base64, const char* location, argument 113 std::unique_ptr<File> file(OS::CreateEmptyFile(location)); 126 bool success = DexFile::Open(location, location, error_msg, &tmp); 169 static const DexFile* FixChecksumAndOpen(byte* bytes, size_t length, const char* location, argument 178 std::unique_ptr<File> file(OS::CreateEmptyFile(location)); 191 if (!DexFile::Open(location, location, error_msg, &tmp)) { 201 static bool ModifyAndLoad(const char* location, size_t offset, uint8_t new_val, argument 212 std::unique_ptr<const DexFile> file(FixChecksumAndOpen(dex_bytes.get(), length, location, [all...] |
H A D | dex_file_test.cc | 136 const char* location) { 144 std::unique_ptr<File> file(OS::CreateEmptyFile(location)); 158 bool success = DexFile::Open(location, location, &error_msg, &tmp); 135 OpenDexFileBase64(const char* base64, const char* location) argument
|
H A D | common_runtime_test.cc | 177 const DexFile* CommonRuntimeTest::LoadExpectSingleDexFile(const char* location) { argument 180 if (!DexFile::Open(location, location, &error_msg, &dex_files)) { 181 LOG(FATAL) << "Could not open .dex file '" << location << "': " << error_msg << "\n"; 184 CHECK_EQ(1U, dex_files.size()) << "Expected only one dex file in " << location;
|
H A D | oat_file.cc | 41 void OatFile::CheckLocation(const std::string& location) { argument 42 CHECK(!location.empty()); 46 const std::string& location, 48 std::unique_ptr<OatFile> oat_file(new OatFile(location, false)); 57 const std::string& location, 59 CHECK(!oat_contents.empty()) << location; 60 CheckLocation(location); 61 std::unique_ptr<OatFile> oat_file(new OatFile(location, false)); 68 const std::string& location, 73 CHECK(!filename.empty()) << location; 45 OpenWithElfFile(ElfFile* elf_file, const std::string& location, std::string* error_msg) argument 56 OpenMemory(std::vector<uint8_t>& oat_contents, const std::string& location, std::string* error_msg) argument 67 Open(const std::string& filename, const std::string& location, byte* requested_base, uint8_t* oat_file_begin, bool executable, std::string* error_msg) argument 105 OpenWritable(File* file, const std::string& location, std::string* error_msg) argument 110 OpenReadable(File* file, const std::string& location, std::string* error_msg) argument 115 OpenDlopen(const std::string& elf_filename, const std::string& location, byte* requested_base, std::string* error_msg) argument 127 OpenElfFile(File* file, const std::string& location, byte* requested_base, uint8_t* oat_file_begin, bool writable, bool executable, std::string* error_msg) argument 144 OatFile(const std::string& location, bool is_executable) argument [all...] |
/art/runtime/jdwp/ |
H A D | jdwp_expand_buf.cc | 179 void expandBufAddLocation(ExpandBuf* buf, const JdwpLocation& location) { argument 180 expandBufAdd1(buf, location.type_tag); 181 expandBufAddObjectId(buf, location.class_id); 182 expandBufAddMethodId(buf, location.method_id); 183 expandBufAdd8BE(buf, location.dex_pc);
|
H A D | jdwp_request.cc | 144 JdwpLocation location; local 145 memset(&location, 0, sizeof(location)); // Allows memcmp(3) later. 146 location.type_tag = ReadTypeTag(); 147 location.class_id = ReadObjectId("class"); 148 location.method_id = ReadMethodId(); 149 location.dex_pc = Read8BE(); 150 VLOG(jdwp) << " location " << location; 151 return location; [all...] |
H A D | jdwp_handler.cc | 1303 // Restrict certain events based on location. 1304 JdwpLocation location = request.ReadLocation(); local 1305 mod.locationOnly.loc = location;
|
/art/compiler/optimizing/ |
H A D | graph_visualizer.cc | 104 void DumpLocation(Location location, Primitive::Type type) { argument 105 if (location.IsRegister()) { 107 codegen_.DumpFloatingPointRegister(output_, location.reg().RegId()); 109 codegen_.DumpCoreRegister(output_, location.reg().RegId()); 111 } else if (location.IsConstant()) { 113 } else if (location.IsInvalid()) { 115 } else if (location.IsStackSlot()) { 116 output_ << location.GetStackIndex() << "(sp)"; 118 DCHECK(location.IsDoubleStackSlot()); 119 output_ << "2x" << location [all...] |
H A D | code_generator.cc | 237 Location location = instruction->GetLocations()->InAt(i); local 238 if (location.IsValid()) { 239 // Move the input to the desired location. 240 Move(instruction->InputAt(i), location, instruction);
|
H A D | register_allocator.cc | 88 void RegisterAllocator::BlockRegister(Location location, argument 92 int reg = location.reg().RegId(); 819 // Walk over all uses covered by this interval, and update the location 852 // Nothing to connect. The whole range was allocated to the same location. 898 // Returns the location of `interval`, or siblings of `interval`, at `position`. 917 Location location = locations->Out(); local 919 // Now that we know the frame size, adjust the parameter's location. 920 if (location.IsStackSlot()) { 921 location = Location::StackSlot(location [all...] |
H A D | code_generator_arm.cc | 455 void CodeGeneratorARM::Move(HInstruction* instruction, Location location, HInstruction* move_for) { argument 457 if (locations != nullptr && locations->Out().Equals(location)) { 463 if (location.IsRegister()) { 464 __ LoadImmediate(location.AsArm().AsCoreRegister(), value); 466 DCHECK(location.IsStackSlot()); 468 __ str(IP, Address(SP, location.GetStackIndex())); 472 if (location.IsRegister()) { 473 __ LoadImmediate(location.AsArm().AsRegisterPairLow(), Low32Bits(value)); 474 __ LoadImmediate(location.AsArm().AsRegisterPairHigh(), High32Bits(value)); 476 DCHECK(location 1012 Location location = parameter_visitor_.GetNextLocation(instruction->GetType()); local [all...] |
H A D | code_generator_x86.cc | 423 void CodeGeneratorX86::Move(HInstruction* instruction, Location location, HInstruction* move_for) { argument 426 if (location.IsRegister()) { 427 __ movl(location.AsX86().AsCpuRegister(), imm); 429 __ movl(Address(ESP, location.GetStackIndex()), imm); 433 if (location.IsRegister()) { 434 __ movl(location.AsX86().AsRegisterPairLow(), Immediate(Low32Bits(value))); 435 __ movl(location.AsX86().AsRegisterPairHigh(), Immediate(High32Bits(value))); 437 __ movl(Address(ESP, location.GetStackIndex()), Immediate(Low32Bits(value))); 438 __ movl(Address(ESP, location.GetHighStackIndex(kX86WordSize)), Immediate(High32Bits(value))); 448 Move32(location, Locatio 976 Location location = parameter_visitor_.GetNextLocation(instruction->GetType()); local [all...] |
H A D | code_generator_x86_64.cc | 308 Location location, 312 if (location.IsRegister()) { 313 __ movl(location.AsX86_64().AsCpuRegister(), imm); 315 __ movl(Address(CpuRegister(RSP), location.GetStackIndex()), imm); 319 if (location.IsRegister()) { 320 __ movq(location.AsX86_64().AsCpuRegister(), Immediate(value)); 323 __ movq(Address(CpuRegister(RSP), location.GetStackIndex()), CpuRegister(TMP)); 333 Move(location, Location::StackSlot(GetStackSlot(instruction->AsLoadLocal()->GetLocal()))); 337 Move(location, Location::DoubleStackSlot(GetStackSlot(instruction->AsLoadLocal()->GetLocal()))); 353 Move(location, instructio 307 Move(HInstruction* instruction, Location location, HInstruction* move_for) argument 901 Location location = parameter_visitor_.GetNextLocation(instruction->GetType()); local [all...] |
H A D | ssa_liveness_analysis.h | 160 // TODO: Use the instruction's location to know whether the instruction can die 293 Location location = locations->Out(); local 297 if (location.IsUnallocated()) { 298 if ((location.GetPolicy() == Location::kRequiresRegister) 299 || (location.GetPolicy() == Location::kSameAsFirstInput 311 Location location = use->GetUser()->GetLocations()->InAt(use->GetInputIndex()); local 312 if (location.IsUnallocated() && location.GetPolicy() == Location::kRequiresRegister) {
|
/art/compiler/utils/arm/ |
H A D | assembler_thumb2.h | 505 Branch(const Thumb2Assembler* assembler, Type type, uint32_t location, Condition cond = AL) : argument 506 assembler_(assembler), type_(type), location_(location), 514 Branch(const Thumb2Assembler* assembler, Type type, uint32_t location, Register rn) : argument 515 assembler_(assembler), type_(type), location_(location), 522 Branch(const Thumb2Assembler* assembler, Type type, uint32_t location, uint32_t target, argument 524 assembler_(assembler), type_(type), location_(location), 555 // Relocate a branch by a given delta. This changed the location and 672 Branch::Size AddBranch(Branch::Type type, uint32_t location, uint32_t target, argument 674 branches_.push_back(new Branch(this, type, location, target, cond)); 679 uint16_t AddBranch(Branch::Type type, uint32_t location, Registe argument 685 AddBranch(Branch::Type type, uint32_t location, Condition cond = AL) argument [all...] |
/art/patchoat/ |
H A D | patchoat.cc | 69 static bool LocationToFilename(const std::string& location, InstructionSet isa, argument 75 std::string system_filename(GetSystemImageFilename(location.c_str(), isa)); 89 // Always set output location even if it does not exist, 95 if (GetDalvikCacheFilename(location.c_str(), dalvik_cache.c_str(), 124 LOG(ERROR) << "Unable to find image at location " << image_location; 130 << " for location " << image_location; 221 LOG(ERROR) << "Unable to find image at location " << image_location; 227 << " for location " << image_location; 362 LOG(INFO) << "image at location " << image_path << " was *not* compiled pic"; 368 LOG(INFO) << "image at location " << image_pat [all...] |
/art/dex2oat/ |
H A D | dex2oat.cc | 112 UsageError(" --zip-location=<zip-location>: specifies a symbolic name for the file"); 114 UsageError(" Example: --zip-location=/system/app/Calculator.apk"); 122 UsageError(" --oat-location=<oat-name>: specifies a symbolic name for the file corresponding"); 124 UsageError(" Example: --oat-location=/data/dalvik-cache/system@app@Calculator.apk.oat"); 568 // Returns true if dex_files has a dex with the named location. 570 const std::string& location) { 572 if (dex_files[i]->GetLocation() == location) { 919 } else if (option.starts_with("--dex-location=")) { 920 dex_locations.push_back(option.substr(strlen("--dex-location 569 DexFilesContains(const std::vector<const DexFile*>& dex_files, const std::string& location) argument [all...] |