- Apr 25, 2013
-
-
Michael Liao authored
Pattern has source location by itself. After adding a trivial method to retrieve it, it's unnecessary to pair a source location for CHECK-NOT patterns. One thing revised after this is the diagnostic info is more accurate by pointing to the start of the CHECK-NOT pattern instead of the end of the CHECK-NOT pattern. E.g. diagnostic message previously looks like <stdin>:1:1: error: CHECK-NOT: string occurred! test ^ test.txt:1:16: note: CHECK-NOT: pattern specified here CHECK-NOT: test ^ is changed to <stdin>:1:1: error: CHECK-NOT: string occurred! test ^ test.txt:1:12: note: CHECK-NOT: pattern specified here CHECK-NOT: test ^ llvm-svn: 180578
-
Preston Gurd authored
Expunge all remaining traces and use of live variable information. llvm-svn: 180577
-
Arnold Schwaighofer authored
Reflect this in the cost model. I observed this in MiBench/consumer-lame. radar://13354716 llvm-svn: 180576
-
Andrew Kaylor authored
llvm-svn: 180575
-
Chris Lattner authored
llvm-svn: 180574
-
Preston Gurd authored
latency for certain models of the Intel Atom family, by converting instructions into their equivalent LEA instructions, when it is both useful and possible to do so. llvm-svn: 180573
-
Ashok Thirumurthi authored
- Adds unique enums for ymm registers to the ABI and the POSIX register context. - Reworks the register context data structures to support a union of FXSAVE and XSAVE --- Allows the same code base to deal with the FPU independent of the availability of AVX. - Determine if AVX is supported by attempting to read XSAVE using ptrace. --- Support an extended register set for avx registers if available. - Provide a mechanism to assemble/parse register halves into a single ymm buffer for use with RegisterValue. --- Reworked Read/WriteRegister routines to read/write/parse ymm registers. Adds tests for ymm register write with read-back, and expressions involving ymm registers. - Tests vary depending on the availability of an avx register set. Thanks to Daniel and Matt for their reviews. llvm-svn: 180572
-
Rafael Espindola authored
When we find a friend declaration we have to skip transparent contexts for doing lookups, but we should not skip them when inserting the new decl if the lookup found nothing. Fixes PR15841. llvm-svn: 180571
-
Nadav Rotem authored
llvm-svn: 180570
-
Reid Kleckner authored
Summary: This is modelled on the Mach-O linker options implementation and should support a Clang implementation of #pragma comment(lib/linker). Reviewers: rafael CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D724 llvm-svn: 180569
-
Rafael Espindola authored
Patch by Kai Nacke. This matches the gnu as output. llvm-svn: 180568
-
Sean Callanan authored
interpreter. They are a legacy from when the IR interpreter didn't work with materialized values but rather got values directly from ClangExpressionDeclMap. Also updated the #includes for IRInterpreter accordingly. llvm-svn: 180565
-
Michael Liao authored
llvm-svn: 180564
-
Sean Callanan authored
disabled. llvm-svn: 180563
-
Chad Rosier authored
assembly is requesting a 64-bit register, which is invalid for i386. rdar://13731657 llvm-svn: 180445
-
Anna Zaks authored
When computing the other parameters, ‘op’ is checked for being null before it’s dereferenced. llvm-svn: 180271
-
Benjamin Kramer authored
llvm-svn: 180268
-
Howard Hinnant authored
llvm-svn: 180267
-
Dmitri Gribenko authored
llvm-svn: 180266
-
Evgeniy Stepanov authored
Otherwise we are picking up an extra libstdc++ dependency. llvm-svn: 180265
-
Daniel Jasper authored
Deeply nested expressions basically break clang-format's memoization. This patch slightly improves the situations and makes expressions like aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa( aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa( aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa( aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa( aaaaa(aaaaa()))))))))))))))))))))))))))))))))))))))); work. llvm-svn: 180264
-
Rafael Espindola authored
llvm-svn: 180263
-
Rafael Espindola authored
Since the relocation iterator walks only the relocations in one section, we can just use a pointer and avoid fetching information about the section at every reference. llvm-svn: 180262
-
Rafael Espindola authored
getRelocationAddress is for dynamic libraries and executables, getRelocationOffset for relocatable objects. Mark the getRelocationAddress of COFF and MachO as not implemented yet. Add a test of ELF's. llvm-readobj -r now prints the same values as readelf -r. llvm-svn: 180259
-
Rafael Espindola authored
Instead, we check for one line extern "C" context in linkage computation and when deciding if a variable is a definition. This hopefully completes the transition to having "as written" semantics for hasExternalStorage. llvm-svn: 180258
-
Alexey Samsonov authored
llvm-svn: 180255
-
Silviu Baranga authored
Fix constant folding for one lane vector types. Constant folding one lane vector types not returns a vector instead of a scalar. llvm-svn: 180254
-
Daniel Jasper authored
This enables formattings like: #define A \ int aaaa; \ int b; \ int ccc; \ int dddddddddd; Enabling this for Google/Chromium styles only as I don't know whether it is desired for Clang/LLVM. llvm-svn: 180253
-
Daniel Jasper authored
This patch ensure that nothing scrolls even if the same buffer is opened in multiple windows. llvm-svn: 180252
-
Dmitry Vyukov authored
llvm-svn: 180251
-
Peter Collingbourne authored
This includes the following fixes: - Implement 4 subtly different variants of qualifier mangling and use them in what I believe are the right places. - Fix handling of array types. Previously we were always decaying them, which is wrong if the type appears as a template argument, pointee, referent etc. Fixes PR13182. Differential Revision: http://llvm-reviews.chandlerc.com/D709 llvm-svn: 180250
-
Rafael Espindola authored
This reverts commit 07f03923137a91e3cca5d7fc075a22f8c9baf33a. Looks like it broke the valgrind bot: http://lab.llvm.org:8011/builders/llvm-x86_64-linux-vg_leak/builds/649 llvm-svn: 180249
-
Rafael Espindola authored
This reverts commit 8c31b298149ca3c3f2bbd9e8aa9a01c4d91f3d74. It looks like this commit broke some bots: http://lab.llvm.org:8011/builders/llvm-ppc64-linux2/builds/5209 llvm-svn: 180248
-
Rafael Espindola authored
llvm-svn: 180247
-
Akira Hatanaka authored
llvm-svn: 180246
-
Akira Hatanaka authored
llvm-svn: 180245
-
Jim Ingham authored
In Process::ProcessEventData::DoOnRemoval, we need to handle the case where NO thread has a stop reason specially, and make sure we stop. This shouldn't happen, but if it does, the user will probably want to see it. <rdar://problem/13273125> llvm-svn: 180244
-
Filipe Cabecinhas authored
llvm-svn: 180243
-
Jason Molenda authored
llvm-svn: 180242
-
Akira Hatanaka authored
Patch by Zoran Jovanovic. llvm-svn: 180241
-