Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add XCore backend. | Richard Osborne | 2008-11-07 | 27 | -26/+4989 | |
| | | | | llvm-svn: 58838 | |||||
* | Finish the implementation of VisitCompoundLiteralExpr. As VisitInitListExpr is | Zhongxing Xu | 2008-11-07 | 7 | -42/+55 | |
| | | | | | | | | | available, things get much simplified. One addition is that CompoundLiteralExpr can appear both in rvalue and lvalue context. llvm-svn: 58837 | |||||
* | Jump table JIT support. Work in progress. | Evan Cheng | 2008-11-07 | 6 | -76/+192 | |
| | | | | llvm-svn: 58836 | |||||
* | Jump tables may be emitted by target. | Evan Cheng | 2008-11-07 | 2 | -9/+17 | |
| | | | | llvm-svn: 58835 | |||||
* | Jump table relocation addresses may be resolved by target. | Evan Cheng | 2008-11-07 | 1 | -2/+3 | |
| | | | | llvm-svn: 58834 | |||||
* | Make the assertion real. | Zhongxing Xu | 2008-11-07 | 1 | -1/+1 | |
| | | | | llvm-svn: 58833 | |||||
* | Teach CellSPU about ELF sections and new section emitter classes. | Scott Michel | 2008-11-07 | 3 | -35/+46 | |
| | | | | | NB: This is likely to need more work. llvm-svn: 58832 | |||||
* | Patch by Nikita Zhuk: Add TranslationUnitActions to AnalysisConsumer. | Ted Kremenek | 2008-11-07 | 1 | -0/+12 | |
| | | | | llvm-svn: 58831 | |||||
* | BCUI + 1 doesn't work. Use next instead. | Bill Wendling | 2008-11-07 | 1 | -1/+2 | |
| | | | | llvm-svn: 58830 | |||||
* | Refactor code that adjusts the offsets of stack objects. | Bill Wendling | 2008-11-07 | 1 | -79/+34 | |
| | | | | llvm-svn: 58829 | |||||
* | Encode misc arithmetic instructions. | Evan Cheng | 2008-11-07 | 4 | -14/+88 | |
| | | | | llvm-svn: 58828 | |||||
* | Testcase for testb optimization. | Dale Johannesen | 2008-11-07 | 1 | -0/+25 | |
| | | | | llvm-svn: 58827 | |||||
* | Handle (delete) dbg intrinsics while promoting alloca. | Devang Patel | 2008-11-07 | 2 | -3/+78 | |
| | | | | llvm-svn: 58826 | |||||
* | When we're doing a compare of load-AND-constant to 0 | Dale Johannesen | 2008-11-07 | 1 | -0/+46 | |
| | | | | | | | | | (e.g. a bitfield test) narrow the load as much as possible. The has the potential to avoid unnecessary partial-word load-after-store conflicts, which cause stalls on several targets. Also a size win on x86 (testb vs testl). llvm-svn: 58825 | |||||
* | - Modify the stack protector algorithm so that the stack slot is allocated in | Bill Wendling | 2008-11-07 | 3 | -42/+37 | |
| | | | | | | | | | LLVM IR code and not in the selection DAG ISel. This is a cleaner solution. - Fix the heuristic for determining if protectors are necessary. The previous one wasn't checking the proper type size. llvm-svn: 58824 | |||||
* | Remove unneeded header file. | Bill Wendling | 2008-11-06 | 1 | -1/+0 | |
| | | | | llvm-svn: 58823 | |||||
* | Don't build a vector of returns. Just modify the Function in the loop. | Bill Wendling | 2008-11-06 | 1 | -46/+49 | |
| | | | | llvm-svn: 58822 | |||||
* | Initial, rudimentary implementation of operator overloading for binary | Douglas Gregor | 2008-11-06 | 8 | -43/+189 | |
| | | | | | | | | | | | | | | | | | | operators. For example, one can now write "x + y" where x or y is a class or enumeration type, and Clang will perform overload resolution for "+" based on the overloaded operators it finds. The other kinds of overloadable operators in C++ will follow this same approach. Three major issues remain: 1) We don't find member operators 2) Since we don't have user-defined conversion operators, we can't call any of the built-in overloaded operators in C++ [over.built]. 3) Once we've done the semantic checks, we drop the overloaded operator on the floor; it doesn't get into the AST at all. llvm-svn: 58821 | |||||
* | Fixed scalarizing an extract subvector and prevent an infinite loop | Mon P Wang | 2008-11-06 | 2 | -3/+9 | |
| | | | | | | when simplify a vector. llvm-svn: 58820 | |||||
* | The size limit is for individual arrays. So if any array has more than 8 bytes | Bill Wendling | 2008-11-06 | 1 | -5/+3 | |
| | | | | | | in it, then emit stack protectors. llvm-svn: 58819 | |||||
* | Encode extend instructions; more clean up. | Evan Cheng | 2008-11-06 | 4 | -75/+142 | |
| | | | | llvm-svn: 58818 | |||||
* | Parsing, ASTs, and semantic analysis for the declaration of overloaded | Douglas Gregor | 2008-11-06 | 17 | -12/+639 | |
| | | | | | | | | | operators in C++. Overloaded operators can be called directly via their operator-function-ids, e.g., "operator+(foo, bar)", but we don't yet implement the semantics of operator overloading to handle, e.g., "foo + bar". llvm-svn: 58817 | |||||
* | Fix a use of an invalid iterator when -debug-pass=Details is used. | Dan Gohman | 2008-11-06 | 1 | -1/+1 | |
| | | | | llvm-svn: 58816 | |||||
* | Don't recalculate the stack position of the stack protector. | Bill Wendling | 2008-11-06 | 1 | -0/+2 | |
| | | | | llvm-svn: 58815 | |||||
* | Emit label for llvm.dbg.func.start of the inlined function. | Devang Patel | 2008-11-06 | 2 | -3/+9 | |
| | | | | llvm-svn: 58814 | |||||
* | Clarify documentation. A module pass MP can require a function paqss FP only ↵ | Devang Patel | 2008-11-06 | 1 | -1/+2 | |
| | | | | | | if FP does not require any module pass. llvm-svn: 58813 | |||||
* | - Improve naming consistency: Branch -> BrFrm, BranchMisc -> BrMiscFrm. | Evan Cheng | 2008-11-06 | 4 | -76/+48 | |
| | | | | | | | - Consolidate instruction formats. - Other clean up. llvm-svn: 58808 | |||||
* | Improve JIT debugging outputs format consistency. | Evan Cheng | 2008-11-06 | 2 | -16/+18 | |
| | | | | llvm-svn: 58807 | |||||
* | Reclaim some bits in IdentifierInfo, for later use as overloaded operator names. | Douglas Gregor | 2008-11-06 | 2 | -11/+20 | |
| | | | | llvm-svn: 58806 | |||||
* | plug leakage of mutex data. pthread_mutex_destroy() doesnt free our ↵ | Nuno Lopes | 2008-11-06 | 1 | -1/+1 | |
| | | | | | | malloc'ed memory. llvm-svn: 58805 | |||||
* | Sema-check virtual declarations. Complete dynamic_cast checking. | Sebastian Redl | 2008-11-06 | 7 | -9/+72 | |
| | | | | llvm-svn: 58804 | |||||
* | Add the remaining C++0x keywords | Douglas Gregor | 2008-11-06 | 2 | -1/+16 | |
| | | | | llvm-svn: 58802 | |||||
* | Formating/comment changes - no functionality change. | Duncan Sands | 2008-11-06 | 1 | -13/+8 | |
| | | | | llvm-svn: 58801 | |||||
* | Remove opcode from instruction TS flags; add MOVCC support; fix addrmode3 ↵ | Evan Cheng | 2008-11-06 | 6 | -234/+228 | |
| | | | | | | encoding bug. llvm-svn: 58800 | |||||
* | - Rename stackprotector_{prologue,epilogue} to stackprotector_{create,check}. | Bill Wendling | 2008-11-06 | 5 | -19/+11 | |
| | | | | | | | - Get rid of "HasStackProtector" in MachineFrameInfo. - Modify intrinsics to tell which are doing what with memory. llvm-svn: 58799 | |||||
* | Update VC++ projects. | Steve Naroff | 2008-11-06 | 3 | -36/+52 | |
| | | | | llvm-svn: 58798 | |||||
* | Update VC++ proj. | Steve Naroff | 2008-11-06 | 2 | -0/+5 | |
| | | | | llvm-svn: 58797 | |||||
* | Widening cleanup | Mon P Wang | 2008-11-06 | 4 | -25/+22 | |
| | | | | llvm-svn: 58796 | |||||
* | Bring back RegionExtent classes. | Zhongxing Xu | 2008-11-06 | 1 | -0/+79 | |
| | | | | llvm-svn: 58795 | |||||
* | Handle smul<x><y>, smulw<y>, smla<x><y>, smlaw<y>. | Evan Cheng | 2008-11-06 | 3 | -64/+101 | |
| | | | | llvm-svn: 58793 | |||||
* | Adjust the stack protector heuristic to care about only arrays or calls to | Bill Wendling | 2008-11-06 | 1 | -1/+9 | |
| | | | | | | "alloca". llvm-svn: 58792 | |||||
* | Implement the stack protector stack accesses via intrinsics: | Bill Wendling | 2008-11-06 | 5 | -9/+105 | |
| | | | | | | | | | | | | - stackprotector_prologue creates a stack object and stores the guard there. - stackprotector_epilogue reads the stack guard from the stack position created by stackprotector_prologue. - The PrologEpilogInserter was changed to make sure that the stack guard is first on the stack frame. llvm-svn: 58791 | |||||
* | Fix so_imm encoding bug; add support for MOVi2pieces. | Evan Cheng | 2008-11-06 | 3 | -16/+56 | |
| | | | | llvm-svn: 58790 | |||||
* | Fix encoding of multiple instructions with 3 src operands; also handle ↵ | Evan Cheng | 2008-11-06 | 4 | -77/+96 | |
| | | | | | | smmul, smmla, and smmls. llvm-svn: 58789 | |||||
* | Need a \n. | Evan Cheng | 2008-11-06 | 1 | -1/+2 | |
| | | | | llvm-svn: 58788 | |||||
* | InstructionNamer preserves everything. | Devang Patel | 2008-11-06 | 1 | -0/+4 | |
| | | | | llvm-svn: 58787 | |||||
* | Emit label for llvm.dbg.func.start of the inlined function. | Devang Patel | 2008-11-06 | 2 | -3/+77 | |
| | | | | llvm-svn: 58786 | |||||
* | Add post-build event for clangDriver (to copy clang.exe into "dstroot"). | Steve Naroff | 2008-11-06 | 1 | -3/+9 | |
| | | | | llvm-svn: 58783 | |||||
* | Undo 58778 but makes the binary dump prettier. | Evan Cheng | 2008-11-05 | 1 | -3/+21 | |
| | | | | llvm-svn: 58782 | |||||
* | Add comments to function. | Bill Wendling | 2008-11-05 | 1 | -0/+6 | |
| | | | | llvm-svn: 58781 |