summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAge
* Modify the SlowOperationInformer interface to not throw exceptions.Chris Lattner2006-07-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29028 91177308-0d34-0410-b5e6-96231b3b80d8
* Change the ModuleProvider interface to not throw exceptions.Chris Lattner2006-07-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29024 91177308-0d34-0410-b5e6-96231b3b80d8
* Print LLVM version info like this:Chris Lattner2006-07-06
| | | | | | | | | | | | | | | Low Level Virtual Machine (http://llvm.org/): llvm version 1.8cvs DEBUG build with assertions. instead of like this: Low Level Virtual Machine (llvm) 1.8cvs (see http://llvm.org/) ASSERTIONS ENABLED Also, add a place for vendor version info. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29020 91177308-0d34-0410-b5e6-96231b3b80d8
* Change the verifier to never throw an exception. Instead verifyModule ↵Chris Lattner2006-07-06
| | | | | | 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
* Undisable ppc64 jitChris Lattner2006-07-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29011 91177308-0d34-0410-b5e6-96231b3b80d8
* Added option -code-model to set code model (only used in 64-bit) mode. ValidEvan Cheng2006-07-06
| | | | | | | values include small, kernel, medium, large, and default. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29009 91177308-0d34-0410-b5e6-96231b3b80d8
* Reorg. No functionality change.Evan Cheng2006-07-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28999 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix JIT on non MacOS X i386 systems.Evan Cheng2006-07-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28992 91177308-0d34-0410-b5e6-96231b3b80d8
* These are already implementedAndrew Lenharth2006-07-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28990 91177308-0d34-0410-b5e6-96231b3b80d8
* 0 offsets for memory operandsAndrew Lenharth2006-07-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28989 91177308-0d34-0410-b5e6-96231b3b80d8
* Ugly hack! Add helper functions InsertInFlightSetEntry andEvan Cheng2006-06-29
| | | | | | | | RemoveInFlightSetEntry. They are used in place of direct set operators to reduce instruction selection function stack size. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28987 91177308-0d34-0410-b5e6-96231b3b80d8
* Should just use xorps to clear XMM registers for all data types. pxor is ↵Evan Cheng2006-06-29
| | | | | | also one byte longer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28984 91177308-0d34-0410-b5e6-96231b3b80d8
* Let X86CompilationCallback pass previous frame and return address to ↵Evan Cheng2006-06-29
| | | | | | X86CompilationCallback2. Remove alloca hack. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28982 91177308-0d34-0410-b5e6-96231b3b80d8
* Add shift and rotate by 1 instructions / patterns.Evan Cheng2006-06-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28980 91177308-0d34-0410-b5e6-96231b3b80d8
* Always use xorps to clear XMM registers.Evan Cheng2006-06-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28979 91177308-0d34-0410-b5e6-96231b3b80d8
* Move .literal4 and .literal8 support into AsmPrinter.cppEvan Cheng2006-06-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28978 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support to print 4-, 8-, and 16- byte constant literals in specialEvan Cheng2006-06-29
| | | | | | | sections. e.g. On Darwin that would be .literal4 and .literal8. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28977 91177308-0d34-0410-b5e6-96231b3b80d8
* Hide x86 symbolsChris Lattner2006-06-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28976 91177308-0d34-0410-b5e6-96231b3b80d8
* Use hidden visibility to make symbols in an anonymous namespace getChris Lattner2006-06-28
| | | | | | | dropped. This shrinks libllvmgcc.dylib another 67K git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28975 91177308-0d34-0410-b5e6-96231b3b80d8
* Use hidden visibility to reduce codesizeChris Lattner2006-06-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28974 91177308-0d34-0410-b5e6-96231b3b80d8
* Shave another 27K off libllvmgcc.dylib with visibility hiddenChris Lattner2006-06-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28973 91177308-0d34-0410-b5e6-96231b3b80d8
* Shrink libllvmgcc.dylib by another 23KChris Lattner2006-06-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28972 91177308-0d34-0410-b5e6-96231b3b80d8
* shrink libllvmgcc.dylib another 25KChris Lattner2006-06-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28971 91177308-0d34-0410-b5e6-96231b3b80d8
* Mark these two classes as hidden, shrinking libllbmgcc.dylib by 25KChris Lattner2006-06-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28970 91177308-0d34-0410-b5e6-96231b3b80d8
* Use hidden visibility to reduce the sizes of some .o files. This chops 60K ↵Chris Lattner2006-06-28
| | | | | | off a release llvm-dis. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28969 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix CodeGen/Generic/2006-06-28-SimplifySetCCCrash.llChris Lattner2006-06-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28965 91177308-0d34-0410-b5e6-96231b3b80d8
* Doh.Evan Cheng2006-06-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28963 91177308-0d34-0410-b5e6-96231b3b80d8
* Switch to a very conservative heuristic for determining when loop-unswitchingOwen Anderson2006-06-28
| | | | | | | | | | | will be profitable. This is mainly to remove some cases where excessive unswitching would result in long compile times and/or huge generated code. Once someone comes up with a better heuristic that avoids these cases, this should be switched out. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28962 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix Transforms/InstCombine/2006-06-28-infloop.llChris Lattner2006-06-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28961 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't unswitch really large loops even if they are mostly filled with emptyChris Lattner2006-06-28
| | | | | | | blocks. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28959 91177308-0d34-0410-b5e6-96231b3b80d8
* Oops. Need to keep CP index.Evan Cheng2006-06-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28958 91177308-0d34-0410-b5e6-96231b3b80d8
* Darwin puts float and double literal constants into literal4 and literal8 ↵Evan Cheng2006-06-28
| | | | | | sections. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28957 91177308-0d34-0410-b5e6-96231b3b80d8
* add some missing externalsAndrew Lenharth2006-06-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28955 91177308-0d34-0410-b5e6-96231b3b80d8
* Catch more function pointer casting problemsAndrew Lenharth2006-06-28
| | | | | | | | | | Remove the Function pointer cast in these calls, converting it to a cast of argument. %tmp60 = tail call int cast (int (ulong)* %str to int (int)*)( int 10 ) %tmp60 = tail call int cast (int (ulong)* %str to int (int)*)( uint %tmp51 ) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28953 91177308-0d34-0410-b5e6-96231b3b80d8
* Handle alias sets that have been unified, and thus can have other referencesChris Lattner2006-06-27
| | | | | | | to them. This fixes a regression in my previous checkin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28951 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't implement AliasSetTracker::remove in terms of deleteValue. deleteValueChris Lattner2006-06-27
| | | | | | | | | | causes the pointer to be removed from the underlying alias analysis implementation as well. This impl of remove is also significantly faster than the old one. This fixes: Regression/Transforms/DeadStoreElimination/2006-06-27-AST-Remove.ll git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28950 91177308-0d34-0410-b5e6-96231b3b80d8
* this case isn't handledAndrew Lenharth2006-06-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28948 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix for 2006-06-27-DeadSwitchCase.llOwen Anderson2006-06-27
| | | | | | | | Be more careful when updating Phi nodes after eliminating dead switch cases. Fix proposed by Chris. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28947 91177308-0d34-0410-b5e6-96231b3b80d8
* handle the "mov reg1, reg2" case in isMoveInstrRafael Espindola2006-06-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28945 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't match 64-bit bitfield inserts into rlwimi's. todo add rldimi. :)Chris Lattner2006-06-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28944 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix Transforms/DeadArgElim/2006-06-27-struct-ret.ll. -deadargelim should notChris Lattner2006-06-27
| | | | | | | | remove the struct return argument of a csret function, even if it is obviously dead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28943 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix ppc64 jump tablesChris Lattner2006-06-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28941 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove dead code.Evan Cheng2006-06-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28938 91177308-0d34-0410-b5e6-96231b3b80d8
* Print stubs for external globals right.Chris Lattner2006-06-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28936 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement 64-bit select, bswap, etc.Chris Lattner2006-06-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28935 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a pattern for i64 sra. Print 8-byte units with a space between the .quadChris Lattner2006-06-27
| | | | | | | and the data git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28934 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix rewriting frame offsets with ixaddr instructions, which implicitly shiftChris Lattner2006-06-27
| | | | | | | the offset two bits to the left. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28933 91177308-0d34-0410-b5e6-96231b3b80d8
* PPC doesn't have bit converts to/from i64Chris Lattner2006-06-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28932 91177308-0d34-0410-b5e6-96231b3b80d8
* Add 64-bit MTCTR so that indirect calls work.Chris Lattner2006-06-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28931 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix an incorrect store pattern. This fixes em3d.Chris Lattner2006-06-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28930 91177308-0d34-0410-b5e6-96231b3b80d8