summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused statistical counter.Devang Patel2011-05-251-57/+0
| | | | llvm-svn: 132087
* Convert tBX_CALL / tBXr9_CALL to actual pseudoinstructions.Cameron Zwarich2011-05-252-10/+24
| | | | llvm-svn: 132086
* Add tests for .seh_setframe and .seh_handlerdata parsing. Fix issues withCharles Davis2011-05-254-2/+40
| | | | | | | | | | them. I had to add a special SwitchSectionNoChange method to MCStreamer just for .seh_handlerdata. If this isn't OK, please let me know, and I'll find some other way to fix .seh_handlerdata streaming. llvm-svn: 132084
* Clean up comment a bit.Eric Christopher2011-05-251-2/+2
| | | | llvm-svn: 132083
* Implement the 'm' modifier. Note that it only works for memory operands.Eric Christopher2011-05-252-4/+25
| | | | | | Part of rdar://9119939 llvm-svn: 132081
* Remove MipsTargetLowering::LowerFP_TO_SINT. Patterns for fp_to_sint have alreadyAkira Hatanaka2011-05-252-37/+0
| | | | | | been defined in MipsInstrFPU.td. llvm-svn: 132076
* Custom-lower FCOPYSIGN nodes.Akira Hatanaka2011-05-254-2/+117
| | | | llvm-svn: 132074
* Prepare ARMFastISel::SelectSIToFP for getRegForValue returning registers for ↵Eli Friedman2011-05-251-0/+4
| | | | | | i8 and i16 values. llvm-svn: 132073
* Simplify r132022 based on Cameron's feedback.Evan Cheng2011-05-251-12/+5
| | | | llvm-svn: 132071
* Update MaxCallFrameSize regardless of the relocation model selected.Akira Hatanaka2011-05-251-11/+11
| | | | llvm-svn: 132070
* Change initial value of MaxCallFrameSize. MipsFI::getMaxCallFrameSize() shouldAkira Hatanaka2011-05-253-7/+7
| | | | | | return 0 if there are no function calls made. llvm-svn: 132065
* Coding style fixes. Added comments.Akira Hatanaka2011-05-252-23/+16
| | | | llvm-svn: 132063
* Remove unused OpcodeMask enumerator.Francois Pichet2011-05-251-1/+0
| | | | llvm-svn: 132062
* Fix 3 MSVC warnings: Francois Pichet2011-05-253-3/+3
| | | | | | | | 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)' atexit really expects a "void f(void)" function. llvm-svn: 132061
* Fix MSVC warning: "is out of range for enum constant" Francois Pichet2011-05-251-1/+1
| | | | | | | MSVC doesn't support 64 bit enum. OpcodeMask is not used anywhere in the code base. llvm-svn: 132057
* Fix some issues Duncan found in the previous commit.Rafael Espindola2011-05-252-4/+5
| | | | | | | | I kept the reference to the ABI since that is the common case. The -fno-asynchronous-unwind-tables option is a user controlled way of breaking the ABI. llvm-svn: 132053
* Fix warning in the CMake build about redefining LLVM_PATH_XDOT_PY by making ↵Frits van Bommel2011-05-251-1/+1
| | | | | | | | | | | | | | | | | | | sure both definitions are identical. This used to produce warnings like In file included from .../llvm/trunk/tools/lto/LTOCodeGenerator.cpp:45: In file included from .../llvm/trunk/include/llvm/Support/system_error.h:225: .../include/llvm/Config/config.h:591:9: warning: 'LLVM_PATH_XDOT_PY' macro redefined #define LLVM_PATH_XDOT_PY ".../bin/xdot.py" ^ .../include/llvm/Config/llvm-config.h:98:9: note: previous definition is here #define LLVM_PATH_XDOT_PY "" ^ 1 warning generated. (Paths edited for clarity) Note: This only affected people who had xdot.py installed. llvm-svn: 132050
* [tablegen] A couple of changes to ClangDiagnosticEmmitter.Argyrios Kyrtzidis2011-05-251-2/+4
| | | | | | | -Emit an empty warning option as string ("") instead of 0. -For diagnostic names also emit the size of the string. llvm-svn: 132046
* Add tests for .seh_savereg and .seh_savexmm parsing. Once again, fix theCharles Davis2011-05-252-6/+23
| | | | | | buggy methods that parse these directives. llvm-svn: 132045
* Restore an accidentally removed comment.Cameron Zwarich2011-05-251-0/+1
| | | | llvm-svn: 132044
* Move some code to a more logical place.Cameron Zwarich2011-05-251-8/+8
| | | | llvm-svn: 132043
* Make tTAILJMPr/tTAILJMPrND emit a tBX without a preceding MOV of PC to LR. ThisCameron Zwarich2011-05-252-1/+5
| | | | | | fixes <rdar://problem/9495913> llvm-svn: 132042
* Change the order of tBX's operands so that the predicate operands come after theCameron Zwarich2011-05-252-2/+11
| | | | | | | | | target register, matching BX. I filed this bug because I was confused at first: PR10007 - ARM branch instructions have inconsistent predicate operand placement <http://llvm.org/bugs/show_bug.cgi?id=10007> llvm-svn: 132041
* Rename tBX_Rm to tBX.Cameron Zwarich2011-05-252-5/+4
| | | | llvm-svn: 132040
* Rename the existing tBX/tBXr9 instructions to tBX_CALL/tBXr9_CALL to betterCameron Zwarich2011-05-252-3/+3
| | | | | | reflect their actual meaning and match the ARM instructions. llvm-svn: 132039
* indvars: fixed IV cloning in -disable-iv-rewrite mode with associatedAndrew Trick2011-05-253-52/+330
| | | | | | cleanup and overdue test cases. llvm-svn: 132038
* Add a test for .seh_pushframe parsing. Fix the bug exposed by it (and anotherCharles Davis2011-05-252-6/+11
| | | | | | one I found by inspection). llvm-svn: 132037
* Replace the -unwind-tables option with a per function flag. This is moreRafael Espindola2011-05-2514-28/+48
| | | | | | | LTO friendly as we can now correctly merge files compiled with or without -fasynchronous-unwind-tables. llvm-svn: 132033
* Fix lowering of DYNAMIC_STACKALLOC nodes.Akira Hatanaka2011-05-252-2/+51
| | | | llvm-svn: 132030
* Add a test for the .seh_handler directive. Fix problems with the parsingCharles Davis2011-05-252-27/+28
| | | | | | | method exposed by the test. While we're at it, simplify the .seh_proc parsing method. llvm-svn: 132028
* Fix PR9762Bruno Cardoso Lopes2011-05-252-0/+5
| | | | | | Enable the parsing of the operand "cpsr_all" for the ARM msr instruction llvm-svn: 132026
* Forgot dyn_cast check.Evan Cheng2011-05-241-4/+4
| | | | llvm-svn: 132025
* Implement the arm 'L' asm modifier.Eric Christopher2011-05-242-1/+13
| | | | | | Part of rdar://9119939 llvm-svn: 132024
* Implement the immediate part of the 'B' modifier.Eric Christopher2011-05-242-1/+13
| | | | | | Part of rdar://9119939 llvm-svn: 132023
* Fix LoopUnswitch bug. RewriteLoopBodyWithConditionConstant can delete a deadEvan Cheng2011-05-241-13/+34
| | | | | | | | | | | case of a switch instruction. Back off this optimization when this would eliminate all of the predecessors to the latch. Sorry, I am unable to reduce a reasonably sized test case. rdar://9486843 llvm-svn: 132022
* Add more unimplemented asm modifiers and some documentation of what theyEric Christopher2011-05-241-3/+13
| | | | | | | | do. Part of rdar://9119939. llvm-svn: 132015
* Add support for the arm 'y' asm modifier.Eric Christopher2011-05-242-0/+27
| | | | | | Fixes part of rdar://9444657 llvm-svn: 132011
* Update documentation: -basicaa does chaining these days.Dan Gohman2011-05-241-3/+3
| | | | llvm-svn: 132010
* Test case for r132003.Akira Hatanaka2011-05-241-0/+23
| | | | llvm-svn: 132005
* Test basic SEH directive-parsing functionality. Fix a latent bug exposed byCharles Davis2011-05-242-1/+20
| | | | | | this test. llvm-svn: 132004
* Enable printing of immediates that do not fit in 16-bit. .cprestore can haveAkira Hatanaka2011-05-244-4/+4
| | | | | | offsets that are larger than 0x10000. llvm-svn: 132003
* Change condition for determining whether a function is small for inlining ↵Eli Friedman2011-05-241-1/+1
| | | | | | | | metrics so that very long functions with few basic blocks are not re-analyzed. llvm-svn: 131994
* Implement the rest of the SEH directive-parsing methods in the COFFAsmParser.Charles Davis2011-05-242-11/+121
| | | | | | | | | Add a size alignment check to the .seh_stackalloc directive parser. Add a more descriptive error message to the .seh_handler directive parser. Add methods to the TargetAsmInfo struct in support of all this. llvm-svn: 131992
* Fix test case.Akira Hatanaka2011-05-241-3/+3
| | | | llvm-svn: 131988
* Revision 131986 test case.Akira Hatanaka2011-05-241-0/+136
| | | | llvm-svn: 131987
* Implement byval structure argument passing. The following limitations orAkira Hatanaka2011-05-241-5/+115
| | | | | | | | | | deficiencies exist: - Works only if ABI is o32. - Zero-sized structures cannot be passed. - There is a lot of redundancy in generated code. llvm-svn: 131986
* Make instcombine O(N) instead of O(N^2) in code where the same simplifiable ↵Eli Friedman2011-05-241-10/+11
| | | | | | | | constant is used many times. Part of rdar://9471075. llvm-svn: 131979
* Remove dead code.Devang Patel2011-05-243-17/+0
| | | | llvm-svn: 131974
* Fix "make check" in Release by removing debug-only options from an 'opt' ↵Cameron Zwarich2011-05-241-2/+2
| | | | | | invocation. llvm-svn: 131972
* Make DecomposeGEPExpression check SimplifyInstruction onlyDan Gohman2011-05-242-9/+37
| | | | | | | | after checking for a GEP, so that it matches what GetUnderlyingObject does. This fixes an obscure bug turned up by bugpoint in the testcase for PR9931. llvm-svn: 131971
OpenPOWER on IntegriCloud