summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Regenerate.Reid Spencer2006-12-295-2370/+2394
| | | | llvm-svn: 32772
* For PR950:Reid Spencer2006-12-293-77/+82
| | | | | | | | | | | | | | | | | | | | | | | Remove all grammar conflicts from assembly parsing. This change involves: 1. Making the "type" keyword not a primitive type (removes several reduce/reduce conflicts) 2. Being more specific about which linkage types are allowed for functions and global variables. In particular "appending" can no longer be specified for a function. A differentiation was made between the various internal and external linkage types. 3. Introduced the "define" keyword which is now required when defining a function. This disambiguates several cases where a named function return type could get confused with the definition of a new type. Using the keyword eliminates all shift/reduce conflicts and the remaining reduce/reduce conflicts. These changes are necessary to implement the function parameter attributes that will be introduced soon. Adding the function parameter attributes in the presence of the shift/reduce and reduce/reduce conflicts led to severe ambiguities that caused the parser to report syntax errors that needed to be resolved. This patch resolves them. llvm-svn: 32770
* fix commentRafael Espindola2006-12-291-1/+1
| | | | llvm-svn: 32767
* Define StaticCtorsSection and StaticDtorsSection for ARM.Lauro Ramos Venancio2006-12-281-0/+2
| | | | llvm-svn: 32763
* Implement SELECT_CC (f32/f64) for ARM.Lauro Ramos Venancio2006-12-282-2/+16
| | | | llvm-svn: 32762
* remove duplicated lineRafael Espindola2006-12-281-1/+0
| | | | | | bug noticed by Lauro llvm-svn: 32761
* This patch defines extloadi1 and fixes an internal compiler error onLauro Ramos Venancio2006-12-261-0/+3
| | | | | | arm. llvm-svn: 32760
* Cleanup ConstantFoldCompareInstruction:Reid Spencer2006-12-242-135/+203
| | | | | | | | | | 1. Make the arguments const like the other ConstantFold* functions. 2. Clean up evaluateFCmpRelation so it makes sense for floating point. 3. Implement the use of evaluateFCmpRelation to fold floating point CEs 4. Shorten a variable name so more things fit on one line. 5. Fix various comments. llvm-svn: 32759
* Fix some comments.Reid Spencer2006-12-241-2/+2
| | | | llvm-svn: 32758
* For PR1066:Reid Spencer2006-12-241-2/+8
| | | | | | | | Fix this by ensuring that a bitcast is inserted to do sign switching. This is only temporarily needed as the merging of signed and unsigned is next on the SignlessTypes plate. llvm-svn: 32757
* Shut up some compilers that can't accurately analyze variable usageReid Spencer2006-12-231-2/+2
| | | | | | correctly and emit "may be used uninitialized" warnings. llvm-svn: 32756
* For PR1065:Reid Spencer2006-12-231-12/+7
| | | | | | | Don't allow CmpInst instances to be processed in FoldSelectOpOp because you can't easily swap their operands. llvm-svn: 32753
* Don't overload var names.Reid Spencer2006-12-231-4/+4
| | | | llvm-svn: 32752
* For PR950:Reid Spencer2006-12-2349-5331/+6275
| | | | | | | | This patch removes the SetCC instructions and replaces them with the ICmp and FCmp instructions. The SetCondInst instruction has been removed and been replaced with ICmpInst and FCmpInst. llvm-svn: 32751
* add a simple fast-path for dead allocasChris Lattner2006-12-221-1/+8
| | | | llvm-svn: 32750
* ModulePass and ImmutablePass. Force out of line virtual method.Devang Patel2006-12-221-0/+6
| | | | llvm-svn: 32748
* Refactored JIT codegen for mingw32. Now we're using standart relocationAnton Korobeynikov2006-12-224-44/+32
| | | | | | type for distinguish JIT & non-JIT instead of "dirty" hacks :) llvm-svn: 32745
* Need to walk the derived chain of typedefs to get actual size.Jim Laskey2006-12-221-4/+13
| | | | llvm-svn: 32744
* Debug dump error.Evan Cheng2006-12-221-1/+1
| | | | llvm-svn: 32743
* add a noteChris Lattner2006-12-221-0/+9
| | | | llvm-svn: 32741
* Fix for ARM weak symbols, patch by Lauro Ramos Venancio!Chris Lattner2006-12-211-0/+14
| | | | llvm-svn: 32740
* Changes from Nick Lewycky with a simplified PPCTargetAsmInfo.Jim Laskey2006-12-215-18/+274
| | | | llvm-svn: 32735
* Just print integer constants as signed values. The actual signednessReid Spencer2006-12-211-7/+1
| | | | | | doesn't matter as it is determined in the way the constant is used. llvm-svn: 32733
* Add a FIXME about signedness.Reid Spencer2006-12-211-0/+2
| | | | llvm-svn: 32732
* Simplify all the casting business and get rid of isSigned().Reid Spencer2006-12-211-64/+18
| | | | llvm-svn: 32731
* Remove isSigned calls via foreknowledge of main's argument types.Reid Spencer2006-12-211-7/+4
| | | | llvm-svn: 32730
* Get rid of a useless if statement whose then and else blocks were identical.Reid Spencer2006-12-211-4/+1
| | | | llvm-svn: 32729
* Add some comments about things that can go away once signless types are in.Reid Spencer2006-12-211-1/+8
| | | | llvm-svn: 32727
* At the beginning of run, initialize analyis info availability for _ALL_Devang Patel2006-12-211-5/+19
| | | | | | | | | pass managers. Otherwise, stale available analysis info, from the managers not yet run, may cause pass manager to take wrong turn. This fixes CBE test failures reported by nightly tester. llvm-svn: 32726
* Oops.Jim Laskey2006-12-201-1/+1
| | | | llvm-svn: 32724
* Original patch was overly complicated.Jim Laskey2006-12-201-34/+11
| | | | llvm-svn: 32723
* Fix Regression/Verifier/invoke-1.llChris Lattner2006-12-201-2/+7
| | | | llvm-svn: 32722
* Changes to target powerpc for non-Darwin assemblers.Jim Laskey2006-12-201-10/+62
| | | | | | | | 1. Patches from Nick Lewycky. 2. Code to filter register names and print them as numeric values on non-Darwin systems. llvm-svn: 32721
* Fixed 80 cols & style violationAnton Korobeynikov2006-12-201-2/+4
| | | | llvm-svn: 32720
* Revert the previous patch which was incorrect. This unbreaks eon, but rebreaksChris Lattner2006-12-201-1/+2
| | | | | | invoke-1.ll llvm-svn: 32718
* Allow negative constants for unsigned integers and unsigned constantsReid Spencer2006-12-201-11/+13
| | | | | | | greater than MAX_INT64 for signed integers. This is now valid and is just waiting for the distinction between signed and unsigned to go away. llvm-svn: 32716
* handle undef values much more carefully: generalize the resolveundefbranchesChris Lattner2006-12-201-32/+172
| | | | | | | | code to handle instructions as well, so that we properly fold things like X & undef -> 0. This fixes Transforms/SCCP/2006-12-19-UndefBug.ll llvm-svn: 32715
* getLoad() and getStore() calls missed SVOffset operand. Thanks to Dan GohmanEvan Cheng2006-12-201-2/+2
| | | | | | for pointing it out! llvm-svn: 32712
* Fixed dllimported symbols support during JIT'ing. JIT on mingw32Anton Korobeynikov2006-12-203-7/+28
| | | | | | | platform should be more or less workable. At least, sim is running fine under lli :) llvm-svn: 32711
* eliminate constructor from Statistic class. It is now impossible to get aChris Lattner2006-12-191-4/+4
| | | | | | static constructor for them :). Transition complete. llvm-svn: 32710
* switch statistics over to not use static ctors.Chris Lattner2006-12-192-5/+5
| | | | llvm-svn: 32709
* eliminate static ctors for Statistic objects.Chris Lattner2006-12-1921-60/+54
| | | | llvm-svn: 32703
* elimiante Statistic static ctorsChris Lattner2006-12-191-5/+2
| | | | llvm-svn: 32702
* remove static ctors from Statistic objectsChris Lattner2006-12-192-10/+5
| | | | llvm-svn: 32700
* Eliminate static ctors from StatisticsChris Lattner2006-12-1910-64/+43
| | | | llvm-svn: 32698
* eliminate static ctors from StatisticsChris Lattner2006-12-194-56/+41
| | | | llvm-svn: 32697
* eliminate static ctor from example.Chris Lattner2006-12-191-2/+3
| | | | llvm-svn: 32696
* remove dead statisticChris Lattner2006-12-191-4/+0
| | | | llvm-svn: 32695
* switch more statistics over to STATISTIC, eliminating static ctors. Also,Chris Lattner2006-12-199-39/+30
| | | | | | delete some dead ones. llvm-svn: 32694
* Eliminate static ctors due to Statistic objectsChris Lattner2006-12-1916-85/+71
| | | | llvm-svn: 32693
OpenPOWER on IntegriCloud