Searched defs:compare (Results 1 - 17 of 17) sorted by relevance

/art/compiler/optimizing/
H A Dcha_guard_optimization.cc90 HInstruction* compare = flag->GetNext(); local
91 DCHECK(compare->IsNotEqual());
92 HInstruction* deopt = compare->GetNext();
101 block->RemoveInstruction(compare);
186 HInstruction* compare = flag->GetNext(); local
187 DCHECK(compare->IsNotEqual());
188 HInstruction* deopt = compare->GetNext();
199 compare->MoveBefore(pre_header->GetLastInstruction());
206 GetGraph()->GetArena(), compare, DeoptimizationKind::kCHA, suspend->GetDexPc());
H A Dpc_relative_fixups_x86.cc60 void VisitCompare(HCompare* compare) OVERRIDE {
61 BinaryFP(compare); variable
H A Dinduction_var_analysis_test.cc114 HInstruction* compare = new (&allocator_) HLessThan(basic_[d], constant100_); local
115 loop_header_[d]->AddInstruction(compare);
116 loop_header_[d]->AddInstruction(new (&allocator_) HIf(compare));
H A Dreference_type_propagation.cc266 HInstruction* compare = check->InputAt(0); local
267 if (!compare->IsEqual() && !compare->IsNotEqual()) {
270 HInstruction* input_one = compare->InputAt(0);
271 HInstruction* input_two = compare->InputAt(1);
309 HBasicBlock* trueBlock = compare->IsEqual()
315 if (compare->IsEqual() && check->AsDeoptimize()->GuardsAnInput()) {
H A Dinliner.cc805 HInstruction* compare = new (graph_->GetArena()) HNotEqual( local
808 graph_->GetArena(), compare, DeoptimizationKind::kCHA, dex_pc);
815 bb_cursor->InsertInstructionAfter(compare, deopt_flag);
816 bb_cursor->InsertInstructionAfter(deopt, compare);
853 // Note that we will just compare the classes, so we don't need Java semantics access checks.
878 HNotEqual* compare = new (graph_->GetArena()) HNotEqual(load_class, receiver_class); local
879 bb_cursor->InsertInstructionAfter(compare, load_class);
883 compare,
889 bb_cursor->InsertInstructionAfter(deoptimize, compare);
895 return compare;
956 HInstruction* compare = AddTypeGuard(receiver, local
997 CreateDiamondPatternForPolymorphicInline(HInstruction* compare, HInstruction* return_replacement, HInstruction* invoke_instruction) argument
1155 HNotEqual* compare = new (graph_->GetArena()) HNotEqual(class_table_get, constant); local
[all...]
H A Dinstruction_simplifier.cc1169 // We can replace the compare.
1213 // Both 'dx' and 'jack' generate a compare to 0 when compiling a
1222 // Someone else also wants the result of the compare.
1227 // There is a reference to the compare result in an environment. Do we really need it?
1906 HCompare* compare = new (GetGraph()->GetArena()) local
1908 invoke->GetBlock()->ReplaceAndRemoveInstructionWith(invoke, compare);
H A Dintrinsics_mips.cc934 MipsLabel compare; local
958 // If equal, handle zeroes, else compare further.
964 __ Bc1f(&compare);
992 __ Bind(&compare);
2148 // Assertions that must hold in order to compare strings 4 bytes at a time.
2152 // For string compression, calculate the number of bytes to compare (not chars).
2165 // Loop to compare strings 4 bytes at a time starting at the beginning of the string.
2256 // Need a temp for slow-path codepoint compare, and need to send start-index=0.
2282 // Need a temp for slow-path codepoint compare.
H A Dcode_generator_arm64.cc81 // The compare/jump sequence will generate about (1.5 * num_entries + 3) instructions. While jump
1062 // LDXR/CMP/BNE sequence of instructions in the compare-and-set
1070 // using a strong compare-and-set (CAS) operation with relaxed
3141 // Note however that some methods (Float.equal, Float.compare,
3142 // Float.compareTo, Double.equal, Double.compare,
3155 void LocationsBuilderARM64::VisitCompare(HCompare* compare) { argument
3157 new (GetGraph()->GetArena()) LocationSummary(compare, LocationSummary::kNoCall);
3158 Primitive::Type in_type = compare->InputAt(0)->GetType();
3167 locations->SetInAt(1, ARM64EncodableConstantOrRegister(compare->InputAt(1), compare));
3186 VisitCompare(HCompare* compare) argument
[all...]
H A Dcode_generator_arm.cc1012 // LDREX/SUBS/ITNE sequence of instructions in the compare-and-set
1020 // using a strong compare-and-set (CAS) operation with relaxed
1585 // Note however that some methods (Float.equal, Float.compare,
1586 // Float.compareTo, Double.equal, Double.compare,
2496 // Must be equal high, so compare the lows.
2511 // Must be equal high, so compare the lows.
2604 // Condition has been materialized, compare the output to 0.
4930 void LocationsBuilderARM::VisitCompare(HCompare* compare) { argument
4932 new (GetGraph()->GetArena()) LocationSummary(compare, LocationSummary::kNoCall);
4933 switch (compare
4958 VisitCompare(HCompare* compare) argument
[all...]
H A Dcode_generator_arm_vixl.cc1047 // LDREX/SUBS/ITNE sequence of instructions in the compare-and-set
1055 // using a strong compare-and-set (CAS) operation with relaxed
1674 // Note however that some methods (Float.equal, Float.compare,
1675 // Float.compareTo, Double.equal, Double.compare,
2531 // Must be equal high, so compare the lows.
2546 // Must be equal high, so compare the lows.
2640 // Condition has been materialized, compare the output to 0.
4927 void LocationsBuilderARMVIXL::VisitCompare(HCompare* compare) { argument
4929 new (GetGraph()->GetArena()) LocationSummary(compare, LocationSummary::kNoCall);
4930 switch (compare
4955 VisitCompare(HCompare* compare) argument
[all...]
H A Dcode_generator_x86.cc607 // LOCK CMPXCHGL instruction in the compare-and-set (CAS)
615 // using a strong compare-and-set (CAS) operation with relaxed
1471 // Must be equal high, so compare the lows.
1486 // Must be equal high, so compare the lows.
1499 // Must be equal high, so compare the lows.
1570 LOG(FATAL) << "Unexpected compare type " << type;
1633 // Materialized condition, compare against 0.
4336 void LocationsBuilderX86::VisitCompare(HCompare* compare) { argument
4338 new (GetGraph()->GetArena()) LocationSummary(compare, LocationSummary::kNoCall);
4339 switch (compare
4369 VisitCompare(HCompare* compare) argument
[all...]
H A Dcode_generator_x86_64.cc44 // The compare/jump sequence will generate about (1.5 * num_entries) instructions. A jump
626 // LOCK CMPXCHGL instruction in the compare-and-set (CAS)
634 // using a strong compare-and-set (CAS) operation with relaxed
1656 // Materialized condition, compare against 0.
2030 void LocationsBuilderX86_64::VisitCompare(HCompare* compare) { argument
2032 new (GetGraph()->GetArena()) LocationSummary(compare, LocationSummary::kNoCall);
2033 switch (compare->InputAt(0)->GetType()) {
2053 LOG(FATAL) << "Unexpected type for compare operation " << compare->InputAt(0)->GetType();
2057 void InstructionCodeGeneratorX86_64::VisitCompare(HCompare* compare) { argument
[all...]
/art/runtime/base/
H A Dstringpiece.cc52 int StringPiece::compare(const StringPiece& x) const { function in class:art::StringPiece
/art/test/137-cfi/src/
H A DMain.java181 public int compare(Main lhs, Main rhs) { method in class:Main
/art/tools/ahat/src/heapdump/
H A DSort.java43 public int compare(AhatInstance a, AhatInstance b) {
44 return Long.compare(b.getTotalRetainedSize(), a.getTotalRetainedSize());
62 public int compare(AhatInstance a, AhatInstance b) { method in class:Sort.InstanceByHeapRetainedSize
63 return Long.compare(b.getRetainedSize(mHeap), a.getRetainedSize(mHeap));
83 public int compare(T a, T b) { method in class:Sort.WithPriority
87 res = iter.next().compare(a, b);
121 public int compare(Site a, Site b) { method in class:Sort.SiteByHeapSize
122 return Long.compare(b.getSize(mHeap), a.getSize(mHeap));
132 public int compare(Site a, Site b) {
133 return Long.compare(
[all...]
/art/test/912-classes/src/art/
H A DTest912.java402 public int compare(Class<?> c1, Class<?> c2) { method in class:Test912.ClassNameComparator
/art/runtime/
H A Ddex_file.cc758 int compare = CompareModifiedUtf8ToModifiedUtf8AsUtf16CodePointValues(string, str); local
759 if (compare > 0) {
761 } else if (compare < 0) {
778 int compare = CompareModifiedUtf8ToModifiedUtf8AsUtf16CodePointValues(string, str); local
779 if (compare > 0) {
781 } else if (compare < 0) {
797 int compare = CompareModifiedUtf8ToUtf16AsCodePointValues(str, string, length); local
798 if (compare > 0) {
800 } else if (compare < 0) {
834 int compare local
[all...]

Completed in 341 milliseconds