summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Hello
Commit message (Collapse)AuthorAgeFilesLines
* Move all of the header files which are involved in modelling the LLVM IRChandler Carruth2013-01-021-1/+1
| | | | | | | | | | | | | | | | | | | | | into their new header subdirectory: include/llvm/IR. This matches the directory structure of lib, and begins to correct a long standing point of file layout clutter in LLVM. There are still more header files to move here, but I wanted to handle them in separate commits to make tracking what files make sense at each layer easier. The only really questionable files here are the target intrinsic tablegen files. But that's a battle I'd rather not fight today. I've updated both CMake and Makefile build systems (I think, and my tests think, but I may have missed something). I've also re-sorted the includes throughout the project. I'll be committing updates to Clang, DragonEgg, and Polly momentarily. llvm-svn: 171366
* Use the new script to sort the includes of every file under lib.Chandler Carruth2012-12-031-2/+2
| | | | | | | | | | | | | | | | | Sooooo many of these had incorrect or strange main module includes. I have manually inspected all of these, and fixed the main module include to be the nearest plausible thing I could find. If you own or care about any of these source files, I encourage you to take some time and check that these edits were sensible. I can't have broken anything (I strictly added headers, and reordered them, never removed), but they may not be the headers you'd really like to identify as containing the API being implemented. Many forward declarations and missing includes were added to a header files to allow them to parse cleanly when included first. The main module rule does in fact have its merits. =] llvm-svn: 169131
* Since the Hello pass is built as a loadable dynamic library, don't try to ↵Owen Anderson2010-10-071-4/+3
| | | | | | convert it to new-style registration yet. llvm-svn: 115881
* Reapply r110396, with fixes to appease the Linux buildbot gods.Owen Anderson2010-08-061-2/+2
| | | | llvm-svn: 110460
* Revert r110396 to fix buildbots.Owen Anderson2010-08-061-2/+2
| | | | llvm-svn: 110410
* Don't use PassInfo* as a type identifier for passes. Instead, use the ↵Owen Anderson2010-08-051-2/+2
| | | | | | | | address of the static ID member as the sole unique type identifier. Clean up APIs related to this change. llvm-svn: 110396
* Fix batch of converting RegisterPass<> to INTIALIZE_PASS().Owen Anderson2010-07-211-3/+4
| | | | llvm-svn: 109045
* Add an exports file for the Hello example plugin.Dan Gohman2010-06-242-0/+8
| | | | llvm-svn: 106768
* Use pre-increment instead of post-increment when the result is not used.Dan Gohman2010-06-221-2/+2
| | | | llvm-svn: 106542
* Prune #includes.Dan Gohman2010-03-011-1/+0
| | | | llvm-svn: 97448
* make -fno-rtti the default unless a directory builds with REQUIRES_RTTI.Chris Lattner2010-01-241-1/+0
| | | | llvm-svn: 94378
* Stop building RTTI information for *most* llvm libraries. NotableChris Lattner2010-01-221-0/+1
| | | | | | | | | | | missing ones are libsupport, libsystem and libvmcore. libvmcore is currently blocked on bugpoint, which uses EH. Once it stops using EH, we can switch it off. This #if 0's out 3 unit tests, because gtest requires RTTI information. Suggestions welcome on how to fix this. llvm-svn: 94164
* Fix a bunch of little errors that Clang complains about when its being pedanticDouglas Gregor2009-12-191-1/+1
| | | | llvm-svn: 91764
* CMake: Support for building llvm loadable modules.Oscar Fuentes2009-11-101-1/+1
| | | | llvm-svn: 86656
* Use raw_ostream::write_escaped instead of EscapeString.Daniel Dunbar2009-10-171-6/+4
| | | | llvm-svn: 84356
* Kill off more cerr/cout uses and prune includes a bit.Benjamin Kramer2009-08-231-3/+3
| | | | llvm-svn: 79852
* Removed trailing whitespace from Makefiles.Misha Brukman2009-01-091-3/+3
| | | | llvm-svn: 61991
* Initial support for the CMake build system.Oscar Fuentes2008-09-221-0/+3
| | | | llvm-svn: 56419
* Tidy up several unbeseeming casts from pointer to intptr_t.Dan Gohman2008-09-041-2/+2
| | | | llvm-svn: 55779
* Clean up the use of static and anonymous namespaces. This turned upDan Gohman2008-05-131-5/+8
| | | | | | | several things that were neither in an anonymous namespace nor static but not intended to be global. llvm-svn: 51017
* Remove attribution from file headers, per discussion on llvmdev.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45418
* remove attribution from lib Makefiles.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45415
* Fix typo in comment.Nick Lewycky2007-05-061-2/+2
| | | | llvm-svn: 36873
* Drop 'const'Devang Patel2007-05-031-4/+4
| | | | llvm-svn: 36662
* Use 'static const char' instead of 'static const int'.Devang Patel2007-05-021-4/+4
| | | | | | | Due to darwin gcc bug, one version of darwin linker coalesces static const int, which defauts PassID based pass identification. llvm-svn: 36652
* Do not use typeinfo to identify pass in pass manager.Devang Patel2007-05-011-0/+9
| | | | llvm-svn: 36632
* Remove use of SlowOperationInformer.Devang Patel2007-04-131-3/+0
| | | | llvm-svn: 35967
* Undo previous check-in.Devang Patel2007-04-131-1/+1
| | | | llvm-svn: 35966
* Hello uses LLVMSupport.a (SlowerOperationInformer)Devang Patel2007-04-131-1/+1
| | | | llvm-svn: 35965
* Don't link against System or Support library. These things will alreadyReid Spencer2007-04-091-1/+1
| | | | | | be in the opt tool. llvm-svn: 35827
* eliminate static ctor from example.Chris Lattner2006-12-191-2/+3
| | | | llvm-svn: 32696
* Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, areBill Wendling2006-12-071-2/+2
| | | | | | now cerr, cout, and NullStream resp. llvm-svn: 32298
* Detemplatize the Statistic class. The only type it is instantiated withChris Lattner2006-12-061-1/+1
| | | | | | is 'unsigned'. llvm-svn: 32279
* counter should be unsigned.Chris Lattner2006-12-061-1/+1
| | | | llvm-svn: 32252
* Removed #include <iostream> and used the llvm_cerr/DOUT streams instead.Bill Wendling2006-11-261-3/+3
| | | | llvm-svn: 31922
* eliminate RegisterOpt. It does the same thing as RegisterPass.Chris Lattner2006-08-271-2/+3
| | | | llvm-svn: 29925
* Make this example pass use some things from lib/Support (EscapeString,Reid Spencer2006-08-071-2/+15
| | | | | | | | | | SlowOperatingInfo, Statistics). Besides providing an example of how to use these facilities, it also serves to debug problems with runtime linking when dlopening a loadable module. These three support facilities exercise different combinations of Text/Weak Weak/Text and Text/Text linking between the executable and the module. llvm-svn: 29552
* For PR780:Reid Spencer2006-08-071-1/+1
| | | | | | | | | | | | | 1. Change the usage of LOADABLE_MODULE so that it implies all the things necessary to make a loadable module. This reduces the user's burdern to get a loadable module correctly built. 2. Document the usage of LOADABLE_MODULE in the MakefileGuide 3. Adjust the makefile for lib/Transforms/Hello to use the new specification for building loadable modules 4. Adjust the sample project to not attempt to build a shared library for its little library. This was just wasteful and not instructive at all. llvm-svn: 29551
* Remove trailing whitespaceMisha Brukman2005-04-211-4/+4
| | | | llvm-svn: 21427
* Add the LOADABLE_MODULE=1 directive to indicate that this shared library isReid Spencer2005-01-111-0/+1
| | | | | | intended to be a dlopenable module and not a "plain" shared library. llvm-svn: 19456
* Change Library Names Not To Conflict With Others When InstalledReid Spencer2004-10-271-1/+1
| | | | llvm-svn: 17286
* We won't use automakeReid Spencer2004-10-222-672/+0
| | | | llvm-svn: 17155
* Initial automake generated Makefile templateReid Spencer2004-10-181-0/+657
| | | | llvm-svn: 17136
* Update to reflect changes in Makefile rules.Reid Spencer2004-10-131-4/+4
| | | | llvm-svn: 16950
* Initial version of automake Makefile.am file.Reid Spencer2004-10-101-0/+15
| | | | llvm-svn: 16893
* Add a newlineChris Lattner2004-09-151-0/+1
| | | | llvm-svn: 16369
* Hrm, this pass didn't compile. This bugfix should go into 1.3!Chris Lattner2004-08-121-0/+1
| | | | llvm-svn: 15676
* Finegrainify namespacificationChris Lattner2004-01-091-4/+1
| | | | llvm-svn: 10727
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-0/+4
| | | | llvm-svn: 9903
* Added LLVM copyright notice to Makefiles.John Criswell2003-10-201-0/+8
| | | | llvm-svn: 9312
OpenPOWER on IntegriCloud