- Sep 01, 2012
-
-
Joao Matos authored
llvm-svn: 163032
-
Benjamin Kramer authored
While there fix a dead assert. llvm-svn: 163031
-
Chad Rosier authored
function nowadays. llvm-svn: 163030
-
Craig Topper authored
llvm-svn: 163029
-
DeLesley Hutchins authored
latest definition of a function is always used when computing lock expressions. llvm-svn: 163028
-
Richard Trieu authored
instead of referring to the flag name. llvm-svn: 163027
-
- Aug 31, 2012
-
-
DeLesley Hutchins authored
expressions, which should be ignored right now. llvm-svn: 163026
-
David Blaikie authored
llvm-svn: 163025
-
Joao Matos authored
llvm-svn: 163024
-
Joao Matos authored
llvm-svn: 163023
-
Joao Matos authored
Emulate MSVC's preprocessor macro argument separator behavior by not considering commas from nested macro expansions as argument separators. Fixes parsing of VS 2012 headers. llvm-svn: 163022
-
Jakob Stoklund Olesen authored
Manage tied operands entirely internally to MachineInstr. This makes it possible to change the representation of tied operands, as I will do shortly. The constraint that tied uses and defs must be in the same order was too restrictive. llvm-svn: 163021
-
Michael Liao authored
- In addition to undefined, if V2 is zero vector, skip 2nd PSHUFB and POR as well as PSHUFB will zero elements with negative indices. Patch by Sriram Murali <sriram.murali@intel.com> llvm-svn: 163018
-
Fariborz Jahanian authored
property-dot syntax is used on an object whose capture causes retain cycle. // rdar://11702054 llvm-svn: 163017
-
Dmitry Vyukov authored
llvm-svn: 163016
-
David Blaikie authored
Hey, now the loop-convert tests pass too. llvm-svn: 163015
-
rdar://problem/12202862Greg Clayton authored
Added a fix for incorrect dynamic typing. Before when asking if a C++ class could be dynamic, we would answer yes for incomplete C++ classes. This turned out to have issues where if a class was not virtual, yet had its first ivar be an instance of a virtual class, we would incorrectly say that a class was virtual and we would downcast it to be a pointer to the first ivar. We now ask the class to complete itself prior to answering the question. We need to test the effects on memory of this change prior to submission. It is the safest and best fix, but it does have a potential downside of higher memory consumption. llvm-svn: 163014
-
Joao Matos authored
Improved MSVC __interface support by adding first class support for it, instead of aliasing to "struct" which had some incorrect behaviour. Patch by David Robins. llvm-svn: 163013
-
Jordan Rose authored
Fixes a hard-to-reach crash when calling a non-member overloaded operator with arguments that may be callbacks. Future-proofing: don't make the same assumption in MallocSizeofChecker. Aside from possibly respecting attributes in the future, it might be possible to call 'malloc' through a function pointer. I audited all other uses of FunctionDecl::getIdentifier() in the analyzer; they all now correctly test to see if the identifier is present before using it. llvm-svn: 163012
-
Greg Clayton authored
llvm-svn: 163011
-
Jack Carter authored
on the size of the extraction and its position in the 64 bit word. This patch allows support of the dext transformations with mips64 direct object output. 0 <= msb < 32 0 <= lsb < 32 0 <= pos < 32 1 <= size <= 32 DINS The field is entirely contained in the right-most word of the doubleword 32 <= msb < 64 0 <= lsb < 32 0 <= pos < 32 2 <= size <= 64 DINSM The field straddles the words of the doubleword 32 <= msb < 64 32 <= lsb < 64 32 <= pos < 64 1 <= size <= 32 DINSU The field is entirely contained in the left-most word of the doubleword llvm-svn: 163010
-
David Blaikie authored
Seems I had a problem with my version of grep, when run by lit, not supporting the \s escape. This seems to fix it for me & I'll be getting the buildbots to run these tests too to keep an eye on them (actually loop-convert tests still fail when run via a make build, so that'll be addressed in a future commit). I could use [[:space:]] to generalize over other whitespace but that seemed unnecessarily verbose when the flexibility wasn't actually required by the current text of the tests. Also I just simplified a lot of the loop-convert tests (removing the unecessary temp file deletion at the start, removing the unnecessary && for FileCheck, etc). The remove-cstr-calls/basic.cpp changes were necessitated by an out of tree lit-like test runner that's a bit less fantastic about escaping. They were modeled on existing tooling test cases in Clang, with thanks to Manuel Klimek for the pointers. llvm-svn: 163009
-
Bill Wendling authored
llvm-svn: 163008
-
Joao Matos authored
Fixed invalid iterators. Since the iterator is invalidated after the erase() call, we need to replace it with the new one returned. This was triggering an assert under MSVC 2012 and making all the ARCMT/ tests fail. llvm-svn: 163007
-
Dmitry Vyukov authored
llvm-svn: 163006
-
Chad Rosier authored
llvm-svn: 163005
-
Jordan Rose authored
More generally, this adds a new configuration option 'c++-inlining', which controls which C++ member functions can be considered for inlining. This uses the new -analyzer-config table, so the cc1 arguments will look like this: ... -analyzer-config c++-inlining=[none|methods|constructors|destructors] Note that each mode implies that all the previous member function kinds will be inlined as well; it doesn't make sense to inline destructors without inlining constructors, for example. The default mode is 'methods'. llvm-svn: 163004
-
Fariborz Jahanian authored
in the diagnbostic. // rdar://11303469 llvm-svn: 163003
-
Chad Rosier authored
llvm-svn: 163002
-
Craig Topper authored
llvm-svn: 163001
-
Craig Topper authored
Use CloneMachineInstr to make a new MI in commuteInstruction to make the code tolerant of instructions with more than two input operands. llvm-svn: 163000
-
Craig Topper authored
llvm-svn: 162999
-
Jakob Stoklund Olesen authored
I was too optimistic, inline asm can have tied operands that don't follow the def order. Fixes PR13742. llvm-svn: 162998
-
Dmitry Vyukov authored
llvm-svn: 162997
-
Dmitry Vyukov authored
llvm-svn: 162996
-
Dmitry Vyukov authored
llvm-svn: 162995
-
Dmitry Vyukov authored
llvm-svn: 162994
-
Dmitry Vyukov authored
llvm-svn: 162993
-
Benjamin Kramer authored
- Overloading operator<< for raw_ostream and pointers is dangerous, it alters the behavior of code that includes the header. - Remove unused ID. - Use LLVM's byte swapping helpers instead of a hand-coded. - Make ReadProfilingData work directly on a pointer. No functionality change. llvm-svn: 162992
-
Kostya Serebryany authored
[tsan] locate the auxilary space for tsan's Allocator64 after the main region, not before. This simplifies the shadow mappings llvm-svn: 162991
-