src/share/vm/c1/c1_Canonicalizer.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Sdiff src/share/vm/c1

src/share/vm/c1/c1_Canonicalizer.cpp

Print this page
rev 5350 : 8026054: New type profiling points: type of return values at calls
Summary: x86 interpreter and c1 type profiling for return values at calls
Reviewed-by:


 918   if (match(x, &base, &index, &log2_scale)) {
 919     x->set_base(base);
 920     x->set_index(index);
 921     x->set_log2_scale(log2_scale);
 922     if (PrintUnsafeOptimization) {
 923       tty->print_cr("Canonicalizer: UnsafeRawOp id %d: base = id %d, index = id %d, log2_scale = %d",
 924                     x->id(), x->base()->id(), x->index()->id(), x->log2_scale());
 925     }
 926   }
 927 }
 928 
 929 void Canonicalizer::do_RoundFP(RoundFP* x) {}
 930 void Canonicalizer::do_UnsafeGetRaw(UnsafeGetRaw* x) { if (OptimizeUnsafes) do_UnsafeRawOp(x); }
 931 void Canonicalizer::do_UnsafePutRaw(UnsafePutRaw* x) { if (OptimizeUnsafes) do_UnsafeRawOp(x); }
 932 void Canonicalizer::do_UnsafeGetObject(UnsafeGetObject* x) {}
 933 void Canonicalizer::do_UnsafePutObject(UnsafePutObject* x) {}
 934 void Canonicalizer::do_UnsafeGetAndSetObject(UnsafeGetAndSetObject* x) {}
 935 void Canonicalizer::do_UnsafePrefetchRead (UnsafePrefetchRead*  x) {}
 936 void Canonicalizer::do_UnsafePrefetchWrite(UnsafePrefetchWrite* x) {}
 937 void Canonicalizer::do_ProfileCall(ProfileCall* x) {}

 938 void Canonicalizer::do_ProfileInvoke(ProfileInvoke* x) {}
 939 void Canonicalizer::do_RuntimeCall(RuntimeCall* x) {}
 940 void Canonicalizer::do_RangeCheckPredicate(RangeCheckPredicate* x) {}
 941 #ifdef ASSERT
 942 void Canonicalizer::do_Assert(Assert* x) {}
 943 #endif
 944 void Canonicalizer::do_MemBar(MemBar* x) {}


 918   if (match(x, &base, &index, &log2_scale)) {
 919     x->set_base(base);
 920     x->set_index(index);
 921     x->set_log2_scale(log2_scale);
 922     if (PrintUnsafeOptimization) {
 923       tty->print_cr("Canonicalizer: UnsafeRawOp id %d: base = id %d, index = id %d, log2_scale = %d",
 924                     x->id(), x->base()->id(), x->index()->id(), x->log2_scale());
 925     }
 926   }
 927 }
 928 
 929 void Canonicalizer::do_RoundFP(RoundFP* x) {}
 930 void Canonicalizer::do_UnsafeGetRaw(UnsafeGetRaw* x) { if (OptimizeUnsafes) do_UnsafeRawOp(x); }
 931 void Canonicalizer::do_UnsafePutRaw(UnsafePutRaw* x) { if (OptimizeUnsafes) do_UnsafeRawOp(x); }
 932 void Canonicalizer::do_UnsafeGetObject(UnsafeGetObject* x) {}
 933 void Canonicalizer::do_UnsafePutObject(UnsafePutObject* x) {}
 934 void Canonicalizer::do_UnsafeGetAndSetObject(UnsafeGetAndSetObject* x) {}
 935 void Canonicalizer::do_UnsafePrefetchRead (UnsafePrefetchRead*  x) {}
 936 void Canonicalizer::do_UnsafePrefetchWrite(UnsafePrefetchWrite* x) {}
 937 void Canonicalizer::do_ProfileCall(ProfileCall* x) {}
 938 void Canonicalizer::do_ProfileReturnType(ProfileReturnType* x) {}
 939 void Canonicalizer::do_ProfileInvoke(ProfileInvoke* x) {}
 940 void Canonicalizer::do_RuntimeCall(RuntimeCall* x) {}
 941 void Canonicalizer::do_RangeCheckPredicate(RangeCheckPredicate* x) {}
 942 #ifdef ASSERT
 943 void Canonicalizer::do_Assert(Assert* x) {}
 944 #endif
 945 void Canonicalizer::do_MemBar(MemBar* x) {}
src/share/vm/c1/c1_Canonicalizer.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File