LLVM API Documentation

GraphChecker.cpp File Reference

#include "llvm/Analysis/DataStructure/DataStructure.h"
#include "llvm/Analysis/DataStructure/DSGraph.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Value.h"
#include <iostream>
#include <set>

Include dependency graph for GraphChecker.cpp:

Go to the source code of this file.

Enumerations

enum  DSPass { local, bu, td }

Functions

FunctionPassllvm::createDataStructureGraphCheckerPass ()

Variables

cl::opt< DSPassDSPass ("dsgc-dspass", cl::Hidden, cl::desc("Specify which DSA pass the -datastructure-gc pass should use"), cl::values(clEnumVal(local,"Local pass"), clEnumVal(bu,"Bottom-up pass"), clEnumVal(td,"Top-down pass"), clEnumValEnd), cl::init(local))
cl::opt< bool > AbortIfAnyCollapsed ("dsgc-abort-if-any-collapsed", cl::Hidden, cl::desc("Abort if any collapsed nodes are found"))
cl::list< std::string > AbortIfCollapsed ("dsgc-abort-if-collapsed", cl::Hidden, cl::CommaSeparated, cl::desc("Abort if any of the named symbols is collapsed"))
cl::list< std::string > CheckFlags ("dsgc-check-flags", cl::Hidden, cl::CommaSeparated, cl::desc("Check that flags are specified for nodes"))
cl::list< std::string > AbortIfMerged ("dsgc-abort-if-merged", cl::Hidden, cl::CommaSeparated, cl::desc("Abort if any of the named symbols are merged together"))
RegisterAnalysis< DSGC > X ("datastructure-gc","DSA Graph Checking Pass")


Enumeration Type Documentation

enum DSPass

Enumerator:
local 
bu 
td 

Definition at line 36 of file GraphChecker.cpp.


Variable Documentation

cl::opt<bool> AbortIfAnyCollapsed("dsgc-abort-if-any-collapsed", cl::Hidden, cl::desc("Abort if any collapsed nodes are found")) [static]

cl::list<std::string> AbortIfCollapsed("dsgc-abort-if-collapsed", cl::Hidden, cl::CommaSeparated, cl::desc("Abort if any of the named symbols is collapsed")) [static]

cl::list<std::string> AbortIfMerged("dsgc-abort-if-merged", cl::Hidden, cl::CommaSeparated, cl::desc("Abort if any of the named symbols are merged together")) [static]

cl::list<std::string> CheckFlags("dsgc-check-flags", cl::Hidden, cl::CommaSeparated, cl::desc("Check that flags are specified for nodes")) [static]

cl::opt<DSPass> DSPass("dsgc-dspass", cl::Hidden, cl::desc("Specify which DSA pass the -datastructure-gc pass should use"), cl::values(clEnumVal(local,"Local pass"),clEnumVal(bu,"Bottom-up pass"),clEnumVal(td,"Top-down pass"),clEnumValEnd), cl::init(local)) [static]

RegisterAnalysis<DSGC> X("datastructure-gc","DSA Graph Checking Pass") [static]