CGCONTROL
signatureThere is little point in fiddling with these flags to improve the performance of the optimizer. Each flag either has little effect or is already set to an optimum value.
signature CGCONTROL
structure Compiler.Control.CG
: CGCONTROL
val tailrecur : bool ref
val recordopt : bool ref
val specialize : bool ref
val tail : bool ref
val allocprof : bool ref
val closureprint : bool ref
val closureStrategy : int ref
val lambdaopt : bool ref
val cpsopt : bool ref
val rounds : int ref
val path : bool ref
val betacontract : bool ref
val eta : bool ref
val selectopt : bool ref
val dropargs : bool ref
val deadvars : bool ref
val flattenargs : bool ref
val extraflatten : bool ref
val switchopt : bool ref
val handlerfold : bool ref
val branchfold : bool ref
val arithopt : bool ref
val betaexpand : bool ref
val unroll : bool ref
val knownfiddle : bool ref
val invariant : bool ref
val targeting : int ref
val lambdaprop : bool ref
val newconreps : bool ref
val boxedconstconreps : bool ref
val sharepath : bool ref
val staticprof : bool ref
val unroll_recur : bool ref
val hoistup : bool ref
val hoistdown : bool ref
val recordcopy : bool ref
val recordpath : bool ref
val debugcps : bool ref
val misc4 : int ref
val argrep : bool ref
val bodysize : int ref
val reducemore : int ref
val alphac : bool ref
val comment : bool ref
val knownGen : int ref
val knownClGen : int ref
val escapeGen : int ref
val calleeGen : int ref
val spillGen : int ref
val foldconst : bool ref
val etasplit : bool ref
val printLambda : bool ref
val printit : bool ref
val printsize : bool ref
val scheduling : bool ref
val cse : bool ref
val optafterclosure : bool ref
val uncurry : bool ref
val ifidiom : bool ref
val comparefold : bool ref
val csehoist : bool ref
val rangeopt : bool ref
val icount : bool ref
val debugRep : bool ref
val sharewrap : bool ref
val checklty1 : bool ref
val checklty2 : bool ref
val checklty3 : bool ref
val checkcps1 : bool ref
val checkcps2 : bool ref
val checkcps3 : bool ref
val checkcps : bool ref
val liftLiterals : bool ref
val flatfblock : bool ref
val deadup : bool ref
val pollChecks : bool ref
val pollRatioAtoI : real ref
datatype mlrisc_phase
= NO_PHASE
| AFTER_INSTR_SEL
| AFTER_RA
| AFTER_SCHED
| PHASES of (mlrisc_phase * mlrisc_phase)
val printFlowgraph : mlrisc_phase ref
val printFlowgraphStream : TextIO.outstream ref
val memDisambiguate : bool ref
val mudebugging : bool ref
val eedebugging : bool ref
val insdebugging : bool ref
val smdebugging : bool ref
val emdebugging : bool ref
val esdebugging : bool ref
val etdebugging : bool ref
val ecdebugging : bool ref
val tmdebugging : bool ref
tailrecur
recordopt
specialize
tail
allocprof
closureprint
closureStrategy
lambdaopt
cpsopt
rounds
path
betacontract
eta
selectopt
dropargs
deadvars
flattenargs
extraflatten
switchopt
handlerfold
branchfold
arithopt
betaexpand
unroll
knownfiddle
invariant
targeting
lambdaprop
newconreps
boxedconstconreps
sharepath
staticprof
unroll_recur
hoistup
hoistdown
recordcopy
recordpath
debugcps
misc4
argrep
bodysize
reducemore
alphac
comment
knownGen
knownClGen
escapeGen
calleeGen
spillGen
foldconst
etasplit
printLambda
printit
printsize
scheduling
cse
optafterclosure
uncurry
ifidiom
comparefold
csehoist
rangeopt
icount
debugRep
sharewrap
checklty1
checklty2
checklty3
checkcps1
checkcps2
checkcps3
checkcps
liftLiterals
flatfblock
deadup
pollChecks
pollRatioAtoI
datatype mlrisc_phase
printFlowgraph
printFlowgraphStream
memDisambiguate
mudebugging
eedebugging
insdebugging
smdebugging
emdebugging
esdebugging
etdebugging
ecdebugging
tmdebugging