summaryrefslogtreecommitdiffstats
path: root/llvm/examples/Kaleidoscope/toy.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rename Kaleidoscope to show that it's for Chapter 7 of the tutorial.Erick Tryzelaar2009-09-221-1139/+0
| | | | llvm-svn: 82573
* Sync c++ kaleidoscope tutorial with test.Erick Tryzelaar2009-09-221-16/+8
| | | | llvm-svn: 82572
* Allocate the module provider in the Kaleidoscope code on the heap, not the ↵Reid Kleckner2009-08-261-35/+33
| | | | | | stack, so that it can be properly deleted. Also update the tutorial with the new code. This fixes PR4762, hopefully better than the last time. llvm-svn: 80138
* Fixed double free in Kaleidoscope. Fixes PR4762.Reid Kleckner2009-08-241-3/+4
| | | | llvm-svn: 79896
* Push LLVMContexts through the IntegerType APIs.Owen Anderson2009-08-131-12/+17
| | | | llvm-svn: 78948
* Move a few more APIs back to 2.5 forms. The only remaining ones left to ↵Owen Anderson2009-07-311-1/+1
| | | | | | | | change back are metadata related, which I'm waiting on to avoid conflicting with Devang. llvm-svn: 77721
* Move types back to the 2.5 API.Owen Anderson2009-07-291-2/+1
| | | | llvm-svn: 77516
* Move ConstantFP construction back to the 2.5-ish API.Owen Anderson2009-07-271-5/+5
| | | | llvm-svn: 77247
* Get rid of the Pass+Context magic.Owen Anderson2009-07-221-1/+1
| | | | llvm-svn: 76702
* PR4591: Make sure to initialize the pass manager before using it.Eli Friedman2009-07-201-0/+2
| | | | llvm-svn: 76422
* Fix: Kaleidoscope link in JIT and Interpreter by including JIT.h and ↵Xerxes Ranby2009-07-191-0/+2
| | | | | | Interpreter.h llvm-svn: 76363
* Add EngineBuilder to ExecutionEngine in favor of the five optional argument ↵Reid Kleckner2009-07-181-2/+1
| | | | | | | | EE::create(). Also a test commit. llvm-svn: 76276
* Privatize the ConstantFP table. I'm on a roll!Owen Anderson2009-07-161-7/+8
| | | | llvm-svn: 76097
* Begin the painful process of tearing apart the rat'ss nest that is ↵Owen Anderson2009-07-131-1/+1
| | | | | | | | | Constants.cpp and ConstantFold.cpp. This involves temporarily hard wiring some parts to use the global context. This isn't ideal, but it's the only way I could figure out to make this process vaguely incremental. llvm-svn: 75445
* Push LLVMContext _back_ through IRBuilder.Owen Anderson2009-07-081-1/+1
| | | | llvm-svn: 75040
* Hold the LLVMContext by reference rather than by pointer.Owen Anderson2009-07-011-1/+1
| | | | llvm-svn: 74640
* Add a pointer to the owning LLVMContext to Module. This requires threading ↵Owen Anderson2009-07-011-1/+3
| | | | | | | | | | LLVMContext through a lot of the bitcode reader and ASM parser APIs, as well as supporting it in all of the tools. Patches for Clang and LLVM-GCC to follow. llvm-svn: 74614
* make sure that JIT examples link in their appropriate target.Chris Lattner2009-06-171-0/+3
| | | | llvm-svn: 73613
* silence a warning.Chris Lattner2009-04-151-1/+1
| | | | llvm-svn: 69117
* Get rid of some compile warnings.Bill Wendling2009-04-131-3/+1
| | | | llvm-svn: 68978
* Add Kaleidoscope to examples/ so that it gets built regularly and we'll noticeNick Lewycky2009-04-121-0/+1137
if an API change causes it to be out of date. The code is copied out of LangImpl7.html. llvm-svn: 68912
OpenPOWER on IntegriCloud