public class LocalOptimizationPass extends CompilerPass
| Constructor and Description |
|---|
LocalOptimizationPass() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
execute(IRScope s,
java.lang.Object... data)
Meat of an individual pass.
|
java.lang.String |
getLabel()
What is the user-friendly name of this compiler pass
|
java.lang.String |
getShortLabel()
Shorter label
|
static Instr |
optInstr(IRScope s,
Instr instr,
java.util.Map<Operand,Operand> valueMap,
java.util.Map<Variable,java.util.List<Variable>> simplificationMap) |
static void |
runLocalOptsOnBasicBlock(IRScope s,
BasicBlock b) |
static void |
runLocalOptsOnInstrArray(IRScope s,
Instr[] instrs) |
createPassInstance, createPassInstance, equals, getDependencies, getPassesFromString, hashCode, invalidate, previouslyRun, run, run, runpublic java.lang.String getLabel()
CompilerPassgetLabel in class CompilerPasspublic java.lang.String getShortLabel()
CompilerPassgetShortLabel in class CompilerPasspublic java.lang.Object execute(IRScope s, java.lang.Object... data)
CompilerPassexecute in class CompilerPasss - is the scope to run this pass ondata - is the data supplied to this pass to use to execute the passpublic static Instr optInstr(IRScope s, Instr instr, java.util.Map<Operand,Operand> valueMap, java.util.Map<Variable,java.util.List<Variable>> simplificationMap)
public static void runLocalOptsOnBasicBlock(IRScope s, BasicBlock b)
Copyright © 2001-2018 JRuby. All Rights Reserved.