Tool for reading TESLA manifests.
Definition in file read.cpp.
#include "Manifest.h"
#include "tesla.pb.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/Module.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Pass.h"
Go to the source code of this file.
Enumerations | |
enum | Command { ListAutomata } |
Functions | |
cl::opt< string > | ManifestName (cl::desc("[manifest file]"), cl::Positional, cl::Optional) |
cl::opt< Command > | UserCommand (cl::desc("Command to execute"), cl::Required, cl::values("list-automata", int(ListAutomata),"Print short string representation of all automata",(reinterpret_cast< void * >(0)))) |
cl::opt< Automaton::Type > | Determinism (cl::desc("automata determinism:"), cl::values("u", int(Automaton::Unlinked),"unlinked NFA","l", int(Automaton::Linked),"linked NFA","d", int(Automaton::Deterministic),"DFA",(reinterpret_cast< void * >(0))), cl::init(Automaton::Unlinked)) |
int | main (int argc, char *argv[]) |
enum Command |
cl::opt<Automaton::Type> Determinism | ( | cl:: | desc"automata determinism:", |
cl:: | values"u", int(Automaton::Unlinked),"unlinked NFA","l", int(Automaton::Linked),"linked NFA","d", int(Automaton::Deterministic),"DFA",(reinterpret_cast< void * >(0)), | ||
cl:: | initAutomaton::Unlinked | ||
) |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 71 of file read.cpp.
References tesla::Manifest::AllAutomata(), Determinism(), tesla::Manifest::FindAutomaton(), ListAutomata, tesla::ManifestName(), tesla::Automaton::String(), and UserCommand().
cl::opt<string> ManifestName | ( | cl:: | desc"[manifest file]", |
cl::Positional | , | ||
cl::Optional | |||
) |