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

/art/test/044-proxy/src/
H A DMethodComparator.java21 public int compare(Method m1, Method m2) { method in class:MethodComparator
/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()->GetAllocator(), 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.cc112 HInstruction* compare = new (GetAllocator()) HLessThan(basic_[d], constant100_); local
113 loop_header_[d]->AddInstruction(compare);
114 loop_header_[d]->AddInstruction(new (GetAllocator()) HIf(compare));
H A Dreference_type_propagation.cc289 HInstruction* compare = check->InputAt(0); local
290 if (!compare->IsEqual() && !compare->IsNotEqual()) {
293 HInstruction* input_one = compare->InputAt(0);
294 HInstruction* input_two = compare->InputAt(1);
332 HBasicBlock* trueBlock = compare->IsEqual()
338 if (compare->IsEqual() && check->AsDeoptimize()->GuardsAnInput()) {
H A Dinliner.cc878 HInstruction* compare = new (graph_->GetAllocator()) HNotEqual( local
881 graph_->GetAllocator(), compare, DeoptimizationKind::kCHA, dex_pc);
888 bb_cursor->InsertInstructionAfter(compare, deopt_flag);
889 bb_cursor->InsertInstructionAfter(deopt, compare);
926 // Note that we will just compare the classes, so we don't need Java semantics access checks.
951 HNotEqual* compare = new (graph_->GetAllocator()) HNotEqual(load_class, receiver_class); local
952 bb_cursor->InsertInstructionAfter(compare, load_class);
956 compare,
962 bb_cursor->InsertInstructionAfter(deoptimize, compare);
968 return compare;
1029 HInstruction* compare = AddTypeGuard(receiver, local
1070 CreateDiamondPatternForPolymorphicInline(HInstruction* compare, HInstruction* return_replacement, HInstruction* invoke_instruction) argument
1228 HNotEqual* compare = new (graph_->GetAllocator()) HNotEqual(class_table_get, constant); local
[all...]
H A Dinstruction_simplifier.cc1517 // We can replace the compare.
1562 // Both 'dx' and 'jack' generate a compare to 0 when compiling a
1571 // Someone else also wants the result of the compare.
1576 // There is a reference to the compare result in an environment. Do we really need it?
2274 HCompare* compare = new (GetGraph()->GetAllocator()) local
2276 invoke->GetBlock()->ReplaceAndRemoveInstructionWith(invoke, compare);
H A Dintrinsics_mips.cc932 MipsLabel compare; local
956 // If equal, handle zeroes, else compare further.
962 __ Bc1f(&compare);
990 __ Bind(&compare);
2151 // Assertions that must hold in order to compare strings 4 bytes at a time.
2155 // For string compression, calculate the number of bytes to compare (not chars).
2168 // Loop to compare strings 4 bytes at a time starting at the beginning of the string.
2257 // Need a temp for slow-path codepoint compare, and need to send start-index=0.
2278 // Need a temp for slow-path codepoint compare.
H A Dcode_generator_arm64.cc86 // The compare/jump sequence will generate about (1.5 * num_entries + 3) instructions. While jump
1022 // LDXR/CMP/BNE sequence of instructions in the compare-and-set
1030 // using a strong compare-and-set (CAS) operation with relaxed
3123 // Note however that some methods (Float.equal, Float.compare,
3124 // Float.compareTo, Double.equal, Double.compare,
3137 void LocationsBuilderARM64::VisitCompare(HCompare* compare) { argument
3139 new (GetGraph()->GetAllocator()) LocationSummary(compare, LocationSummary::kNoCall);
3140 DataType::Type in_type = compare->InputAt(0)->GetType();
3150 locations->SetInAt(1, ARM64EncodableConstantOrRegister(compare->InputAt(1), compare));
3169 VisitCompare(HCompare* compare) argument
[all...]
H A Dcode_generator_arm_vixl.cc1131 // LDREX/CMP/BNE sequence of instructions in the compare-and-set
1139 // using a strong compare-and-set (CAS) operation with relaxed
1746 // Note however that some methods (Float.equal, Float.compare,
1747 // Float.compareTo, Double.equal, Double.compare,
2936 // Condition has been materialized, compare the output to 0.
5233 void LocationsBuilderARMVIXL::VisitCompare(HCompare* compare) { argument
5235 new (GetGraph()->GetAllocator()) LocationSummary(compare, LocationSummary::kNoCall);
5236 switch (compare->InputAt(0)->GetType()) {
5253 locations->SetInAt(1, ArithmeticZeroOrFpuRegister(compare->InputAt(1)));
5258 LOG(FATAL) << "Unexpected type for compare operatio
5262 VisitCompare(HCompare* compare) argument
[all...]
H A Dcode_generator_mips.cc682 // the compare-and-set (CAS) loop below would abort, leaving the
689 // using a strong compare-and-set (CAS) operation with relaxed
3363 // Otherwise, compare the classes.
3491 void LocationsBuilderMIPS::VisitCompare(HCompare* compare) { argument
3492 DataType::Type in_type = compare->InputAt(0)->GetType();
3495 new (GetGraph()->GetAllocator()) LocationSummary(compare, LocationSummary::kNoCall);
3524 LOG(FATAL) << "Unexpected type for compare operation " << in_type;
3651 LOG(FATAL) << "Unimplemented compare type " << in_type;
4358 // the comparison and thus lets us compare directly with
4383 // the comparison and thus lets us compare directl
[all...]
H A Dcode_generator_x86.cc600 // LOCK CMPXCHGL instruction in the compare-and-set (CAS)
608 // using a strong compare-and-set (CAS) operation with relaxed
1487 // Must be equal high, so compare the lows.
1502 // Must be equal high, so compare the lows.
1515 // Must be equal high, so compare the lows.
1586 LOG(FATAL) << "Unexpected compare type " << type;
1649 // Materialized condition, compare against 0.
4324 void LocationsBuilderX86::VisitCompare(HCompare* compare) { argument
4326 new (GetGraph()->GetAllocator()) LocationSummary(compare, LocationSummary::kNoCall);
4327 switch (compare
4358 VisitCompare(HCompare* compare) argument
[all...]
H A Dcode_generator_x86_64.cc48 // The compare/jump sequence will generate about (1.5 * num_entries) instructions. A jump
623 // LOCK CMPXCHGL instruction in the compare-and-set (CAS)
631 // using a strong compare-and-set (CAS) operation with relaxed
1667 // Materialized condition, compare against 0.
2041 void LocationsBuilderX86_64::VisitCompare(HCompare* compare) { argument
2043 new (GetGraph()->GetAllocator()) LocationSummary(compare, LocationSummary::kNoCall);
2044 switch (compare->InputAt(0)->GetType()) {
2065 LOG(FATAL) << "Unexpected type for compare operation " << compare->InputAt(0)->GetType();
2069 void InstructionCodeGeneratorX86_64::VisitCompare(HCompare* compare) { argument
[all...]
/art/test/137-cfi/src/
H A DMain.java181 public int compare(Main lhs, Main rhs) { method in class:Main
/art/tools/ahat/src/main/com/android/ahat/heapdump/
H A DSort.java40 public int compare(Size a, Size b) {
41 return Long.compare(a.getSize(), b.getSize());
54 public int compare(AhatInstance a, AhatInstance b) {
55 return SIZE_BY_SIZE.compare(b.getTotalRetainedSize(), a.getTotalRetainedSize());
73 public int compare(AhatInstance a, AhatInstance b) { method in class:Sort.InstanceByHeapRetainedSize
74 return SIZE_BY_SIZE.compare(b.getRetainedSize(mHeap), a.getRetainedSize(mHeap));
106 public int compare(T a, T b) { method in class:Sort.WithPriority
110 res = iter.next().compare(a, b);
170 public int compare(Site a, Site b) { method in class:Sort.SiteByHeapSize
171 return SIZE_BY_SIZE.compare(
[all...]
/art/libartbase/base/
H A Dstringpiece.h103 int compare(const StringPiece& x) const { function in class:art::StringPiece
/art/test/912-classes/src-art/art/
H A DTest912.java433 public int compare(Class<?> c1, Class<?> c2) { method in class:Test912.ClassNameComparator
/art/libdexfile/dex/
H A Ddex_file.cc320 int compare = CompareModifiedUtf8ToModifiedUtf8AsUtf16CodePointValues(string, str); local
321 if (compare > 0) {
323 } else if (compare < 0) {
340 int compare = CompareModifiedUtf8ToModifiedUtf8AsUtf16CodePointValues(string, str); local
341 if (compare > 0) {
343 } else if (compare < 0) {
359 int compare = CompareModifiedUtf8ToUtf16AsCodePointValues(str, string, length); local
360 if (compare > 0) {
362 } else if (compare < 0) {
396 int compare local
[all...]

Completed in 582 milliseconds