Home
last modified time | relevance | path

Searched refs:lhs (Results 51 – 75 of 83) sorted by relevance

1234

/art/compiler/optimizing/
Dreference_type_propagation.cc416 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()
Dcode_generator_arm64.cc2124 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 …]
Dcode_generator_x86.h334 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);
Dcode_generator_x86_64.h592 void GenerateIntCompare(Location lhs, Location rhs);
593 void GenerateIntCompare(CpuRegister lhs, Location rhs);
596 void GenerateLongCompare(Location lhs, Location rhs);
Dinstruction_simplifier.cc723 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 …]
Dnodes.cc3029 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 …]
Dgraph_checker.cc1014 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()
Dcode_generator_x86.cc1628 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 …]
Dcode_generator_x86_64.cc1846 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 …]
Dssa_liveness_analysis.h211 [](const value_type& lhs, const value_type& rhs) { in FindUseAtOrAfterPosition()
212 return lhs.GetPosition() < rhs.GetPosition(); in FindUseAtOrAfterPosition()
Doptimizing_compiler.cc695 [](const linker::LinkerPatch& lhs, const linker::LinkerPatch& rhs) { in EmitAndSortLinkerPatches() argument
696 return lhs.LiteralOffset() < rhs.LiteralOffset(); in EmitAndSortLinkerPatches()
/art/dex2oat/linker/arm/
Drelative_patcher_arm_base.cc159 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/
Dtransform_array_ref_test.cc33 ATTRIBUTE_UNUSED bool operator==(const ValueHolder& lhs, const ValueHolder& rhs) { in operator ==() argument
34 return lhs.value == rhs.value; in operator ==()
Dbit_table.h319 [](const Entry& lhs, const Entry& rhs) {
320 return memcmp(&lhs, &rhs, sizeof(Entry)) == 0;
Dtransform_iterator_test.cc36 bool operator==(const ValueHolder& lhs, const ValueHolder& rhs) { in operator ==() argument
37 return lhs.value == rhs.value; in operator ==()
/art/runtime/native/
Djava_lang_reflect_Executable.cc301 const dex::TypeId& lhs = this_method->GetDexFile()->GetTypeId( in Executable_compareMethodParametersInternal() local
308 lhs.descriptor_idx_, &lhs_len); in Executable_compareMethodParametersInternal()
/art/tools/veridex/
Dflow_analysis.cc151 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/
DMain.java284 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/
Dmutex.cc49 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/
Doat_writer.cc1431 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/
Ddex_verify.cc183 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/
Dverifier_deps.cc896 [](const DepsEntry& lhs, const DepsEntry& rhs) { in Dump() argument
897 return lhs.first->GetLocation() < rhs.first->GetLocation(); in Dump()
Dreg_type.h349 static bool AssignableFrom(const RegType& lhs,
/art/compiler/utils/arm/
Djni_macro_assembler_arm_vixl.cc500 [](const ArgumentLocation& lhs, const ArgumentLocation& rhs) { in MoveArguments() argument
501 return lhs.GetFrameOffset().Uint32Value() < rhs.GetFrameOffset().Uint32Value(); in MoveArguments()
/art/runtime/mirror/
Dvar_handle.cc48 static bool CompareName(const VarHandleAccessorToAccessModeEntry& lhs, in CompareName()
50 return strcmp(lhs.method_name, rhs.method_name) < 0; in CompareName()

1234