Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Ultimately resolve aliases during linking, if possible | Anton Korobeynikov | 2008-03-11 | 1 | -5/+4 | |
| | | | | llvm-svn: 48259 | |||||
* | Add sanity checks | Anton Korobeynikov | 2008-03-10 | 1 | -0/+10 | |
| | | | | llvm-svn: 48184 | |||||
* | Typo: 'function' => 'alias' | Anton Korobeynikov | 2008-03-10 | 1 | -3/+2 | |
| | | | | llvm-svn: 48183 | |||||
* | Syntactic sugar'ify stuff :) | Anton Korobeynikov | 2008-03-10 | 1 | -15/+15 | |
| | | | | llvm-svn: 48182 | |||||
* | Always run 'make check' :) Fix fallout from prev. commit: query for possible | Anton Korobeynikov | 2008-03-10 | 1 | -1/+1 | |
| | | | | | | alias destination only if we don't have anything to link to llvm-svn: 48181 | |||||
* | Make error messages to have common style | Anton Korobeynikov | 2008-03-10 | 1 | -18/+12 | |
| | | | | llvm-svn: 48180 | |||||
* | Properly link globals with aliases | Anton Korobeynikov | 2008-03-10 | 1 | -20/+41 | |
| | | | | llvm-svn: 48179 | |||||
* | Remove the LinkGlobal weirderness in common linking phase. | Anton Korobeynikov | 2008-03-10 | 1 | -33/+44 | |
| | | | | llvm-svn: 48177 | |||||
* | Typo | Anton Korobeynikov | 2008-03-10 | 1 | -1/+1 | |
| | | | | llvm-svn: 48176 | |||||
* | Fix some compilation errors on msvc: | Ted Kremenek | 2008-03-09 | 1 | -3/+3 | |
| | | | | | | | | | - "Redefinition of I" (iterator masks previous definition) - include missing header file Patch by Argiris Kirtzidis! llvm-svn: 48115 | |||||
* | Clarify some important bits | Anton Korobeynikov | 2008-03-07 | 1 | -1/+2 | |
| | | | | llvm-svn: 48010 | |||||
* | Small cleanup: propagate thread-localness via generic routine. | Anton Korobeynikov | 2008-03-07 | 1 | -7/+10 | |
| | | | | | | No functionality change. llvm-svn: 48009 | |||||
* | Missed patch from my last commit | Anton Korobeynikov | 2008-03-05 | 1 | -0/+10 | |
| | | | | llvm-svn: 47977 | |||||
* | Resolve aliases to aliasees, where possible | Anton Korobeynikov | 2008-03-05 | 1 | -0/+3 | |
| | | | | llvm-svn: 47975 | |||||
* | Handle functions as targets during linking of aliases as well | Anton Korobeynikov | 2008-03-05 | 1 | -1/+25 | |
| | | | | llvm-svn: 47974 | |||||
* | Try hard to link aliases. Checks can be too strict by now. | Anton Korobeynikov | 2008-03-05 | 1 | -20/+101 | |
| | | | | llvm-svn: 47968 | |||||
* | Remember the source->dest mapping when copying aliases. This fixes PR2054 | Anton Korobeynikov | 2008-03-05 | 1 | -4/+10 | |
| | | | | llvm-svn: 47945 | |||||
* | Clarify the state-of-the-art | Anton Korobeynikov | 2008-03-05 | 1 | -9/+12 | |
| | | | | llvm-svn: 47944 | |||||
* | And final pack of warnings silencing | Anton Korobeynikov | 2008-02-20 | 1 | -2/+5 | |
| | | | | llvm-svn: 47372 | |||||
* | random cleanups. | Chris Lattner | 2008-02-19 | 1 | -7/+4 | |
| | | | | llvm-svn: 47334 | |||||
* | Remove attribution from file headers, per discussion on llvmdev. | Chris Lattner | 2007-12-29 | 1 | -2/+2 | |
| | | | | llvm-svn: 45418 | |||||
* | Ignore functions with internal linkages during linking. This snipped mimics the | Anton Korobeynikov | 2007-12-27 | 1 | -0/+3 | |
| | | | | | | behaviour of LinkGlobals() function. llvm-svn: 45375 | |||||
* | Fixing several transforms which would drop the collector attribute | Gordon Henriksen | 2007-12-25 | 1 | -0/+2 | |
| | | | | | | when copying functions. llvm-svn: 45356 | |||||
* | Fix PR1146: parameter attributes are longer part of | Duncan Sands | 2007-11-27 | 1 | -0/+1 | |
| | | | | | | | | | | | | the function type, instead they belong to functions and function calls. This is an updated and slightly corrected version of Reid Spencer's original patch. The only known problem is that auto-upgrading of bitcode files doesn't seem to work properly (see test/Bitcode/AutoUpgradeIntrinsics.ll). Hopefully a bitcode guru (who might that be? :) ) will fix it. llvm-svn: 44359 | |||||
* | Use correct parentheses with the '&& "..."' idiom in an assert. | Dan Gohman | 2007-10-08 | 1 | -2/+2 | |
| | | | | llvm-svn: 42750 | |||||
* | Fix PR1611 - Visibility should be ignored for a declaration | Chris Lattner | 2007-08-19 | 1 | -6/+13 | |
| | | | | | | | when a definition's visibility is different. Likewise, the visibility of two declarations mismatching is not an error. llvm-svn: 41174 | |||||
* | Fix a bug in my previous patch. | Lauro Ramos Venancio | 2007-06-28 | 1 | -3/+2 | |
| | | | | llvm-svn: 37778 | |||||
* | When linking two modules, we should copy the alias. | Lauro Ramos Venancio | 2007-06-28 | 1 | -0/+28 | |
| | | | | llvm-svn: 37776 | |||||
* | Propagate alignment, section name and visibility when linking "appending | Lauro Ramos Venancio | 2007-06-06 | 1 | -0/+15 | |
| | | | | | | | global values". Fix noinline linkage. llvm-svn: 37482 | |||||
* | Implement visibility checking during linking. Also implement protected | Anton Korobeynikov | 2007-04-29 | 1 | -1/+14 | |
| | | | | | | visibility support for bitcode. llvm-svn: 36577 | |||||
* | Implement the "thread_local" keyword. | Lauro Ramos Venancio | 2007-04-12 | 1 | -3/+4 | |
| | | | | llvm-svn: 35950 | |||||
* | For PR1195: | Reid Spencer | 2007-02-15 | 1 | -2/+2 | |
| | | | | | | | Rename PackedType -> VectorType, ConstantPacked -> ConstantVector, and PackedTyID -> VectorTyID. No functional changes. llvm-svn: 34293 | |||||
* | simplify this code by using value::takename | Chris Lattner | 2007-02-11 | 1 | -8/+5 | |
| | | | | llvm-svn: 34172 | |||||
* | For PR411: | Reid Spencer | 2007-02-05 | 1 | -87/+99 | |
| | | | | | | | | | | This patch replaces the SymbolTable class with ValueSymbolTable which does not support types planes. This means that all symbol names in LLVM must now be unique. The patch addresses the necessary changes to deal with this and removes code no longer needed as a result. This completes the bulk of the changes for this PR. Some cleanup patches will follow. llvm-svn: 33918 | |||||
* | Fix some comments and other minor sundry things. | Reid Spencer | 2007-02-04 | 1 | -12/+13 | |
| | | | | llvm-svn: 33873 | |||||
* | Ensure that visibility and section are properly propagated. | Reid Spencer | 2007-02-04 | 1 | -9/+8 | |
| | | | | llvm-svn: 33872 | |||||
* | Back out last revision which was committed by accident. | Reid Spencer | 2007-02-04 | 1 | -101/+85 | |
| | | | | llvm-svn: 33871 | |||||
* | Make sure that section and visibility are properly propagated. | Reid Spencer | 2007-02-04 | 1 | -85/+101 | |
| | | | | llvm-svn: 33870 | |||||
* | preserve sections of globals | Andrew Lenharth | 2007-02-01 | 1 | -1/+10 | |
| | | | | llvm-svn: 33756 | |||||
* | For PR1136: Rename GlobalVariable::isExternal as isDeclaration to avoid | Reid Spencer | 2007-01-30 | 1 | -10/+10 | |
| | | | | | | confusion with external linkage types. llvm-svn: 33663 | |||||
* | Read from the right place. | Chris Lattner | 2007-01-29 | 1 | -1/+1 | |
| | | | | llvm-svn: 33611 | |||||
* | Fix PR1139 | Chris Lattner | 2007-01-29 | 1 | -17/+24 | |
| | | | | llvm-svn: 33610 | |||||
* | For PR761: | Reid Spencer | 2007-01-26 | 1 | -8/+14 | |
| | | | | | | | The Module::setEndianness and Module::setPointerSize methods have been removed. Instead you can get/set the DataLayout. Adjust thise accordingly. llvm-svn: 33530 | |||||
* | For PR1064: | Reid Spencer | 2007-01-12 | 1 | -1/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | Implement the arbitrary bit-width integer feature. The feature allows integers of any bitwidth (up to 64) to be defined instead of just 1, 8, 16, 32, and 64 bit integers. This change does several things: 1. Introduces a new Derived Type, IntegerType, to represent the number of bits in an integer. The Type classes SubclassData field is used to store the number of bits. This allows 2^23 bits in an integer type. 2. Removes the five integer Type::TypeID values for the 1, 8, 16, 32 and 64-bit integers. These are replaced with just IntegerType which is not a primitive any more. 3. Adjust the rest of LLVM to account for this change. Note that while this incremental change lays the foundation for arbitrary bit-width integers, LLVM has not yet been converted to actually deal with them in any significant way. Most optimization passes, for example, will still only deal with the byte-width integer types. Future increments will rectify this situation. llvm-svn: 33113 | |||||
* | For PR411: | Reid Spencer | 2007-01-06 | 1 | -18/+22 | |
| | | | | | | | | | Take an incremental step towards type plane elimination. This change separates types from values in the symbol tables by finally making use of the TypeSymbolTable class. This yields more natural interfaces for dealing with types and unclutters the SymbolTable class. llvm-svn: 32956 | |||||
* | extern_weak linkage. fixes PR1038 | Andrew Lenharth | 2006-12-15 | 1 | -1/+5 | |
| | | | | llvm-svn: 32603 | |||||
* | Change inferred getCast into specific getCast. Passes all tests. | Reid Spencer | 2006-12-12 | 1 | -6/+6 | |
| | | | | llvm-svn: 32469 | |||||
* | Don't use <sstream> in Streams.h but <iosfwd> instead. | Bill Wendling | 2006-12-07 | 1 | -0/+1 | |
| | | | | llvm-svn: 32340 | |||||
* | Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, are | Bill Wendling | 2006-12-07 | 1 | -9/+8 | |
| | | | | | | now cerr, cout, and NullStream resp. llvm-svn: 32298 | |||||
* | Introducing external weak linkage. Darwin codegen should be added later. | Anton Korobeynikov | 2006-12-01 | 1 | -12/+24 | |
| | | | | llvm-svn: 32052 |