aboutsummaryrefslogtreecommitdiff
path: root/llvm/examples/ModuleMaker/ModuleMaker.cpp
AgeCommit message (Collapse)AuthorFilesLines
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth1-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
2018-02-14Update examples for API change. NFC.Rafael Espindola1-1/+1
llvm-svn: 325157
2016-11-11Fix examples files to reflect header split in r286566.Teresa Johnson1-1/+1
I missed these files in examples/ llvm-svn: 286570
2016-05-25Fix some Include What You Use warnings in examples; other minor fixes.Eugene Zelenko1-0/+6
Differential revision: http://reviews.llvm.org/D20607 llvm-svn: 270645
2013-01-02Update the examples for the new header file locations.Chandler Carruth1-5/+5
Sorry for the fallout here, I forgot the examples aren't built by default any more. llvm-svn: 171371
2012-12-04Sort the #include lines of the examples/... tree.Chandler Carruth1-4/+4
llvm-svn: 169249
2009-08-23eliminate the std::ostream forms of the bitcode writing APIs.Chris Lattner1-2/+2
llvm-svn: 79840
2009-08-13Push LLVMContexts through the IntegerType APIs.Owen Anderson1-5/+5
llvm-svn: 78948
2009-07-29Move types back to the 2.5 API.Owen Anderson1-1/+1
llvm-svn: 77516
2009-07-24Revert the ConstantInt constructors back to their 2.5 forms where possible, ↵Owen Anderson1-2/+2
thanks to contexts-on-types. More to come. llvm-svn: 77011
2009-07-14Move EVER MORE stuff over to LLVMContext.Owen Anderson1-3/+4
llvm-svn: 75703
2009-07-01Hold the LLVMContext by reference rather than by pointer.Owen Anderson1-1/+1
llvm-svn: 74640
2009-07-01Add a pointer to the owning LLVMContext to Module. This requires threading ↵Owen Anderson1-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
2009-07-01improve the APIs for creating struct and function types with no ↵Chris Lattner1-2/+1
arguments/elements to not have to create a temporary vector (in the API at least). Patch by Jay Foad! llvm-svn: 74584
2008-05-16API change for {BinaryOperator|CmpInst|CastInst}::create*() --> Create. ↵Gabor Greif1-1/+1
Legacy interfaces will be in place for some time. (Merge from use-diet branch.) llvm-svn: 51200
2008-04-06API changes for class Use size reduction, wave 1.Gabor Greif1-3/+3
Specifically, introduction of XXX::Create methods for Users that have a potentially variable number of Uses. llvm-svn: 49277
2007-12-29remove attributions from examples.Chris Lattner1-2/+2
llvm-svn: 45420
2007-07-05Here is the bulk of the sanitizing.Gabor Greif1-2/+2
Almost all occurrences of "bytecode" in the sources have been eliminated. llvm-svn: 37913
2007-05-06switch this to bitcode instead of bytecodeChris Lattner1-3/+3
llvm-svn: 36867
2006-12-31For PR950:Reid Spencer1-3/+3
Convert signed integer types to signless. llvm-svn: 32786
2006-12-07Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, areBill Wendling1-1/+1
now cerr, cout, and NullStream resp. llvm-svn: 32298
2006-11-29Replacing std::iostreams with llvm iostreams. Some of these changes involveBill Wendling1-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
2006-10-20For PR950:Reid Spencer1-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
2006-07-28WriteBytecodeToFile actually can't throw.Chris Lattner1-6/+1
llvm-svn: 29397
2006-05-14Catch a potentially thrown exception.Chris Lattner1-1/+6
llvm-svn: 28295
2005-04-20Remove trailing whitespace at the end of linesMisha Brukman1-11/+11
llvm-svn: 21380
2005-03-15add missing copyright headerChris Lattner1-0/+7
llvm-svn: 20614
2004-09-11Correct the file header to reflect the new "examples" home for the file.Reid Spencer1-1/+1
llvm-svn: 16295
2004-08-23Moved small examples from /projects/SmallExamples to /examples.Reid Spencer1-0/+55
Made the "ModuleMaker" into an example since its just one source file. llvm-svn: 16003