| Package | Description |
|---|---|
| org.classdump.luna.compiler |
Core compiler classes.
|
| org.classdump.luna.compiler.analysis |
Static analysis of Lua programs operating on the IR.
|
| org.classdump.luna.compiler.ir |
The intermediate representation (IR) of Lua programs used by the compiler.
|
| org.classdump.luna.compiler.tf |
IR transformations.
|
| Modifier and Type | Method and Description |
|---|---|
List<Var> |
IRFunc.params() |
| Constructor and Description |
|---|
IRFunc(FunctionId id,
List<Var> params,
boolean vararg,
List<UpVar> upvals,
Code code) |
| Modifier and Type | Method and Description |
|---|---|
Set<Var> |
LivenessInfo.Entry.inVar() |
Iterable<Var> |
LivenessInfo.liveInVars(IRNode node) |
Iterable<Var> |
LivenessInfo.liveOutVars(IRNode node) |
Set<Var> |
LivenessInfo.Entry.outVar() |
Iterable<Var> |
TypeInfo.vars() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
TypeInfo.isReified(Var v) |
int |
SlotAllocInfo.slotOf(Var v) |
| Modifier and Type | Method and Description |
|---|---|
static TypeInfo |
TypeInfo.of(Map<Val,Type> valTypes,
Map<PhiVal,Type> phiValTypes,
Map<MultiVal,TypeSeq> multiValTypes,
Set<Var> vars,
Set<Var> reifiedVars,
TypeSeq returnType) |
static TypeInfo |
TypeInfo.of(Map<Val,Type> valTypes,
Map<PhiVal,Type> phiValTypes,
Map<MultiVal,TypeSeq> multiValTypes,
Set<Var> vars,
Set<Var> reifiedVars,
TypeSeq returnType) |
| Constructor and Description |
|---|
SlotAllocInfo(Map<AbstractVal,Integer> valSlots,
Map<Var,Integer> varSlots) |
TypeInfo(Map<AbstractVal,Type> types,
Map<MultiVal,TypeSeq> multiTypes,
Map<Var,Boolean> vars,
TypeSeq returnType) |
| Modifier and Type | Method and Description |
|---|---|
Var |
RegProvider.newVar() |
Var |
VarStore.var() |
Var |
VarLoad.var() |
Var |
VarInit.var() |
| Constructor and Description |
|---|
VarInit(Var var,
Val src) |
VarLoad(Val dest,
Var var) |
VarStore(Var var,
Val src) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
DeadCodePrunerVisitor.isLiveOut(IRNode at,
Var v) |
Copyright © 2016–2017. All rights reserved.