joeq.Compiler.Analysis.BDD
Class BuildBDDIR
java.lang.Object
joeq.Compiler.Analysis.BDD.BuildBDDIR
- All Implemented Interfaces:
- ControlFlowGraphVisitor
public class BuildBDDIR
- extends Object
- implements ControlFlowGraphVisitor
BuildBDDIR
- Version:
- $Id: BuildBDDIR.java 2475 2006-12-24 09:44:50Z joewhaley $
- Author:
- jwhaley
Constructor Summary |
BuildBDDIR()
|
BuildBDDIR(net.sf.javabdd.BDDFactory bddFactory,
net.sf.javabdd.BDDDomain methodDomain,
jwutil.collections.IndexMap _methodMap,
Object dummy)
|
BuildBDDIR
public BuildBDDIR()
BuildBDDIR
public BuildBDDIR(net.sf.javabdd.BDDFactory bddFactory,
net.sf.javabdd.BDDDomain methodDomain,
jwutil.collections.IndexMap _methodMap,
Object dummy)
initialize
protected void initialize()
visitCFG
public void visitCFG(ControlFlowGraph cfg)
- Specified by:
visitCFG
in interface ControlFlowGraphVisitor
toString
public String toString()
- Overrides:
toString
in class Object
getMethodID
public int getMethodID(jq_Method m)
getRegisterID
public int getRegisterID(RegisterFactory.Register r)
getConstantID
public int getConstantID(Object c)
getQuadID
public int getQuadID(Quad r)
addQuadLoc
public void addQuadLoc(jq_Method m,
Quad q)
getMemberID
public int getMemberID(Object r)
getOpID
public int getOpID(Operator r)
dump
public void dump()
throws IOException
- Throws:
IOException
dumpFieldDomains
public void dumpFieldDomains(BufferedWriter dos)
throws IOException
- Throws:
IOException
dumpFieldDomains
public void dumpFieldDomains(String fileName)
throws IOException
- Throws:
IOException
dumpTuples
public static void dumpTuples(net.sf.javabdd.BDDFactory bdd,
String fileName,
net.sf.javabdd.BDD relation)
throws IOException
- Throws:
IOException
getVarOrderDesc
public String getVarOrderDesc()
getDestDomain
public net.sf.javabdd.BDDDomain getDestDomain()
getQuadDomain
public net.sf.javabdd.BDDDomain getQuadDomain()
getDomainName
public 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()
Copyright © 2001-2008 John Whaley. All Rights Reserved.