- Mar 13, 2012
-
-
Jason Molenda authored
v. http://sourceware.org/gdb/current/onlinedocs/gdb/Packets.html#Packets the detach packet is supposed to send a reply. llvm-svn: 152671
-
Johnny Chen authored
For EmulateInstructionARM::EmulatePUSH(), fix the logical branch for when pc is pushed to behave like the other cases where: context.SetRegisterToRegisterPlusOffset (reg_info, sp_reg, addr - sp); is called to inform of the operation to set a register value to a memory location calculated from a base register plus an offset. llvm-svn: 152670
-
Daniel Dunbar authored
- This is much more important than it appears at first glance... The intended design of DiagnosticBuilder was that it never escape and that all its members would get lowered to registers by the compiler. By fixing Emit here, the compiler can completely eliminate the DiagnosticBuilder object and never need to push those registers back into it. Unfortunately, Sema has broken DiagnosticBuilder in other ways (by introducing SemaDiagnosticBuilder), so we don't get the fill impact of this, but it is still good for 30k reduction in code size. I'll work on fixing the SemaDiagnosticBuilder problems next. llvm-svn: 152669
-
Pete Cooper authored
Target override to allow CodeGenPrepare to sink address operands to intrinsics in the same way it current does for loads and stores llvm-svn: 152666
-
Richard Smith authored
constant expressions. llvm-svn: 152665
-
Chad Rosier authored
llvm-svn: 152664
-
Argyrios Kyrtzidis authored
if the passed in FileSize is inaccurate. rdar://11034179 llvm-svn: 152662
-
Chad Rosier authored
Previously, only diagnostics thrown by the cc1 process were actually honoring the diagnostic options given on the command line, like -Werror. Reuse the existing code in Frontend currently used for cc1, adjusting it to not interpret -Wl, linker flags as warnings. Also fix a faulty test exposed by this change. It wasn't actually testing anything, and was giving this warning: clang-3: warning: argument unused during compilation: '-verify' Which -Werror didn't turn into an error because it was output by the driver, not the cc1 process, and diagnostic options weren't parsed by the driver. And you couldn't see the warning when running the test suite. Fixes PR12181. Patch by Dylan Noblesmith <nobled@dreamwidth.org>. llvm-svn: 152660
-
Benjamin Kramer authored
llvm-svn: 152659
-
Bill Wendling authored
No functionality change. llvm-svn: 152658
-
Kevin Enderby authored
instruction's destination operand like it does for the source operand. Also fix a typo in the comment for X86AsmParser::isSrcOp(). llvm-svn: 152654
-
Anna Zaks authored
inlining to be the reverse of their declaration. This optimizes running time under inlining up to 20% since we do not re-analyze the utility functions which are usually defined first in the translation unit if they have already been analyzed while inlined into the root functions. llvm-svn: 152653
-
Anna Zaks authored
BFS should give slightly better performance. Ex: Suppose, we have two roots R1 and R2. A callee function C is reachable through both. However, C is not inlined when analyzing R1 due to inline stack depth limit. With DFS, C will be analyzed as top level even though it would be analyzed as inlined through R2. On the other hand, BFS could avoid analyzing C as top level. llvm-svn: 152652
-
Anna Zaks authored
collecting function Decls. llvm-svn: 152651
-
Anna Zaks authored
AnalysisConsumer. As a result: - We now analyze the C++ methods which are defined within the class body. These were completely skipped before. - Ensure that AST checkers are called on functions in the order they are defined in the Translation unit. llvm-svn: 152650
-
Anna Zaks authored
function. llvm-svn: 152649
-
Anna Zaks authored
llvm-svn: 152648
-
Roman Divacky authored
powerpc_types and add testing for the (long) double there. llvm-svn: 152647
-
Daniel Dunbar authored
llvm-svn: 152644
-
Daniel Dunbar authored
llvm-svn: 152643
-
Daniel Dunbar authored
not used anymore (good thing we are still paying for it!). llvm-svn: 152642
-
Daniel Dunbar authored
llvm-svn: 152641
-
Daniel Dunbar authored
commonly when the diag has been copied). - This eliminates a completely spurious call to Emit() which was in Sema::Diag(). Sob. llvm-svn: 152640
-
Daniel Dunbar authored
by ~%.3/~100k in my build -- simply by eliminating the horrible code bloat coming from the .clear() of the SmallVector<FixItHint>, which does a std::~string, etc. - My understanding is we don't ever emit arbitrary numbers of fixits, so I just moved us to using a statically sized array like we do for arguments and ranges. llvm-svn: 152639
-
Chris Lattner authored
fixing rdar://11039258, an issue that came up when inspecting clang's bootstrapped codegen. llvm-svn: 152635
-
Dan Gohman authored
llvm-svn: 152634
-
Benjamin Kramer authored
llvm-svn: 152633
-
Roman Divacky authored
llvm-svn: 152632
-
Timur Iskhodzhanov authored
llvm-svn: 152631
-
Sean Callanan authored
bad stack IDs. llvm-svn: 152630
-
Timur Iskhodzhanov authored
llvm-svn: 152629
-
Timur Iskhodzhanov authored
llvm-svn: 152628
-
David Chisnall authored
llvm-svn: 152627
-
Duncan Sands authored
trunc(ptrtoint(x-y))" optimization introduced by Chandler. llvm-svn: 152626
-
Stepan Dyatkovskiy authored
llvm-svn: 152624
-
Duncan Sands authored
take a TargetLibraryInfo parameter. Internally, rather than passing TD, TLI and DT parameters around all over the place, introduce a struct for holding them. llvm-svn: 152623
-
Timur Iskhodzhanov authored
llvm-svn: 152622
-
James Molloy authored
void f () { int g (int a, int b=4); { int g(int a, int b=5); } } should compile. llvm-svn: 152621
-
Eli Bendersky authored
Also refactor the existing OProfile profiling code to reuse the same interfaces with the VTune profiling code. In addition, unit tests for the profiling interfaces were added. This patch was prepared by Andrew Kaylor and Daniel Malea, and reviewed in the llvm-commits list by Jim Grosbach llvm-svn: 152620
-
Richard Smith authored
parameter's declaration are ignored when determining the parameter's type. llvm-svn: 152619
-