OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:BrainF
(Results
1 - 5
of
5
) sorted by null
/external/llvm/examples/BrainF/
Makefile
1
##===- examples/
BrainF
/Makefile ----------------------------*- Makefile -*-===##
10
TOOLNAME =
BrainF
BrainFDriver.cpp
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")
[
all
...]
BrainF.h
1
//===--
BrainF
.h -
BrainF
compiler class ----------------------*- C++ -*-===//
10
// This class stores the data for the
BrainF
compiler so it doesn't have
24
/// This class provides a parser for the
BrainF
language.
28
class
BrainF
{
30
/// Options for how
BrainF
should compile
36
/// This is the main method. It parses
BrainF
from in1
38
/// void
brainf
()
46
/// The different symbols in the
BrainF
language
68
/// Put the
brainf
function preamble and other fixed pieces of cod
[
all
...]
BrainF.cpp
1
//===--
BrainF
.cpp -
BrainF
compiler example ----------------------------===//
10
// This class compiles the
BrainF
language into LLVM assembly.
12
// The
BrainF
language has 8 commands:
26
#include "
BrainF
.h"
35
const char *
BrainF
::tapereg = "tape";
36
const char *
BrainF
::headreg = "head";
37
const char *
BrainF
::label = "
brainf
";
38
const char *
BrainF
::testreg = "test"
[
all
...]
/external/llvm/examples/
Makefile
13
PARALLEL_DIRS:=
BrainF
Fibonacci HowToUseJIT Kaleidoscope ModuleMaker
Completed in 404 milliseconds