1Clflags(3)                       OCaml library                      Clflags(3)
2
3
4

NAME

6       Clflags - Command line flags
7

Module

9       Module   Clflags
10

Documentation

12       Module Clflags
13        : sig end
14
15
16       Command line flags
17
18
19
20
21
22       module Int_arg_helper : sig end
23
24
25       Optimization parameters represented as ints indexed by round number.
26
27
28       module Float_arg_helper : sig end
29
30
31       Optimization parameters represented as floats indexed by round number.
32
33
34       type inlining_arguments = {
35        inline_call_cost : int option ;
36        inline_alloc_cost : int option ;
37        inline_prim_cost : int option ;
38        inline_branch_cost : int option ;
39        inline_indirect_cost : int option ;
40        inline_lifting_benefit : int option ;
41        inline_branch_factor : float option ;
42        inline_max_depth : int option ;
43        inline_max_unroll : int option ;
44        inline_threshold : float option ;
45        inline_toplevel_threshold : int option ;
46        }
47
48
49
50
51
52       val classic_arguments : inlining_arguments
53
54
55
56
57       val o1_arguments : inlining_arguments
58
59
60
61
62       val o2_arguments : inlining_arguments
63
64
65
66
67       val o3_arguments : inlining_arguments
68
69
70
71
72       val  use_inlining_arguments_set  :  ?round:int -> inlining_arguments ->
73       unit
74
75       Set all the inlining arguments for a round.  The default is set  if  no
76       round is provided.
77
78
79
80       val objfiles : string list Pervasives.ref
81
82
83
84
85       val ccobjs : string list Pervasives.ref
86
87
88
89
90       val dllibs : string list Pervasives.ref
91
92
93
94
95       val compile_only : bool Pervasives.ref
96
97
98
99
100       val output_name : string option Pervasives.ref
101
102
103
104
105       val include_dirs : string list Pervasives.ref
106
107
108
109
110       val no_std_include : bool Pervasives.ref
111
112
113
114
115       val print_types : bool Pervasives.ref
116
117
118
119
120       val make_archive : bool Pervasives.ref
121
122
123
124
125       val debug : bool Pervasives.ref
126
127
128
129
130       val fast : bool Pervasives.ref
131
132
133
134
135       val use_linscan : bool Pervasives.ref
136
137
138
139
140       val link_everything : bool Pervasives.ref
141
142
143
144
145       val custom_runtime : bool Pervasives.ref
146
147
148
149
150       val no_check_prims : bool Pervasives.ref
151
152
153
154
155       val bytecode_compatible_32 : bool Pervasives.ref
156
157
158
159
160       val output_c_object : bool Pervasives.ref
161
162
163
164
165       val output_complete_object : bool Pervasives.ref
166
167
168
169
170       val all_ccopts : string list Pervasives.ref
171
172
173
174
175       val classic : bool Pervasives.ref
176
177
178
179
180       val nopervasives : bool Pervasives.ref
181
182
183
184
185       val open_modules : string list Pervasives.ref
186
187
188
189
190       val preprocessor : string option Pervasives.ref
191
192
193
194
195       val all_ppx : string list Pervasives.ref
196
197
198
199
200       val annotations : bool Pervasives.ref
201
202
203
204
205       val binary_annotations : bool Pervasives.ref
206
207
208
209
210       val use_threads : bool Pervasives.ref
211
212
213
214
215       val use_vmthreads : bool Pervasives.ref
216
217
218
219
220       val noassert : bool Pervasives.ref
221
222
223
224
225       val verbose : bool Pervasives.ref
226
227
228
229
230       val noprompt : bool Pervasives.ref
231
232
233
234
235       val nopromptcont : bool Pervasives.ref
236
237
238
239
240       val init_file : string option Pervasives.ref
241
242
243
244
245       val noinit : bool Pervasives.ref
246
247
248
249
250       val noversion : bool Pervasives.ref
251
252
253
254
255       val use_prims : string Pervasives.ref
256
257
258
259
260       val use_runtime : string Pervasives.ref
261
262
263
264
265       val principal : bool Pervasives.ref
266
267
268
269
270       val real_paths : bool Pervasives.ref
271
272
273
274
275       val recursive_types : bool Pervasives.ref
276
277
278
279
280       val strict_sequence : bool Pervasives.ref
281
282
283
284
285       val strict_formats : bool Pervasives.ref
286
287
288
289
290       val applicative_functors : bool Pervasives.ref
291
292
293
294
295       val make_runtime : bool Pervasives.ref
296
297
298
299
300       val gprofile : bool Pervasives.ref
301
302
303
304
305       val c_compiler : string option Pervasives.ref
306
307
308
309
310       val no_auto_link : bool Pervasives.ref
311
312
313
314
315       val dllpaths : string list Pervasives.ref
316
317
318
319
320       val make_package : bool Pervasives.ref
321
322
323
324
325       val for_package : string option Pervasives.ref
326
327
328
329
330       val error_size : int Pervasives.ref
331
332
333
334
335       val float_const_prop : bool Pervasives.ref
336
337
338
339
340       val transparent_modules : bool Pervasives.ref
341
342
343
344
345       val unique_ids : bool Pervasives.ref
346
347
348
349
350       val dump_source : bool Pervasives.ref
351
352
353
354
355       val dump_parsetree : bool Pervasives.ref
356
357
358
359
360       val dump_typedtree : bool Pervasives.ref
361
362
363
364
365       val dump_rawlambda : bool Pervasives.ref
366
367
368
369
370       val dump_lambda : bool Pervasives.ref
371
372
373
374
375       val dump_rawclambda : bool Pervasives.ref
376
377
378
379
380       val dump_clambda : bool Pervasives.ref
381
382
383
384
385       val dump_rawflambda : bool Pervasives.ref
386
387
388
389
390       val dump_flambda : bool Pervasives.ref
391
392
393
394
395       val dump_flambda_let : int option Pervasives.ref
396
397
398
399
400       val dump_instr : bool Pervasives.ref
401
402
403
404
405       val keep_asm_file : bool Pervasives.ref
406
407
408
409
410       val optimize_for_speed : bool Pervasives.ref
411
412
413
414
415       val dump_cmm : bool Pervasives.ref
416
417
418
419
420       val dump_selection : bool Pervasives.ref
421
422
423
424
425       val dump_cse : bool Pervasives.ref
426
427
428
429
430       val dump_live : bool Pervasives.ref
431
432
433
434
435       val dump_avail : bool Pervasives.ref
436
437
438
439
440       val debug_runavail : bool Pervasives.ref
441
442
443
444
445       val dump_spill : bool Pervasives.ref
446
447
448
449
450       val dump_split : bool Pervasives.ref
451
452
453
454
455       val dump_interf : bool Pervasives.ref
456
457
458
459
460       val dump_prefer : bool Pervasives.ref
461
462
463
464
465       val dump_regalloc : bool Pervasives.ref
466
467
468
469
470       val dump_reload : bool Pervasives.ref
471
472
473
474
475       val dump_scheduling : bool Pervasives.ref
476
477
478
479
480       val dump_linear : bool Pervasives.ref
481
482
483
484
485       val dump_interval : bool Pervasives.ref
486
487
488
489
490       val keep_startup_file : bool Pervasives.ref
491
492
493
494
495       val dump_combine : bool Pervasives.ref
496
497
498
499
500       val native_code : bool Pervasives.ref
501
502
503
504
505       val default_inline_threshold : float
506
507
508
509
510       val inline_threshold : Float_arg_helper.parsed Pervasives.ref
511
512
513
514
515       val inlining_report : bool Pervasives.ref
516
517
518
519
520       val simplify_rounds : int option Pervasives.ref
521
522
523
524
525       val default_simplify_rounds : int Pervasives.ref
526
527
528
529
530       val rounds : unit -> int
531
532
533
534
535       val default_inline_max_unroll : int
536
537
538
539
540       val inline_max_unroll : Int_arg_helper.parsed Pervasives.ref
541
542
543
544
545       val default_inline_toplevel_threshold : int
546
547
548
549
550       val inline_toplevel_threshold : Int_arg_helper.parsed Pervasives.ref
551
552
553
554
555       val default_inline_call_cost : int
556
557
558
559
560       val default_inline_alloc_cost : int
561
562
563
564
565       val default_inline_prim_cost : int
566
567
568
569
570       val default_inline_branch_cost : int
571
572
573
574
575       val default_inline_indirect_cost : int
576
577
578
579
580       val default_inline_lifting_benefit : int
581
582
583
584
585       val inline_call_cost : Int_arg_helper.parsed Pervasives.ref
586
587
588
589
590       val inline_alloc_cost : Int_arg_helper.parsed Pervasives.ref
591
592
593
594
595       val inline_prim_cost : Int_arg_helper.parsed Pervasives.ref
596
597
598
599
600       val inline_branch_cost : Int_arg_helper.parsed Pervasives.ref
601
602
603
604
605       val inline_indirect_cost : Int_arg_helper.parsed Pervasives.ref
606
607
608
609
610       val inline_lifting_benefit : Int_arg_helper.parsed Pervasives.ref
611
612
613
614
615       val default_inline_branch_factor : float
616
617
618
619
620       val inline_branch_factor : Float_arg_helper.parsed Pervasives.ref
621
622
623
624
625       val dont_write_files : bool Pervasives.ref
626
627
628
629
630       val std_include_flag : string -> string
631
632
633
634
635       val std_include_dir : unit -> string list
636
637
638
639
640       val shared : bool Pervasives.ref
641
642
643
644
645       val dlcode : bool Pervasives.ref
646
647
648
649
650       val pic_code : bool Pervasives.ref
651
652
653
654
655       val runtime_variant : string Pervasives.ref
656
657
658
659
660       val force_slash : bool Pervasives.ref
661
662
663
664
665       val keep_docs : bool Pervasives.ref
666
667
668
669
670       val keep_locs : bool Pervasives.ref
671
672
673
674
675       val unsafe_string : bool Pervasives.ref
676
677
678
679
680       val opaque : bool Pervasives.ref
681
682
683
684
685       val profile_columns : Profile.column list Pervasives.ref
686
687
688
689
690       val flambda_invariant_checks : bool Pervasives.ref
691
692
693
694
695       val unbox_closures : bool Pervasives.ref
696
697
698
699
700       val unbox_closures_factor : int Pervasives.ref
701
702
703
704
705       val default_unbox_closures_factor : int
706
707
708
709
710       val unbox_free_vars_of_closures : bool Pervasives.ref
711
712
713
714
715       val unbox_specialised_args : bool Pervasives.ref
716
717
718
719
720       val clambda_checks : bool Pervasives.ref
721
722
723
724
725       val default_inline_max_depth : int
726
727
728
729
730       val inline_max_depth : Int_arg_helper.parsed Pervasives.ref
731
732
733
734
735       val remove_unused_arguments : bool Pervasives.ref
736
737
738
739
740       val dump_flambda_verbose : bool Pervasives.ref
741
742
743
744
745       val classic_inlining : bool Pervasives.ref
746
747
748
749
750       val afl_instrument : bool Pervasives.ref
751
752
753
754
755       val afl_inst_ratio : int Pervasives.ref
756
757
758
759
760       val all_passes : string list Pervasives.ref
761
762
763
764
765       val dumped_pass : string -> bool
766
767
768
769
770       val set_dumped_pass : string -> bool -> unit
771
772
773
774
775       val parse_color_setting : string -> Misc.Color.setting option
776
777
778
779
780       val color : Misc.Color.setting option Pervasives.ref
781
782
783
784
785       val unboxed_types : bool Pervasives.ref
786
787
788
789
790       val arg_spec : (string * Arg.spec * string) list Pervasives.ref
791
792
793
794
795       val add_arguments : string -> (string * Arg.spec * string) list -> unit
796
797
798
799
800       val parse_arguments : Arg.anon_fun -> string -> unit
801
802
803
804
805       val print_arguments : string -> unit
806
807
808
809
810       val reset_arguments : unit -> unit
811
812
813
814
815
816
817OCamldoc                          2018-07-14                        Clflags(3)
Impressum