summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add XCore backend.Richard Osborne2008-11-0727-26/+4989
| | | | llvm-svn: 58838
* Finish the implementation of VisitCompoundLiteralExpr. As VisitInitListExpr is Zhongxing Xu2008-11-077-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 Cheng2008-11-076-76/+192
| | | | llvm-svn: 58836
* Jump tables may be emitted by target.Evan Cheng2008-11-072-9/+17
| | | | llvm-svn: 58835
* Jump table relocation addresses may be resolved by target.Evan Cheng2008-11-071-2/+3
| | | | llvm-svn: 58834
* Make the assertion real.Zhongxing Xu2008-11-071-1/+1
| | | | llvm-svn: 58833
* Teach CellSPU about ELF sections and new section emitter classes.Scott Michel2008-11-073-35/+46
| | | | | NB: This is likely to need more work. llvm-svn: 58832
* Patch by Nikita Zhuk: Add TranslationUnitActions to AnalysisConsumer.Ted Kremenek2008-11-071-0/+12
| | | | llvm-svn: 58831
* BCUI + 1 doesn't work. Use next instead.Bill Wendling2008-11-071-1/+2
| | | | llvm-svn: 58830
* Refactor code that adjusts the offsets of stack objects.Bill Wendling2008-11-071-79/+34
| | | | llvm-svn: 58829
* Encode misc arithmetic instructions.Evan Cheng2008-11-074-14/+88
| | | | llvm-svn: 58828
* Testcase for testb optimization.Dale Johannesen2008-11-071-0/+25
| | | | llvm-svn: 58827
* Handle (delete) dbg intrinsics while promoting alloca.Devang Patel2008-11-072-3/+78
| | | | llvm-svn: 58826
* When we're doing a compare of load-AND-constant to 0Dale Johannesen2008-11-071-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 inBill Wendling2008-11-073-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 Wendling2008-11-061-1/+0
| | | | llvm-svn: 58823
* Don't build a vector of returns. Just modify the Function in the loop.Bill Wendling2008-11-061-46/+49
| | | | llvm-svn: 58822
* Initial, rudimentary implementation of operator overloading for binaryDouglas Gregor2008-11-068-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 loopMon P Wang2008-11-062-3/+9
| | | | | | when simplify a vector. llvm-svn: 58820
* The size limit is for individual arrays. So if any array has more than 8 bytesBill Wendling2008-11-061-5/+3
| | | | | | in it, then emit stack protectors. llvm-svn: 58819
* Encode extend instructions; more clean up.Evan Cheng2008-11-064-75/+142
| | | | llvm-svn: 58818
* Parsing, ASTs, and semantic analysis for the declaration of overloadedDouglas Gregor2008-11-0617-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 Gohman2008-11-061-1/+1
| | | | llvm-svn: 58816
* Don't recalculate the stack position of the stack protector.Bill Wendling2008-11-061-0/+2
| | | | llvm-svn: 58815
* Emit label for llvm.dbg.func.start of the inlined function.Devang Patel2008-11-062-3/+9
| | | | llvm-svn: 58814
* Clarify documentation. A module pass MP can require a function paqss FP only ↵Devang Patel2008-11-061-1/+2
| | | | | | if FP does not require any module pass. llvm-svn: 58813
* - Improve naming consistency: Branch -> BrFrm, BranchMisc -> BrMiscFrm.Evan Cheng2008-11-064-76/+48
| | | | | | | - Consolidate instruction formats. - Other clean up. llvm-svn: 58808
* Improve JIT debugging outputs format consistency.Evan Cheng2008-11-062-16/+18
| | | | llvm-svn: 58807
* Reclaim some bits in IdentifierInfo, for later use as overloaded operator names.Douglas Gregor2008-11-062-11/+20
| | | | llvm-svn: 58806
* plug leakage of mutex data. pthread_mutex_destroy() doesnt free our ↵Nuno Lopes2008-11-061-1/+1
| | | | | | malloc'ed memory. llvm-svn: 58805
* Sema-check virtual declarations. Complete dynamic_cast checking.Sebastian Redl2008-11-067-9/+72
| | | | llvm-svn: 58804
* Add the remaining C++0x keywordsDouglas Gregor2008-11-062-1/+16
| | | | llvm-svn: 58802
* Formating/comment changes - no functionality change.Duncan Sands2008-11-061-13/+8
| | | | llvm-svn: 58801
* Remove opcode from instruction TS flags; add MOVCC support; fix addrmode3 ↵Evan Cheng2008-11-066-234/+228
| | | | | | encoding bug. llvm-svn: 58800
* - Rename stackprotector_{prologue,epilogue} to stackprotector_{create,check}.Bill Wendling2008-11-065-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 Naroff2008-11-063-36/+52
| | | | llvm-svn: 58798
* Update VC++ proj.Steve Naroff2008-11-062-0/+5
| | | | llvm-svn: 58797
* Widening cleanupMon P Wang2008-11-064-25/+22
| | | | llvm-svn: 58796
* Bring back RegionExtent classes.Zhongxing Xu2008-11-061-0/+79
| | | | llvm-svn: 58795
* Handle smul<x><y>, smulw<y>, smla<x><y>, smlaw<y>.Evan Cheng2008-11-063-64/+101
| | | | llvm-svn: 58793
* Adjust the stack protector heuristic to care about only arrays or calls toBill Wendling2008-11-061-1/+9
| | | | | | "alloca". llvm-svn: 58792
* Implement the stack protector stack accesses via intrinsics:Bill Wendling2008-11-065-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 Cheng2008-11-063-16/+56
| | | | llvm-svn: 58790
* Fix encoding of multiple instructions with 3 src operands; also handle ↵Evan Cheng2008-11-064-77/+96
| | | | | | smmul, smmla, and smmls. llvm-svn: 58789
* Need a \n.Evan Cheng2008-11-061-1/+2
| | | | llvm-svn: 58788
* InstructionNamer preserves everything.Devang Patel2008-11-061-0/+4
| | | | llvm-svn: 58787
* Emit label for llvm.dbg.func.start of the inlined function.Devang Patel2008-11-062-3/+77
| | | | llvm-svn: 58786
* Add post-build event for clangDriver (to copy clang.exe into "dstroot").Steve Naroff2008-11-061-3/+9
| | | | llvm-svn: 58783
* Undo 58778 but makes the binary dump prettier.Evan Cheng2008-11-051-3/+21
| | | | llvm-svn: 58782
* Add comments to function.Bill Wendling2008-11-051-0/+6
| | | | llvm-svn: 58781
OpenPOWER on IntegriCloud