aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore
Commit message (Collapse)AuthorAgeFilesLines
* Add dominates/properlyDominates queries to IDom.Chris Lattner2006-08-011-0/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29456 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR780:Reid Spencer2006-07-261-7/+8
| | | | | | | | | | | | | 1. Move IncludeFile.h to System library 2. Move IncludeFile.cpp to System library 3. #1 and #2 required to prevent cyclic library dependencies for libSystem 4. Convert all existing uses of Support/IncludeFile.h to System/IncludeFile.h 5. Add IncludeFile support to various lib/System classes. 6. Add new lib/System classes to LinkAllVMCore.h All this in an attempt to pull in lib/System to what's required for VMCore git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29287 91177308-0d34-0410-b5e6-96231b3b80d8
* No Need to live in the past.Jim Laskey2006-07-261-3/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29282 91177308-0d34-0410-b5e6-96231b3b80d8
* Moving this function to a permanent home to prevent a dependency cycle createdJim Laskey2006-07-251-0/+19
| | | | | | | by the inline heuristic. Was preventing llvm-gcc4 from building. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29278 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a race condition in the makefile andrew reportedChris Lattner2006-07-201-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29227 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix PR835 so that touching tblgen in a way that doesn't affect intrinsicChris Lattner2006-07-201-2/+5
| | | | | | | generation does not rebuild files that just use intrinsic info. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29217 91177308-0d34-0410-b5e6-96231b3b80d8
* Move MVT::getVectorType out of line, it is large and shouldn't be inlined.Chris Lattner2006-07-191-0/+34
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29195 91177308-0d34-0410-b5e6-96231b3b80d8
* Reduce the size of Constants.o by 25% by generalizing specific instantiations ofJim Laskey2006-07-171-30/+31
| | | | | | | std::map. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29163 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a new helper, simplify ConstantExpr::getWithOperandReplaced at Gabor'sChris Lattner2006-07-141-22/+57
| | | | | | | request :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29148 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a new method for bugpoint to useChris Lattner2006-07-141-0/+51
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29143 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix PR826, testcase here: Regression/Verifier/2006-07-11-StoreStruct.llChris Lattner2006-07-111-2/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29112 91177308-0d34-0410-b5e6-96231b3b80d8
* 1. Support for c++ mangled names.Jim Laskey2006-07-111-2/+2
| | | | | | | 2. Support for private/protected class members. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29104 91177308-0d34-0410-b5e6-96231b3b80d8
* Change the ModuleProvider interface to not throw exceptions.Chris Lattner2006-07-061-6/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29024 91177308-0d34-0410-b5e6-96231b3b80d8
* Change the verifier to never throw an exception. Instead verifyModule ↵Chris Lattner2006-07-061-8/+7
| | | | | | canoptionally return the string error, which is an easier api for clients touse anyway. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29017 91177308-0d34-0410-b5e6-96231b3b80d8
* Use hidden visibility to reduce codesizeChris Lattner2006-06-282-4/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28974 91177308-0d34-0410-b5e6-96231b3b80d8
* Use hidden visibility to reduce the sizes of some .o files. This chops 60K ↵Chris Lattner2006-06-284-24/+47
| | | | | | off a release llvm-dis. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28969 91177308-0d34-0410-b5e6-96231b3b80d8
* Add more anonymous namespaces to make it clear that these are private classesChris Lattner2006-06-211-1/+18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28901 91177308-0d34-0410-b5e6-96231b3b80d8
* Add some out-of-line virtual dtors so that the class has a "home", preventingChris Lattner2006-06-212-0/+19
| | | | | | | vtables for (e.g.) Instruction from being emitted into every .o file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28898 91177308-0d34-0410-b5e6-96231b3b80d8
* Handle versioning of compile unit.Jim Laskey2006-06-191-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28855 91177308-0d34-0410-b5e6-96231b3b80d8
* Forgot operands were hard coded for compile unit.Jim Laskey2006-06-161-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28846 91177308-0d34-0410-b5e6-96231b3b80d8
* When asked not to delete useless PHIs, really don't delete them, no matter howOwen Anderson2006-06-141-1/+2
| | | | | | | redundant they are. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28777 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a missing assertion that would have helped out ReidChris Lattner2006-06-101-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28746 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove dead code.Vladimir Prus2006-06-081-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28725 91177308-0d34-0410-b5e6-96231b3b80d8
* New method BasicBlock::getFirstNonPHI.Vladimir Prus2006-06-081-0/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28724 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR780:Reid Spencer2006-06-072-0/+5
| | | | | | | | | | 1. Add #includes to LinkAllVMCore.h to get Mangler.o and InlineAsm.o 2. Make Mangler.h and InlineAsm.h use the macros to ensure linkage 3. Make each of the tools with --load options include LinkAllVMCore.h This should be the last set of changes for this bug and 800. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28719 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a virtual dtor to the InlineAsm class so that the principle method ofChris Lattner2006-06-071-0/+6
| | | | | | | the class can be defined in InlineAsm.cpp git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28718 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR780:Reid Spencer2006-06-072-6/+4
| | | | | | | | | | | 1. Fix the macros in IncludeFile.h to put everything in the llvm namespace 2. Replace the previous explicit mechanism in all the .h and .cpp files with the macros in IncludeFile.h This gets us a consistent mechanism throughout LLVM for ensuring linkage. Next step is to make sure its used in enough places. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28715 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR780:Reid Spencer2006-06-072-3/+4
| | | | | | | | | | Break the "IncludeFile" mechanism into its own header file and adjust other files accordingly. Use this facility for the IntrinsicInst problem which was the subject of PR800. More to follow on this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28709 91177308-0d34-0410-b5e6-96231b3b80d8
* Change from using a stub function to a stub variable for passing to theReid Spencer2006-06-011-1/+1
| | | | | | | | IncludeFile hack to ensure linkage of analysis passes. This works around some -pedantic warnings about assigning an object to a function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28621 91177308-0d34-0410-b5e6-96231b3b80d8
* Use archive libraries instead of object files for VMCore, BCReader,Reid Spencer2006-06-011-5/+1
| | | | | | | | BCWriter, and bzip2 libraries. Adjust the various makefiles to accommodate these changes. This was done to speed up link times. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28610 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the getNamedFunction and getNamedGlobal methods be const. They don'tReid Spencer2006-05-311-8/+8
| | | | | | | change the module in any way and we should enforce that. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28588 91177308-0d34-0410-b5e6-96231b3b80d8
* Provide a simpler interface for getting a ConstantArray from a characterReid Spencer2006-05-301-8/+4
| | | | | | | | | string. Instead of specifying the length, just specify whether the user wants a terminating null or not. The default is "true" to retain the same behavior as previously provided by this function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28562 91177308-0d34-0410-b5e6-96231b3b80d8
* Undo a patch that breaks llvm-as because the warning message is written toReid Spencer2006-05-301-1/+1
| | | | | | | | stdout when the output of llvm-as is also written to stdout. We'll have to fix tcl some other way. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28557 91177308-0d34-0410-b5e6-96231b3b80d8
* Write the WARNING message to cout instead of cerr. Writing to cerr causesReid Spencer2006-05-301-1/+1
| | | | | | | | Tcl to claim that the program had an error and thus produces errors in the dejagnu testing when its really just a warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28556 91177308-0d34-0410-b5e6-96231b3b80d8
* Adjust the interface to ConstantArray::get. The previousReid Spencer2006-05-301-8/+15
| | | | | | | | | | implementation always added a null byte to the end of the string. It turns out that this is not always wanted. By adding a length parameter we preserve this behavior when length==0 (default value) but also allow other lengths (not null terminated) to be created. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28552 91177308-0d34-0410-b5e6-96231b3b80d8
* Reset DEBUG_SYMBOL_TABLE back to 0.Vladimir Prus2006-05-291-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28538 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix compile error when DEBUG_SYMBOL_TABLE is defined.Vladimir Prus2006-05-291-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28537 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix grammar in a comment.Reid Spencer2006-05-291-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28534 91177308-0d34-0410-b5e6-96231b3b80d8
* Patches to make the LLVM sources more -pedantic clean. Patch providedChris Lattner2006-05-241-1/+1
| | | | | | | by Anton Korobeynikov! This is a step towards closing PR786. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28447 91177308-0d34-0410-b5e6-96231b3b80d8
* Print csretcc calls like this:Chris Lattner2006-05-191-8/+8
| | | | | | | | | | | call csretcc void %structret( { sbyte }* %P ) instead of this: callcsretcc void %structret( { sbyte }* %P ) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28412 91177308-0d34-0410-b5e6-96231b3b80d8
* pretty print csretcc for callsChris Lattner2006-05-191-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28410 91177308-0d34-0410-b5e6-96231b3b80d8
* Asmprint csret nicelyChris Lattner2006-05-191-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28408 91177308-0d34-0410-b5e6-96231b3b80d8
* csret functions can be varargs (as can target cc's). Verify restrictions onChris Lattner2006-05-191-3/+18
| | | | | | | csret functions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28405 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix some think-o's in my last commit. Thanks to Chris for pointing them out.Owen Anderson2006-05-181-16/+18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28380 91177308-0d34-0410-b5e6-96231b3b80d8
* Change Module to use TargetData-compatible strings internally.Owen Anderson2006-05-181-1/+60
| | | | | | | This is part of the on-going work on PR 761. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28379 91177308-0d34-0410-b5e6-96231b3b80d8
* inverted logic, caught by coverityChris Lattner2006-05-141-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28290 91177308-0d34-0410-b5e6-96231b3b80d8
* remove dead varChris Lattner2006-05-142-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28287 91177308-0d34-0410-b5e6-96231b3b80d8
* Add an assertion for a common errorChris Lattner2006-05-101-1/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28210 91177308-0d34-0410-b5e6-96231b3b80d8
* Add assertions that verify that the actual arguments to a call or invoke matchChris Lattner2006-05-031-4/+22
| | | | | | | the prototype of the called function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28070 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove a hack required by V9.Chris Lattner2006-04-211-4/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27931 91177308-0d34-0410-b5e6-96231b3b80d8