Mercurial > hg > graal-compiler
comparison src/share/vm/opto/loopnode.hpp @ 1763:d6f45b55c972
4809552: Optimize Arrays.fill(...)
Reviewed-by: kvn
author | never |
---|---|
date | Fri, 27 Aug 2010 17:33:49 -0700 |
parents | 6027dddc26c6 |
children | f95d63e2154a |
comparison
equal
deleted
inserted
replaced
1731:ee5cc9e78493 | 1763:d6f45b55c972 |
---|---|
935 Node *split_thru_phi( Node *n, Node *region, int policy ); | 935 Node *split_thru_phi( Node *n, Node *region, int policy ); |
936 // Found an If getting its condition-code input from a Phi in the | 936 // Found an If getting its condition-code input from a Phi in the |
937 // same block. Split thru the Region. | 937 // same block. Split thru the Region. |
938 void do_split_if( Node *iff ); | 938 void do_split_if( Node *iff ); |
939 | 939 |
940 // Conversion of fill/copy patterns into intrisic versions | |
941 bool do_intrinsify_fill(); | |
942 bool intrinsify_fill(IdealLoopTree* lpt); | |
943 bool match_fill_loop(IdealLoopTree* lpt, Node*& store, Node*& store_value, | |
944 Node*& shift, Node*& offset); | |
945 | |
940 private: | 946 private: |
941 // Return a type based on condition control flow | 947 // Return a type based on condition control flow |
942 const TypeInt* filtered_type( Node *n, Node* n_ctrl); | 948 const TypeInt* filtered_type( Node *n, Node* n_ctrl); |
943 const TypeInt* filtered_type( Node *n ) { return filtered_type(n, NULL); } | 949 const TypeInt* filtered_type( Node *n ) { return filtered_type(n, NULL); } |
944 // Helpers for filtered type | 950 // Helpers for filtered type |