/art/compiler/dex/quick/ |
D | resource_mask.h | 63 ResourceMask(const ResourceMask& other) = default; 64 ResourceMask& operator=(const ResourceMask& other) = default; 67 bool operator==(const ResourceMask& other) { 68 return masks_[0] == other.masks_[0] && masks_[1] == other.masks_[1]; 96 constexpr ResourceMask Union(const ResourceMask& other) const { in Union() argument 97 return ResourceMask(masks_[0] | other.masks_[0], masks_[1] | other.masks_[1]); in Union() 100 constexpr ResourceMask Intersection(const ResourceMask& other) const { in Intersection() argument 101 return ResourceMask(masks_[0] & other.masks_[0], masks_[1] & other.masks_[1]); in Intersection() 104 constexpr ResourceMask Without(const ResourceMask& other) const { in Without() argument 105 return ResourceMask(masks_[0] & ~other.masks_[0], masks_[1] & ~other.masks_[1]); in Without() [all …]
|
/art/compiler/utils/mips/ |
D | managed_register_mips.cc | 24 bool MipsManagedRegister::Overlaps(const MipsManagedRegister& other) const { in Overlaps() 25 if (IsNoRegister() || other.IsNoRegister()) return false; in Overlaps() 27 CHECK(other.IsValidManagedRegister()); in Overlaps() 28 if (Equals(other)) return true; in Overlaps() 32 return MipsManagedRegister::FromCoreRegister(low).Overlaps(other) || in Overlaps() 33 MipsManagedRegister::FromCoreRegister(high).Overlaps(other); in Overlaps() 36 if (other.IsDRegister()) return Equals(other); in Overlaps() 37 if (other.IsFRegister()) { in Overlaps() 40 FRegister other_freg = other.AsFRegister(); in Overlaps() 45 if (other.IsRegisterPair() || other.IsOverlappingDRegister()) { in Overlaps() [all …]
|
/art/compiler/utils/arm/ |
D | managed_register_arm.cc | 25 bool ArmManagedRegister::Overlaps(const ArmManagedRegister& other) const { in Overlaps() 26 if (IsNoRegister() || other.IsNoRegister()) return false; in Overlaps() 27 if (Equals(other)) return true; in Overlaps() 31 return ArmManagedRegister::FromCoreRegister(low).Overlaps(other) || in Overlaps() 32 ArmManagedRegister::FromCoreRegister(high).Overlaps(other); in Overlaps() 35 if (other.IsDRegister()) return Equals(other); in Overlaps() 36 if (other.IsSRegister()) { in Overlaps() 39 SRegister other_sreg = other.AsSRegister(); in Overlaps() 44 if (other.IsRegisterPair() || other.IsOverlappingDRegister()) { in Overlaps() 45 return other.Overlaps(*this); in Overlaps()
|
/art/compiler/utils/ |
D | managed_register.h | 47 ManagedRegister(const ManagedRegister& other) : id_(other.id_) { } in ManagedRegister() argument 49 ManagedRegister& operator=(const ManagedRegister& other) { 50 id_ = other.id_; 61 bool Equals(const ManagedRegister& other) const { in Equals() argument 62 return id_ == other.id_; in Equals() 88 ManagedRegisterSpill(const ManagedRegister& other, uint32_t size, uint32_t spill_offset) in ManagedRegisterSpill() argument 89 : ManagedRegister(other), size_(size), spill_offset_(spill_offset) { } in ManagedRegisterSpill() 91 explicit ManagedRegisterSpill(const ManagedRegister& other) in ManagedRegisterSpill() argument 92 : ManagedRegister(other), size_(-1), spill_offset_(-1) { } in ManagedRegisterSpill() 94 explicit ManagedRegisterSpill(const ManagedRegister& other, int32_t size) in ManagedRegisterSpill() argument [all …]
|
D | debug_stack.h | 58 DebugStackReferenceImpl(const DebugStackReferenceImpl& other) = default; 59 DebugStackReferenceImpl& operator=(const DebugStackReferenceImpl& other) = default; 67 DebugStackIndirectTopRefImpl(const DebugStackIndirectTopRefImpl& other) = default; 68 DebugStackIndirectTopRefImpl& operator=(const DebugStackIndirectTopRefImpl& other) = default; 94 DebugStackReferenceImpl(const DebugStackReferenceImpl& other) in DebugStackReferenceImpl() argument 95 : counter_(other.counter_), ref_count_(counter_->IncrementRefCount()) { in DebugStackReferenceImpl() 97 DebugStackReferenceImpl& operator=(const DebugStackReferenceImpl& other) { 98 CHECK(counter_ == other.counter_); 116 DebugStackIndirectTopRefImpl(const DebugStackIndirectTopRefImpl& other) in DebugStackIndirectTopRefImpl() argument 117 : ref_(other.ref_) { in DebugStackIndirectTopRefImpl() [all …]
|
D | scoped_arena_containers.h | 71 typedef ScopedArenaAllocatorAdapter<U> other; typedef 82 ScopedArenaAllocatorAdapter(const ScopedArenaAllocatorAdapter<U>& other) in ScopedArenaAllocatorAdapter() argument 83 : DebugStackReference(other), in ScopedArenaAllocatorAdapter() 84 DebugStackIndirectTopRef(other), in ScopedArenaAllocatorAdapter() 85 ArenaAllocatorAdapterKind(other), in ScopedArenaAllocatorAdapter() 86 arena_stack_(other.arena_stack_) { in ScopedArenaAllocatorAdapter() 88 ScopedArenaAllocatorAdapter(const ScopedArenaAllocatorAdapter& other) = default; 89 ScopedArenaAllocatorAdapter& operator=(const ScopedArenaAllocatorAdapter& other) = default; 114 typedef ScopedArenaAllocatorAdapter<U> other; typedef 125 ScopedArenaAllocatorAdapter(const ScopedArenaAllocatorAdapter<U>& other) in ScopedArenaAllocatorAdapter() argument [all …]
|
D | arena_containers.h | 70 ArenaAllocatorAdapterKindImpl& operator=(const ArenaAllocatorAdapterKindImpl& other) = default; 78 ArenaAllocatorAdapterKindImpl& operator=(const ArenaAllocatorAdapterKindImpl& other) = default; 97 typedef ArenaAllocatorAdapter<U> other; typedef 107 ArenaAllocatorAdapter(const ArenaAllocatorAdapter<U>& other) in ArenaAllocatorAdapter() argument 108 : DebugStackReference(other), in ArenaAllocatorAdapter() 109 ArenaAllocatorAdapterKind(other), in ArenaAllocatorAdapter() 110 arena_allocator_(other.arena_allocator_) { in ArenaAllocatorAdapter() 112 ArenaAllocatorAdapter(const ArenaAllocatorAdapter& other) = default; 113 ArenaAllocatorAdapter& operator=(const ArenaAllocatorAdapter& other) = default; 136 typedef ArenaAllocatorAdapter<U> other; typedef [all …]
|
D | swap_space.h | 113 typedef SwapAllocator<U> other; typedef 119 SwapAllocator(const SwapAllocator<U>& other) : swap_space_(other.swap_space_) {} in SwapAllocator() argument 121 SwapAllocator(const SwapAllocator& other) = default; 122 SwapAllocator& operator=(const SwapAllocator& other) = default; 145 typedef SwapAllocator<U> other; typedef 151 SwapAllocator(const SwapAllocator<U>& other) : swap_space_(other.swap_space_) {} in SwapAllocator() argument 153 SwapAllocator(const SwapAllocator& other) = default; 154 SwapAllocator& operator=(const SwapAllocator& other) = default; 191 inline bool operator==(SwapAllocator const& other) { 192 return swap_space_ == other.swap_space_; [all …]
|
D | arena_allocator.h | 70 ArenaAllocatorStatsImpl(const ArenaAllocatorStatsImpl& other) = default; 71 ArenaAllocatorStatsImpl& operator = (const ArenaAllocatorStatsImpl& other) = delete; 73 void Copy(const ArenaAllocatorStatsImpl& other) { UNUSED(other); } in Copy() argument 86 ArenaAllocatorStatsImpl(const ArenaAllocatorStatsImpl& other) = default; 87 ArenaAllocatorStatsImpl& operator = (const ArenaAllocatorStatsImpl& other) = delete; 89 void Copy(const ArenaAllocatorStatsImpl& other);
|
D | array_ref.h | 97 ArrayRef& operator=(const ArrayRef& other) { 98 array_ = other.array_; 99 size_ = other.size_; 105 operator=(const ArrayRef<U>& other) { 106 return *this = ArrayRef(other);
|
/art/runtime/base/ |
D | hash_set.h | 69 bool operator==(const Iterator& other) const { 70 return hash_set_ == other.hash_set_ && index_ == other.index_; 72 bool operator!=(const Iterator& other) const { 73 return !(*this == other); 129 HashSet(const HashSet& other) : num_elements_(0), num_buckets_(0), data_(nullptr) { in HashSet() argument 130 *this = other; in HashSet() 132 HashSet(HashSet&& other) : num_elements_(0), num_buckets_(0), data_(nullptr) { in HashSet() argument 133 *this = std::move(other); in HashSet() 138 HashSet& operator=(HashSet&& other) { 139 std::swap(data_, other.data_); [all …]
|
D | bit_vector.h | 51 bool operator==(const IndexIterator& other) const { 52 DCHECK(bit_storage_ == other.bit_storage_); 53 DCHECK_EQ(storage_size_, other.storage_size_); 54 return bit_index_ == other.bit_index_; 57 bool operator!=(const IndexIterator& other) const { 58 return !(*this == other);
|
D | timing_logger.h | 108 TimingData(TimingData&& other) { in TimingData() argument 109 std::swap(data_, other.data_); in TimingData() 111 TimingData& operator=(TimingData&& other) { 112 std::swap(data_, other.data_);
|
/art/compiler/utils/x86/ |
D | managed_register_x86.cc | 58 bool X86ManagedRegister::Overlaps(const X86ManagedRegister& other) const { in Overlaps() 59 if (IsNoRegister() || other.IsNoRegister()) return false; in Overlaps() 61 CHECK(other.IsValidManagedRegister()); in Overlaps() 62 if (Equals(other)) return true; in Overlaps() 66 return X86ManagedRegister::FromCpuRegister(low).Overlaps(other) || in Overlaps() 67 X86ManagedRegister::FromCpuRegister(high).Overlaps(other); in Overlaps() 69 if (other.IsRegisterPair()) { in Overlaps() 70 return other.Overlaps(*this); in Overlaps()
|
/art/compiler/utils/x86_64/ |
D | managed_register_x86_64.cc | 57 bool X86_64ManagedRegister::Overlaps(const X86_64ManagedRegister& other) const { in Overlaps() 58 if (IsNoRegister() || other.IsNoRegister()) return false; in Overlaps() 60 CHECK(other.IsValidManagedRegister()); in Overlaps() 61 if (Equals(other)) return true; in Overlaps() 65 return X86_64ManagedRegister::FromCpuRegister(low).Overlaps(other) || in Overlaps() 66 X86_64ManagedRegister::FromCpuRegister(high).Overlaps(other); in Overlaps() 68 if (other.IsRegisterPair()) { in Overlaps() 69 return other.Overlaps(*this); in Overlaps()
|
/art/compiler/dex/ |
D | local_value_numbering.h | 45 bool Equals(const LocalValueNumbering& other) const; 74 void MergeOne(const LocalValueNumbering& other, MergeType merge_type); 144 bool operator==(const RangeCheckKey& other) const { 145 return array == other.array && index == other.index; 172 bool operator==(const EscapedIFieldClobberKey& other) const { 173 return base == other.base && type == other.type && field_id == other.field_id; 201 bool operator==(const EscapedArrayClobberKey& other) const { 202 return base == other.base && type == other.type; 248 bool operator==(const AliasingValues& other) const { 249 return memory_version_before_stores == other.memory_version_before_stores && [all …]
|
D | local_value_numbering.cc | 343 bool LocalValueNumbering::Equals(const LocalValueNumbering& other) const { in Equals() 344 DCHECK(gvn_ == other.gvn_); in Equals() 346 return sreg_value_map_ == other.sreg_value_map_ && in Equals() 347 sreg_wide_value_map_ == other.sreg_wide_value_map_ && in Equals() 348 sfield_value_map_ == other.sfield_value_map_ && in Equals() 349 non_aliasing_ifield_value_map_ == other.non_aliasing_ifield_value_map_ && in Equals() 350 aliasing_ifield_value_map_ == other.aliasing_ifield_value_map_ && in Equals() 351 non_aliasing_array_value_map_ == other.non_aliasing_array_value_map_ && in Equals() 352 aliasing_array_value_map_ == other.aliasing_array_value_map_ && in Equals() 353 SameMemoryVersion(other) && in Equals() [all …]
|
/art/compiler/utils/arm64/ |
D | managed_register_arm64.cc | 43 bool Arm64ManagedRegister::Overlaps(const Arm64ManagedRegister& other) const { in Overlaps() 44 if (IsNoRegister() || other.IsNoRegister()) return false; in Overlaps() 45 if ((IsGPRegister() && other.IsGPRegister()) || in Overlaps() 46 (IsFPRegister() && other.IsFPRegister())) { in Overlaps() 47 return (RegNo() == other.RegNo()); in Overlaps()
|
/art/runtime/ |
D | offsets.h | 48 bool operator>(FrameOffset other) const { return val_ > other.val_; } 49 bool operator<(FrameOffset other) const { return val_ < other.val_; }
|
D | method_helper-inl.h | 29 inline bool MethodHelper::HasSameNameAndSignature(MethodHelper* other) { in HasSameNameAndSignature() argument 32 if (method_->GetDexCache() == other->method_->GetDexCache()) { in HasSameNameAndSignature() 34 dex_file->GetMethodId(other->GetMethod()->GetDexMethodIndex()); in HasSameNameAndSignature() 37 const DexFile* other_dex_file = other->method_->GetDexFile(); in HasSameNameAndSignature() 39 other_dex_file->GetMethodId(other->GetMethod()->GetDexMethodIndex()); in HasSameNameAndSignature()
|
D | method_helper.cc | 39 bool MethodHelper::HasSameSignatureWithDifferentClassLoaders(MethodHelper* other) { in HasSameSignatureWithDifferentClassLoaders() argument 40 if (UNLIKELY(GetReturnType() != other->GetReturnType())) { in HasSameSignatureWithDifferentClassLoaders() 44 const DexFile::TypeList* other_types = other->method_->GetParameterTypeList(); in HasSameSignatureWithDifferentClassLoaders() 57 other->GetClassFromTypeIdx(other_types->GetTypeItem(i).type_idx_); in HasSameSignatureWithDifferentClassLoaders()
|
/art/compiler/optimizing/ |
D | ssa_liveness_analysis.h | 64 bool IntersectsWith(const LiveRange& other) { in IntersectsWith() argument 65 return (start_ >= other.start_ && start_ < other.end_) in IntersectsWith() 66 || (other.start_ >= start_ && other.start_ < end_); in IntersectsWith() 69 bool IsBefore(const LiveRange& other) { in IsBefore() argument 70 return end_ <= other.start_; in IsBefore() 259 size_t FirstIntersectionWith(LiveInterval* other) const { in FirstIntersectionWith() argument 263 LiveRange* other_range = other->first_range_; in FirstIntersectionWith() 401 bool StartsBefore(LiveInterval* other) const { in StartsBefore() argument 402 return GetStart() <= other->GetStart(); in StartsBefore() 405 bool StartsAfter(LiveInterval* other) const { in StartsAfter() argument [all …]
|
D | locations.h | 68 Location(const Location& other) : ValueObject(), value_(other.value_) {} in Location() argument 70 Location& operator=(const Location& other) { 71 value_ = other.value_; 179 bool Equals(Location other) const { in Equals() argument 180 return value_ == other.value_; in Equals()
|
D | nodes.cc | 274 bool HLoopInformation::IsIn(const HLoopInformation& other) const { in IsIn() 275 return other.blocks_.IsBitSet(header_->GetBlockId()); in IsIn() 278 bool HBasicBlock::Dominates(HBasicBlock* other) const { in Dominates() 281 HBasicBlock* current = other; in Dominates() 395 void HInstruction::ReplaceWith(HInstruction* other) { in ReplaceWith() argument 396 DCHECK(other != nullptr); in ReplaceWith() 401 user->SetRawInputAt(input_index, other); in ReplaceWith() 402 other->AddUseAt(user, input_index); in ReplaceWith() 409 user->SetRawEnvAt(input_index, other); in ReplaceWith() 410 other->AddEnvUseAt(user, input_index); in ReplaceWith()
|
/art/test/401-optimizing-compiler/src/ |
D | Main.java | 136 Object $opt$TestThisParameter(Object other) { in $opt$TestThisParameter() argument 138 return other; in $opt$TestThisParameter() 141 Object $opt$TestOtherParameter(Object other) { in $opt$TestOtherParameter() argument 143 return other; in $opt$TestOtherParameter() 146 Object $opt$TestReturnNewObject(Object other) { in $opt$TestReturnNewObject() argument
|