Home | History | Annotate | Download | only in BrainF

Lines Matching refs:BrainF

1 //===-- BrainFDriver.cpp - BrainF compiler driver -----------------------===//
10 // This program converts the BrainF language into LLVM assembly,
19 // ./BrainF -jit prog.bf #Run program now
20 // ./BrainF -jit -abc prog.bf #Run program now safely
21 // ./BrainF prog.bf #Write as BitCode
27 #include "BrainF.h"
44 InputFilename(cl::Positional, cl::desc("<input brainf>"));
75 //call void @brainf()
77 CallInst *brainf_call = CallInst::Create(mod->getFunction("brainf"),
88 cl::ParseCommandLineOptions(argc, argv, " BrainF compiler\n");
121 BrainF::CompileFlags cf = BrainF::flag_off;
123 cf = BrainF::CompileFlags(cf | BrainF::flag_arraybounds);
125 //Read the BrainF program
126 BrainF bf;
145 Function *brainf_func = mod->getFunction("brainf");