summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* AsmParser: Give a nice error message for .code16gcc, which is currently ↵Benjamin Kramer2012-05-121-1/+1
| | | | | | | | unsupported. Patch by Team PaX! llvm-svn: 156708
* AsmParser: ignore the .extern directive.Benjamin Kramer2012-05-122-0/+8
| | | | llvm-svn: 156707
* AsmParser: Add support for .ifc and .ifnc directives.Benjamin Kramer2012-05-122-0/+119
| | | | | | Based on a patch from PaX Team. llvm-svn: 156706
* AsmParser: Add support for .ifb and .ifnb directives.Benjamin Kramer2012-05-122-0/+96
| | | | | | Based on a patch from PaX Team. llvm-svn: 156705
* Recommited r156374 with critical fixes in BitcodeReader/Writer:Stepan Dyatkovskiy2012-05-126-43/+249
| | | | | | | | Ordinary patch for PR1255. Added new case-ranges orientated methods for adding/removing cases in SwitchInst. After this patch cases will internally representated as ConstantArray-s instead of ConstantInt, externally cases wrapped within the ConstantRangesSet object. Old methods of SwitchInst are also works well, but marked as deprecated. So on this stage we have no side effects except that I added support for case ranges in BitcodeReader/Writer, of course test for Bitcode is also added. Old "switch" format is also supported. llvm-svn: 156704
* Teach Function::hasAddressTaken that BlockAddress doesn't really takeJay Foad2012-05-124-3/+24
| | | | | | the address of a function. llvm-svn: 156703
* Make sure new value jump is enabled for Hexagon V5 as well.Sirish Pande2012-05-121-10/+27
| | | | llvm-svn: 156700
* [analyzer] RetainCountChecker: track ObjC boxed expression objects.Jordy Rose2012-05-124-8/+119
| | | | llvm-svn: 156699
* Support for Hexagon feature, New Value Jump.Sirish Pande2012-05-129-2/+745
| | | | llvm-svn: 156698
* Fix test cases.Akira Hatanaka2012-05-1213-76/+76
| | | | llvm-svn: 156697
* Remove MipsEmitGPRestore.cpp.Akira Hatanaka2012-05-123-99/+0
| | | | llvm-svn: 156696
* Delete all functions that are no longer needed in MipsFunctionInfo, includingAkira Hatanaka2012-05-122-15/+1
| | | | | | | | | the ones that get or set the frame index for the $gp save slot. Remove the piece of code in MipsFunctionInfo::getGlobalBaseReg() which returns GP. This function should always return a virtual register. llvm-svn: 156695
* Stop reserving register $gp. Do not call isGPFI to check whether a frame objectAkira Hatanaka2012-05-121-8/+1
| | | | | | is the $gp save slot. llvm-svn: 156694
* Do not add the pass which restores $gp after every function call.Akira Hatanaka2012-05-121-9/+0
| | | | llvm-svn: 156693
* Make the following changes in MipsISelLowering.cpp:Akira Hatanaka2012-05-121-8/+8
| | | | | | | | | - Stop creating stack frame objects needed for saving $gp. - Insert a node that copies the global pointer register to register $gp before the call node. This will ensure $gp is valid at the entry of the called function. llvm-svn: 156692
* Make the following changes in MipsFrameLowering.cpp:Akira Hatanaka2012-05-121-32/+3
| | | | | | | | - Stop emitting instructions needed to initialize the global pointer register. - Stop emitting .cprestore directive. - Do not take into account the $gp save slot when computing stack size. llvm-svn: 156691
* Speed up computeComposites() by using the new SubReg -> SubIdx map.Jakob Stoklund Olesen2012-05-121-12/+10
| | | | | | | TableGen doesn't need to search through the SubRegs map to find an inverse entry. llvm-svn: 156690
* Make the following changes in MipsAsmPrinter.cpp:Akira Hatanaka2012-05-126-37/+19
| | | | | | | | | - Remove code which lowers pseudo SETGP01. - Fix LowerSETGP01. The first two of the three instructions that are emitted to initialize the global pointer register now use register $2. - Stop emitting .cpload directive. llvm-svn: 156689
* Hoist simpler checks above llvm::PointerMayBeCaptured. No functional change ↵Chad Rosier2012-05-121-4/+6
| | | | | | intended. llvm-svn: 156687
* Add a useful error message to "log enable" with the wrong number of ↵Jim Ingham2012-05-121-3/+3
| | | | | | arguments, and reject "log enable lldb" which just silently did nothing before. llvm-svn: 156686
* Don't look for empty live ranges in the unions.Jakob Stoklund Olesen2012-05-121-1/+4
| | | | | | | | | Empty live ranges represent undef and still get allocated, but they won't appear in LiveIntervalUnions. Patch by Patrik Hägglund! llvm-svn: 156685
* <rdar://problem/11439169> Greg Clayton2012-05-122-8/+11
| | | | | | | | | | | | "lldb -a i386" doesn't set the calculator mode correctly if run on a 64 bit system. The previous logic always used the current host architecture, not the default architecture. The default arch gets set into a static varaible in lldb_private::Target when an arch is set from the command line: lldb -a i386 We now use the default arch correctly. llvm-svn: 156680
* Insert instructions to the entry basic block which initializes the globalAkira Hatanaka2012-05-123-38/+57
| | | | | | | | | | | | | | | | | | pointer register. This is the first of the series of patches which clean up the way global pointer register is used. The patches will make the following improvements: - Make $gp an allocatable temporary register rather than reserving it. - Use a virtual register as the global pointer register and let the register allocator decide which register to assign to it or whether spill/reloads are needed. - Make sure $gp is valid at the entry of a called function, which is necessary for functions using lazy binding. - Remove the need for emitting .cprestore and .cpload directives. llvm-svn: 156671
* <rdar://problem/11439022>Greg Clayton2012-05-121-19/+8
| | | | | | Restore expressions with no target. llvm-svn: 156669
* Fix a comment I had incorrectly altered.Jim Ingham2012-05-111-1/+1
| | | | llvm-svn: 156668
* Found one more place where the OkayToDiscard needs to be consulted.Jim Ingham2012-05-119-16/+205
| | | | | | | Also changed the defaults for SBThread::Step* to not delete extant plans. Also added some test cases to test more complex stepping scenarios. llvm-svn: 156667
* Teach the parser to deal with multiple spellings for the sameDouglas Gregor2012-05-113-10/+16
| | | | | | | attribute, rather than requiring multiple cases in consumers of this information. llvm-svn: 156666
* Add doxygen comments.Michael J. Spencer2012-05-111-0/+6
| | | | llvm-svn: 156665
* [analyzer] Test variable modified types.Anna Zaks2012-05-111-0/+13
| | | | llvm-svn: 156664
* Do not replace operands of pseudo instructions with register $zero.Akira Hatanaka2012-05-112-1/+18
| | | | llvm-svn: 156663
* Revert 156658.Chad Rosier2012-05-111-2/+1
| | | | llvm-svn: 156662
* [analyzer] Do not walk the types for call graph construction.Anna Zaks2012-05-111-0/+1
| | | | llvm-svn: 156661
* [analyzer] Test objC boxing.Anna Zaks2012-05-111-0/+44
| | | | llvm-svn: 156660
* [analyzer] Add buffer overflow test case.Anna Zaks2012-05-111-0/+36
| | | | llvm-svn: 156659
* [fast-isel] Fast-isel doesn't use the expect intrinsic.Chad Rosier2012-05-111-1/+2
| | | | llvm-svn: 156658
* Make sure that we recognize __attribute__((align)) as a synonym forDouglas Gregor2012-05-112-1/+2
| | | | | | | | __attribute__((aligned)). Fixes <rdar://problem/11435441>, a regression I introduced in r156003. This is the narrow fix; a more comprehensive fix is coming. llvm-svn: 156657
* Use regular expression to match register names. Akira Hatanaka2012-05-111-1/+1
| | | | llvm-svn: 156656
* Make the URL a link instead.Bill Wendling2012-05-111-11/+11
| | | | llvm-svn: 156655
* When diagnosing inaccessible temporary destructors in decltype expressions, useRichard Smith2012-05-112-7/+13
| | | | | | | the correct type and the correct source location in the diagnostic. Spotted by Johannes Schaub! llvm-svn: 156654
* Merge branch 'format-string-braced-init'Matt Beaumont-Gay2012-05-112-1/+11
| | | | llvm-svn: 156653
* [Support/StringRef] Add find_last_not_of and {r,l,}trim.Michael J. Spencer2012-05-113-0/+76
| | | | llvm-svn: 156652
* Remove comments and an extra print statement.Greg Clayton2012-05-111-2/+0
| | | | llvm-svn: 156651
* Coerce byval aggregate arguments to integers whose size matches the integerAkira Hatanaka2012-05-113-36/+60
| | | | | | | register size of the target architecture. llvm-svn: 156650
* Remove extraneous ; and the resulting warning.Bill Wendling2012-05-111-1/+1
| | | | llvm-svn: 156649
* Add mention of Glasgow Haskell Compiler.Bill Wendling2012-05-111-1/+34
| | | | llvm-svn: 156648
* The Lexer constructor expects a source location at the start of theArgyrios Kyrtzidis2012-05-113-5/+24
| | | | | | | | file buffer, not at the start of lexing. Fixes assertion hit in format diagnostics. rdar://11418366 llvm-svn: 156647
* [fast-isel] Add support for selecting @llvm.trap().Chad Rosier2012-05-112-0/+16
| | | | llvm-svn: 156646
* Updated instruction table due to addded intrinsics.Brendon Cahoon2012-05-111-1880/+1943
| | | | llvm-svn: 156644
* Fix handling of vector return types.Akira Hatanaka2012-05-112-1/+22
| | | | | | | A vector should be returned via the hidden pointer argument except if its size is equal to or smaller than 16-bytes and the target ABI is N32 or N64. llvm-svn: 156642
* Make every Python API __len__() method return a PyIntObject.Filipe Cabecinhas2012-05-119-11/+12
| | | | | | | swig 2.0+ seems to default to using PyLongObjects, but the __len__() method _must_ return a PyIntObject. llvm-svn: 156639
OpenPOWER on IntegriCloud