joeq.Compiler.Analysis.BDD
Class BuildBDDIR
java.lang.Object
joeq.Compiler.Analysis.BDD.BuildBDDIR
- All Implemented Interfaces:
- ControlFlowGraphVisitor
public class BuildBDDIR
- extends java.lang.Object
- implements ControlFlowGraphVisitor
BuildBDDIR
- Version:
- $Id: BuildBDDIR.java,v 1.59 2005/03/14 05:59:28 joewhaley Exp $
- Author:
- jwhaley
|
Constructor Summary |
BuildBDDIR()
|
BuildBDDIR(net.sf.javabdd.BDDFactory bddFactory,
net.sf.javabdd.BDDDomain methodDomain,
jwutil.collections.IndexMap _methodMap,
java.lang.Object dummy)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BuildBDDIR
public BuildBDDIR()
BuildBDDIR
public BuildBDDIR(net.sf.javabdd.BDDFactory bddFactory,
net.sf.javabdd.BDDDomain methodDomain,
jwutil.collections.IndexMap _methodMap,
java.lang.Object dummy)
visitCFG
public void visitCFG(ControlFlowGraph cfg)
- Specified by:
visitCFG in interface ControlFlowGraphVisitor
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getMethodID
public int getMethodID(jq_Method m)
getRegisterID
public int getRegisterID(RegisterFactory.Register r)
getConstantID
public int getConstantID(java.lang.Object c)
getQuadID
public int getQuadID(Quad r)
addQuadLoc
public void addQuadLoc(jq_Method m,
Quad q)
getMemberID
public int getMemberID(java.lang.Object r)
getOpID
public int getOpID(Operator r)
dump
public void dump()
throws java.io.IOException
- Throws:
java.io.IOException
dumpFieldDomains
public void dumpFieldDomains(java.io.BufferedWriter dos)
throws java.io.IOException
- Throws:
java.io.IOException
dumpFieldDomains
public void dumpFieldDomains(java.lang.String fileName)
throws java.io.IOException
- Throws:
java.io.IOException
dumpTuples
public static void dumpTuples(net.sf.javabdd.BDDFactory bdd,
java.lang.String fileName,
net.sf.javabdd.BDD relation)
throws java.io.IOException
- Throws:
java.io.IOException
getVarOrderDesc
public java.lang.String getVarOrderDesc()
getDestDomain
public net.sf.javabdd.BDDDomain getDestDomain()
getQuadDomain
public net.sf.javabdd.BDDDomain getQuadDomain()
getDomainName
public java.lang.String getDomainName(net.sf.javabdd.BDDDomain d)
quadIdFromInvokeBCLocation
public int quadIdFromInvokeBCLocation(ProgramLocation.BCProgramLocation bc)
quadIdFromAllocBCLocation
public int quadIdFromAllocBCLocation(ProgramLocation.BCProgramLocation bc)
memberIdFromField
public int memberIdFromField(jq_Field f)
getMemberDomain
public net.sf.javabdd.BDDDomain getMemberDomain()