Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | VAArg doesn't capture its operand. | Dan Gohman | 2010-11-09 | 1 | -0/+3 |
| | | | | llvm-svn: 118623 | ||||
* | Translate IntrReadArgMem to AccessesArgumentsReadonly. | Dan Gohman | 2010-11-09 | 1 | -0/+2 |
| | | | | llvm-svn: 118622 | ||||
* | Teach AliasAnalysis about AccessesArgumentsReadonly. | Dan Gohman | 2010-11-09 | 1 | -6/+8 |
| | | | | llvm-svn: 118621 | ||||
* | Revert the fix for PR8013. | Douglas Gregor | 2010-11-09 | 4 | -20/+8 |
| | | | | | | | | | | | | | That bug concerned the well-formedness of code such as (&ovl)(a, b, c). GCC rejects the code, while EDG accepts it. On further study of the standard, I see no support for EDG's position: in particular, C++ [over.over] does not list this as a context where we can take the address of an overloaded function, C++ [over.call.func] does not reference the address-of operator at any point, and C++ [expr.call] claims that the function argument in a call is either a function lvalue or a pointer-to-function; (&ovl) is neither. llvm-svn: 118620 | ||||
* | Simplify code. | Benjamin Kramer | 2010-11-09 | 1 | -28/+10 |
| | | | | llvm-svn: 118619 | ||||
* | Teach LICM and AliasSetTracker about AccessesArgumentsReadonly. | Dan Gohman | 2010-11-09 | 2 | -2/+2 |
| | | | | llvm-svn: 118618 | ||||
* | Teach FunctionAttrs about AccessesArgumentsReadonly. | Dan Gohman | 2010-11-09 | 1 | -0/+19 |
| | | | | llvm-svn: 118617 | ||||
* | Add a trivial virtual dtor to AbstractRegisterDescription to appease | Matt Beaumont-Gay | 2010-11-09 | 1 | -0/+11 |
| | | | | | | -Wnon-virtual-dtor. llvm-svn: 118616 | ||||
* | AccessesArgumentsReadonly is read-only. | Dan Gohman | 2010-11-09 | 1 | -1/+3 |
| | | | | llvm-svn: 118615 | ||||
* | Add a AccessesArgumentsReadonly ModRefBehavior value, so that the intrinsic | Dan Gohman | 2010-11-09 | 1 | -0/+7 |
| | | | | | | property IntrReadArgMem can be modeled. llvm-svn: 118614 | ||||
* | Reverting r118604. Windows build broke. | Andrew Trick | 2010-11-09 | 4 | -165/+14 |
| | | | | llvm-svn: 118613 | ||||
* | make the example a bit better, encouraging people to use "suggestions of ↵ | Chris Lattner | 2010-11-09 | 1 | -2/+2 |
| | | | | | | what to use" in the message :) llvm-svn: 118612 | ||||
* | Factor out the logic for onlyReadsMemory into a helper function. | Dan Gohman | 2010-11-09 | 1 | -3/+9 |
| | | | | llvm-svn: 118611 | ||||
* | Delete AccessesArgumentsAndGlobals, which was unused. | Dan Gohman | 2010-11-09 | 1 | -5/+0 |
| | | | | llvm-svn: 118610 | ||||
* | Handle ARM constant pool values that need an explicit reference to the '.' | Jim Grosbach | 2010-11-09 | 1 | -1/+9 |
| | | | | | | pseudo-label. (TLS stuff). llvm-svn: 118609 | ||||
* | add a case we fail to devirt. | Chris Lattner | 2010-11-09 | 1 | -0/+20 |
| | | | | llvm-svn: 118608 | ||||
* | Trailing whitespace. | Jim Grosbach | 2010-11-09 | 1 | -6/+6 |
| | | | | llvm-svn: 118606 | ||||
* | Adds RABasic verification and tracing. | Andrew Trick | 2010-11-09 | 4 | -14/+165 |
| | | | | llvm-svn: 118604 | ||||
* | Replace "#if __clang__" by "#if __has_feature(attribute_analyzer_noreturn)" ↵ | Ted Kremenek | 2010-11-09 | 1 | -1/+1 |
| | | | | | | | | to be consistent with all other snippets on this page. Patch by Jean-Daniel Dupas! llvm-svn: 118603 | ||||
* | We should make the class name of test cases which emphasize expression command | Johnny Chen | 2010-11-09 | 2 | -2/+2 |
| | | | | | | be different than the class name which uses frame variable command. llvm-svn: 118602 | ||||
* | Further MCize ARM constant pool values. This allows basic PIC references for | Jim Grosbach | 2010-11-09 | 1 | -67/+83 |
| | | | | | | object file emission. llvm-svn: 118601 | ||||
* | Add encoding of Rt to ARM LDR/STR w/ reg+reg offset encoding. | Jim Grosbach | 2010-11-09 | 1 | -0/+2 |
| | | | | llvm-svn: 118600 | ||||
* | Distinguish between the assert messages for runCmd and expect. The former now | Johnny Chen | 2010-11-09 | 1 | -7/+11 |
| | | | | | | | | | | | | | | takes the form: "Command '%s' returns successfully" % str and the latter takes the form: "'%s' returns expected result" % str or "'%s' matches expected result" % str llvm-svn: 118599 | ||||
* | Use the right calling convention when mangling names in the Microsoft C++ | Charles Davis | 2010-11-09 | 4 | -9/+20 |
| | | | | | | | | mangler. Now member functions and pointers thereof have their calling convention mangled as __thiscall if they have the default CC (even though, they technically still have the __cdecl CC). llvm-svn: 118598 | ||||
* | Move the persistent_variables directory under expression_command directory. | Johnny Chen | 2010-11-09 | 3 | -2/+2 |
| | | | | llvm-svn: 118591 | ||||
* | Add a test for expression parser crash which has been fixed. | Johnny Chen | 2010-11-09 | 3 | -0/+102 |
| | | | | llvm-svn: 118590 | ||||
* | Last try to get this reference counting right, I swear. | Owen Anderson | 2010-11-09 | 1 | -1/+1 |
| | | | | llvm-svn: 118589 | ||||
* | Really fix the leak in the attributes list. Thanks to Benjamin Kramer for ↵ | Owen Anderson | 2010-11-09 | 1 | -2/+2 |
| | | | | | | pointing out how I was being stupid. llvm-svn: 118588 | ||||
* | For ARM load/store instructions, encode [reg+reg] with no shifter immediate as | Jim Grosbach | 2010-11-09 | 1 | -0/+3 |
| | | | | | | a left shift by zero. llvm-svn: 118587 | ||||
* | ARM .word data fixups don't need an adjustment. | Jim Grosbach | 2010-11-09 | 1 | -0/+1 |
| | | | | llvm-svn: 118586 | ||||
* | Factorize code, no functionality change. | Duncan Sands | 2010-11-09 | 1 | -34/+31 |
| | | | | llvm-svn: 118516 | ||||
* | Fix trailing whitespace and style, no functionality change | Bruno Cardoso Lopes | 2010-11-09 | 1 | -170/+95 |
| | | | | llvm-svn: 118515 | ||||
* | Add support for soft/hard float options to the Sparc target | Bruno Cardoso Lopes | 2010-11-09 | 3 | -0/+70 |
| | | | | llvm-svn: 118514 | ||||
* | Add encoder method for ARM load/store shifted register offset operands. | Jim Grosbach | 2010-11-09 | 3 | -1/+48 |
| | | | | llvm-svn: 118513 | ||||
* | Make the specification of relative directory more robust. | Johnny Chen | 2010-11-09 | 1 | -1/+1 |
| | | | | llvm-svn: 118511 | ||||
* | Include System/DataTypes.h in Diagnostic.h to get intptr_t. | Rafael Espindola | 2010-11-09 | 2 | -0/+2 |
| | | | | | | | Set Haiku's UserLabelPrefix to "". Patch by Paul Davey. llvm-svn: 118510 | ||||
* | Testcase for PR8211 (llc crash at -O0). | Duncan Sands | 2010-11-09 | 1 | -0/+66 |
| | | | | llvm-svn: 118509 | ||||
* | Handle overload resolution when calling an overloaded function set | Douglas Gregor | 2010-11-09 | 4 | -8/+20 |
| | | | | | | with, e.g., (&f)(a, b, c). Fixes PR8013. llvm-svn: 118508 | ||||
* | System/Path/Windows: Implement GetLLVMDefaultConfigDir. | Michael J. Spencer | 2010-11-09 | 1 | -2/+4 |
| | | | | llvm-svn: 118507 | ||||
* | System/Path/Windows: Generalize GetUserHomeDirectory. | Michael J. Spencer | 2010-11-09 | 1 | -8/+9 |
| | | | | llvm-svn: 118506 | ||||
* | System/Path/Windows: Make GetSystemLibraryPaths more generic. | Michael J. Spencer | 2010-11-09 | 2 | -2/+28 |
| | | | | llvm-svn: 118505 | ||||
* | System/Windows: Reduce dependencies. | Michael J. Spencer | 2010-11-09 | 1 | -0/+1 |
| | | | | llvm-svn: 118504 | ||||
* | System/Windows: Use normalized case and include method. | Michael J. Spencer | 2010-11-09 | 1 | -1/+1 |
| | | | | llvm-svn: 118503 | ||||
* | System/Path/Windows: Change GetRootDirectory to return file:/// instead of C:/. | Michael J. Spencer | 2010-11-09 | 2 | -4/+4 |
| | | | | llvm-svn: 118502 | ||||
* | Update comment. | Michael J. Spencer | 2010-11-09 | 1 | -1/+1 |
| | | | | llvm-svn: 118501 | ||||
* | Make #pragma unused work for static local variables. | Douglas Gregor | 2010-11-09 | 2 | -1/+7 |
| | | | | llvm-svn: 118500 | ||||
* | Remove the use of aliases in outputted code from ObjC (GNU runtime). | David Chisnall | 2010-11-09 | 1 | -4/+6 |
| | | | | llvm-svn: 118498 | ||||
* | Remove debugging printf. | Nick Lewycky | 2010-11-09 | 1 | -3/+0 |
| | | | | | | Fix linux build. llvm-svn: 118497 | ||||
* | lib/Lex/PPMacroExpansion.cpp: Fixup to appease MSVC. | NAKAMURA Takumi | 2010-11-09 | 1 | -0/+4 |
| | | | | | | Confirmed on MSVS10. llvm-svn: 118496 | ||||
* | ntroduce clang_getSpellingLocation() into libclang, to provide the | Douglas Gregor | 2010-11-09 | 9 | -35/+120 |
| | | | | | | | | | | | | | | location where we're spelling a token even within a macro. clang_getInstantiationLocation() tells where we instantiated the macro. I'm still not thrilled with the CXSourceLocation/CXSourceRange APIs, since they gloss over macro-instantiation information. Take 2: this time, adjusted tests appropriately and used a "simple" approach to the spelling location. llvm-svn: 118495 |