summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* ARM assembly parsing and encoding test for BKPT.Jim Grosbach2011-08-172-0/+20
| | | | llvm-svn: 137898
* Clean up patterns for Thumb1 system instructions.Jim Grosbach2011-08-171-24/+18
| | | | llvm-svn: 137897
* ARM assembly parsing and encoding test for BIC.Jim Grosbach2011-08-171-0/+8
| | | | llvm-svn: 137895
* Changed definition of EXT and INS per Bruno's comments.Akira Hatanaka2011-08-173-39/+29
| | | | llvm-svn: 137892
* Thumb assembly parsing and encoding for B.Jim Grosbach2011-08-172-0/+16
| | | | llvm-svn: 137891
* Do not use DebugInfoFinder. Extract debug info directly from llvm.dbg.cu ↵Devang Patel2011-08-171-159/+162
| | | | | | named mdnode. llvm-svn: 137890
* Thumb assembly parsing and encoding for ASR.Jim Grosbach2011-08-173-1/+32
| | | | llvm-svn: 137889
* Atomic load/store handling for the passes using memdep (GVN, DSE, memcpyopt).Eli Friedman2011-08-176-9/+239
| | | | llvm-svn: 137888
* Fix PR10688. Add support for spliting 256-bit vector shifts when theBruno Cardoso Lopes2011-08-172-11/+31
| | | | | | shift amount is variable llvm-svn: 137885
* Tidy up. 80 columns.Jim Grosbach2011-08-171-34/+49
| | | | llvm-svn: 137881
* Add the support in code-gen for the landingpad instruction lowering.Bill Wendling2011-08-173-3/+75
| | | | | | | | | | The landingpad instruction is lowered into the EXCEPTIONADDR and EHSELECTION SDNodes. The information from the landingpad instruction is harvested by the 'AddLandingPadInfo' function. The new EH uses the current EH scheme in the back-end. This will change once we switch over to the new scheme. (Reviewed by Jakob!) llvm-svn: 137880
* ARM clean up the imm_sr operand class representation.Jim Grosbach2011-08-178-29/+36
| | | | | | | | | Represent the operand value as it will be encoded in the instruction. This allows removing the specialized encoder and decoder methods entirely. Add an assembler match class while we're at it to lay groundwork for parsing the thumb shift instructions. llvm-svn: 137879
* Disable PRE for landing pads.Bill Wendling2011-08-171-2/+14
| | | | | | | | PRE needs the landing pads to have their critical edges split. Doing this for a landing pad is non-trivial. Abandon the attempt to perform PRE when we come across a landing pad. (Reviewed by Owen!) llvm-svn: 137876
* Revert patch. Forgot a dependent commit.Bill Wendling2011-08-171-39/+3
| | | | llvm-svn: 137875
* Add the body of 'visitLandingPad'.Bill Wendling2011-08-171-3/+39
| | | | | | | | This generates the SDNodes for the new exception handling scheme. It takes the two values coming from the landingpad instruction and assigns them to the EXCEPTIONADDR and EHSELECTION nodes. llvm-svn: 137873
* Increment the insertion iterator to beyond the landingpad instruction.Bill Wendling2011-08-171-1/+1
| | | | llvm-svn: 137872
* Don't optimize the landing pad exit block.Bill Wendling2011-08-171-4/+18
| | | | | | | | One way to exit the loop is through an unwind edge. However, that may involve splitting the critical edge of the landing pad, which is non-trivial. Prevent the transformation from rewriting the landing pad exit loop block. llvm-svn: 137871
* Assert that we aren't trying to split the critical edge of a landing pad. DoingBill Wendling2011-08-171-0/+5
| | | | | | so requires more care than this generic algorithm should handle. llvm-svn: 137866
* Fix predicate for imm1_32Jim Grosbach2011-08-171-1/+4
| | | | llvm-svn: 137865
* Thumb assembly parsing and encoding for ADR.Jim Grosbach2011-08-173-2/+11
| | | | llvm-svn: 137864
* Revert r137655. There is some question about whether the 'landingpad'Bill Wendling2011-08-173-3/+5
| | | | | | instruction should be marked as potentially reading and/or writing memory. llvm-svn: 137863
* Add a couple of FIXMEs.Jim Grosbach2011-08-171-0/+8
| | | | llvm-svn: 137861
* 80 columns.Jim Grosbach2011-08-171-1/+2
| | | | llvm-svn: 137857
* Tidy up.Jim Grosbach2011-08-171-2/+1
| | | | llvm-svn: 137856
* Modify for the new EH scheme.Bill Wendling2011-08-171-1/+57
| | | | | | | | Things are much saner now. We no longer need to modify the laning pads, because of the invariants we impose upon them. The only thing DwarfEHPrepare needs to do is convert the 'resume' instruction into a call to '_Unwind_Resume'. llvm-svn: 137855
* Remove unneeded sentence.Bill Wendling2011-08-171-2/+1
| | | | llvm-svn: 137854
* Revert r137781; I agree with Duncan's comment that the situation in question ↵Eli Friedman2011-08-171-5/+4
| | | | | | is clearly impossible given the current structure of the code. llvm-svn: 137853
* Add support for half-word unaligned loads and stores.Akira Hatanaka2011-08-173-14/+31
| | | | llvm-svn: 137848
* Fix test case.Devang Patel2011-08-171-1/+2
| | | | llvm-svn: 137847
* Remove superficial test.Devang Patel2011-08-171-6/+0
| | | | llvm-svn: 137846
* Robustify test.Devang Patel2011-08-171-4/+8
| | | | llvm-svn: 137845
* Static fields require an out-of-line definition. Fix DynamicLibrary for real.Jordy Rose2011-08-171-0/+2
| | | | llvm-svn: 137844
* ...and make sure DynamicLibrary builds by removing "const" from the Invalid ↵Jordy Rose2011-08-171-1/+1
| | | | | | placeholder. llvm-svn: 137843
* Don't use NULL to represent an invalid library; Cygwin uses this for ↵Jordy Rose2011-08-171-2/+7
| | | | | | RTLD_DEFAULT. Caught by Takumi. llvm-svn: 137841
* Start building a Thumb1 decoding test file based on the Thumb1 ↵Owen Anderson2011-08-171-0/+30
| | | | | | parsing/encoding test file. llvm-svn: 137840
* Be more careful in the Thumb decoder hooks to avoid walking off the end of ↵Owen Anderson2011-08-171-8/+12
| | | | | | the OpInfo array. llvm-svn: 137838
* Silly mistake from r137777; restore significant isStructTy() checks. While ↵Eli Friedman2011-08-172-4/+28
| | | | | | | | | | here, be a bit more defensive with unknown instructions. Fixes PR10687. llvm-svn: 137836
* Thumb assembly parsing and encoding for ADC(register) instruction.Jim Grosbach2011-08-171-0/+8
| | | | llvm-svn: 137833
* Add missing '@' delimiter.Jim Grosbach2011-08-171-1/+1
| | | | llvm-svn: 137832
* Move pattern matching for EXT and INS to post-legalization DAGCombine per ↵Akira Hatanaka2011-08-172-98/+102
| | | | | | Bruno's comment. llvm-svn: 137831
* Allow the MCDisassembler to return a "soft fail" status code, indicating an ↵Owen Anderson2011-08-1712-657/+793
| | | | | | | | instruction that is disassemblable, but invalid. Only used for ARM UNPREDICTABLE instructions at the moment. Patch by James Molloy. llvm-svn: 137830
* Introduce matching patterns for vbroadcast AVX instruction. The idea is toBruno Cardoso Lopes2011-08-175-0/+150
| | | | | | | | | | | | | match splats in the form (splat (scalar_to_vector (load ...))) whenever the load can be folded. All the logic and instruction emission is working but because of PR8156, there are no ways to match loads, cause they can never be folded for splats. Thus, the tests are XFAILed, but I've tested and exercised all the logic using a relaxed version for checking the foldable loads, as if the bug was already fixed. This should work out of the box once PR8156 gets fixed since MayFoldLoad will work as expected. llvm-svn: 137810
* Update test to not use the scalar type to splat from a loadBruno Cardoso Lopes2011-08-171-2/+1
| | | | llvm-svn: 137809
* Update comments about vector splat handling in x86Bruno Cardoso Lopes2011-08-171-8/+7
| | | | llvm-svn: 137808
* Now that we have a canonical way to handle 256-bit splats:Bruno Cardoso Lopes2011-08-172-43/+5
| | | | | | | | | vinsertf128 $1 + vpermilps $0, remove the old code that used to first do the splat in a 128-bit vector and then insert it into a larger one. This is better because the handling code gets simpler and also makes a better room for the upcoming vbroadcast! llvm-svn: 137807
* Update uwtable vim color!Bruno Cardoso Lopes2011-08-171-1/+1
| | | | llvm-svn: 137806
* Add support for ext and ins.Akira Hatanaka2011-08-175-1/+191
| | | | llvm-svn: 137804
* CMake: [MSVC] Suppress C4551 'function call missing argument list'.NAKAMURA Takumi2011-08-171-0/+1
| | | | | | (void)static_func; it is used as idiom in llvm source tree to suppress "Unused static function" warnings. llvm-svn: 137800
* Unbork Windows build. Thanks, Francois.Jordy Rose2011-08-171-2/+2
| | | | llvm-svn: 137798
* Use DynamicLibrary instances as a way to get symbols from a specific ↵Jordy Rose2011-08-173-97/+149
| | | | | | library. Preparation for upcoming (preliminary) support for plugins for the static analyzer. llvm-svn: 137791
OpenPOWER on IntegriCloud