summaryrefslogtreecommitdiffstats
path: root/llvm/examples/ModuleMaker/ModuleMaker.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update the file headers across all of the LLVM projects in the monorepoChandler Carruth2019-01-191-4/+3
| | | | | | | | | | | | | | | | | to reflect the new license. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. llvm-svn: 351636
* Update examples for API change. NFC.Rafael Espindola2018-02-141-1/+1
| | | | llvm-svn: 325157
* Fix examples files to reflect header split in r286566.Teresa Johnson2016-11-111-1/+1
| | | | | | I missed these files in examples/ llvm-svn: 286570
* Fix some Include What You Use warnings in examples; other minor fixes.Eugene Zelenko2016-05-251-0/+6
| | | | | | Differential revision: http://reviews.llvm.org/D20607 llvm-svn: 270645
* Update the examples for the new header file locations.Chandler Carruth2013-01-021-5/+5
| | | | | | | Sorry for the fallout here, I forgot the examples aren't built by default any more. llvm-svn: 171371
* Sort the #include lines of the examples/... tree.Chandler Carruth2012-12-041-4/+4
| | | | llvm-svn: 169249
* eliminate the std::ostream forms of the bitcode writing APIs.Chris Lattner2009-08-231-2/+2
| | | | llvm-svn: 79840
* Push LLVMContexts through the IntegerType APIs.Owen Anderson2009-08-131-5/+5
| | | | llvm-svn: 78948
* Move types back to the 2.5 API.Owen Anderson2009-07-291-1/+1
| | | | llvm-svn: 77516
* Revert the ConstantInt constructors back to their 2.5 forms where possible, ↵Owen Anderson2009-07-241-2/+2
| | | | | | thanks to contexts-on-types. More to come. llvm-svn: 77011
* Move EVER MORE stuff over to LLVMContext.Owen Anderson2009-07-141-3/+4
| | | | llvm-svn: 75703
* 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/+4
| | | | | | | | | | 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
* improve the APIs for creating struct and function types with no ↵Chris Lattner2009-07-011-2/+1
| | | | | | | | arguments/elements to not have to create a temporary vector (in the API at least). Patch by Jay Foad! llvm-svn: 74584
* API change for {BinaryOperator|CmpInst|CastInst}::create*() --> Create. ↵Gabor Greif2008-05-161-1/+1
| | | | | | Legacy interfaces will be in place for some time. (Merge from use-diet branch.) llvm-svn: 51200
* API changes for class Use size reduction, wave 1.Gabor Greif2008-04-061-3/+3
| | | | | | | | Specifically, introduction of XXX::Create methods for Users that have a potentially variable number of Uses. llvm-svn: 49277
* remove attributions from examples.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45420
* Here is the bulk of the sanitizing.Gabor Greif2007-07-051-2/+2
| | | | | | Almost all occurrences of "bytecode" in the sources have been eliminated. llvm-svn: 37913
* switch this to bitcode instead of bytecodeChris Lattner2007-05-061-3/+3
| | | | llvm-svn: 36867
* For PR950:Reid Spencer2006-12-311-3/+3
| | | | | | Convert signed integer types to signless. llvm-svn: 32786
* Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, areBill Wendling2006-12-071-1/+1
| | | | | | now cerr, cout, and NullStream resp. llvm-svn: 32298
* Replacing std::iostreams with llvm iostreams. Some of these changes involveBill Wendling2006-11-291-3/+2
| | | | | | | adding a temporary wrapper around the ostream to make it friendly to functions expecting an LLVM stream. This should be fixed in the future. llvm-svn: 31990
* For PR950:Reid Spencer2006-10-201-2/+2
| | | | | | | | This patch implements the first increment for the Signless Types feature. All changes pertain to removing the ConstantSInt and ConstantUInt classes in favor of just using ConstantInt. llvm-svn: 31063
* WriteBytecodeToFile actually can't throw.Chris Lattner2006-07-281-6/+1
| | | | llvm-svn: 29397
* Catch a potentially thrown exception.Chris Lattner2006-05-141-1/+6
| | | | llvm-svn: 28295
* Remove trailing whitespace at the end of linesMisha Brukman2005-04-201-11/+11
| | | | llvm-svn: 21380
* add missing copyright headerChris Lattner2005-03-151-0/+7
| | | | llvm-svn: 20614
* Correct the file header to reflect the new "examples" home for the file.Reid Spencer2004-09-111-1/+1
| | | | llvm-svn: 16295
* Moved small examples from /projects/SmallExamples to /examples.Reid Spencer2004-08-231-0/+55
Made the "ModuleMaker" into an example since its just one source file. llvm-svn: 16003
OpenPOWER on IntegriCloud