| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Put a threshold on the number of users PointerMayBeCaptured | Dan Gohman | 2009-12-08 | 1 | -0/+16 |
| | | | | | | | | | | | | | examines; fall back to a conservative answer if there are more. This works around some several compile time problems resulting from BasicAliasAnalysis calling PointerMayBeCaptured. The value has been chosen arbitrarily. This fixes rdar://7438917 and may partially address PR5708. llvm-svn: 90905 | ||||
| * | make sure that PHITransAddr keeps its 'InstInputs' list up to | Chris Lattner | 2009-12-08 | 1 | -3/+42 |
| | | | | | | | date when instsimplify kicks in. llvm-svn: 90901 | ||||
| * | Revert 90858 90875 and 90805 for now. | Devang Patel | 2009-12-08 | 3 | -181/+173 |
| | | | | | llvm-svn: 90898 | ||||
| * | - Support inline asm 'w' constraint for 128-bit vector types. | Evan Cheng | 2009-12-08 | 2 | -0/+6 |
| | | | | | | | - Also support the 'q' NEON registers asm code. llvm-svn: 90894 | ||||
| * | Some superficial cleanups. | Bob Wilson | 2009-12-08 | 1 | -4/+3 |
| | | | | | llvm-svn: 90866 | ||||
| * | Clean up dead operands left around after SROA replaces a mem intrinsic. | Bob Wilson | 2009-12-08 | 1 | -0/+6 |
| | | | | | | | | I'm not aware that this does anything significant on its own, but it's needed for another patch that I'm working on. llvm-svn: 90864 | ||||
| * | Cleanup. | Devang Patel | 2009-12-08 | 2 | -167/+82 |
| | | | | | | | There is no need to supply ModuleCU to addType() as a parameter. llvm-svn: 90858 | ||||
| * | Do not try to push dead variable's debug info into namespace info. | Devang Patel | 2009-12-08 | 1 | -3/+5 |
| | | | | | llvm-svn: 90857 | ||||
| * | Remove useless calls to c_str(). | Benjamin Kramer | 2009-12-08 | 1 | -4/+3 |
| | | | | | llvm-svn: 90855 | ||||
| * | Teach GlobalOpt to delete aliases with internal linkage (after | Duncan Sands | 2009-12-08 | 1 | -21/+20 |
| | | | | | | | | forwarding any uses). GlobalDCE can also do this, but is only run at -O3. llvm-svn: 90850 | ||||
| * | fix a typo (and -> add) and fix GetAvailablePHITranslatedSubExpr to not | Chris Lattner | 2009-12-08 | 1 | -3/+6 |
| | | | | | | | side-effect the current object. llvm-svn: 90837 | ||||
| * | Remove unnecessary #include "llvm/LLVMContext.h". | Nick Lewycky | 2009-12-08 | 3 | -3/+0 |
| | | | | | llvm-svn: 90836 | ||||
| * | whitespace cleanup | Chris Lattner | 2009-12-08 | 1 | -1/+1 |
| | | | | | llvm-svn: 90834 | ||||
| * | Reduce (cmp 0, and_su (foo, bar)) into (bit foo, bar). This saves extra ↵ | Anton Korobeynikov | 2009-12-08 | 1 | -1/+65 |
| | | | | | | | instruction. Patch inspired by Brian Lucas! llvm-svn: 90819 | ||||
| * | Watch out for duplicated PHI instructions. | Evan Cheng | 2009-12-07 | 1 | -3/+37 |
| | | | | | llvm-svn: 90816 | ||||
| * | Follow up to 90488. Turn a check into an assertion. | Evan Cheng | 2009-12-07 | 1 | -2/+2 |
| | | | | | llvm-svn: 90815 | ||||
| * | Fix the OProfileJITEventListener for StringRef being returned from debug info. | Jeffrey Yasskin | 2009-12-07 | 1 | -12/+6 |
| | | | | | llvm-svn: 90813 | ||||
| * | Rename DIFactory::InsertValue() as DIFactory::InsertDbgValueIntrinsic() | Victor Hernandez | 2009-12-07 | 1 | -6/+8 |
| | | | | | llvm-svn: 90807 | ||||
| * | Add support to emit debug info for c++ style namespaces. | Devang Patel | 2009-12-07 | 3 | -8/+99 |
| | | | | | llvm-svn: 90805 | ||||
| * | Delete code accidentally left behind. | Evan Cheng | 2009-12-07 | 1 | -10/+0 |
| | | | | | llvm-svn: 90804 | ||||
| * | fix typo | Chris Lattner | 2009-12-07 | 1 | -1/+1 |
| | | | | | llvm-svn: 90793 | ||||
| * | add accessor, improve comment. | Chris Lattner | 2009-12-07 | 1 | -1/+1 |
| | | | | | llvm-svn: 90792 | ||||
| * | Introduce the "@llvm.dbg.value" debug intrinsic. | Victor Hernandez | 2009-12-07 | 1 | -0/+29 |
| | | | | | | | | | | | | The semantics of llvm.dbg.value are that starting from where it is executed, an offset into the specified user source variable is specified to get a new value. An example: call void @llvm.dbg.value(metadata !{ i32 7 }, i64 0, metadata !2) Here the user source variable associated with metadata #2 gets the value "i32 7" at offset 0. llvm-svn: 90788 | ||||
| * | add support for phi translation and incorpation of new expression. | Chris Lattner | 2009-12-07 | 1 | -121/+144 |
| | | | | | llvm-svn: 90782 | ||||
| * | Don't enable the post-RA scheduler on x86 except at -O3. In its | Dan Gohman | 2009-12-07 | 1 | -1/+1 |
| | | | | | | | current form, it is too expensive in compile time. llvm-svn: 90781 | ||||
| * | checkpoint of the new PHITransAddr code, still not done and not used by | Chris Lattner | 2009-12-07 | 1 | -29/+257 |
| | | | | | | | anything. llvm-svn: 90779 | ||||
| * | Pre-regalloc tale duplication. Work in progress. | Evan Cheng | 2009-12-07 | 2 | -91/+231 |
| | | | | | llvm-svn: 90759 | ||||
| * | Fixes the Atomic implementation if compiled by MSVC compiler. | Oscar Fuentes | 2009-12-07 | 1 | -1/+1 |
| | | | | | | | | | | sys::cas_flag should be long on this platform, InterlockedAdd() is defined only for the Itanium architecture (according to MSDN). Patch by Michael Beck! llvm-svn: 90748 | ||||
| * | If BB is empty, insert PHI before end() instead of front(). | Evan Cheng | 2009-12-07 | 1 | -3/+6 |
| | | | | | llvm-svn: 90744 | ||||
| * | Some pretty-printing | Anton Korobeynikov | 2009-12-07 | 1 | -0/+1 |
| | | | | | llvm-svn: 90742 | ||||
| * | Truncate the arguments of llvm.frameaddress / llvm.returnaddress intrinsics ↵ | Anton Korobeynikov | 2009-12-07 | 2 | -1/+13 |
| | | | | | | | from i32 to platform's largest native type llvm-svn: 90741 | ||||
| * | Add lowering of returnaddr and frameaddr intrinsics. Shamelessly stolen from ↵ | Anton Korobeynikov | 2009-12-07 | 3 | -1/+65 |
| | | | | | | | x86 :) llvm-svn: 90740 | ||||
| * | Initial codegen support for MSP430 ISRs | Anton Korobeynikov | 2009-12-07 | 4 | -8/+54 |
| | | | | | llvm-svn: 90739 | ||||
| * | Add MSP430 interrupt calling conv. No functionality change yet. | Anton Korobeynikov | 2009-12-07 | 4 | -0/+7 |
| | | | | | llvm-svn: 90738 | ||||
| * | Add ability to select hw multiplier mode and select appropriate libcalls. | Anton Korobeynikov | 2009-12-07 | 1 | -0/+29 |
| | | | | | llvm-svn: 90737 | ||||
| * | Dynamic stack realignment use of sp register as source/dest register | Anton Korobeynikov | 2009-12-06 | 1 | -4/+27 |
| | | | | | | | | | | | in "bic sp, sp, #15" leads to unpredicatble behaviour in Thumb2 mode. Emit the following code instead: mov r4, sp bic r4, r4, #15 mov sp, r4 llvm-svn: 90724 | ||||
| * | fix PR5698 | Chris Lattner | 2009-12-06 | 1 | -0/+5 |
| | | | | | llvm-svn: 90708 | ||||
| * | constant fold loads from memcpy's from global constants. This is important | Chris Lattner | 2009-12-06 | 1 | -6/+46 |
| | | | | | | | | because clang lowers nontrivial automatic struct/array inits to memcpy from a global array. llvm-svn: 90698 | ||||
| * | add support for forwarding mem intrinsic values to non-local loads. | Chris Lattner | 2009-12-06 | 1 | -33/+71 |
| | | | | | llvm-svn: 90697 | ||||
| * | Handle forwarding local memsets to loads. For example, we optimize this: | Chris Lattner | 2009-12-06 | 1 | -43/+136 |
| | | | | | | | | | | | | short x(short *A) { memset(A, 1, sizeof(*A)*100); return A[42]; } to 'return 257' instead of doing the load. llvm-svn: 90695 | ||||
| * | Remove old DBG_LABEL code. | Dan Gohman | 2009-12-05 | 1 | -8/+0 |
| | | | | | llvm-svn: 90669 | ||||
| * | Remove the unused DisableLegalizeTypes option and related code. | Dan Gohman | 2009-12-05 | 2 | -52/+47 |
| | | | | | llvm-svn: 90668 | ||||
| * | Calling InvalidateEntry during the refinement was breaking the bootstrap. | Bill Wendling | 2009-12-05 | 1 | -2/+12 |
| | | | | | llvm-svn: 90656 | ||||
| * | Final cleanups: | Bill Wendling | 2009-12-05 | 1 | -14/+2 |
| | | | | | | | | - Privatize a typedef. - Call the InvalidateEntry when refining a type. llvm-svn: 90655 | ||||
| * | Temporarily revert r90502. It was causing the llvm-gcc bootstrap on PPC to fail. | Bill Wendling | 2009-12-05 | 2 | -95/+51 |
| | | | | | llvm-svn: 90653 | ||||
| * | Fix indentation in switch statement. | Nick Lewycky | 2009-12-05 | 1 | -15/+16 |
| | | | | | llvm-svn: 90650 | ||||
| * | Generalize this optimization to work on equality comparisons between any two | Nick Lewycky | 2009-12-05 | 1 | -16/+27 |
| | | | | | | | integers that are constant except for a single bit (the same n-th bit in each). llvm-svn: 90646 | ||||
| * | Don't print a space before the : between the file name and line number. | Dan Gohman | 2009-12-05 | 1 | -2/+2 |
| | | | | | | | And separate the directory and file name with a '/'. llvm-svn: 90641 | ||||
| * | Inline methods which are called only once. | Bill Wendling | 2009-12-05 | 1 | -15/+3 |
| | | | | | llvm-svn: 90640 | ||||
| * | Refactor some code. No functionality change. | Bill Wendling | 2009-12-05 | 1 | -9/+13 |
| | | | | | llvm-svn: 90639 | ||||

