aboutsummaryrefslogtreecommitdiff
path: root/llvm/examples/ModuleMaker
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
2016-01-26Remove autoconf supportChris Bieneman1-14/+0
Summary: This patch is provided in preparation for removing autoconf on 1/26. The proposal to remove autoconf on 1/26 was discussed on the llvm-dev thread here: http://lists.llvm.org/pipermail/llvm-dev/2016-January/093875.html "I felt a great disturbance in the [build system], as if millions of [makefiles] suddenly cried out in terror and were suddenly silenced. I fear something [amazing] has happened." - Obi Wan Kenobi Reviewers: chandlerc, grosbach, bob.wilson, tstellarAMD, echristo, whitequark Subscribers: chfast, simoncook, emaste, jholewinski, tberghammer, jfb, danalbert, srhines, arsenm, dschuff, jyknight, dsanders, joker.eph, llvm-commits Differential Revision: http://reviews.llvm.org/D16471 llvm-svn: 258861
2013-12-10[CMake] Update LLVM_LINK_COMPONENTS for each CMakeLists.txt.NAKAMURA Takumi1-1/+5
llvm-svn: 196908
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
2010-09-29Convert a bunch of uses of 'bytecode' into 'bitcode'. ThisDuncan Sands1-1/+1
is not everything, but the remaining cases are less trivial. llvm-svn: 115080
2010-09-13Revert "CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally."Michael J. Spencer1-2/+2
This reverts commit r113632 Conflicts: cmake/modules/AddLLVM.cmake llvm-svn: 113819
2010-09-10CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally.Michael J. Spencer1-2/+2
llvm-svn: 113632
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-09-26CMake: Builds all examples. Corrected name of CBackend target.Oscar Fuentes1-0/+5
llvm-svn: 56682
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-12-29remove attributions from the rest of the llvm makefiles.Chris Lattner1-2/+2
llvm-svn: 45416
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 Lattner2-4/+4
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-09-04Use llvm-config to determine what to link inChris Lattner1-1/+1
llvm-svn: 30092
2006-07-28WriteBytecodeToFile actually can't throw.Chris Lattner2-7/+1
llvm-svn: 29397
2006-07-28WriteBytecodeToFile throws, so this needs EH info.Chris Lattner1-0/+1
llvm-svn: 29392
2006-06-01Use archive libraries instead of object files for VMCore, BCReader,Reid Spencer1-1/+1
BCWriter, and bzip2 libraries. Adjust the various makefiles to accommodate these changes. This was done to speed up link times. llvm-svn: 28610
2006-05-29Correct some grammar and describe current reality.Reid Spencer1-5/+4
llvm-svn: 28532
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-11-25Add LLVMbzip2 library, now required.Reid Spencer1-1/+1
llvm-svn: 18255
2004-11-18Fix PR456:\Reid Spencer1-0/+1
Tools and libraries will be built into $(BUILD_OBJ_ROOT)/$(BuildMode)/bin and \ $(BUILD_OBJ_ROOT)/$(BuildMode)/lib, respectively. Furthermore, the example \ programs will go in $(BUILD_OBJ_ROOT)/$(BuildMode)/examples to keep them \ separate from the tools and hopefully out of the PATH. Install targets \ have not changed. llvm-svn: 17953
2004-10-27Change Library Names Not To Conflict With Others When InstalledReid Spencer1-1/+1
llvm-svn: 17286
2004-09-11Correct the file header to reflect the new "examples" home for the file.Reid Spencer2-2/+2
llvm-svn: 16295
2004-09-11Add library LLVMsystem.a because the JIT now needs it.Reid Spencer1-1/+1
llvm-svn: 16285
2004-08-23Moved small examples from /projects/SmallExamples to /examples.Reid Spencer14-18074/+4
Made the "ModuleMaker" into an example since its just one source file. llvm-svn: 16003
2004-08-23Moved the "SmallExamples" out of the /projects directory and into a newReid Spencer15-0/+18147
/examples directory. History was maintained. These programs do not need to be configured but things in /projects must be. llvm-svn: 16002