Home
last modified time | relevance | path

Searched refs:location (Results 51 – 75 of 201) sorted by relevance

123456789

/art/compiler/optimizing/
Dparallel_move_resolver.cc80 Location LowOf(Location location) { in LowOf() argument
81 if (location.IsRegisterPair()) { in LowOf()
82 return Location::RegisterLocation(location.low()); in LowOf()
83 } else if (location.IsFpuRegisterPair()) { in LowOf()
84 return Location::FpuRegisterLocation(location.low()); in LowOf()
85 } else if (location.IsDoubleStackSlot()) { in LowOf()
86 return Location::StackSlot(location.GetStackIndex()); in LowOf()
92 Location HighOf(Location location) { in HighOf() argument
93 if (location.IsRegisterPair()) { in HighOf()
94 return Location::RegisterLocation(location.high()); in HighOf()
[all …]
Dcode_generator.cc67 static bool CheckType(DataType::Type type, Location location) { in CheckType() argument
68 if (location.IsFpuRegister() in CheckType()
69 || (location.IsUnallocated() && (location.GetPolicy() == Location::kRequiresFpuRegister))) { in CheckType()
71 } else if (location.IsRegister() || in CheckType()
72 (location.IsUnallocated() && (location.GetPolicy() == Location::kRequiresRegister))) { in CheckType()
74 } else if (location.IsRegisterPair()) { in CheckType()
76 } else if (location.IsFpuRegisterPair()) { in CheckType()
78 } else if (location.IsStackSlot()) { in CheckType()
82 } else if (location.IsDoubleStackSlot()) { in CheckType()
84 } else if (location.IsConstant()) { in CheckType()
[all …]
Dlocations.h33 std::ostream& operator<<(std::ostream& os, const Location& location);
524 void SetInAt(uint32_t at, Location location) { in SetInAt() argument
525 inputs_[at] = location; in SetInAt()
540 void SetOut(Location location, Location::OutputOverlap overlaps = Location::kOutputOverlap) {
543 output_ = location;
546 void UpdateOut(Location location) { in UpdateOut() argument
552 output_ = location; in UpdateOut()
555 void AddTemp(Location location) { in AddTemp() argument
556 temps_.push_back(location); in AddTemp()
569 void SetTempAt(uint32_t at, Location location) { in SetTempAt() argument
[all …]
Dgraph_visualizer.cc290 void DumpLocation(std::ostream& stream, const Location& location) { in DumpLocation() argument
291 if (location.IsRegister()) { in DumpLocation()
292 codegen_.DumpCoreRegister(stream, location.reg()); in DumpLocation()
293 } else if (location.IsFpuRegister()) { in DumpLocation()
294 codegen_.DumpFloatingPointRegister(stream, location.reg()); in DumpLocation()
295 } else if (location.IsConstant()) { in DumpLocation()
297 HConstant* constant = location.GetConstant(); in DumpLocation()
309 } else if (location.IsInvalid()) { in DumpLocation()
311 } else if (location.IsStackSlot()) { in DumpLocation()
312 stream << location.GetStackIndex() << "(sp)"; in DumpLocation()
[all …]
Dssa_liveness_analysis.cc335 static int RegisterOrLowRegister(Location location) { in RegisterOrLowRegister() argument
336 return location.IsPair() ? location.low() : location.reg(); in RegisterOrLowRegister()
405 Location location = inputs[i]->GetLiveInterval()->GetLocationAt( in FindFirstRegisterHint() local
407 if (location.IsRegisterKind()) { in FindFirstRegisterHint()
408 int reg = RegisterOrLowRegister(location); in FindFirstRegisterHint()
464 Location location = input_interval->ToLocation(); in FindHintAtDefinition() local
465 if (location.IsRegisterKind()) { in FindHintAtDefinition()
466 DCHECK(SameRegisterKind(location)); in FindHintAtDefinition()
467 return RegisterOrLowRegister(location); in FindHintAtDefinition()
Doptimizing_cfi_test.cc68 auto location = Location::RegisterLocation(core_reg); in SetUpFrame() local
69 code_gen_->AddAllocatedRegister(location); in SetUpFrame()
76 auto location = Location::FpuRegisterLocation(fp_reg); in SetUpFrame() local
77 code_gen_->AddAllocatedRegister(location); in SetUpFrame()
Dregister_allocation_resolver.cc62 Location location = locations->Out(); in Resolve() local
65 if (location.IsStackSlot()) { in Resolve()
66 location = Location::StackSlot(location.GetStackIndex() + codegen_->GetFrameSize()); in Resolve()
67 current->SetSpillSlot(location.GetStackIndex()); in Resolve()
68 locations->UpdateOut(location); in Resolve()
69 } else if (location.IsDoubleStackSlot()) { in Resolve()
70 location = Location::DoubleStackSlot(location.GetStackIndex() + codegen_->GetFrameSize()); in Resolve()
71 current->SetSpillSlot(location.GetStackIndex()); in Resolve()
72 locations->UpdateOut(location); in Resolve()
131 if (location.IsUnallocated()) { in Resolve()
[all …]
/art/test/938-load-transform-bcp/src/
DMain.java86 public static ClassLoader getClassLoaderFor(String location) throws Exception { in getClassLoaderFor() argument
90 return (ClassLoader)ctor.newInstance(location + "/" + TEST_NAME + "-ex.jar", in getClassLoaderFor()
95 new java.net.URL[] { new java.net.URL("file://" + location + "/classes-ex/") }); in getClassLoaderFor()
/art/test/138-duplicate-classes-check2/src/
DMain.java27 public static ClassLoader getClassLoaderFor(String location) throws Exception { in getClassLoaderFor() argument
33 return (ClassLoader) ctor.newInstance(location + "/" + TEST_NAME + "-ex.jar", in getClassLoaderFor()
38 new java.net.URL[] { new java.net.URL("file://" + location + "/classes-ex/") }); in getClassLoaderFor()
/art/test/934-load-transform/src/
DMain.java58 public static ClassLoader getClassLoaderFor(String location) throws Exception { in getClassLoaderFor() argument
63 return (ClassLoader)ctor.newInstance(location + "/" + TEST_NAME + "-ex.jar", in getClassLoaderFor()
68 new java.net.URL[] { new java.net.URL("file://" + location + "/classes-ex/") }); in getClassLoaderFor()
/art/libdexfile/external/
Ddex_file_ext.cc191 const char* location, in ExtDexFileOpenFromMemory() argument
210 android::base::StringPrintf("Corrupt CompactDexFile header in '%s'", location)}; in ExtDexFileOpenFromMemory()
218 android::base::StringPrintf("Unrecognized dex file header in '%s'", location)}; in ExtDexFileOpenFromMemory()
228 std::string loc_str(location); in ExtDexFileOpenFromMemory()
250 const char* location, in ExtDexFileOpenFromFd() argument
259 android::base::StringPrintf("fstat '%s' failed: %s", location, std::strerror(errno))}; in ExtDexFileOpenFromFd()
264 android::base::StringPrintf("Attempt to mmap directory '%s'", location)}; in ExtDexFileOpenFromFd()
274 location, in ExtDexFileOpenFromFd()
285 android::base::StringPrintf("mmap '%s' failed: %s", location, std::strerror(errno))}; in ExtDexFileOpenFromFd()
293 new ExtDexFileString{android::base::StringPrintf("Corrupt header in '%s'", location)}; in ExtDexFileOpenFromFd()
[all …]
/art/test/164-resolution-trampoline-dex-cache/src/
DMain.java42 public static ClassLoader getClassLoaderFor(String location, ClassLoader parent, boolean ex) in getClassLoaderFor() argument
48 String path = location + "/" + TEST_NAME + (ex ? "-ex.jar" : ".jar"); in getClassLoaderFor()
52 String url = "file://" + location + (ex ? "/classes-ex/" : "/classes/"); in getClassLoaderFor()
/art/test/935-non-retransformable/src/
DMain.java64 public static ClassLoader getClassLoaderFor(String location) throws Exception { in getClassLoaderFor() argument
69 return (ClassLoader)ctor.newInstance(location + "/" + TEST_NAME + "-ex.jar", in getClassLoaderFor()
74 new java.net.URL[] { new java.net.URL("file://" + location + "/classes-ex/") }); in getClassLoaderFor()
/art/test/991-field-trace-2/src/art/
DTest991.java32 Executable method, long location, Class<?> f_klass, Object target, Field f) { in notifyFieldAccess() argument
37 handleFieldAccess(method, location, f_klass, target, f); in notifyFieldAccess()
41 Executable method, long location, Class<?> f_klass, Object target, Field f, Object value) { in notifyFieldModify() argument
47 handleFieldModify(method, location, f_klass, target, f, value); in notifyFieldModify()
105 Executable m, long location, Class<?> f_klass, Object target, Field f, Object value) { in notifyFieldModify() argument
107 TRACE.notifyFieldModify(m, location, f_klass, target, f, value); in notifyFieldModify()
112 Executable m, long location, Class<?> f_klass, Object target, Field f) { in notifyFieldAccess() argument
114 TRACE.notifyFieldAccess(m, location, f_klass, target, f); in notifyFieldAccess()
/art/libelffile/stream/
Dvector_output_stream.cc23 VectorOutputStream::VectorOutputStream(const std::string& location, std::vector<uint8_t>* vector) in VectorOutputStream() argument
24 : OutputStream(location), offset_(vector->size()), vector_(vector) {} in VectorOutputStream()
Doutput_stream.h36 explicit OutputStream(const std::string& location) : location_(location) {} in OutputStream() argument
/art/test/ti-agent/
Dbreakpoint_helper.cc41 jlocation location) { in breakpointCB() argument
56 static_cast<jlong>(location)); in breakpointCB()
125 jlocation location) { in Java_art_Breakpoint_clearBreakpoint() argument
130 JvmtiErrorToException(env, jvmti_env, jvmti_env->ClearBreakpoint(method, location)); in Java_art_Breakpoint_clearBreakpoint()
136 jlocation location) { in Java_art_Breakpoint_setBreakpoint() argument
141 JvmtiErrorToException(env, jvmti_env, jvmti_env->SetBreakpoint(method, location)); in Java_art_Breakpoint_setBreakpoint()
/art/test/155-java-set-resolved-type/src/
DMain.java68 public static ClassLoader getClassLoaderFor(String location, ClassLoader parent, boolean ex) in getClassLoaderFor() argument
75 String path = location + "/" + TEST_NAME + (ex ? "-ex.jar" : ".jar"); in getClassLoaderFor()
79 String url = "file://" + location + (ex ? "/classes-ex/" : "/classes/"); in getClassLoaderFor()
/art/test/911-get-stack-trace/
Dstack_trace.cc43 jlocation location) { in FindLineNumber() argument
50 if (line_number_table[i].start_location > location) { in FindLineNumber()
97 return env->NewStringUTF(StringPrintf("%" PRId64, frames[method_index].location).c_str()); in TranslateJvmtiFrameInfoArray()
101 frames[method_index].location); in TranslateJvmtiFrameInfoArray()
220 jlocation location; in Java_art_Frames_getFrameLocation() local
222 jvmtiError result = jvmti_env->GetFrameLocation(thread, depth, &method, &location); in Java_art_Frames_getFrameLocation()
248 android::base::StringPrintf("%x", static_cast<uint32_t>(location)).c_str()); in Java_art_Frames_getFrameLocation()
/art/libdexfile/external/include/art_api/
Ddex_file_external.h56 const char* location,
63 const char* location,
/art/openjdkjvmti/
Dti_breakpoint.cc151 jvmtiError BreakpointUtil::SetBreakpoint(jvmtiEnv* jenv, jmethodID method, jlocation location) { in SetBreakpoint() argument
158 if (location < 0 || static_cast<uint32_t>(location) >= in SetBreakpoint()
165 auto res_pair = env->breakpoints.insert(/* Breakpoint */ {art_method, location}); in SetBreakpoint()
175 jvmtiError BreakpointUtil::ClearBreakpoint(jvmtiEnv* jenv, jmethodID method, jlocation location) { in ClearBreakpoint() argument
184 auto pos = env->breakpoints.find(/* Breakpoint */ {art_method, location}); in ClearBreakpoint()
Dti_breakpoint.h81 static jvmtiError SetBreakpoint(jvmtiEnv* env, jmethodID method, jlocation location);
82 static jvmtiError ClearBreakpoint(jvmtiEnv* env, jmethodID method, jlocation location);
/art/libartbase/base/
Dfile_utils.cc342 bool GetDalvikCacheFilename(const char* location, const char* cache_location, in GetDalvikCacheFilename() argument
344 if (location[0] != '/') { in GetDalvikCacheFilename()
345 *error_msg = StringPrintf("Expected path in location to be absolute: %s", location); in GetDalvikCacheFilename()
348 std::string cache_file(&location[1]); // skip leading slash in GetDalvikCacheFilename()
349 if (!android::base::EndsWith(location, ".dex") && in GetDalvikCacheFilename()
350 !android::base::EndsWith(location, ".art") && in GetDalvikCacheFilename()
351 !android::base::EndsWith(location, ".oat")) { in GetDalvikCacheFilename()
373 std::string GetSystemImageFilename(const char* location, const InstructionSet isa) { in GetSystemImageFilename() argument
376 std::string filename(location); in GetSystemImageFilename()
Dcommon_art_test.h101 const std::string& location, in Create() argument
105 fake_dex->dex = CreateFakeDex(location, checksum, num_method_ids, &fake_dex->storage); in Create()
110 const std::string& location, in CreateFakeDex() argument
127 location, in CreateFakeDex()
151 const std::string& location, in AddFakeDex() argument
154 fake_dex_files.push_back(FakeDex::Create(location, checksum, num_method_ids)); in AddFakeDex()
269 std::unique_ptr<const DexFile> LoadExpectSingleDexFile(const char* location);
/art/runtime/jit/
Dprofile_saver.cc681 static bool ShouldProfileLocation(const std::string& location, bool profile_aot_code) { in ShouldProfileLocation() argument
689 const OatFile* oat_file = oat_manager.FindOpenedOatFileFromDexLocation(location); in ShouldProfileLocation()
694 VLOG(profiler) << "Asked to profile a location without an oat file:" << location; in ShouldProfileLocation()
701 << location << " oat location: " << oat_file->GetLocation(); in ShouldProfileLocation()
718 for (const std::string& location : code_paths) { in Start() local
719 if (ShouldProfileLocation(location, options.GetProfileAOTCode())) { in Start()
720 VLOG(profiler) << "Code path to profile " << location; in Start()
721 code_paths_to_profile.push_back(location); in Start()
731 for (const std::string& location : code_paths) { in Start() local
734 code_paths_keys.insert(ProfileCompilationInfo::GetProfileDexFileBaseKey(location)); in Start()
[all …]

123456789