| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Convert ConstantExpr::getGetElementPtr and | Jay Foad | 2011-07-21 | 1 | -2/+1 |
| | | | | | | | ConstantExpr::getInBoundsGetElementPtr to use ArrayRef. llvm-svn: 135673 | ||||
| * | update for recent api changes. I have a hard time believing that this is ↵ | Chris Lattner | 2011-07-18 | 1 | -2/+2 |
| | | | | | | | actually a useful example. llvm-svn: 135374 | ||||
| * | update this to build with a recent IRBuilder change and de-constify types. | Chris Lattner | 2011-07-18 | 1 | -10/+6 |
| | | | | | llvm-svn: 135373 | ||||
| * | Convert CallInst and InvokeInst APIs to use ArrayRef. For the LLVM examples. | Francois Pichet | 2011-07-15 | 6 | -10/+10 |
| | | | | | llvm-svn: 135266 | ||||
| * | Change Intrinsic::getDeclaration and friends to take an ArrayRef. | Benjamin Kramer | 2011-07-14 | 1 | -1/+1 |
| | | | | | llvm-svn: 135154 | ||||
| * | Remove the const from Type after of Jay deconstify work. | Francois Pichet | 2011-07-12 | 1 | -1/+1 |
| | | | | | llvm-svn: 135000 | ||||
| * | Reverted 134901 because of 134959. Did not use svn merge -r but rather: | Garrison Venn | 2011-07-12 | 1 | -24/+24 |
| | | | | | | | | | | | | | | 1,$s/llvm::Type::getInt\(..\)Ty(builder.getContext())/builder.getInt\1Ty()/g 1,$s/builder.getInt\(..*\)Ty()->getPointerTo()/builder.getInt\1PtrTy()/g vi sub commands (second one was not a reversion but requested by Tobias Grosser. Mod was tested, but other examples have failed to build as they are currently being thrashed with the const qualifier removal change. llvm-svn: 134985 | ||||
| * | Fix the BrainF build. | Francois Pichet | 2011-07-12 | 1 | -1/+1 |
| | | | | | llvm-svn: 134975 | ||||
| * | fix some examples | John Wiegley | 2011-07-11 | 6 | -11/+11 |
| | | | | | llvm-svn: 134933 | ||||
| * | Modified demo to work with non const Type parameters as is required by new | Garrison Venn | 2011-07-11 | 1 | -15/+16 |
| | | | | | | | | | | | | type system. However most of these modifications were due to IRBuilder (IRBuilderBase), not having been modified to NOT return such const qualified free types. If IRBuilder does not change, as can also be seen in its instruction creation methods, to use const free types, it may be useful to have ExceptionDemo drop IRBuilder usage. Modifying builder.getInt32Ty() to llvm::Type::getInt32Ty(builder.getContext()) is pretty ugly. llvm-svn: 134901 | ||||
| * | Modify comment. | Johnny Chen | 2011-06-09 | 1 | -1/+1 |
| | | | | | llvm-svn: 132800 | ||||
| * | Have the JIT tutorial use IRBuilder for the IR. | Eric Christopher | 2011-06-09 | 1 | -8/+17 |
| | | | | | | | Patch by Jake Waskett! llvm-svn: 132770 | ||||
| * | Fix a ton of comment typos found by codespell. Patch by | Chris Lattner | 2011-04-15 | 1 | -1/+1 |
| | | | | | | | Luis Felipe Strano Moraes! llvm-svn: 129558 | ||||
| * | Added new FIXME note | Garrison Venn | 2011-04-12 | 1 | -0/+9 |
| | | | | | llvm-svn: 129360 | ||||
| * | Get rid of useless comment; if a file uses functions from a given header, | Eli Friedman | 2011-04-11 | 1 | -4/+0 |
| | | | | | | | it is obvious that it should be included. llvm-svn: 129295 | ||||
| * | Because some systems have reported that this example would not build the | Garrison Venn | 2011-04-11 | 1 | -0/+5 |
| | | | | | | | header file cstdio was added as an include. llvm-svn: 129291 | ||||
| * | Fixed more best practices, and explicit/implicit style guide issues. | Garrison Venn | 2011-04-10 | 1 | -131/+128 |
| | | | | | llvm-svn: 129245 | ||||
| * | reindent this whole file and do a variety of stylistic cleanups. | Chris Lattner | 2011-04-08 | 1 | -1422/+1400 |
| | | | | | | | This code is still a long way from following best practices. llvm-svn: 129140 | ||||
| * | fix this to build with the recent StructType changes. | Chris Lattner | 2011-04-08 | 1 | -6/+6 |
| | | | | | llvm-svn: 129139 | ||||
| * | Remove PHINode::reserveOperandSpace(). Instead, add a parameter to | Jay Foad | 2011-03-30 | 4 | -14/+8 |
| | | | | | | | PHINode::Create() giving the (known or expected) number of operands. llvm-svn: 128537 | ||||
| * | (Almost) always call reserveOperandSpace() on newly created PHINodes. | Jay Foad | 2011-03-30 | 3 | -0/+5 |
| | | | | | llvm-svn: 128535 | ||||
| * | Fix compiling the ocaml kaleidoscope tutorials | Erick Tryzelaar | 2011-02-09 | 2 | -0/+18 |
| | | | | | llvm-svn: 125202 | ||||
| * | Do not re-test for the existence of pthread.h. | Oscar Fuentes | 2010-12-23 | 1 | -3/+0 |
| | | | | | | | It was causing problems on the MinGW build. See PR8849. llvm-svn: 122518 | ||||
| * | Fix missing includes of "llvm/Analysis/Passes.h" in the tutorials. Thanks | Dan Gohman | 2010-11-16 | 4 | -0/+4 |
| | | | | | | | for Arnaud Allard de Grandmaison for preparing a patch. llvm-svn: 119351 | ||||
| * | Update examples and documentation to explicitly add basicaa, now that it's | Dan Gohman | 2010-11-15 | 5 | -0/+11 |
| | | | | | | | no longer included by default. llvm-svn: 119169 | ||||
| * | Build with RTTI and exceptions disabled. Only in GCC for now. | Oscar Fuentes | 2010-10-17 | 2 | -0/+2 |
| | | | | | llvm-svn: 116682 | ||||
| * | Convert a bunch of uses of 'bytecode' into 'bitcode'. This | Duncan Sands | 2010-09-29 | 1 | -1/+1 |
| | | | | | | | is not everything, but the remaining cases are less trivial. llvm-svn: 115080 | ||||
| * | Removed TracingBrainF from examples Makefile. | Garrison Venn | 2010-09-15 | 1 | -2/+1 |
| | | | | | llvm-svn: 113970 | ||||
| * | Revert "CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally." | Michael J. Spencer | 2010-09-13 | 11 | -27/+22 |
| | | | | | | | | | | | This reverts commit r113632 Conflicts: cmake/modules/AddLLVM.cmake llvm-svn: 113819 | ||||
| * | CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally. | Michael J. Spencer | 2010-09-10 | 11 | -22/+27 |
| | | | | | llvm-svn: 113632 | ||||
| * | fit in 80 columns and don't crash on exit, fixes PR8080 | Chris Lattner | 2010-09-05 | 1 | -4/+10 |
| | | | | | llvm-svn: 113123 | ||||
| * | Remove this from the main tree. I'll host it out of tree. | Owen Anderson | 2010-08-30 | 8 | -848/+0 |
| | | | | | llvm-svn: 112529 | ||||
| * | Add a new example to the LLVM distribution: a trace-based Brainfuck compiler ↵ | Owen Anderson | 2010-08-30 | 9 | -1/+850 |
| | | | | | | | that uses LLVM as its code generator. llvm-svn: 112465 | ||||
| * | Trailing whitespace. | Mikhail Glushenkov | 2010-08-19 | 1 | -3/+3 |
| | | | | | llvm-svn: 111552 | ||||
| * | upgrade to use new intrinsics, patch by Dan Hipschman! | Chris Lattner | 2010-08-10 | 1 | -5/+6 |
| | | | | | llvm-svn: 110735 | ||||
| * | Convert some tab stops into spaces. | Duncan Sands | 2010-07-12 | 4 | -4/+4 |
| | | | | | llvm-svn: 108130 | ||||
| * | Fix up the ocaml kaleidoscope example as well. | Eric Christopher | 2010-07-12 | 4 | -12/+12 |
| | | | | | | | Note that the example currently doesn't appear to work. llvm-svn: 108121 | ||||
| * | fix several bugs in the tutorial, patch by Kevin Kelley! | Chris Lattner | 2010-06-21 | 4 | -6/+6 |
| | | | | | llvm-svn: 106498 | ||||
| * | Remove stray semi-colon. | Daniel Dunbar | 2010-06-15 | 1 | -1/+1 |
| | | | | | llvm-svn: 106009 | ||||
| * | Make kaleidoscope use fp add/sub/mul. | Eric Christopher | 2010-06-14 | 4 | -12/+12 |
| | | | | | | | Patch by Patrick Flannery! llvm-svn: 105932 | ||||
| * | Remove the -enable-sjlj-eh option, which doesn't do anything. | Duncan Sands | 2010-05-02 | 1 | -1/+1 |
| | | | | | | | | Remove the -enable-eh option which is only used by the JIT, and replace it with -jit-enable-eh. llvm-svn: 102865 | ||||
| * | Use provided llvm-defined variables instead of twisting user-controlled knobs. | Nick Lewycky | 2010-04-24 | 1 | -2/+1 |
| | | | | | | | No visible change. llvm-svn: 102240 | ||||
| * | Fix -Wcast-qual warning. | Benjamin Kramer | 2010-04-20 | 1 | -2/+1 |
| | | | | | llvm-svn: 101894 | ||||
| * | Fix the ocaml kaleidoscope tutorial to fix linking external libraries. | Erick Tryzelaar | 2010-03-21 | 2 | -2/+2 |
| | | | | | llvm-svn: 99151 | ||||
| * | Don't always run the ocaml kaleidoscope tutorials. | Erick Tryzelaar | 2010-03-08 | 1 | -2/+5 |
| | | | | | llvm-svn: 97973 | ||||
| * | Add OCaml tutorial to the examples. | Erick Tryzelaar | 2010-03-08 | 64 | -1/+3413 |
| | | | | | llvm-svn: 97966 | ||||
| * | Roll back r96959 again. | Jeffrey Yasskin | 2010-02-23 | 3 | -9/+0 |
| | | | | | llvm-svn: 96981 | ||||
| * | Roll r96559 forward again, adding libLLVM-2.7svn.so to LLVM. This links 3 of | Jeffrey Yasskin | 2010-02-23 | 3 | -0/+9 |
| | | | | | | | the examples shared to make sure the shared library keeps working. llvm-svn: 96959 | ||||
| * | Modified examples Makefile to only build the ExceptionDemo example for | Garrison Venn | 2010-02-23 | 1 | -1/+6 |
| | | | | | | | | | | | | | | x86 and x86_64 on UNIX systems. Only OS X 10.6.2 (x86_64) and 32bit CentOS 5.2 with gcc 4.1.2 were tested. ARM UNIX build triggered failure motivating this modification, as it seems that the ARM ABI does not support _Unwind_GetIP(...), _Unwind_SetGR(...), and _Unwind_SetIP(...). From doing a quick browse of: http://infocenter.arm.com/help/topic/com.arm.doc.ihi0038a/IHI0038A_ehabi.pdf, it seems as if all other exception related apis are supported. Looks like the port can be done to ARM. Thanks to Xerxes Rånby <xerxes@zafena.se> for pointing out this error. llvm-svn: 96949 | ||||
| * | Make Kaleidoscope not link against the interpreter, since that didn't | Jeffrey Yasskin | 2010-02-11 | 8 | -12/+28 |
| | | | | | | | | | work anyway (Interpreter::getPointerToFunction doesn't return a callable pointer), and improve the error message when an ExecutionEngine can't be created. llvm-svn: 95896 | ||||

