- Jun 11, 2013
-
-
Rafael Espindola authored
llvm-svn: 183769
-
Samuel Benzaquen authored
Summary: Some compilers where failing with this file because the number of symbols was above 2**15. - Replace std::list<> and std::vector<> with plain arrays. - Change VariadicMatcherCreateCallback to be a function template, and a single class that wraps the instantiations. - Remove some more unnecessary template arguments and function calls. Reviewers: klimek CC: cfe-commits, revane Differential Revision: http://llvm-reviews.chandlerc.com/D948 llvm-svn: 183768
-
Akira Hatanaka authored
No functionality changes. llvm-svn: 183767
-
rdar://problem/13779789Enrico Granata authored
Allow memory read -t to take persistent types (those defined with expression struct $....) llvm-svn: 183766
-
Rafael Espindola authored
llvm-svn: 183765
-
Rafael Espindola authored
llvm-svn: 183764
-
Rafael Espindola authored
llvm-svn: 183763
-
Rafael Espindola authored
No functionality change. llvm-svn: 183762
-
Michael Liao authored
llvm-svn: 183761
-
Argyrios Kyrtzidis authored
Patch by Mathieu Baudet! llvm-svn: 183760
-
Rafael Espindola authored
No functionality change. llvm-svn: 183759
-
Rafael Espindola authored
No functionality change. llvm-svn: 183758
-
Eli Friedman authored
llvm-svn: 183757
-
Rafael Espindola authored
Instead of a custom implementation of replaceAllUsesWith, we just call replaceAllUsesWith and recreate llvm.used and llvm.compiler-used. This change is particularity interesting because it makes llvm see through what clang is doing with static used functions in extern "C" contexts. With this change, running clang -O2 in extern "C" { __attribute__((used)) static void foo() {} } produces @llvm.used = appending global [1 x i8*] [i8* bitcast (void ()* @foo to i8*)], section "llvm.metadata" define internal void @foo() #0 { entry: ret void } llvm-svn: 183756
-
Greg Clayton authored
Remove eFormatHalfFloat as it isn't needed. eFormatFloat should be used and the byte size will tell us how to display it. llvm-svn: 183755
-
Rafael Espindola authored
No functionality change. llvm-svn: 183754
-
Rafael Espindola authored
It will be tested in the next commit which moves another user to identify_magic. Original message: Fix an out of bounds array access. We were looking at Magic[5] without checking Length. Since this path would not return unless Length >= 18 anyway, just move the >= 18 check up. llvm-svn: 183753
-
Rafael Espindola authored
llvm-svn: 183752
-
Argyrios Kyrtzidis authored
llvm-svn: 183751
-
Alexander Kornienko authored
Summary: "//Test" becomes "// Test". This change is aimed to improve code readability and conformance to certain coding styles. If a comment starts with a non-alphanumeric character, the space isn't added, e.g. "//-*-c++-*-" stays unchanged. Reviewers: klimek Reviewed By: klimek CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D949 llvm-svn: 183750
-
Rafael Espindola authored
This enables the compiler to see the enum and produce warnings about a switch not being fully covered. Fix one of these warnings. llvm-svn: 183749
-
Sergey Matveev authored
llvm-svn: 183748
-
Rafael Espindola authored
No functionality change. llvm-svn: 183747
-
Rafael Espindola authored
No functionality change. llvm-svn: 183746
-
Rafael Espindola authored
No functionality change. llvm-svn: 183745
-
Benjamin Kramer authored
llvm-svn: 183744
-
Rafael Espindola authored
The effect of llvm.used is to introduce an invisible reference, so this seems a reasonable restriction. It will be used to provide an easy ordering of the entries in llvm.used. llvm-svn: 183743
-
Benjamin Kramer authored
llvm-svn: 183742
-
Benjamin Kramer authored
Actions outlive consumers. PR16295. Found by AddressSanitizer. llvm-svn: 183741
-
Rafael Espindola authored
The yaml reader is not specific to any file format. This patch moves it to TargetInfo and makes validate a non virtual interface so that it can be constructed from a single location. The same method will be used to create a reader for llvm bitcode files. llvm-svn: 183740
-
Manuel Klimek authored
Patch by Chris Gray. llvm-svn: 183739
-
Dmitry Vyukov authored
this is how the rest of the codebase is built llvm-svn: 183738
-
NAKAMURA Takumi authored
FIXME: Introduce yet another checker but assert(0). llvm-svn: 183736
-
Sergey Matveev authored
llvm-svn: 183735
-
Mihai Popa authored
Negative zero is returned by the primary expression parser as INT32_MIN, so all that the method needs to do is to accept this value. Behavior already present for Thumb2. llvm-svn: 183734
-
Mihai Popa authored
This patch adds support for FPINST/FPINST2 as operands to vmsr/vmrs. These are optional registers that may be supported some ARM implementations to aid with resolution of floating point exceptions. The manual pages for vmsr and vmrs do not detail their use. Encodings and other information can be found in ARM Architecture Reference Manual section F, chapter 6, paragraph 3. llvm-svn: 183733
-
Alexey Samsonov authored
llvm-svn: 183732
-
Amaury de la Vieuville authored
llvm-svn: 183731
-
Alexey Samsonov authored
llvm-svn: 183730
-
Amaury de la Vieuville authored
The decoded MCInst wasn't reencoded as the same instruction llvm-svn: 183729
-