Home
last modified time | relevance | path

Searched refs:rhs (Results 1 – 25 of 67) sorted by relevance

123

/art/runtime/arch/arm64/
Dregisters_arm64.cc38 std::ostream& operator<<(std::ostream& os, const Register& rhs) { in operator <<() argument
39 if (rhs >= X0 && rhs <= XZR) { in operator <<()
40 os << kRegisterNames[rhs]; in operator <<()
42 os << "XRegister[" << static_cast<int>(rhs) << "]"; in operator <<()
47 std::ostream& operator<<(std::ostream& os, const WRegister& rhs) { in operator <<() argument
48 if (rhs >= W0 && rhs <= WZR) { in operator <<()
49 os << kWRegisterNames[rhs]; in operator <<()
51 os << "WRegister[" << static_cast<int>(rhs) << "]"; in operator <<()
56 std::ostream& operator<<(std::ostream& os, const DRegister& rhs) { in operator <<() argument
57 if (rhs >= D0 && rhs < kNumberOfDRegisters) { in operator <<()
[all …]
Dregisters_arm64.h71 std::ostream& operator<<(std::ostream& os, const Register& rhs);
111 std::ostream& operator<<(std::ostream& os, const WRegister& rhs);
150 std::ostream& operator<<(std::ostream& os, const DRegister& rhs);
189 std::ostream& operator<<(std::ostream& os, const SRegister& rhs);
/art/runtime/arch/arm/
Dregisters_arm.cc28 std::ostream& operator<<(std::ostream& os, const Register& rhs) { in operator <<() argument
29 if (rhs >= R0 && rhs <= PC) { in operator <<()
30 os << kRegisterNames[rhs]; in operator <<()
32 os << "Register[" << static_cast<int>(rhs) << "]"; in operator <<()
37 std::ostream& operator<<(std::ostream& os, const SRegister& rhs) { in operator <<() argument
38 if (rhs >= S0 && rhs < kNumberOfSRegisters) { in operator <<()
39 os << "s" << static_cast<int>(rhs); in operator <<()
41 os << "SRegister[" << static_cast<int>(rhs) << "]"; in operator <<()
/art/runtime/arch/x86_64/
Dregisters_x86_64.cc28 std::ostream& operator<<(std::ostream& os, const Register& rhs) { in operator <<() argument
29 if (rhs >= RAX && rhs <= R15) { in operator <<()
30 os << kRegisterNames[rhs]; in operator <<()
32 os << "Register[" << static_cast<int>(rhs) << "]"; in operator <<()
37 std::ostream& operator<<(std::ostream& os, const FloatRegister& rhs) { in operator <<() argument
38 if (rhs >= XMM0 && rhs <= XMM15) { in operator <<()
39 os << "xmm" << static_cast<int>(rhs); in operator <<()
41 os << "Register[" << static_cast<int>(rhs) << "]"; in operator <<()
Dregisters_x86_64.h49 std::ostream& operator<<(std::ostream& os, const Register& rhs);
70 std::ostream& operator<<(std::ostream& os, const FloatRegister& rhs);
/art/runtime/arch/mips/
Dregisters_mips.cc30 std::ostream& operator<<(std::ostream& os, const Register& rhs) { in operator <<() argument
31 if (rhs >= ZERO && rhs <= RA) { in operator <<()
32 os << kRegisterNames[rhs]; in operator <<()
34 os << "Register[" << static_cast<int>(rhs) << "]"; in operator <<()
39 std::ostream& operator<<(std::ostream& os, const FRegister& rhs) { in operator <<() argument
40 if (rhs >= F0 && rhs < kNumberOfFRegisters) { in operator <<()
41 os << "f" << static_cast<int>(rhs); in operator <<()
43 os << "FRegister[" << static_cast<int>(rhs) << "]"; in operator <<()
/art/runtime/
Ddex_file-inl.h60 inline bool Signature::operator==(const Signature& rhs) const {
62 return rhs.dex_file_ == nullptr;
64 if (rhs.dex_file_ == nullptr) {
67 if (dex_file_ == rhs.dex_file_) {
68 return proto_id_ == rhs.proto_id_;
77 rhs.dex_file_->StringDataAndUtf16LengthByIdx(rhs.proto_id_->shorty_idx_,
87 rhs.dex_file_->GetTypeId(rhs.proto_id_->return_type_idx_);
89 rhs.dex_file_, rhs_return_type_id.descriptor_idx_)) {
95 const DexFile::TypeList* rhs_params = rhs.dex_file_->GetProtoParameters(*rhs.proto_id_);
104 rhs.dex_file_->GetTypeId(rhs_params->GetTypeItem(i).type_idx_);
[all …]
Dmapping_table.h96 bool operator==(const DexToPcIterator& rhs) const {
97 CHECK(table_ == rhs.table_);
98 return element_ == rhs.element_;
100 bool operator!=(const DexToPcIterator& rhs) const {
101 CHECK(table_ == rhs.table_);
102 return element_ != rhs.element_;
173 bool operator==(const PcToDexIterator& rhs) const {
174 CHECK(table_ == rhs.table_);
175 return element_ == rhs.element_;
177 bool operator!=(const PcToDexIterator& rhs) const {
[all …]
Dclass_reference.h30 inline bool operator<(const ClassReference& lhs, const ClassReference& rhs) {
31 if (lhs.second < rhs.second) {
33 } else if (lhs.second > rhs.second) {
36 return (lhs.first < rhs.first);
Dindirect_reference_table.h121 std::ostream& operator<<(std::ostream& os, const IndirectRefKind& rhs);
225 bool equals(const IrtIterator& rhs) const { in equals() argument
226 return (i_ == rhs.i_ && table_ == rhs.table_); in equals()
244 bool inline operator==(const IrtIterator& lhs, const IrtIterator& rhs) {
245 return lhs.equals(rhs);
248 bool inline operator!=(const IrtIterator& lhs, const IrtIterator& rhs) {
249 return !lhs.equals(rhs);
Dsafe_map.h51 Self& operator=(const Self& rhs) {
52 map_ = rhs.map_;
114 bool Equals(const Self& rhs) const { in Equals() argument
115 return map_ == rhs.map_; in Equals()
124 const SafeMap<K, V, Comparator, Allocator>& rhs) {
125 return lhs.Equals(rhs);
130 const SafeMap<K, V, Comparator, Allocator>& rhs) {
131 return !(lhs == rhs);
/art/runtime/arch/x86/
Dregisters_x86.cc27 std::ostream& operator<<(std::ostream& os, const Register& rhs) { in operator <<() argument
28 if (rhs >= EAX && rhs <= EDI) { in operator <<()
29 os << kRegisterNames[rhs]; in operator <<()
31 os << "Register[" << static_cast<int>(rhs) << "]"; in operator <<()
/art/compiler/dex/
Dreg_storage_eq.h28 inline bool operator==(const RegStorage& lhs, const RegStorage& rhs) {
29 return lhs.ExactlyEquals(rhs);
32 inline bool operator!=(const RegStorage& lhs, const RegStorage& rhs) {
33 return lhs.NotExactlyEquals(rhs);
Dglobal_value_numbering.h118 bool operator()(const FieldReference& lhs, const FieldReference& rhs) const { in operator()
119 if (lhs.field_idx != rhs.field_idx) { in operator()
120 return lhs.field_idx < rhs.field_idx; in operator()
123 DCHECK(lhs.dex_file != rhs.dex_file || lhs.type == rhs.type); in operator()
124 return lhs.dex_file < rhs.dex_file; in operator()
146 bool operator()(const ArrayLocation& lhs, const ArrayLocation& rhs) const { in operator()
147 if (lhs.base != rhs.base) { in operator()
148 return lhs.base < rhs.base; in operator()
150 return lhs.index < rhs.index; in operator()
Dlocal_value_numbering.h150 bool operator()(const RangeCheckKey& lhs, const RangeCheckKey& rhs) const { in operator()
151 if (lhs.array != rhs.array) { in operator()
152 return lhs.array < rhs.array; in operator()
154 return lhs.index < rhs.index; in operator()
178 bool operator()(const EscapedIFieldClobberKey& lhs, const EscapedIFieldClobberKey& rhs) const { in operator()
180 if (lhs.base != rhs.base) { in operator()
181 return lhs.base < rhs.base; in operator()
186 if (lhs.type != rhs.type) { in operator()
187 return lhs.type < rhs.type; in operator()
189 return lhs.field_id < rhs.field_id; in operator()
[all …]
/art/runtime/base/
Dlogging.h38 UNLIKELY(!(_values.lhs OP _values.rhs)); /* empty */) \
41 << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") "
154 EagerEvaluator(LHS lhs, RHS rhs) : lhs(lhs), rhs(rhs) { } in EagerEvaluator()
156 RHS rhs; member
166 EagerEvaluator(T1 lhs, T2 rhs) \
168 rhs(reinterpret_cast<const void*>(rhs)) { } \
170 const void* rhs; \
186 EagerEvaluator<LHS, RHS> MakeEagerEvaluator(LHS lhs, RHS rhs) { in MakeEagerEvaluator() argument
187 return EagerEvaluator<LHS, RHS>(lhs, rhs); in MakeEagerEvaluator()
249 std::ostream& operator<<(std::ostream& os, const Dumpable<T>& rhs) {
[all …]
Dhex_dump.h48 inline std::ostream& operator<<(std::ostream& os, const HexDump& rhs) {
49 rhs.Dump(os);
/art/test/083-compiler-regressions/src/
DZeroTests.java42 private static long longDiv(long lhs, long rhs) { in longDiv() argument
43 return lhs / rhs; in longDiv()
46 private static long longMod(long lhs, long rhs) { in longMod() argument
47 return lhs % rhs; in longMod()
/art/compiler/
Dcompiled_method.cc58 bool CompiledCode::operator==(const CompiledCode& rhs) const { in operator ==()
60 if (rhs.quick_code_ == nullptr) { in operator ==()
62 } else if (quick_code_->size() != rhs.quick_code_->size()) { in operator ==()
65 return std::equal(quick_code_->begin(), quick_code_->end(), rhs.quick_code_->begin()); in operator ==()
68 if (rhs.portable_code_ == nullptr) { in operator ==()
70 } else if (portable_code_->size() != rhs.portable_code_->size()) { in operator ==()
74 rhs.portable_code_->begin()); in operator ==()
77 return (rhs.quick_code_ == nullptr) && (rhs.portable_code_ == nullptr); in operator ==()
Doat_writer.h309 bool operator()(const CompiledMethod* lhs, const CompiledMethod* rhs) const { in operator()
310 if (lhs->GetQuickCode() != rhs->GetQuickCode()) { in operator()
311 return lhs->GetQuickCode() < rhs->GetQuickCode(); in operator()
314 if (UNLIKELY(&lhs->GetMappingTable() != &rhs->GetMappingTable())) { in operator()
315 return &lhs->GetMappingTable() < &rhs->GetMappingTable(); in operator()
317 if (UNLIKELY(&lhs->GetVmapTable() != &rhs->GetVmapTable())) { in operator()
318 return &lhs->GetVmapTable() < &rhs->GetVmapTable(); in operator()
/art/runtime/jdwp/
Djdwp_main.cc601 std::ostream& operator<<(std::ostream& os, const JdwpLocation& rhs) { in operator <<() argument
603 << Dbg::GetClassName(rhs.class_id) << "." << Dbg::GetMethodName(rhs.method_id) in operator <<()
604 << "@" << StringPrintf("%#" PRIx64, rhs.dex_pc) << " " << rhs.type_tag << "]"; in operator <<()
608 bool operator==(const JdwpLocation& lhs, const JdwpLocation& rhs) { in operator ==() argument
609 return lhs.dex_pc == rhs.dex_pc && lhs.method_id == rhs.method_id && in operator ==()
610 lhs.class_id == rhs.class_id && lhs.type_tag == rhs.type_tag; in operator ==()
613 bool operator!=(const JdwpLocation& lhs, const JdwpLocation& rhs) { in operator !=() argument
614 return !(lhs == rhs); in operator !=()
/art/compiler/utils/
Dscoped_arena_containers.h169 const ScopedArenaAllocatorAdapter<U>& rhs);
174 const ScopedArenaAllocatorAdapter<T>& rhs) {
175 return lhs.arena_stack_ == rhs.arena_stack_;
180 const ScopedArenaAllocatorAdapter<T>& rhs) {
181 return !(lhs == rhs);
Darena_containers.h184 const ArenaAllocatorAdapter<U>& rhs);
189 const ArenaAllocatorAdapter<T>& rhs) {
190 return lhs.arena_allocator_ == rhs.arena_allocator_;
195 const ArenaAllocatorAdapter<T>& rhs) {
196 return !(lhs == rhs);
/art/compiler/utils/arm/
Dassembler_arm.cc38 std::ostream& operator<<(std::ostream& os, const Register& rhs) { in operator <<() argument
39 if (rhs >= R0 && rhs <= PC) { in operator <<()
40 os << kRegisterNames[rhs]; in operator <<()
42 os << "Register[" << static_cast<int>(rhs) << "]"; in operator <<()
48 std::ostream& operator<<(std::ostream& os, const SRegister& rhs) { in operator <<() argument
49 if (rhs >= S0 && rhs < kNumberOfSRegisters) { in operator <<()
50 os << "s" << static_cast<int>(rhs); in operator <<()
52 os << "SRegister[" << static_cast<int>(rhs) << "]"; in operator <<()
58 std::ostream& operator<<(std::ostream& os, const DRegister& rhs) { in operator <<() argument
59 if (rhs >= D0 && rhs < kNumberOfDRegisters) { in operator <<()
[all …]
/art/runtime/verifier/
Dreg_type.cc709 static bool AssignableFrom(RegType& lhs, RegType& rhs, bool strict) in AssignableFrom() argument
711 if (lhs.Equals(rhs)) { in AssignableFrom()
715 return rhs.IsBooleanTypes(); in AssignableFrom()
717 return rhs.IsByteTypes(); in AssignableFrom()
719 return rhs.IsShortTypes(); in AssignableFrom()
721 return rhs.IsCharTypes(); in AssignableFrom()
723 return rhs.IsIntegralTypes(); in AssignableFrom()
725 return rhs.IsFloatTypes(); in AssignableFrom()
727 return rhs.IsLongTypes(); in AssignableFrom()
729 return rhs.IsDoubleTypes(); in AssignableFrom()
[all …]

123