summaryrefslogtreecommitdiffstats
path: root/llvm/tools
Commit message (Collapse)AuthorAgeFilesLines
* Regenerate.Reid Spencer2007-03-212-767/+744
| | | | llvm-svn: 35237
* For PR1243:Reid Spencer2007-03-211-14/+10
| | | | | | | Okay, really fix it this time. Make sure the CurFun.Linkage is set early and consolidate some duplicate code. llvm-svn: 35236
* Regenerate.Reid Spencer2007-03-215-904/+1557
| | | | llvm-svn: 35235
* For PR1256:Reid Spencer2007-03-213-251/+708
| | | | | | | | | | | | | | | | | | Make Signedness information pervasive throughout all types and values. There is no easy way to get around this. Because the GEP instruction can index through an arbitrarily complex value structure, it is necessary to keep track of signedness information throughout that structure. This change makes Signedness a full class, capable of representing Signedness in arbitrarily shaped types. The class is then used throughout llvm-upgrade to track signedness and differentiate between globals, locals, and functions based on their signedness. For PR1243: This patch also removes bogus warnings about renaming internal globals. It now only emits such warnings when renaming non-internal globals because they may affect linkage. llvm-svn: 35234
* Regenerate.Reid Spencer2007-03-154-633/+528
| | | | llvm-svn: 35116
* Revert last changes as they introduced other problems.Reid Spencer2007-03-152-137/+65
| | | | llvm-svn: 35115
* Regenerate.Reid Spencer2007-03-143-3377/+4608
| | | | llvm-svn: 35113
* The sign information was not propagating into the rename map so only theReid Spencer2007-03-141-49/+101
| | | | | | | | | | | | | last entry stored in the map could be retrieved for a given integer type. Propagating the sign information required an invasive change to ensure that all ValueRef (ValID) instances get the right sign information as well. Also, put in some assertions to ensure the RenameMap always gives us out the type that is expected. This fixes PR1256 and test/Assembler/2007-03-14-UgpradeLocalSignless.ll llvm-svn: 35112
* For PR1256:Reid Spencer2007-03-141-16/+36
| | | | | | Carry sign with ValID and make TypeInfo sortable (useful in a map). llvm-svn: 35111
* Make older versions of bison happy.Jeff Cohen2007-03-141-1/+1
| | | | llvm-svn: 35099
* Now LICM is a LoopPass.Devang Patel2007-03-072-0/+2
| | | | llvm-svn: 35001
* Now LoopUnswitch is a LoopPass.Devang Patel2007-03-071-0/+1
| | | | llvm-svn: 34992
* Obtain the exit function before execution just in case the moduleReid Spencer2007-03-061-5/+7
| | | | | | disappears before we get to calling the exit function. llvm-svn: 34953
* Unbreak VC++ build.Jeff Cohen2007-03-052-0/+2
| | | | llvm-svn: 34917
* 1. Handle errors around the ModuleProvider. This is necessary since it isReid Spencer2007-03-031-11/+23
| | | | | | | | | | | reading bytecode. 2. The interpreter can delete the ModuleProvider and replace it with another so don't depend on it being around after the EE is created. 3. Don't just run llvm_shutdown on exit but actually delete the EE as well. This cleans up a vast amount of memory (but not all) that EE retained through exit. llvm-svn: 34888
* Make output for ConstantInt construction correct for any bitwidth.Reid Spencer2007-03-011-1/+2
| | | | llvm-svn: 34809
* remove use of deprecated apisChris Lattner2007-02-191-2/+1
| | | | llvm-svn: 34418
* remove use of deprecated apiChris Lattner2007-02-194-4433/+3307
| | | | llvm-svn: 34416
* Add possibility to set memory limit for binaries run via libSystem. ThisAnton Korobeynikov2007-02-1610-32/+53
| | | | | | is especially needed for bugpoint. This partly implements PR688 llvm-svn: 34349
* Add missing break statements!Reid Spencer2007-02-161-12/+12
| | | | llvm-svn: 34341
* For PR1195:Reid Spencer2007-02-152-5/+5
| | | | | | | Change use of "packed" term to "vector" in comments, strings, variable names, etc. llvm-svn: 34300
* For PR1195:Reid Spencer2007-02-155-3368/+4494
| | | | | | | Rename PackedType -> VectorType, ConstantPacked -> ConstantVector, and PackedTyID -> VectorTyID. No functional changes. llvm-svn: 34293
* eliminate use of vector-related ctorsChris Lattner2007-02-131-4/+7
| | | | llvm-svn: 34226
* regenerateChris Lattner2007-02-133-4625/+3325
| | | | llvm-svn: 34225
* remove use of vector-related ctorsChris Lattner2007-02-131-5/+5
| | | | llvm-svn: 34224
* stop using me thods that take a vectorChris Lattner2007-02-124-3322/+4622
| | | | llvm-svn: 34206
* Fix build error on ARM.Lauro Ramos Venancio2007-02-121-1/+1
| | | | | | | Since CompilerDriver.cpp revision 1.44, llvmc must be linked against LLVMCore.a (llvm::Module::~Module) and LLVMBCReader.a (llvm::getBytecodeModuleProvider). llvm-svn: 34196
* regenerateChris Lattner2007-02-113-4424/+3300
| | | | llvm-svn: 34188
* add #includeChris Lattner2007-02-111-0/+1
| | | | llvm-svn: 34187
* Align make log output with the rest of llvm.Reid Spencer2007-02-102-12/+12
| | | | llvm-svn: 34150
* Get the use of \ right.Reid Spencer2007-02-091-3/+3
| | | | llvm-svn: 34100
* Now that gccas and gccld are just schell scripts, adjust the build orderingReid Spencer2007-02-091-11/+10
| | | | | | for parallel builds so that we space out the large links. llvm-svn: 34098
* End of life for gccld. Remove its source code and enable the generationReid Spencer2007-02-094-950/+0
| | | | | | | of a shell script to stand in its place. The shell script just pawns the execution off to llvm-ld. llvm-svn: 34090
* Write the deprecation message to stderr instead of stdout so that itReid Spencer2007-02-091-1/+1
| | | | | | doesn't get mingled with the output bytecode. llvm-svn: 34089
* Write the deprecation message to stderr instead of stdout so that itReid Spencer2007-02-091-0/+1
| | | | | | doesn't get mingled with the output bytecode. llvm-svn: 34087
* Put in a disabled template for when gccld is replaced by the shell script.Reid Spencer2007-02-091-0/+19
| | | | llvm-svn: 34076
* Get the right warning message.Reid Spencer2007-02-091-1/+1
| | | | llvm-svn: 34075
* New shell script to replace gccld, eventually.Reid Spencer2007-02-091-0/+23
| | | | llvm-svn: 34074
* Clean up error handling.Reid Spencer2007-02-091-72/+55
| | | | llvm-svn: 34073
* For PR1153:Reid Spencer2007-02-081-0/+5
| | | | | | Copy a couple more missing options from gccld to llvm-ld. llvm-svn: 34061
* For PR1153:Reid Spencer2007-02-081-13/+32
| | | | | | | | Make llvm-ld more gccld-like by having it run the same set of passes. The delta was probably due to lack of llvm-ld being maintained. Just another reason to have only one optimizing linker in in LLVM. llvm-svn: 34058
* Regenerate.Reid Spencer2007-02-083-1395/+1504
| | | | llvm-svn: 34050
* Rename a field so there's less confusion between fields of the same name.Reid Spencer2007-02-081-2/+3
| | | | llvm-svn: 34049
* For PR1187:Reid Spencer2007-02-081-11/+20
| | | | | | Rename function scope names that conflict with basic block names. llvm-svn: 34048
* For PR1187:Reid Spencer2007-02-081-4/+18
| | | | | | | | | Always rename, never give a redef error. We could check for collapsed type planes and generate an error if that's not the cause, but the 99.9999 percentile case will be that its the result of collapsed type planes. So, rather than doing an expensive check, just rename. llvm-svn: 34047
* For PR1187:Reid Spencer2007-02-081-252/+276
| | | | | | | | | | | | | Some changes to get the smbd.ll test case working: 1. Move the logic for CSRETCC->sret attribute out of the ResolveDefinitions code and into getExistingValue. This resolves it much earlier and works in function scope as well. 2. Fix handling of CSRETCC->sret for the store instruction. 3. Rewrite the code for handling renaming to factor in linkage types. 4. Rename a structure filed for a PATypeInfo* so it doesn't get confused with a field for a Type*. llvm-svn: 34043
* Avoid assert() in lto. Let linker handle all failures. Use LTO_WRITE_FAILUREBill Wendling2007-02-081-9/+4
| | | | | | instead of LTO_UNKNOWN. llvm-svn: 34036
* The new version of how to add passes to emit files. We explicitly call aBill Wendling2007-02-082-3/+51
| | | | | | function to add the file writers between calls to add the passes. llvm-svn: 34035
* Regenerate for recent changes.Reid Spencer2007-02-084-800/+888
| | | | llvm-svn: 34025
* For PR1187:Reid Spencer2007-02-081-5/+29
| | | | | | | When a naming conflict arises, allow internal linkage functions to be renamed without warning or error. llvm-svn: 34024
OpenPOWER on IntegriCloud