@@ -926,152 +926,157 @@ module Flambda2 = Clflags.Flambda2
926
926
927
927
let mk_flambda2_join_points f =
928
928
" -flambda2-join-points" , Arg. Unit f,
929
- Printf. sprintf " Propagate information from incoming \
930
- edges at a join point%s (Flambda 2 only)"
929
+ Printf. sprintf " Propagate information from incoming edges at a join \n \
930
+ \ point%s (Flambda 2 only)"
931
931
(format_default Flambda2.Default. join_points)
932
932
;;
933
933
934
934
let mk_no_flambda2_join_points f =
935
935
" -no-flambda2-join-points" , Arg. Unit f,
936
- Printf. sprintf " Propagate information only from \
937
- the fork point to a join point%s (Flambda 2 only)"
936
+ Printf. sprintf " Propagate information only from the fork point to \n \
937
+ \ a join point%s (Flambda 2 only)"
938
938
(format_not_default Flambda2.Default. join_points)
939
939
;;
940
940
941
941
let mk_flambda2_unbox_along_intra_function_control_flow f =
942
942
" -flambda2-unbox-along-intra-function-control-flow" , Arg. Unit f,
943
- Printf. sprintf " Pass values within a function as unboxed where possible%s \
944
- (Flambda 2 only)"
943
+ Printf. sprintf " Pass values within\n \
944
+ \ a function as unboxed where possible%s (Flambda 2 only)"
945
945
(format_default Flambda2.Default. unbox_along_intra_function_control_flow)
946
946
;;
947
947
948
948
let mk_no_flambda2_unbox_along_intra_function_control_flow f =
949
949
" -no-flambda2-unbox-along-intra-function-control-flow" , Arg. Unit f,
950
- Printf. sprintf " Pass values within a function in their normal \
951
- representation%s (Flambda 2 only)"
950
+ Printf. sprintf " Pass values within\n \
951
+ \ a function in their normal representation%s (Flambda 2 only)"
952
952
(format_not_default
953
953
Flambda2.Default. unbox_along_intra_function_control_flow)
954
954
;;
955
955
956
956
let mk_flambda2_backend_cse_at_toplevel f =
957
957
" -flambda2-backend-cse-at-toplevel" , Arg. Unit f,
958
- Printf. sprintf " Apply the backend CSE pass to module initializers%s \
959
- (Flambda 2 only)"
958
+ Printf. sprintf " Apply the backend CSE pass to module\n \
959
+ \ initializers%s (Flambda 2 only)"
960
960
(format_default Flambda2.Default. backend_cse_at_toplevel)
961
961
;;
962
962
963
963
let mk_no_flambda2_backend_cse_at_toplevel f =
964
964
" -no-flambda2-backend-cse-at-toplevel" , Arg. Unit f,
965
- Printf. sprintf " Do not apply the backend CSE pass to module initializers%s \
966
- (Flambda 2 only)"
965
+ Printf. sprintf " Do not apply the backend CSE pass to\n \
966
+ \ module initializers%s (Flambda 2 only)"
967
967
(format_not_default Flambda2.Default. backend_cse_at_toplevel)
968
968
;;
969
969
970
970
let mk_flambda2_cse_depth f =
971
971
" -flambda2-cse-depth" , Arg. Int f,
972
- Printf. sprintf " Depth threshold for eager tracking of CSE equations \
973
- (default %d) (Flambda 2 only)"
972
+ Printf. sprintf " Depth threshold for eager tracking of CSE equations\n \
973
+ \ (default %d) (Flambda 2 only)"
974
974
Flambda2.Default. cse_depth
975
975
;;
976
976
977
977
let mk_flambda2_expert_code_id_and_symbol_scoping_checks f =
978
978
" -flambda2-expert-code-id-and-symbol-scoping-checks" , Arg. Unit f,
979
- Printf. sprintf " Perform checks on static scopes of code IDs and symbols \
980
- during Un_cps%s (Flambda 2 only)"
979
+ Printf. sprintf " Perform checks on static\n \
980
+ \ scopes of code IDs and symbols during Un_cps%s\n \
981
+ \ (Flambda 2 only)"
981
982
(format_default Flambda2.Expert.Default. code_id_and_symbol_scoping_checks)
982
983
;;
983
984
984
985
let mk_no_flambda2_expert_code_id_and_symbol_scoping_checks f =
985
986
" -no-flambda2-expert-code-id-and-symbol-scoping-checks" , Arg. Unit f,
986
- Printf. sprintf " Do not perform checks on static scopes of code IDs and \
987
- symbols during Un_cps%s (Flambda 2 only)"
987
+ Printf. sprintf " Do not perform checks\n \
988
+ \ on static scopes of code IDs and symbols during Un_cps%s\n \
989
+ \ (Flambda 2 only)"
988
990
(format_not_default
989
991
Flambda2.Expert.Default. code_id_and_symbol_scoping_checks)
990
992
;;
991
993
992
994
let mk_flambda2_expert_fallback_inlining_heuristic f =
993
995
" -flambda2-expert-fallback-inlining-heuristic" , Arg. Unit f,
994
- Printf. sprintf " Prevent inlining of functions whose bodies contain \
995
- closures%s (Flambda 2 only)"
996
+ Printf. sprintf " Prevent inlining of functions\n \
997
+ \ whose bodies contain closures%s (Flambda 2 only)"
996
998
(format_default Flambda2.Expert.Default. fallback_inlining_heuristic)
997
999
;;
998
1000
999
1001
let mk_no_flambda2_expert_fallback_inlining_heuristic f =
1000
1002
" -no-flambda2-expert-fallback-inlining-heuristic" , Arg. Unit f,
1001
- Printf. sprintf " Allow inlining of functions whose bodies contain \
1002
- closures%s (Flambda 2 only)"
1003
+ Printf. sprintf " Allow inlining of functions\n \
1004
+ \ whose bodies contain closures%s (Flambda 2 only)"
1003
1005
(format_not_default Flambda2.Expert.Default. fallback_inlining_heuristic)
1004
1006
;;
1005
1007
1006
1008
let mk_flambda2_expert_inline_effects_in_cmm f =
1007
1009
" -flambda2-expert-inline-effects-in-cmm" , Arg. Unit f,
1008
- Printf. sprintf " Allow inlining of effectful expressions in the produced \
1009
- Cmm code%s (Flambda 2 only)"
1010
+ Printf. sprintf " Allow inlining of effectful\n \
1011
+ \ expressions in the produced Cmm code%s (Flambda 2 only)"
1010
1012
(format_default Flambda2.Expert.Default. inline_effects_in_cmm)
1011
1013
;;
1012
1014
1013
1015
let mk_no_flambda2_expert_inline_effects_in_cmm f =
1014
1016
" -no-flambda2-expert-inline-effects-in-cmm" , Arg. Unit f,
1015
- Printf. sprintf " Prevent inlining of effectful expressions in the produced \
1016
- Cmm code%s (Flambda 2 only)"
1017
+ Printf. sprintf " Prevent inlining of effectful\n \
1018
+ \ expressions in the produced Cmm code%s (Flambda 2 only)"
1017
1019
(format_not_default Flambda2.Expert.Default. inline_effects_in_cmm)
1018
1020
;;
1019
1021
1020
1022
let mk_flambda2_expert_phantom_lets f =
1021
1023
" -flambda2-expert-phantom-lets" , Arg. Unit f,
1022
- Printf. sprintf " Generate phantom lets when -g is specified%s \
1023
- (Flambda 2 only)"
1024
+ Printf. sprintf " Generate phantom lets when -g\n \
1025
+ \ is specified%s (Flambda 2 only)"
1024
1026
(format_default Flambda2.Expert.Default. phantom_lets)
1025
1027
;;
1026
1028
1027
1029
let mk_no_flambda2_expert_phantom_lets f =
1028
1030
" -no-flambda2-expert-phantom-lets" , Arg. Unit f,
1029
- Printf. sprintf " Do not generate phantom lets even when -g is specified%s \
1030
- (Flambda 2 only)"
1031
+ Printf. sprintf " Do not generate phantom lets even when -g\n \
1032
+ \ is specified%s (Flambda 2 only)"
1031
1033
(format_not_default Flambda2.Expert.Default. phantom_lets)
1032
1034
;;
1033
1035
1034
1036
let mk_flambda2_expert_max_block_size_for_projections f =
1035
1037
" -flambda2-expert-max-block-size-for-projections" , Arg. Int f,
1036
- Printf. sprintf " Do not simplify projections from blocks if the block size \
1037
- exceeds this value (default %s) (Flambda 2 only)"
1038
+ Printf. sprintf " Do not simplify projections\n \
1039
+ \ from blocks if the block size exceeds this value (default %s)\n \
1040
+ \ (Flambda 2 only)"
1038
1041
(match Flambda2.Expert.Default. max_block_size_for_projections with
1039
1042
| None -> " not set"
1040
1043
| Some max -> string_of_int max)
1041
1044
;;
1042
1045
1043
1046
let mk_flambda2_expert_max_unboxing_depth f =
1044
1047
" -flambda2-expert-max-unboxing-depth" , Arg. Int f,
1045
- Printf. sprintf " Do not unbox (nested) values deeper than this many levels \
1046
- (default %d) (Flambda 2 only)"
1048
+ Printf. sprintf " Do not unbox (nested) values deeper\n \
1049
+ \ than this many levels (default %d) (Flambda 2 only)"
1047
1050
Flambda2.Expert.Default. max_unboxing_depth
1048
1051
;;
1049
1052
1050
1053
let mk_flambda2_debug_permute_every_name f =
1051
1054
" -flambda2-debug-permute-every-name" , Arg. Unit f,
1052
- Printf. sprintf " Permute every name to test name permutation code%s \
1053
- (Flambda 2 only)"
1055
+ Printf. sprintf " Permute every name to test name\n \
1056
+ \ permutation code%s (Flambda 2 only)"
1054
1057
(format_default Flambda2.Debug.Default. permute_every_name)
1055
1058
;;
1056
1059
1057
1060
let mk_no_flambda2_debug_permute_every_name f =
1058
1061
" -no-flambda2-debug-permute-every-name" , Arg. Unit f,
1059
- Printf. sprintf " Do not permute every name to test name permutation code%s \
1060
- (Flambda 2 only)"
1062
+ Printf. sprintf " Do not permute every name to test\n \
1063
+ \ name permutation code%s (Flambda 2 only)"
1061
1064
(format_not_default Flambda2.Debug.Default. permute_every_name)
1062
1065
;;
1063
1066
1064
1067
let mk_flambda2_debug_concrete_types_only_on_canonicals f =
1065
1068
" -flambda2-debug-concrete-types-only-on-canonicals" , Arg. Unit f,
1066
- Printf. sprintf " Check that concrete types are only assigned to canonical \
1067
- names%s (Flambda 2 only)"
1069
+ Printf. sprintf " Check that concrete\n \
1070
+ \ types are only assigned to canonical\n \
1071
+ \ names%s (Flambda 2 only)"
1068
1072
(format_default Flambda2.Debug.Default. concrete_types_only_on_canonicals)
1069
1073
;;
1070
1074
1071
1075
let mk_no_flambda2_debug_concrete_types_only_on_canonicals f =
1072
1076
" -no-flambda2-debug-concrete-types-only-on-canonicals" , Arg. Unit f,
1073
- Printf. sprintf " Do not check that concrete types are only assigned to \
1074
- canonical names%s (Flambda 2 only)"
1077
+ Printf. sprintf " Do not check that\n \
1078
+ \ concrete types are only assigned to canonical\n \
1079
+ \ names%s (Flambda 2 only)"
1075
1080
(format_not_default
1076
1081
Flambda2.Debug.Default. concrete_types_only_on_canonicals)
1077
1082
;;
0 commit comments