/art/compiler/optimizing/ |
D | reference_type_propagation.cc | 416 HInstruction* lhs = input->AsEqual()->GetLeastConstantLeft(); in MatchIfInstanceOf() local 417 if (lhs->IsInstanceOf() && rhs->IsIntConstant()) { in MatchIfInstanceOf() 426 *instanceOf = lhs->AsInstanceOf(); in MatchIfInstanceOf() 433 HInstruction* lhs = input->AsNotEqual()->GetLeastConstantLeft(); in MatchIfInstanceOf() local 434 if (lhs->IsInstanceOf() && rhs->IsIntConstant()) { in MatchIfInstanceOf() 443 *instanceOf = lhs->AsInstanceOf(); in MatchIfInstanceOf()
|
D | code_generator_arm64.cc | 2124 Register lhs = InputRegisterAt(instr, 0); in HandleBinaryOp() local 2127 __ Add(dst, lhs, rhs); in HandleBinaryOp() 2129 __ And(dst, lhs, rhs); in HandleBinaryOp() 2131 __ Orr(dst, lhs, rhs); in HandleBinaryOp() 2133 __ Sub(dst, lhs, rhs); in HandleBinaryOp() 2136 uint32_t shift = rhs.GetImmediate() & (lhs.GetSizeInBits() - 1); in HandleBinaryOp() 2137 __ Ror(dst, lhs, shift); in HandleBinaryOp() 2143 __ Ror(dst, lhs, RegisterFrom(instr->GetLocations()->InAt(1), type)); in HandleBinaryOp() 2146 __ Cmp(lhs, rhs); in HandleBinaryOp() 2147 __ Csel(dst, lhs, rhs, instr->IsMin() ? lt : gt); in HandleBinaryOp() [all …]
|
D | code_generator_x86.h | 334 void GenerateFPCompare(Location lhs, Location rhs, HInstruction* insn, bool is_double); 543 void GenerateIntCompare(Location lhs, Location rhs); 544 void GenerateIntCompare(Register lhs, Location rhs);
|
D | code_generator_x86_64.h | 592 void GenerateIntCompare(Location lhs, Location rhs); 593 void GenerateIntCompare(CpuRegister lhs, Location rhs); 596 void GenerateLongCompare(Location lhs, Location rhs);
|
D | instruction_simplifier.cc | 723 HInstruction *lhs = cond->InputAt(0); in GetOppositeConditionSwapOps() local 727 return new (allocator) HEqual(rhs, lhs); in GetOppositeConditionSwapOps() 729 return new (allocator) HNotEqual(rhs, lhs); in GetOppositeConditionSwapOps() 731 return new (allocator) HGreaterThan(rhs, lhs); in GetOppositeConditionSwapOps() 733 return new (allocator) HGreaterThanOrEqual(rhs, lhs); in GetOppositeConditionSwapOps() 735 return new (allocator) HLessThan(rhs, lhs); in GetOppositeConditionSwapOps() 737 return new (allocator) HLessThanOrEqual(rhs, lhs); in GetOppositeConditionSwapOps() 739 return new (allocator) HAbove(rhs, lhs); in GetOppositeConditionSwapOps() 741 return new (allocator) HAboveOrEqual(rhs, lhs); in GetOppositeConditionSwapOps() 743 return new (allocator) HBelow(rhs, lhs); in GetOppositeConditionSwapOps() [all …]
|
D | nodes.cc | 3029 HInstruction* lhs = cond->InputAt(0); in InsertOppositeCondition() local 3033 case kCondEQ: replacement = new (allocator) HEqual(lhs, rhs); break; in InsertOppositeCondition() 3034 case kCondNE: replacement = new (allocator) HNotEqual(lhs, rhs); break; in InsertOppositeCondition() 3035 case kCondLT: replacement = new (allocator) HLessThan(lhs, rhs); break; in InsertOppositeCondition() 3036 case kCondLE: replacement = new (allocator) HLessThanOrEqual(lhs, rhs); break; in InsertOppositeCondition() 3037 case kCondGT: replacement = new (allocator) HGreaterThan(lhs, rhs); break; in InsertOppositeCondition() 3038 case kCondGE: replacement = new (allocator) HGreaterThanOrEqual(lhs, rhs); break; in InsertOppositeCondition() 3039 case kCondB: replacement = new (allocator) HBelow(lhs, rhs); break; in InsertOppositeCondition() 3040 case kCondBE: replacement = new (allocator) HBelowOrEqual(lhs, rhs); break; in InsertOppositeCondition() 3041 case kCondA: replacement = new (allocator) HAbove(lhs, rhs); break; in InsertOppositeCondition() [all …]
|
D | graph_checker.cc | 1014 HInstruction* lhs = op->InputAt(0); in VisitCondition() local 1016 if (DataType::Kind(lhs->GetType()) != DataType::Kind(rhs->GetType())) { in VisitCondition() 1020 DataType::PrettyDescriptor(lhs->GetType()), in VisitCondition() 1024 if ((lhs->GetType() == DataType::Type::kReference)) { in VisitCondition()
|
D | code_generator_x86.cc | 1628 void InstructionCodeGeneratorX86::GenerateFPCompare(Location lhs, in GenerateFPCompare() argument 1635 __ ucomisd(lhs.AsFpuRegister<XmmRegister>(), rhs.AsFpuRegister<XmmRegister>()); in GenerateFPCompare() 1638 __ ucomisd(lhs.AsFpuRegister<XmmRegister>(), in GenerateFPCompare() 1645 __ ucomisd(lhs.AsFpuRegister<XmmRegister>(), Address(ESP, rhs.GetStackIndex())); in GenerateFPCompare() 1649 __ ucomiss(lhs.AsFpuRegister<XmmRegister>(), rhs.AsFpuRegister<XmmRegister>()); in GenerateFPCompare() 1652 __ ucomiss(lhs.AsFpuRegister<XmmRegister>(), in GenerateFPCompare() 1659 __ ucomiss(lhs.AsFpuRegister<XmmRegister>(), Address(ESP, rhs.GetStackIndex())); in GenerateFPCompare() 1756 Location lhs = instruction->GetLocations()->InAt(condition_input_index); in GenerateTestAndBranch() local 1757 if (lhs.IsRegister()) { in GenerateTestAndBranch() 1758 __ testl(lhs.AsRegister<Register>(), lhs.AsRegister<Register>()); in GenerateTestAndBranch() [all …]
|
D | code_generator_x86_64.cc | 1846 Location lhs = instruction->GetLocations()->InAt(condition_input_index); in GenerateTestAndBranch() local 1847 if (lhs.IsRegister()) { in GenerateTestAndBranch() 1848 __ testl(lhs.AsRegister<CpuRegister>(), lhs.AsRegister<CpuRegister>()); in GenerateTestAndBranch() 1850 __ cmpl(Address(CpuRegister(RSP), lhs.GetStackIndex()), Immediate(0)); in GenerateTestAndBranch() 1871 Location lhs = condition->GetLocations()->InAt(0); in GenerateTestAndBranch() local 1873 codegen_->GenerateIntCompare(lhs, rhs); in GenerateTestAndBranch() 2085 Location lhs = locations->InAt(0); in HandleCondition() local 2097 codegen_->GenerateIntCompare(lhs, rhs); in HandleCondition() 2104 codegen_->GenerateLongCompare(lhs, rhs); in HandleCondition() 2108 XmmRegister lhs_reg = lhs.AsFpuRegister<XmmRegister>(); in HandleCondition() [all …]
|
D | ssa_liveness_analysis.h | 211 [](const value_type& lhs, const value_type& rhs) { in FindUseAtOrAfterPosition() 212 return lhs.GetPosition() < rhs.GetPosition(); in FindUseAtOrAfterPosition()
|
D | optimizing_compiler.cc | 695 [](const linker::LinkerPatch& lhs, const linker::LinkerPatch& rhs) { in EmitAndSortLinkerPatches() argument 696 return lhs.LiteralOffset() < rhs.LiteralOffset(); in EmitAndSortLinkerPatches()
|
/art/dex2oat/linker/arm/ |
D | relative_patcher_arm_base.cc | 159 bool operator()(const ThunkData* lhs, const ThunkData* rhs) const { in operator ()() argument 160 DCHECK(lhs->HasPendingOffset()); in operator ()() 164 return lhs->GetPendingOffset() > rhs->GetPendingOffset(); in operator ()()
|
/art/libartbase/base/ |
D | transform_array_ref_test.cc | 33 ATTRIBUTE_UNUSED bool operator==(const ValueHolder& lhs, const ValueHolder& rhs) { in operator ==() argument 34 return lhs.value == rhs.value; in operator ==()
|
D | bit_table.h | 319 [](const Entry& lhs, const Entry& rhs) { 320 return memcmp(&lhs, &rhs, sizeof(Entry)) == 0;
|
D | transform_iterator_test.cc | 36 bool operator==(const ValueHolder& lhs, const ValueHolder& rhs) { in operator ==() argument 37 return lhs.value == rhs.value; in operator ==()
|
/art/runtime/native/ |
D | java_lang_reflect_Executable.cc | 301 const dex::TypeId& lhs = this_method->GetDexFile()->GetTypeId( in Executable_compareMethodParametersInternal() local 308 lhs.descriptor_idx_, &lhs_len); in Executable_compareMethodParametersInternal()
|
/art/tools/veridex/ |
D | flow_analysis.cc | 151 RegisterValue lhs = GetRegister(instruction.VRegA()); \ in GetBranchFlags() 153 if (lhs.IsConstant() && rhs.IsConstant()) { \ in GetBranchFlags() 154 if (lhs.GetConstant() op rhs.GetConstant()) { \ in GetBranchFlags()
|
/art/test/160-read-barrier-stress/src/ |
D | Main.java | 284 public static void assertDifferentObject(Object lhs, Object rhs) { in assertDifferentObject() argument 285 if (lhs == rhs) { in assertDifferentObject() 286 throw new Error("Same objects: " + lhs + " and " + rhs); in assertDifferentObject() 290 public static void assertSameObject(Object lhs, Object rhs) { in assertSameObject() argument 291 if (lhs != rhs) { in assertSameObject() 292 throw new Error("Different objects: " + lhs + " and " + rhs); in assertSameObject()
|
/art/runtime/base/ |
D | mutex.cc | 49 static bool ComputeRelativeTimeSpec(timespec* result_ts, const timespec& lhs, const timespec& rhs) { in ComputeRelativeTimeSpec() argument 51 result_ts->tv_sec = lhs.tv_sec - rhs.tv_sec; in ComputeRelativeTimeSpec() 52 result_ts->tv_nsec = lhs.tv_nsec - rhs.tv_nsec; in ComputeRelativeTimeSpec()
|
/art/dex2oat/linker/ |
D | oat_writer.cc | 1431 bool operator()(const CompiledMethod* lhs, const CompiledMethod* rhs) const { in operator ()() 1433 if (lhs->GetQuickCode().data() != rhs->GetQuickCode().data()) { in operator ()() 1434 return lhs->GetQuickCode().data() < rhs->GetQuickCode().data(); in operator ()() 1437 if (UNLIKELY(lhs->GetVmapTable().data() != rhs->GetVmapTable().data())) { in operator ()() 1438 return lhs->GetVmapTable().data() < rhs->GetVmapTable().data(); in operator ()() 1440 if (UNLIKELY(lhs->GetPatches().data() != rhs->GetPatches().data())) { in operator ()() 1441 return lhs->GetPatches().data() < rhs->GetPatches().data(); in operator ()() 1443 if (UNLIKELY(lhs->IsIntrinsic() != rhs->IsIntrinsic())) { in operator ()()
|
/art/dexlayout/ |
D | dex_verify.cc | 183 bool operator()(dex_ir::ClassDef* lhs, dex_ir::ClassDef* rhs) const { in operator ()() 184 return lhs->ClassType()->GetIndex() < rhs->ClassType()->GetIndex(); in operator ()()
|
/art/runtime/verifier/ |
D | verifier_deps.cc | 896 [](const DepsEntry& lhs, const DepsEntry& rhs) { in Dump() argument 897 return lhs.first->GetLocation() < rhs.first->GetLocation(); in Dump()
|
D | reg_type.h | 349 static bool AssignableFrom(const RegType& lhs,
|
/art/compiler/utils/arm/ |
D | jni_macro_assembler_arm_vixl.cc | 500 [](const ArgumentLocation& lhs, const ArgumentLocation& rhs) { in MoveArguments() argument 501 return lhs.GetFrameOffset().Uint32Value() < rhs.GetFrameOffset().Uint32Value(); in MoveArguments()
|
/art/runtime/mirror/ |
D | var_handle.cc | 48 static bool CompareName(const VarHandleAccessorToAccessModeEntry& lhs, in CompareName() 50 return strcmp(lhs.method_name, rhs.method_name) < 0; in CompareName()
|