8281722: Removal of PrintIdealLevel

Reviewed-by: chagedorn, thartmann
This commit is contained in:
Nils Eliasson 2022-02-15 08:20:16 +00:00
parent 622970e47c
commit 8819f45357
5 changed files with 1 additions and 9 deletions

View file

@ -68,7 +68,6 @@ NOT_PRODUCT(cflags(TraceOptoPipelining, bool, TraceOptoPipelining, TraceOptoPipe
NOT_PRODUCT(cflags(TraceOptoOutput, bool, TraceOptoOutput, TraceOptoOutput)) \ NOT_PRODUCT(cflags(TraceOptoOutput, bool, TraceOptoOutput, TraceOptoOutput)) \
NOT_PRODUCT(cflags(PrintIdeal, bool, PrintIdeal, PrintIdeal)) \ NOT_PRODUCT(cflags(PrintIdeal, bool, PrintIdeal, PrintIdeal)) \
NOT_PRODUCT(cflags(PrintIdealPhase, ccstrlist, "", PrintIdealPhase)) \ NOT_PRODUCT(cflags(PrintIdealPhase, ccstrlist, "", PrintIdealPhase)) \
NOT_PRODUCT(cflags(PrintIdealLevel, uintx, PrintIdealLevel, PrintIdealLevel)) \
cflags(TraceSpilling, bool, TraceSpilling, TraceSpilling) \ cflags(TraceSpilling, bool, TraceSpilling, TraceSpilling) \
cflags(Vectorize, bool, false, Vectorize) \ cflags(Vectorize, bool, false, Vectorize) \
cflags(CloneMapDebug, bool, false, CloneMapDebug) \ cflags(CloneMapDebug, bool, false, CloneMapDebug) \

View file

@ -80,7 +80,6 @@ class methodHandle;
option(TraceOptoOutput, "TraceOptoOutput", Bool) \ option(TraceOptoOutput, "TraceOptoOutput", Bool) \
option(TraceSpilling, "TraceSpilling", Bool) \ option(TraceSpilling, "TraceSpilling", Bool) \
NOT_PRODUCT(option(PrintIdeal, "PrintIdeal", Bool)) \ NOT_PRODUCT(option(PrintIdeal, "PrintIdeal", Bool)) \
NOT_PRODUCT(option(PrintIdealLevel, "PrintIdealLevel", Uintx)) \
NOT_PRODUCT(option(PrintIdealPhase, "PrintIdealPhase", Ccstrlist)) \ NOT_PRODUCT(option(PrintIdealPhase, "PrintIdealPhase", Ccstrlist)) \
NOT_PRODUCT(option(IGVPrintLevel, "IGVPrintLevel", Intx)) \ NOT_PRODUCT(option(IGVPrintLevel, "IGVPrintLevel", Intx)) \
option(Vectorize, "Vectorize", Bool) \ option(Vectorize, "Vectorize", Bool) \

View file

@ -112,11 +112,6 @@
notproduct(bool, PrintIdeal, false, \ notproduct(bool, PrintIdeal, false, \
"Print ideal graph before code generation") \ "Print ideal graph before code generation") \
\ \
notproduct(uintx, PrintIdealLevel, 0, \
"Print ideal IR on stdout. " \
"Same levels as PrintIdealGraphLevel") \
range(0, 4) \
\
notproduct(uintx, PrintIdealIndentThreshold, 0, \ notproduct(uintx, PrintIdealIndentThreshold, 0, \
"A depth threshold of ideal graph. Indentation is disabled " \ "A depth threshold of ideal graph. Indentation is disabled " \
"when users attempt to dump an ideal graph deeper than it.") \ "when users attempt to dump an ideal graph deeper than it.") \

View file

@ -4842,7 +4842,7 @@ void Compile::print_method(CompilerPhaseType cpt, int level, Node* n) {
if (should_print_igv(level)) { if (should_print_igv(level)) {
_igv_printer->print_method(name, level); _igv_printer->print_method(name, level);
} }
if (should_print_ideal(level) || should_print_phase(cpt)) { if (should_print_phase(cpt)) {
print_ideal_ir(CompilerPhaseTypeHelper::to_name(cpt)); print_ideal_ir(CompilerPhaseTypeHelper::to_name(cpt));
} }
#endif #endif

View file

@ -637,7 +637,6 @@ class Compile : public Phase {
bool trace_opto_output() const { return _trace_opto_output; } bool trace_opto_output() const { return _trace_opto_output; }
void print_ideal_ir(const char* phase_name); void print_ideal_ir(const char* phase_name);
bool should_print_ideal() const { return _directive->PrintIdealOption; } bool should_print_ideal() const { return _directive->PrintIdealOption; }
bool should_print_ideal(uint level) const { return _directive->PrintIdealLevelOption >= level; }
bool parsed_irreducible_loop() const { return _parsed_irreducible_loop; } bool parsed_irreducible_loop() const { return _parsed_irreducible_loop; }
void set_parsed_irreducible_loop(bool z) { _parsed_irreducible_loop = z; } void set_parsed_irreducible_loop(bool z) { _parsed_irreducible_loop = z; }
int _in_dump_cnt; // Required for dumping ir nodes. int _in_dump_cnt; // Required for dumping ir nodes.