Searched defs:location (Results 1 - 25 of 31) sorted by relevance

12

/art/compiler/
H A Dvector_output_stream.cc23 VectorOutputStream::VectorOutputStream(const std::string& location, std::vector<uint8_t>& vector) argument
24 : OutputStream(location), offset_(vector.size()), vector_(vector) {}
H A Doutput_stream.h37 explicit OutputStream(const std::string& location) : location_(location) {} argument
H A Dimage_test.cc47 // 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 Dreg_location.h43 RegLocationType location:3; member in struct:art::RegLocation
51 unsigned home:1; // Does this represent the home location?
H A Dglobal_value_numbering.cc175 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 Dlocal_value_numbering.cc163 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 Ddex_cache.cc35 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 Ddex_file_verifier.h30 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 Ddex_file_verifier_test.cc104 static const DexFile* OpenDexFileBase64(const char* base64, const char* location, argument
113 std::unique_ptr<File> file(OS::CreateEmptyFile(location));
123 bool success = DexFile::Open(location, location, error_msg, &tmp);
166 static const DexFile* FixChecksumAndOpen(byte* bytes, size_t length, const char* location, argument
175 std::unique_ptr<File> file(OS::CreateEmptyFile(location));
185 if (!DexFile::Open(location, location, error_msg, &tmp)) {
195 static bool ModifyAndLoad(const char* location, size_t offset, uint8_t new_val, argument
206 std::unique_ptr<const DexFile> file(FixChecksumAndOpen(dex_bytes.get(), length, location,
[all...]
H A Ddex_file_test.cc136 const char* location) {
144 std::unique_ptr<File> file(OS::CreateEmptyFile(location));
155 bool success = DexFile::Open(location, location, &error_msg, &tmp);
135 OpenDexFileBase64(const char* base64, const char* location) argument
H A Dcommon_runtime_test.cc168 const DexFile* CommonRuntimeTest::LoadExpectSingleDexFile(const char* location) { argument
171 if (!DexFile::Open(location, location, &error_msg, &dex_files)) {
172 LOG(FATAL) << "Could not open .dex file '" << location << "': " << error_msg << "\n";
175 CHECK_EQ(1U, dex_files.size()) << "Expected only one dex file in " << location;
H A Doat_file.cc41 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,
72 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, bool executable, std::string* error_msg) argument
103 OpenWritable(File* file, const std::string& location, std::string* error_msg) argument
108 OpenReadable(File* file, const std::string& location, std::string* error_msg) argument
113 OpenDlopen(const std::string& elf_filename, const std::string& location, byte* requested_base, std::string* error_msg) argument
125 OpenElfFile(File* file, const std::string& location, byte* requested_base, bool writable, bool executable, std::string* error_msg) argument
140 OatFile(const std::string& location, bool is_executable) argument
[all...]
/art/runtime/jdwp/
H A Djdwp_expand_buf.cc179 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 Djdwp_request.cc144 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 Djdwp_handler.cc1303 // Restrict certain events based on location.
1304 JdwpLocation location = request.ReadLocation(); local
1305 mod.locationOnly.loc = location;
/art/compiler/optimizing/
H A Dgraph_visualizer.cc104 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 Dcode_generator.cc237 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 Dregister_allocator.cc88 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 Dcode_generator_arm.cc455 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 Dcode_generator_x86.cc423 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
975 Location location = parameter_visitor_.GetNextLocation(instruction->GetType()); local
[all...]
H A Dcode_generator_x86_64.cc308 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
900 Location location = parameter_visitor_.GetNextLocation(instruction->GetType()); local
[all...]
H A Dssa_liveness_analysis.h160 // 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 Dassembler_thumb2.h505 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 Dpatchoat.cc69 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;
214 LOG(ERROR) << "Unable to find image at location " << image_location;
220 << " for location " << image_location;
660 UsageError(" compiled for. Required if you use --input-oat-location");
668 UsageError(" --input-oat-location
[all...]
/art/dex2oat/
H A Ddex2oat.cc112 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");
536 // Returns true if dex_files has a dex with the named location.
538 const std::string& location) {
540 if (dex_files[i]->GetLocation() == location) {
880 } else if (option.starts_with("--dex-location=")) {
881 dex_locations.push_back(option.substr(strlen("--dex-location
537 DexFilesContains(const std::vector<const DexFile*>& dex_files, const std::string& location) argument
[all...]

Completed in 319 milliseconds

12