summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add a test class to call lldb 'disassemble -n function' command on each call ↵Johnny Chen2010-10-051-0/+96
| | | | | | | | frame when stopped on C's ctor. This is not a long running test so it shall always be exercised. llvm-svn: 115653
* Make the test module with unique name instead of just the generic name ↵Johnny Chen2010-10-053-0/+8
| | | | | | | | TestDisassembly. Add a utility function to lldbtest.py to get the native pointer size of the host os. llvm-svn: 115652
* Tweak VNInfo printing.Jakob Stoklund Olesen2010-10-051-0/+2
| | | | llvm-svn: 115650
* Add assert for valid slot indexes.Jakob Stoklund Olesen2010-10-051-0/+1
| | | | llvm-svn: 115649
* Fix a marvelous chained AST writing bug, where we end up with theDouglas Gregor2010-10-056-7/+45
| | | | | | | | | | | | | | | | | | | | | | | following amusing sequence: - AST writing schedules writing a type X* that it had never seen before - AST writing starts writing another declaration, ends up deserializing X* from a prior AST file. Now we have two type IDs for the same type! - AST writer tries to write X*. It only has the lower-numbered ID from the the prior AST file, so references to the higher-numbered ID that was scheduled for writing go off into lalaland. To fix this, keep the higher-numbered ID so we end up writing the type twice. Since this issue occurs so rarely, and type records are generally rather small, I deemed this better than the alternative: to keep a separate mapping from the higher-numbered IDs to the lower-numbered IDs, which we would end up having to check whenever we want to deserialize any type. Fixes <rdar://problem/8511624>, I think. llvm-svn: 115647
* Increase the number of bits used internally by the ARM target to represent theJim Grosbach2010-10-052-16/+16
| | | | | | addressing mode from four to five. llvm-svn: 115645
* Fix a block rewriter bug where copy/dispose entries in Fariborz Jahanian2010-10-053-1/+24
| | | | | | | | block descriptor for outer block was missing even though the block was importing objects into its inner blocks. //rdar://84995992 llvm-svn: 115644
* Implement a simple alias case and refactor the code a bit so that theRafael Espindola2010-10-052-17/+57
| | | | | | isInSymtab and isLocal logic in the two loops don't get easily out of sync. llvm-svn: 115643
* test/COFF: Fix symbol indexes and names. Update tests to match.Michael J. Spencer2010-10-053-20/+24
| | | | llvm-svn: 115642
* test/COFF: Remove temp file usage.Michael J. Spencer2010-10-053-7/+4
| | | | llvm-svn: 115641
* test/coff-dump: Support reading from stdin.Michael J. Spencer2010-10-051-1/+6
| | | | llvm-svn: 115640
* Cleanup Whitespace.Michael J. Spencer2010-10-051-2/+2
| | | | llvm-svn: 115639
* Fix handling of the 'Invalid' argument in SourceManager's methods (patch by ↵Zhanyong Wan2010-10-051-5/+14
| | | | | | Dean Sturtevant, reviewed by chandlerc and Sebastian Redl). llvm-svn: 115638
* Filename renamings.Johnny Chen2010-10-052-0/+0
| | | | llvm-svn: 115636
* Use a more efficient lowering of uint64_t --> float that can take advantage ↵Owen Anderson2010-10-052-6/+49
| | | | | | | | | of hardware signed integer conversion without having to do a double cast (uint64_t --> double --> float). This is based on the algorithm from compiler_rt's __floatundisf for X86-64. llvm-svn: 115634
* A compiler writer's guide to <atomic>, minor updateHoward Hinnant2010-10-051-3/+9
| | | | llvm-svn: 115633
* move 64-bit add and adc to InstrArithmetic.Chris Lattner2010-10-052-113/+83
| | | | llvm-svn: 115632
* rewrote two addr constraints so that they are only set, not set and then ↵Chris Lattner2010-10-051-321/+343
| | | | | | nestedly cleared. llvm-svn: 115631
* A compiler writer's guide to <atomic>Howard Hinnant2010-10-052-0/+460
| | | | llvm-svn: 115629
* split the 32-bit integer arithmetic instructions out to their own file.Chris Lattner2010-10-052-1226/+1246
| | | | llvm-svn: 115627
* Give every file that ASTReader loads a type: module, PCH, precompiled ↵Sebastian Redl2010-10-056-21/+34
| | | | | | preamble or main file. Base Decls' PCHLevel on this to make it more sane. llvm-svn: 115626
* Thread PerFileData through the ASTReader again, this time with the LLVM changes.Sebastian Redl2010-10-054-508/+562
| | | | llvm-svn: 115625
* Update attribute reading for the changed source location code.Sebastian Redl2010-10-051-2/+2
| | | | llvm-svn: 115624
* Produce a undefined reference to _GLOBAL_OFFSET_TABLE_ when needed.Rafael Espindola2010-10-052-2/+30
| | | | llvm-svn: 115623
* Tests that now pass.Rafael Espindola2010-10-052-19/+80
| | | | llvm-svn: 115622
* Register the __builtin_va_list_type node when we parse it, rather thanDouglas Gregor2010-10-054-24/+2
| | | | | | | | waiting until we think we need it: we didn't catch all of the places where we actually needed it, and we probably wouldn't ever. Fixes a C++ PCH crasher. llvm-svn: 115621
* After printing "Running 'Graphviz' program... " and running theDan Gohman2010-10-051-6/+10
| | | | | | | Graphviz program, print something with a newline, to avoid leaving the line unfinished. llvm-svn: 115620
* On ELF we need to know which symbols are used in relocations to decide ifRafael Espindola2010-10-057-80/+50
| | | | | | | they should be in the symbol table or not. Instead of "guessing", just compute the symbol table after the relocations are known. llvm-svn: 115619
* Remove a rogue typoDouglas Gregor2010-10-051-1/+1
| | | | llvm-svn: 115618
* Register the __builtin_va_list_type node when we parse it, rather thanDouglas Gregor2010-10-053-1/+19
| | | | | | | | waiting until we think we need it: we didn't catch all of the places where we actually needed it, and we probably wouldn't ever. Fixes a C++ PCH crasher. llvm-svn: 115617
* Properly deserialize Clang types that are used as attribute argumentsDouglas Gregor2010-10-051-1/+1
| | | | llvm-svn: 115616
* Make flag type configurable by the compilerHoward Hinnant2010-10-051-12/+23
| | | | llvm-svn: 115614
* Thanks Sebastian\!Howard Hinnant2010-10-051-1/+1
| | | | llvm-svn: 115612
* test/CodeGen/X86/atomic_op.ll: Rename @main to @func. Extra sequences will ↵NAKAMURA Takumi2010-10-051-1/+1
| | | | | | be inserted to @main as prologue on cygming, to fail. llvm-svn: 115611
* * Simplify codeZhongxing Xu2010-10-051-10/+10
| | | | | | * Fix dump() to make it consistent with the test case. llvm-svn: 115609
* integrate the 64-bit shifts into X86InstrShiftRotate.td. Enough for tonight.Chris Lattner2010-10-052-302/+249
| | | | llvm-svn: 115608
* move 32-bit shift and rotates out to their own file.Chris Lattner2010-10-052-555/+579
| | | | llvm-svn: 115607
* add new fileChris Lattner2010-10-051-0/+162
| | | | llvm-svn: 115606
* move sign and zero extensions out to their own file.Chris Lattner2010-10-052-158/+7
| | | | llvm-svn: 115605
* move some instructions from Instr64Bit -> InstrInfo.Chris Lattner2010-10-053-98/+87
| | | | | | bswap32 doesn't read eflags. llvm-svn: 115604
* move CMOV_FR32 and friends to InstrCompiler, since they are Chris Lattner2010-10-054-57/+63
| | | | | | | | pseudo instructions. Move POPCNT to InstrSSE since they are SSE4 instructions. llvm-svn: 115603
* move various pattern matching support goop out of X86Instr64Bit, to liveChris Lattner2010-10-053-87/+70
| | | | | | with the 32-bit stuff. llvm-svn: 115602
* split conditional moves and setcc's out to their own file.Chris Lattner2010-10-054-814/+838
| | | | llvm-svn: 115601
* move string pseudo instructions to InstrCompiler consolidate 64-bit and ↵Chris Lattner2010-10-053-35/+36
| | | | | | 32-bit together. llvm-svn: 115600
* move the atomic pseudo instructions out to X86InstrCompiler.tdChris Lattner2010-10-054-393/+388
| | | | llvm-svn: 115599
* move more pseudo instructions out to X86InstrCompiler.tdChris Lattner2010-10-053-156/+153
| | | | llvm-svn: 115598
* move VMX instructions out to their own file.Chris Lattner2010-10-052-40/+56
| | | | llvm-svn: 115597
* continue moving stuff out to X86InstrSystem.td. MoveChris Lattner2010-10-055-1363/+1369
| | | | | | | | control flow stuff out to X86InstrControl.td. Move some compiler pseudo instructions and Pat<> patterns out to X86InstrCompiler.td llvm-svn: 115596
* Support: Add __forceinline to Compiler.h on MSVC.Michael J. Spencer2010-10-051-1/+2
| | | | llvm-svn: 115595
* fix MSVC 2010 build.Michael J. Spencer2010-10-051-1/+2
| | | | llvm-svn: 115594
OpenPOWER on IntegriCloud