mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 19:44:41 +02:00
6894779: Loop Predication for Loop Optimizer in C2
Loop predication implementation Reviewed-by: never, kvn
This commit is contained in:
parent
96612c6e23
commit
815db4fcba
13 changed files with 838 additions and 30 deletions
|
@ -430,6 +430,11 @@ class Parse : public GraphKit {
|
|||
}
|
||||
}
|
||||
|
||||
// Return true if the parser should add a loop predicate
|
||||
bool should_add_predicate(int target_bci);
|
||||
// Insert a loop predicate into the graph
|
||||
void add_predicate();
|
||||
|
||||
// Note: Intrinsic generation routines may be found in library_call.cpp.
|
||||
|
||||
// Helper function to setup Ideal Call nodes
|
||||
|
@ -491,7 +496,7 @@ class Parse : public GraphKit {
|
|||
|
||||
void do_ifnull(BoolTest::mask btest, Node* c);
|
||||
void do_if(BoolTest::mask btest, Node* c);
|
||||
void repush_if_args();
|
||||
int repush_if_args();
|
||||
void adjust_map_after_if(BoolTest::mask btest, Node* c, float prob,
|
||||
Block* path, Block* other_path);
|
||||
IfNode* jump_if_fork_int(Node* a, Node* b, BoolTest::mask mask);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue