update pet for support for recent versions of clang
[ppn.git] / translate.cc
blobac0850c58f12f1ed104f8f66b58d76549772c30b
1 #include <isa/yaml.h>
2 #include <isa/pdg.h>
3 #include "translation.h"
5 using pdg::PDG;
7 int main(int argc, char * argv[])
9 PDG *pdg;
10 isl_ctx *ctx = isl_ctx_alloc();
11 pdg = PDG::Load(stdin, ctx);
13 common_dimension(pdg);
14 translate(pdg, false);
16 pdg->Dump();
17 pdg->free();
18 delete pdg;
19 isl_ctx_free(ctx);
21 return 0;