< prev index next >

src/share/vm/opto/loopnode.hpp

Print this page

        

*** 62,72 **** HasExactTripCount=8, InnerLoop=16, PartialPeelLoop=32, PartialPeelFailed=64, HasReductions=128, ! PassedSlpAnalysis=256 }; char _unswitch_count; enum { _unswitch_max=3 }; public: // Names for edge indices --- 62,74 ---- HasExactTripCount=8, InnerLoop=16, PartialPeelLoop=32, PartialPeelFailed=64, HasReductions=128, ! WasSlpAnalyzed=256, ! PassedSlpAnalysis=512, ! NoMoreSlp=1024 }; char _unswitch_count; enum { _unswitch_max=3 }; public: // Names for edge indices
*** 78,88 **** --- 80,92 ---- int is_partial_peel_loop() const { return _loop_flags & PartialPeelLoop; } void set_partial_peel_loop() { _loop_flags |= PartialPeelLoop; } int partial_peel_has_failed() const { return _loop_flags & PartialPeelFailed; } void mark_partial_peel_failed() { _loop_flags |= PartialPeelFailed; } void mark_has_reductions() { _loop_flags |= HasReductions; } + void mark_was_slp() { _loop_flags |= WasSlpAnalyzed; } void mark_passed_slp() { _loop_flags |= PassedSlpAnalysis; } + void mark_no_slp() { _loop_flags |= NoMoreSlp; } int unswitch_max() { return _unswitch_max; } int unswitch_count() { return _unswitch_count; } void set_unswitch_count(int val) { assert (val <= unswitch_max(), "too many unswitches");
*** 210,220 **** --- 214,226 ---- int is_normal_loop () const { return (_loop_flags&PreMainPostFlagsMask) == Normal; } int is_pre_loop () const { return (_loop_flags&PreMainPostFlagsMask) == Pre; } int is_main_loop () const { return (_loop_flags&PreMainPostFlagsMask) == Main; } int is_post_loop () const { return (_loop_flags&PreMainPostFlagsMask) == Post; } int is_reduction_loop() const { return (_loop_flags&HasReductions) == HasReductions; } + int was_slp_analyzed () const { return (_loop_flags&WasSlpAnalyzed) == WasSlpAnalyzed; } int has_passed_slp () const { return (_loop_flags&PassedSlpAnalysis) == PassedSlpAnalysis; } + int ignore_slp () const { return (_loop_flags&NoMoreSlp) == NoMoreSlp; } int is_main_no_pre_loop() const { return _loop_flags & MainHasNoPreLoop; } void set_main_no_pre_loop() { _loop_flags |= MainHasNoPreLoop; } int main_idx() const { return _main_idx; }
*** 233,242 **** --- 239,251 ---- _loop_flags |= HasExactTripCount; } void set_nonexact_trip_count() { _loop_flags &= ~HasExactTripCount; } + void set_notpassed_slp() { + _loop_flags &= ~PassedSlpAnalysis; + } void set_profile_trip_cnt(float ptc) { _profile_trip_cnt = ptc; } float profile_trip_cnt() { return _profile_trip_cnt; } void double_unrolled_count() { _unrolled_count_log2++; }
< prev index next >