/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 | 36 explicit OutputStream(const std::string& location) : location_(location) {} argument
|
H A D | image_test.cc | 48 // Create a generic location tmp file, to be the base of the .art and .oat temporary files. 49 ScratchFile location; local 50 ScratchFile image_location(location, ".art");
|
/art/tools/dexfuzz/src/dexfuzz/program/ |
H A D | MInsn.java | 22 * Base class that is a thin wrapper for Instructions currently, also tracking location 33 * The location of this instruction, as an offset in code words from the beginning. 36 public int location; field in class:MInsn 39 * Denotes if the currently associated location can be trusted. 50 newInsn.location = location; 60 location,
|
/art/compiler/dex/ |
H A D | reg_location.h | 44 RegLocationType location:3; member in struct:art::RegLocation 52 unsigned home:1; // Does this represent the home location?
|
H A D | global_value_numbering.cc | 156 uint16_t location = static_cast<uint16_t>(array_location_reverse_map_.size()); local 157 DCHECK_EQ(location, array_location_reverse_map_.size()); // No overflow. 158 auto it = array_location_map_.PutBefore(lb, key, location); 160 return location;
|
/art/compiler/optimizing/ |
H A D | locations.cc | 72 std::ostream& operator<<(std::ostream& os, const Location& location) { argument 73 os << location.DebugString(); 74 if (location.IsRegister() || location.IsFpuRegister()) { 75 os << location.reg(); 76 } else if (location.IsPair()) { 77 os << location.low() << ":" << location.high(); 78 } else if (location.IsStackSlot() || location [all...] |
H A D | optimizing_cfi_test.cc | 59 auto location = Location::RegisterLocation(core_reg); local 60 code_gen->AddAllocatedRegister(location); 67 auto location = Location::FpuRegisterLocation(fp_reg); local 68 code_gen->AddAllocatedRegister(location);
|
H A D | parallel_move_test.cc | 36 static void DumpLocationForTest(std::ostream& os, Location location) { argument 37 if (location.IsConstant()) { 39 } else if (location.IsPair()) { 40 DumpRegisterForTest(os, location.low()); 42 DumpRegisterForTest(os, location.high()); 43 } else if (location.IsRegister()) { 44 DumpRegisterForTest(os, location.reg()); 45 } else if (location.IsStackSlot()) { 46 os << location.GetStackIndex() << "(sp)"; 48 DCHECK(location [all...] |
H A D | common_arm64.h | 54 static inline vixl::Register XRegisterFrom(Location location) { argument 55 DCHECK(location.IsRegister()); 56 return vixl::Register::XRegFromCode(VIXLRegCodeFromART(location.reg())); 59 static inline vixl::Register WRegisterFrom(Location location) { argument 60 DCHECK(location.IsRegister()); 61 return vixl::Register::WRegFromCode(VIXLRegCodeFromART(location.reg())); 64 static inline vixl::Register RegisterFrom(Location location, Primitive::Type type) { argument 66 return type == Primitive::kPrimLong ? XRegisterFrom(location) : WRegisterFrom(location); 78 static inline vixl::FPRegister DRegisterFrom(Location location) { argument 83 SRegisterFrom(Location location) argument 88 FPRegisterFrom(Location location, Primitive::Type type) argument 102 CPURegisterFrom(Location location, Primitive::Type type) argument 119 Int64ConstantFrom(Location location) argument 131 OperandFrom(Location location, Primitive::Type type) argument 144 StackOperandFrom(Location location) argument 158 HeapOperandFrom(Location location, Offset offset) argument [all...] |
H A D | graph_visualizer.cc | 128 void DumpLocation(Location location) { argument 129 if (location.IsRegister()) { 130 codegen_.DumpCoreRegister(output_, location.reg()); 131 } else if (location.IsFpuRegister()) { 132 codegen_.DumpFloatingPointRegister(output_, location.reg()); 133 } else if (location.IsConstant()) { 135 HConstant* constant = location.GetConstant(); 141 } else if (location.IsInvalid()) { 143 } else if (location.IsStackSlot()) { 144 output_ << location [all...] |
H A D | parallel_move_resolver.cc | 65 Location LowOf(Location location) { argument 66 if (location.IsRegisterPair()) { 67 return Location::RegisterLocation(location.low()); 68 } else if (location.IsFpuRegisterPair()) { 69 return Location::FpuRegisterLocation(location.low()); 70 } else if (location.IsDoubleStackSlot()) { 71 return Location::StackSlot(location.GetStackIndex()); 77 Location HighOf(Location location) { argument 78 if (location.IsRegisterPair()) { 79 return Location::RegisterLocation(location [all...] |
H A D | ssa_liveness_analysis.cc | 319 static int RegisterOrLowRegister(Location location) { argument 320 return location.IsPair() ? location.low() : location.reg(); 340 // location of the interval in blocks preceding the block this interval 341 // starts at. If one location is a register we return it as a hint. This 346 // We know positions above GetStart() do not have a location yet. 385 Location location = input->GetLiveInterval()->GetLocationAt( local 387 if (location.IsRegisterKind()) { 388 int reg = RegisterOrLowRegister(location); 445 Location location = input_interval->ToLocation(); local [all...] |
/art/runtime/ |
H A D | check_reference_map_visitor.h | 77 DexRegisterLocation location = local 79 switch (location.GetKind()) { 85 DCHECK_EQ(location.GetValue() % kFrameSlotSize, 0); 86 CHECK(stack_mask.LoadBit(location.GetValue() / kFrameSlotSize)); 89 CHECK_NE(register_mask & (1 << location.GetValue()), 0u); 96 CHECK_EQ(location.GetValue(), 0); 99 LOG(FATAL) << "Unexpected location kind" 100 << DexRegisterLocation::PrettyDescriptor(location.GetInternalKind());
|
H A D | dex_file_verifier.h | 30 const char* location, std::string* error_msg); 37 DexFileVerifier(const DexFile* dex_file, const uint8_t* 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 | 105 const char* location, 114 std::unique_ptr<File> file(OS::CreateEmptyFile(location)); 127 bool success = DexFile::Open(location, location, error_msg, &tmp); 171 const char* location, 180 std::unique_ptr<File> file(OS::CreateEmptyFile(location)); 193 if (!DexFile::Open(location, location, error_msg, &tmp)) { 203 static bool ModifyAndLoad(const char* dex_file_content, const char* location, size_t offset, argument 214 std::unique_ptr<const DexFile> file(FixChecksumAndOpen(dex_bytes.get(), length, location, 104 OpenDexFileBase64(const char* base64, const char* location, std::string* error_msg) argument 170 FixChecksumAndOpen(uint8_t* bytes, size_t length, const char* location, std::string* error_msg) argument [all...] |
H A D | dex_file_test.cc | 137 const char* location) { 145 std::unique_ptr<File> file(OS::CreateEmptyFile(location)); 159 bool success = DexFile::Open(location, location, &error_msg, &tmp); 136 OpenDexFileBase64(const char* base64, const char* location) argument
|
H A D | oat_file_assistant.h | 40 // dex location is in the boot class path. 47 // kNoDexOptNeeded - The code for this dex location is up to date and can 52 // kDex2OatNeeded - In order to make the code for this dex location up to 57 // kPatchOatNeeded - In order to make the code for this dex location up to 62 // kSelfPatchOatNeeded - In order to make the code for this dex location 86 // corresponding to the given dex location with the target instruction set. 103 // to use instead of the standard oat location. 111 // not the dex location? If there is no technical reason the dex_location 116 // Constructs an OatFileAssistant with user specified oat location and a 124 // Returns true if the dex location refer 291 std::string location; member in struct:art::OatFileAssistant::ImageInfo [all...] |
H A D | stack_map.cc | 203 DexRegisterLocation location, 207 << DexRegisterLocation::PrettyDescriptor(location.GetInternalKind()) 208 << " (" << location.GetValue() << ")" << suffix << '\n'; 243 // Display the Dex register location catalog. 250 DexRegisterLocation location = dex_register_location_catalog.GetDexRegisterLocation(i); local 251 DumpRegisterMapping(os, i, location, "entry "); 265 DexRegisterLocation location = local 268 os, j, location, "v", 201 DumpRegisterMapping(std::ostream& os, size_t dex_register_num, DexRegisterLocation location, const std::string& prefix = �, const std::string& suffix = �) argument
|
H A D | common_runtime_test.cc | 279 std::unique_ptr<const DexFile> CommonRuntimeTest::LoadExpectSingleDexFile(const char* location) { argument 283 if (!DexFile::Open(location, location, &error_msg, &dex_files)) { 284 LOG(FATAL) << "Could not open .dex file '" << location << "': " << error_msg << "\n"; 287 CHECK_EQ(1U, dex_files.size()) << "Expected only one dex file in " << location; 562 std::string location; local 566 location = StringPrintf("%s/framework/core.%s", host_dir, suffix); 568 location = StringPrintf("/data/art-test/core.%s", suffix); 571 return location;
|
/art/runtime/mirror/ |
H A D | dex_cache.cc | 34 void DexCache::Init(const DexFile* dex_file, String* location, ObjectArray<String>* strings, argument 38 CHECK(location != nullptr); 45 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(DexCache, location_), location); local
|
/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...] |
/art/cmdline/ |
H A D | cmdline.h | 41 static bool LocationToFilename(const std::string& location, InstructionSet isa, argument 47 std::string system_filename(GetSystemImageFilename(location.c_str(), isa)); 61 // Always set output location even if it does not exist, 67 if (GetDalvikCacheFilename(location.c_str(), dalvik_cache.c_str(), 95 // Boot image location. 194 " --boot-image=<file.art>: provide the image location for the boot class path.\n" 200 " file based on the image location set.\n" 230 DBG_LOG << "boot image location: " << boot_image_location_; 232 // Checks for --boot-image location. 237 *error_msg = "Boot image location mus [all...] |
/art/compiler/utils/arm/ |
H A D | assembler_thumb2.h | 522 Branch(const Thumb2Assembler* assembler, Type type, uint32_t location, Condition cond = AL) : argument 523 assembler_(assembler), type_(type), location_(location), 531 Branch(const Thumb2Assembler* assembler, Type type, uint32_t location, Register rn) : argument 532 assembler_(assembler), type_(type), location_(location), 539 Branch(const Thumb2Assembler* assembler, Type type, uint32_t location, uint32_t target, argument 541 assembler_(assembler), type_(type), location_(location), 572 // Relocate a branch by a given delta. This changed the location and 689 Branch::Size AddBranch(Branch::Type type, uint32_t location, uint32_t target, argument 691 branches_.push_back(new Branch(this, type, location, target, cond)); 696 uint16_t AddBranch(Branch::Type type, uint32_t location, Registe argument 702 AddBranch(Branch::Type type, uint32_t location, Condition cond = AL) argument [all...] |