summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* VAArg doesn't capture its operand.Dan Gohman2010-11-091-0/+3
| | | | llvm-svn: 118623
* Translate IntrReadArgMem to AccessesArgumentsReadonly.Dan Gohman2010-11-091-0/+2
| | | | llvm-svn: 118622
* Teach AliasAnalysis about AccessesArgumentsReadonly.Dan Gohman2010-11-091-6/+8
| | | | llvm-svn: 118621
* Revert the fix for PR8013.Douglas Gregor2010-11-094-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 Kramer2010-11-091-28/+10
| | | | llvm-svn: 118619
* Teach LICM and AliasSetTracker about AccessesArgumentsReadonly.Dan Gohman2010-11-092-2/+2
| | | | llvm-svn: 118618
* Teach FunctionAttrs about AccessesArgumentsReadonly.Dan Gohman2010-11-091-0/+19
| | | | llvm-svn: 118617
* Add a trivial virtual dtor to AbstractRegisterDescription to appeaseMatt Beaumont-Gay2010-11-091-0/+11
| | | | | | -Wnon-virtual-dtor. llvm-svn: 118616
* AccessesArgumentsReadonly is read-only.Dan Gohman2010-11-091-1/+3
| | | | llvm-svn: 118615
* Add a AccessesArgumentsReadonly ModRefBehavior value, so that the intrinsicDan Gohman2010-11-091-0/+7
| | | | | | property IntrReadArgMem can be modeled. llvm-svn: 118614
* Reverting r118604. Windows build broke.Andrew Trick2010-11-094-165/+14
| | | | llvm-svn: 118613
* make the example a bit better, encouraging people to use "suggestions of ↵Chris Lattner2010-11-091-2/+2
| | | | | | what to use" in the message :) llvm-svn: 118612
* Factor out the logic for onlyReadsMemory into a helper function.Dan Gohman2010-11-091-3/+9
| | | | llvm-svn: 118611
* Delete AccessesArgumentsAndGlobals, which was unused.Dan Gohman2010-11-091-5/+0
| | | | llvm-svn: 118610
* Handle ARM constant pool values that need an explicit reference to the '.'Jim Grosbach2010-11-091-1/+9
| | | | | | pseudo-label. (TLS stuff). llvm-svn: 118609
* add a case we fail to devirt.Chris Lattner2010-11-091-0/+20
| | | | llvm-svn: 118608
* Trailing whitespace.Jim Grosbach2010-11-091-6/+6
| | | | llvm-svn: 118606
* Adds RABasic verification and tracing.Andrew Trick2010-11-094-14/+165
| | | | llvm-svn: 118604
* Replace "#if __clang__" by "#if __has_feature(attribute_analyzer_noreturn)" ↵Ted Kremenek2010-11-091-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 commandJohnny Chen2010-11-092-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 forJim Grosbach2010-11-091-67/+83
| | | | | | object file emission. llvm-svn: 118601
* Add encoding of Rt to ARM LDR/STR w/ reg+reg offset encoding.Jim Grosbach2010-11-091-0/+2
| | | | llvm-svn: 118600
* Distinguish between the assert messages for runCmd and expect. The former nowJohnny Chen2010-11-091-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 Davis2010-11-094-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 Chen2010-11-093-2/+2
| | | | llvm-svn: 118591
* Add a test for expression parser crash which has been fixed.Johnny Chen2010-11-093-0/+102
| | | | llvm-svn: 118590
* Last try to get this reference counting right, I swear.Owen Anderson2010-11-091-1/+1
| | | | llvm-svn: 118589
* Really fix the leak in the attributes list. Thanks to Benjamin Kramer for ↵Owen Anderson2010-11-091-2/+2
| | | | | | pointing out how I was being stupid. llvm-svn: 118588
* For ARM load/store instructions, encode [reg+reg] with no shifter immediate asJim Grosbach2010-11-091-0/+3
| | | | | | a left shift by zero. llvm-svn: 118587
* ARM .word data fixups don't need an adjustment.Jim Grosbach2010-11-091-0/+1
| | | | llvm-svn: 118586
* Factorize code, no functionality change.Duncan Sands2010-11-091-34/+31
| | | | llvm-svn: 118516
* Fix trailing whitespace and style, no functionality changeBruno Cardoso Lopes2010-11-091-170/+95
| | | | llvm-svn: 118515
* Add support for soft/hard float options to the Sparc targetBruno Cardoso Lopes2010-11-093-0/+70
| | | | llvm-svn: 118514
* Add encoder method for ARM load/store shifted register offset operands.Jim Grosbach2010-11-093-1/+48
| | | | llvm-svn: 118513
* Make the specification of relative directory more robust.Johnny Chen2010-11-091-1/+1
| | | | llvm-svn: 118511
* Include System/DataTypes.h in Diagnostic.h to get intptr_t.Rafael Espindola2010-11-092-0/+2
| | | | | | | Set Haiku's UserLabelPrefix to "". Patch by Paul Davey. llvm-svn: 118510
* Testcase for PR8211 (llc crash at -O0).Duncan Sands2010-11-091-0/+66
| | | | llvm-svn: 118509
* Handle overload resolution when calling an overloaded function setDouglas Gregor2010-11-094-8/+20
| | | | | | with, e.g., (&f)(a, b, c). Fixes PR8013. llvm-svn: 118508
* System/Path/Windows: Implement GetLLVMDefaultConfigDir.Michael J. Spencer2010-11-091-2/+4
| | | | llvm-svn: 118507
* System/Path/Windows: Generalize GetUserHomeDirectory.Michael J. Spencer2010-11-091-8/+9
| | | | llvm-svn: 118506
* System/Path/Windows: Make GetSystemLibraryPaths more generic.Michael J. Spencer2010-11-092-2/+28
| | | | llvm-svn: 118505
* System/Windows: Reduce dependencies.Michael J. Spencer2010-11-091-0/+1
| | | | llvm-svn: 118504
* System/Windows: Use normalized case and include method.Michael J. Spencer2010-11-091-1/+1
| | | | llvm-svn: 118503
* System/Path/Windows: Change GetRootDirectory to return file:/// instead of C:/.Michael J. Spencer2010-11-092-4/+4
| | | | llvm-svn: 118502
* Update comment.Michael J. Spencer2010-11-091-1/+1
| | | | llvm-svn: 118501
* Make #pragma unused work for static local variables.Douglas Gregor2010-11-092-1/+7
| | | | llvm-svn: 118500
* Remove the use of aliases in outputted code from ObjC (GNU runtime).David Chisnall2010-11-091-4/+6
| | | | llvm-svn: 118498
* Remove debugging printf.Nick Lewycky2010-11-091-3/+0
| | | | | | Fix linux build. llvm-svn: 118497
* lib/Lex/PPMacroExpansion.cpp: Fixup to appease MSVC.NAKAMURA Takumi2010-11-091-0/+4
| | | | | | Confirmed on MSVS10. llvm-svn: 118496
* ntroduce clang_getSpellingLocation() into libclang, to provide theDouglas Gregor2010-11-099-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
OpenPOWER on IntegriCloud