| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | De-constify Types in StructType::get() and TargetData::getIntPtrType(). | Jay Foad | 2011-07-11 | 13 | -32/+19 |
| | | | | | llvm-svn: 134893 | ||||
| * | Add a missing test for r134882. | Cameron Zwarich | 2011-07-11 | 1 | -0/+8 |
| | | | | | llvm-svn: 134889 | ||||
| * | De-constify Types in FunctionType::get(). | Jay Foad | 2011-07-11 | 31 | -124/+112 |
| | | | | | llvm-svn: 134888 | ||||
| * | Remove mentions of type planes. | Jay Foad | 2011-07-11 | 1 | -4/+4 |
| | | | | | llvm-svn: 134887 | ||||
| * | - Eliminate MCCodeEmitter's dependency on TargetMachine. It now uses MCInstrInfo | Evan Cheng | 2011-07-11 | 46 | -157/+386 |
| | | | | | | | | | | | | | and MCSubtargetInfo. - Added methods to update subtarget features (used when targets automatically detect subtarget features or switch modes). - Teach X86Subtarget to update MCSubtargetInfo features bits since the MCSubtargetInfo layer can be shared with other modules. - These fixes .code 16 / .code 32 support since mode switch is updated in MCSubtargetInfo so MC code emitter can do the right thing. llvm-svn: 134884 | ||||
| * | Don't duplicate the work done by a gep into a "bitcast" if the gep has | Rafael Espindola | 2011-07-11 | 2 | -0/+24 |
| | | | | | | | | | more than one use. Fixes PR10322. llvm-svn: 134883 | ||||
| * | Fix <rdar://problem/9751331>. | Cameron Zwarich | 2011-07-11 | 1 | -3/+3 |
| | | | | | llvm-svn: 134882 | ||||
| * | Silence -Wunused-variable in release builds. | Chandler Carruth | 2011-07-10 | 1 | -0/+2 |
| | | | | | llvm-svn: 134868 | ||||
| * | Make the destructor virtual to silence GCC's -Wnon-virtual-dtor. Let me | Chandler Carruth | 2011-07-10 | 1 | -1/+1 |
| | | | | | | | know if there is some problem with this destructor being virtual... llvm-svn: 134867 | ||||
| * | Use BranchProbability instead of floating points in IfConverter. | Jakub Staszak | 2011-07-10 | 4 | -52/+60 |
| | | | | | llvm-svn: 134858 | ||||
| * | - Make BranchProbability constructor public. | Jakub Staszak | 2011-07-10 | 2 | -12/+7 |
| | | | | | | | - Add getCompl() method. llvm-svn: 134857 | ||||
| * | Don't analyze block if it's not considered for ifcvt anymore. | Jakub Staszak | 2011-07-10 | 1 | -2/+3 |
| | | | | | llvm-svn: 134856 | ||||
| * | finish a thought. | Chris Lattner | 2011-07-10 | 1 | -0/+1 |
| | | | | | llvm-svn: 134854 | ||||
| * | Move the loads after the calls so that the fix for | Rafael Espindola | 2011-07-09 | 1 | -48/+48 |
| | | | | | | | | PR10292 doesn't show that the loads don't alias the allocas. llvm-svn: 134852 | ||||
| * | Use CHECK-NEXT. | Rafael Espindola | 2011-07-09 | 1 | -259/+260 |
| | | | | | llvm-svn: 134850 | ||||
| * | Remove tests for APIs that were removed. | Nick Lewycky | 2011-07-09 | 3 | -131/+2 |
| | | | | | llvm-svn: 134842 | ||||
| * | Update OCaml bindings. Opaque types are gone, type holders are gone and the | Nick Lewycky | 2011-07-09 | 3 | -126/+0 |
| | | | | | | | module operations that operate on type names are gone. llvm-svn: 134839 | ||||
| * | the various ConstantExpr::get*Ty methods existed to work with issues around | Chris Lattner | 2011-07-09 | 2 | -178/+94 |
| | | | | | | | type refinement. Zap them now that type refinement is toast. llvm-svn: 134837 | ||||
| * | don't load element before checking to see if it is valid. | Chris Lattner | 2011-07-09 | 1 | -2/+2 |
| | | | | | llvm-svn: 134836 | ||||
| * | Eliminate the WriteTypeSymbolic function. Now that types know | Chris Lattner | 2011-07-09 | 2 | -11/+0 |
| | | | | | | | their names, we don't need a module around to print them. llvm-svn: 134835 | ||||
| * | stop using WriteTypeSymbolic. | Chris Lattner | 2011-07-09 | 1 | -3/+1 |
| | | | | | llvm-svn: 134833 | ||||
| * | remove the DerivedType which isn't adding value anymore. | Chris Lattner | 2011-07-09 | 4 | -23/+8 |
| | | | | | llvm-svn: 134832 | ||||
| * | Land the long talked about "type system rewrite" patch. This | Chris Lattner | 2011-07-09 | 109 | -5933/+3032 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | patch brings numerous advantages to LLVM. One way to look at it is through diffstat: 109 files changed, 3005 insertions(+), 5906 deletions(-) Removing almost 3K lines of code is a good thing. Other advantages include: 1. Value::getType() is a simple load that can be CSE'd, not a mutating union-find operation. 2. Types a uniqued and never move once created, defining away PATypeHolder. 3. Structs can be "named" now, and their name is part of the identity that uniques them. This means that the compiler doesn't merge them structurally which makes the IR much less confusing. 4. Now that there is no way to get a cycle in a type graph without a named struct type, "upreferences" go away. 5. Type refinement is completely gone, which should make LTO much MUCH faster in some common cases with C++ code. 6. Types are now generally immutable, so we can use "Type *" instead "const Type *" everywhere. Downsides of this patch are that it removes some functions from the C API, so people using those will have to upgrade to (not yet added) new API. "LLVM 3.0" is the right time to do this. There are still some cleanups pending after this, this patch is large enough as-is. llvm-svn: 134829 | ||||
| * | add a #include | Chris Lattner | 2011-07-09 | 1 | -0/+1 |
| | | | | | llvm-svn: 134822 | ||||
| * | fix a really bad bug that would cause nested cursors to break, | Chris Lattner | 2011-07-09 | 1 | -0/+1 |
| | | | | | | | used by the new bitcode reader. llvm-svn: 134821 | ||||
| * | more tests not making the jump into the brave new world. | Chris Lattner | 2011-07-09 | 16 | -1522/+0 |
| | | | | | llvm-svn: 134820 | ||||
| * | remove some crufy old tests that aren't adding much value | Chris Lattner | 2011-07-09 | 10 | -194/+0 |
| | | | | | llvm-svn: 134819 | ||||
| * | remove a test that doesn't make sense in the new world. | Chris Lattner | 2011-07-09 | 1 | -6/+0 |
| | | | | | llvm-svn: 134818 | ||||
| * | test/CodeGen/X86/vector.ll: Tweak temporary output to appease Win32 hosts. | NAKAMURA Takumi | 2011-07-09 | 1 | -1/+1 |
| | | | | | | | | | With Lit (not bash) in a test, multiple redirects >%t might open(%t, "w") multiple. It can be avoided if latter redirect is >>%t. It might work even if ">/dev/null" were used. llvm-svn: 134814 | ||||
| * | Windows/DynamicLibrary.inc: Fix trivial warnings. Thanks to John Myers! | NAKAMURA Takumi | 2011-07-09 | 2 | -3/+3 |
| | | | | | llvm-svn: 134812 | ||||
| * | lit/LitConfig.py: Demote Win32 message "Unable to find 'bash.exe'" from ↵ | NAKAMURA Takumi | 2011-07-09 | 1 | -1/+1 |
| | | | | | | | Warning to Note. llvm-svn: 134809 | ||||
| * | Revert accidental commit. | Evan Cheng | 2011-07-09 | 1 | -6/+0 |
| | | | | | llvm-svn: 134800 | ||||
| * | Change createAsmParser to take a MCSubtargetInfo instead of triple, | Evan Cheng | 2011-07-09 | 30 | -72/+387 |
| | | | | | | | | | | CPU, and feature string. Parsing some asm directives can change subtarget state (e.g. .code 16) and it must be reflected in other modules (e.g. MCCodeEmitter). That is, the MCSubtargetInfo instance must be shared. llvm-svn: 134795 | ||||
| * | Oops, didn't mean to commit that. | Jakob Stoklund Olesen | 2011-07-09 | 1 | -1/+1 |
| | | | | | | | | | Spills should be hoisted out of loops, but we don't want to hoist them to dominating blocks at the same loop depth. That could cause the spills to be executed more often. llvm-svn: 134782 | ||||
| * | Added test cases for GVN signed intrinsics recognition, r134777. | Lang Hames | 2011-07-09 | 1 | -0/+38 |
| | | | | | llvm-svn: 134778 | ||||
| * | Added recognition for signed add/sub/mul with overflow intrinsics to GVN as ↵ | Lang Hames | 2011-07-09 | 1 | -0/+3 |
| | | | | | | | per Chris and Frits suggestion. llvm-svn: 134777 | ||||
| * | Hoist spills within a basic block. | Jakob Stoklund Olesen | 2011-07-09 | 2 | -3/+63 |
| | | | | | | | | | | | Try to move spills as early as possible in their basic block. This can help eliminate interferences by shortening the live range being spilled. This fixes PR10221. llvm-svn: 134776 | ||||
| * | Really force on 64bit for 64-bit targets. Should fix remaining failures on ↵ | Eli Friedman | 2011-07-08 | 1 | -3/+11 |
| | | | | | | | unknown x86/non-x86 targets. llvm-svn: 134773 | ||||
| * | Revert earlier unnecessary hack. Make sure we correctly force on 64bit and ↵ | Eli Friedman | 2011-07-08 | 2 | -4/+9 |
| | | | | | | | cmov for 64-bit targets. llvm-svn: 134768 | ||||
| * | Fix indentation. | Evan Cheng | 2011-07-08 | 1 | -2/+2 |
| | | | | | llvm-svn: 134764 | ||||
| * | Fix comment. | Evan Cheng | 2011-07-08 | 1 | -1/+1 |
| | | | | | llvm-svn: 134763 | ||||
| * | Add an fma TableGen node. | Cameron Zwarich | 2011-07-08 | 1 | -0/+1 |
| | | | | | llvm-svn: 134762 | ||||
| * | Add support for ARM / Thumb mode switching with .code 16 and .code 32. | Evan Cheng | 2011-07-08 | 2 | -16/+46 |
| | | | | | llvm-svn: 134760 | ||||
| * | Update comments for SandyBridge CPU identifiers. | Bob Wilson | 2011-07-08 | 1 | -2/+6 |
| | | | | | llvm-svn: 134759 | ||||
| * | Mark tBRIND as predicable. | Jim Grosbach | 2011-07-08 | 1 | -2/+2 |
| | | | | | llvm-svn: 134758 | ||||
| * | Restore old behavior. Always auto-detect features unless cpu or features are ↵ | Evan Cheng | 2011-07-08 | 3 | -20/+7 |
| | | | | | | | specified. llvm-svn: 134757 | ||||
| * | Fix broken x86_64 tests which specify non-64-bit cpu's. | Evan Cheng | 2011-07-08 | 3 | -4/+4 |
| | | | | | llvm-svn: 134756 | ||||
| * | Pseudo-ize tBRIND. | Jim Grosbach | 2011-07-08 | 1 | -12/+6 |
| | | | | | llvm-svn: 134755 | ||||
| * | Default 64-bit target features and SSE2 on when a triple specifies x86-64. ↵ | Eli Friedman | 2011-07-08 | 3 | -38/+2 |
| | | | | | | | Clean up all the other hacks which are now unnecessary. llvm-svn: 134753 | ||||
| * | Use add instead of accumulate. | Cameron Zwarich | 2011-07-08 | 1 | -1/+1 |
| | | | | | llvm-svn: 134752 | ||||

