A B C D G H M P Q S V

A

add(CfgNode, BitString) - Method in class CFGV.CFG
This method adds a basic block to the list of basic blocks that will be drawn.

B

BasicBlockWrapper - class CFGV.BasicBlockWrapper.
This class represents a basic block in the control flow graph.
BasicBlockWrapper(BasicBlock) - Constructor for class CFGV.BasicBlockWrapper
Constructor method.
BranchBlockWrapper - class CFGV.BranchBlockWrapper.
This class represents a branch in the control flow graph.
BranchBlockWrapper(BasicBlock) - Constructor for class CFGV.BranchBlockWrapper
Constructor method.

C

CFG - class CFGV.CFG.
This class is used to generate a .dot file containing a representation of the code from one java method.
CFG(String, String) - Constructor for class CFGV.CFG
Constructor method.
CFGV - package CFGV
 
CfgNode - interface CFGV.CfgNode.
This interface represents a node in the control flow.
convertBitString(BitString) - Static method in class CFGV.BasicBlockWrapper
This method gives the label of an edge.
convertSSA(ControlFlowGraph) - Static method in class CFGV.DrawerVisitor
This method converts the encapsulated graph to SSA representation.
convertSSA() - Method in class CFGV.PhiDestructor
This method converts the encapsulated graph to SSA representation.

D

DrawerVisitor - class CFGV.DrawerVisitor.
This class is implements a visitor of methods that prints the control flow data of each method visited.
DrawerVisitor() - Constructor for class CFGV.DrawerVisitor
Constructor method.
destroyPhiFunctions() - Method in class CFGV.PhiDestructor
Destroy the phi functions, by replacing them for move instructions, in each basic block.

G

getCFG() - Method in class CFGV.PhiDestructor
 
getLabel() - Method in class CFGV.BranchBlockWrapper
This method prints the label of a basic block.

H

handleBasicBlock(BasicBlock) - Method in class CFGV.PhiDestructor
Basically the method remove phi functions from a basic block, and inserts move instructions on its successors.

M

main(String[]) - Static method in class CFGV.DrawerVisitor
 

P

PhiDestructor - class CFGV.PhiDestructor.
 
PhiDestructor(ControlFlowGraph) - Constructor for class CFGV.PhiDestructor
 
print(String) - Method in class CFGV.CFG
This method generates a .dot file describing the control flow of a java method.
printEdges(PrintStream, BitString) - Method in class CFGV.BasicBlockWrapper
This method prints code for all the edges that are reaching this node.
printEdges(PrintWriter, BitString) - Method in class CFGV.BasicBlockWrapper
This method prints code for all the edges that are reaching this node in the given file.
printEdges(PrintStream, BitString) - Method in class CFGV.BranchBlockWrapper
This method prints code for all the edges that are reaching this node.
printEdges(PrintWriter, BitString) - Method in class CFGV.BranchBlockWrapper
This method prints code for all the edges that are reaching this node in the given file.
printEdges(PrintStream, BitString) - Method in interface CFGV.CfgNode
This method prints code for all the edges that are reaching this node.
printEdges(PrintWriter, BitString) - Method in interface CFGV.CfgNode
This method prints code for all the edges that are reaching this node in the given file.
printNode(PrintStream) - Method in class CFGV.BasicBlockWrapper
This method prints code for a block in the given file.
printNode(PrintWriter) - Method in class CFGV.BasicBlockWrapper
This method prints code for a block in the given file.
printNode(PrintStream) - Method in class CFGV.BranchBlockWrapper
This method prints code for a branch block in the given file.
printNode(PrintWriter) - Method in class CFGV.BranchBlockWrapper
This method prints code for a block in the given file.
printNode(PrintStream) - Method in interface CFGV.CfgNode
This method prints code for a block in the given output.
printNode(PrintWriter) - Method in interface CFGV.CfgNode
This method prints code for a block in the given file.

Q

quadToText(Quad) - Method in class CFGV.BasicBlockWrapper
This method generates a textual representation of the quad.
quadToText(Quad) - Method in class CFGV.BranchBlockWrapper
This method generates a textual representation of the quad.

S

setClassName(String) - Method in class CFGV.DrawerVisitor
Defines the name of the class that will give the methods to be drawn.
setDirectoryName(String) - Method in class CFGV.DrawerVisitor
Determines the name of the directory in which the generated files must be put.
setOption(int) - Method in class CFGV.DrawerVisitor
This method defines how the data must be generated.

V

visitClassInitializer(jq_ClassInitializer) - Method in class CFGV.DrawerVisitor
This visitor traverses the constructor methods.
visitInitializer(jq_Initializer) - Method in class CFGV.DrawerVisitor
This visitor traverses the contructor methods.
visitInstanceMethod(jq_InstanceMethod) - Method in class CFGV.DrawerVisitor
This visitor traverses the instance methods.
visitMethod(jq_Method) - Method in class CFGV.DrawerVisitor
This visitor traverses all the methods in the class.
visitStaticMethod(jq_StaticMethod) - Method in class CFGV.DrawerVisitor
This visitor traverses the static methods.

A B C D G H M P Q S V