aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add ability to utilize the code emitter generator (CodeEmitterGen).Misha Brukman2003-05-242-2/+42
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6322 91177308-0d34-0410-b5e6-96231b3b80d8
* First cut at the Code Generator using the TableGen methodology.Misha Brukman2003-05-244-0/+256
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6321 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement the TargetInstrInfo's createNOPinstr() and isNOPinstr() interface.Misha Brukman2003-05-243-1/+71
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6320 91177308-0d34-0410-b5e6-96231b3b80d8
* NOP instructions are pseudo-instructions. We should not have them explicitly inMisha Brukman2003-05-241-0/+14
| | | | | | | | | | | | our representation, since they are usually special cases of already-existing instructions. This abstracts away methods that let a pass create and verify a NOP instruction, without relying on a `NOP' enum to be in existence in the target's instruction info descriptor. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6319 91177308-0d34-0410-b5e6-96231b3b80d8
* Suggest -save-temps instead of -S, -E.Brian Gaeke2003-05-231-7/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6318 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove ".bc" from the end of InputFile if it is there, inBrian Gaeke2003-05-231-0/+7
| | | | | | | tools/lli/lli.cpp:main(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6317 91177308-0d34-0410-b5e6-96231b3b80d8
* gccld.cpp:Brian Gaeke2003-05-231-57/+82
| | | | | | | | | | | | | | | | | | | | Fix typo in header. Add IsArchive static method. Roll LoadLibraryFromDirectory() into LoadLibrary(), and factor LoadLibraryExactName() out of the result. Instead of treating the current directory specially, just insert it into LibPaths in the beginning of main(). Make LoadLibrary() take a "search" flag that says whether to search for the correct library, or just trust that LibName is right. Make LinkLibrary() take a "search" flag, and pass it to LoadLibrary(). Change the for-loop over InputFilenames to detect ar archives and link them in as libraries without searching. Change the for-loop over Libraries to explicitly turn on the "search" flag to LinkLibrary() that makes LoadLibrary() search for the correct library (i.e., when processing -lNAME options.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6316 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix Bug: Linker/2003-04-26-NullPtrLinkProblem.llChris Lattner2003-05-231-103/+194
| | | | | | | | | This was a problem with constants having their types resolved to some new type, but there was already a constant of the new type created. Before, these types were never merged together, now they are. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6314 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove some cruft, add some methods to allow implementation of bugfix forChris Lattner2003-05-231-17/+22
| | | | | | | Bug: Linker/2003-04-26-NullPtrLinkProblem.ll git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6313 91177308-0d34-0410-b5e6-96231b3b80d8
* Cleaned up code layout; no functional changes.Misha Brukman2003-05-231-24/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6312 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor rewording/cleanupsChris Lattner2003-05-231-11/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6311 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcase identified by Brian Gaeke. Gotta love GCC extensions. :(Chris Lattner2003-05-231-0/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6310 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a problem brian identified.Chris Lattner2003-05-231-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6309 91177308-0d34-0410-b5e6-96231b3b80d8
* Clarify BugDriver.cpp:BugDriver::ParseInputFile()'s return values in itsBrian Gaeke2003-05-231-1/+3
| | | | | | | explanatory comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6308 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove long dead codeChris Lattner2003-05-222-73/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6307 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove using declarationsChris Lattner2003-05-225-49/+36
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6306 91177308-0d34-0410-b5e6-96231b3b80d8
* Add using declarationsChris Lattner2003-05-225-37/+26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6305 91177308-0d34-0410-b5e6-96231b3b80d8
* Cleaned up code layout. No functional changes.Misha Brukman2003-05-224-1356/+1244
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6304 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove using declarations and extraneous #includesChris Lattner2003-05-222-34/+31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6303 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix static constructor ordering problemChris Lattner2003-05-221-15/+33
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6302 91177308-0d34-0410-b5e6-96231b3b80d8
* Kill `using' directives.Misha Brukman2003-05-224-102/+94
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6301 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove using declarationsChris Lattner2003-05-221-81/+77
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6300 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix testcaseChris Lattner2003-05-221-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6299 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcaseChris Lattner2003-05-221-0/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6298 91177308-0d34-0410-b5e6-96231b3b80d8
* Add documentation for the new cl::CommaSeparated modifierChris Lattner2003-05-221-5/+31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6297 91177308-0d34-0410-b5e6-96231b3b80d8
* add support for an explicit EXPORTED_SYMBOL_LISTChris Lattner2003-05-221-2/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6296 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the list accept comma separated namesChris Lattner2003-05-221-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6295 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new CommaSeparated option modifierChris Lattner2003-05-222-0/+40
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6294 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for a new "CommaSeparated" modifierChris Lattner2003-05-222-6/+30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6293 91177308-0d34-0410-b5e6-96231b3b80d8
* Kill using declarationsChris Lattner2003-05-229-126/+114
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6292 91177308-0d34-0410-b5e6-96231b3b80d8
* Destroy using declarationsChris Lattner2003-05-222-128/+120
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6291 91177308-0d34-0410-b5e6-96231b3b80d8
* Specify a list of symbols that should be exported by the libraryChris Lattner2003-05-221-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6290 91177308-0d34-0410-b5e6-96231b3b80d8
* * Revert to old behavior of ignoring a module if it doesn't contain a mainChris Lattner2003-05-221-7/+24
| | | | | | | | | function and no symbols were explicitly marked to be externalized. * Add new -internalize-public-api-list option that can be used if the symbol list is small, and making a new file is annoying. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6289 91177308-0d34-0410-b5e6-96231b3b80d8
* Add option to internalize to allow it to read a file to determine which symbolsChris Lattner2003-05-221-10/+41
| | | | | | | should not be internalized git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6288 91177308-0d34-0410-b5e6-96231b3b80d8
* Update to match typename produced by the C frontendChris Lattner2003-05-221-9/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6287 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor cleanups.Chris Lattner2003-05-221-8/+5
| | | | | | | | | | | | This hunk: - } else if (Src->getNumOperands() == 2 && Src->use_size() == 1) { + } else if (Src->getNumOperands() == 2) { Allows GEP folding to be more aggressive, which reduces the number of instructions and can dramatically speed up BasicAA in some cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6286 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bug: Assembler/2003-05-03-BytecodeReaderProblem.llxChris Lattner2003-05-221-16/+25
| | | | | | | | by emitting the type planes before any constants (which could be constant expressions involving undefined types!) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6285 91177308-0d34-0410-b5e6-96231b3b80d8
* Do not assert fail or crash when a bytecode parse fails!Chris Lattner2003-05-222-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6284 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate the uchar typedef, use unsigned char explicitlyChris Lattner2003-05-224-38/+56
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6283 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the testcase even more insaneChris Lattner2003-05-221-3/+17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6280 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcaseChris Lattner2003-05-221-0/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6279 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcaseChris Lattner2003-05-211-0/+22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6278 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcase that was killing the CFEChris Lattner2003-05-211-0/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6277 91177308-0d34-0410-b5e6-96231b3b80d8
* New documentChris Lattner2003-05-211-0/+197
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6275 91177308-0d34-0410-b5e6-96231b3b80d8
* New graphic for web pageChris Lattner2003-05-211-0/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6274 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bug: FunctionResolve/2003-05-21-MissingArguments.llChris Lattner2003-05-211-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6273 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcase that crashes the funcresolve pass.Chris Lattner2003-05-211-0/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6272 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow disabling final cleanupsChris Lattner2003-05-211-1/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6271 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix Bug: BasicAA/2003-05-21-GEP-Problem.llChris Lattner2003-05-211-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6270 91177308-0d34-0410-b5e6-96231b3b80d8
* Trim testcase a bitChris Lattner2003-05-212-12/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6269 91177308-0d34-0410-b5e6-96231b3b80d8