- Jun 12, 2013
-
-
Sebastian Pop authored
When a region header is part of a loop, then all entering edges of this region should not come from the loop but outside the region. Otherwise, the loop may be only partially part of the region, which would cause troubles in handling induction variables. Currently, we can only model induction variables that are either fully part of the scop (loop induction variable) or induction variables that are scop- invariant (parameter). A loop that is only partially part of the scop causes troubles, as there is no good way to handle the induction variable in the independent blocks pass. Contributed-by:
Star Tan <tanmx_star@yeah.net> llvm-svn: 183800
-
Sebastian Pop authored
llvm-svn: 183799
-
Sebastian Pop authored
to discard regions with invalid loops before going through the contents of the basic blocks llvm-svn: 183798
-
Sebastian Pop authored
to discard regions with invalid CFG before going through the contents of the basic blocks llvm-svn: 183797
-
Rafael Espindola authored
I am about to move PathV2.h to Path.h. llvm-svn: 183796
-
Rafael Espindola authored
I am about to move PathV2.h to Path.h. llvm-svn: 183795
-
JF Bastien authored
Sign- and zero-extension folding was slightly incorrect because it wasn't checking that the shift on extensions was zero. Further, I recently added AND rd, rn, #255 as a form of 8-bit zero extension, and failed to add the folding code for it. This patch fixes both issues. This patch fixes both, and the test should remain the same: test/CodeGen/ARM/fast-isel-fold.ll llvm-svn: 183794
-
rdar://problem/13646047Enrico Granata authored
Providing a Python helper SBData.CreateDataFromInt() to make an SBData out of a single integer number It tries to use the current target, if any, for endianness and pointer size, and it picks a reasonable size on your behalf - if there is no way it can infer anything reasonable it essentially picks a 64-bit Mac as the reference model llvm-svn: 183793
-
- Jun 11, 2013
-
-
Greg Clayton authored
Use llvm::APFloat for formatting if a target is available. Each target when debugging has a "ASTContext" that helps us to use the correct floating point semantics. Now that APFloat supports toString we now use that. If we don't have a target, we still fall back on the old display methodology, but the important formatting should always have a target available and thus use the compiler floating point code. Modified the test programs to use floating point constants that always will display correctly. We had some numbers that were being rounded, and now that we are using clang, we no longer round them and we get more correct results. llvm-svn: 183792
-
Eli Friedman authored
with a string. This case is sort of tricky because we can't modify the StringLiteral used to represent such initializers. We are forced to decompose the string into individual characters. Fixes <rdar://problem/10465114>. llvm-svn: 183791
-
Tobias Grosser authored
For ARM on linux we use /proc/cpuinfo to detect the host CPU's features. Linux derives these values without ever looking at the vendor of the specific CPU implementation. Hence, it adds little value, if we parse the output of /proc/cpuinfo only for certain vendors. This patch enables us to derive the correct feature flags e.g. for Qualcomm CPUs. llvm-svn: 183790
-
Rui Ueyama authored
Change for http://llvm-reviews.chandlerc.com/D952 Reviewers: Bigcheese CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D953 llvm-svn: 183789
-
Rui Ueyama authored
COFF header is always present both in executable and in object file. PE header is present only in executable. So the natural way to handle PE/COFF file is treating COFF is mandatory header and PE is optional. Current data structre does not allow it, because PE header includes COFF header. Removing COFF header will simplify the code to handle PE/COFF files. Reviewers: Bigcheese CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D952 llvm-svn: 183788
-
Richard Smith authored
llvm-svn: 183787
-
Rafael Espindola authored
llvm-svn: 183786
-
Rafael Espindola authored
llvm-svn: 183785
-
Rafael Espindola authored
llvm-svn: 183784
-
Rafael Espindola authored
llvm-svn: 183783
-
Rafael Espindola authored
This is preparation for replacing Path.h with PathV2.h. llvm-svn: 183782
-
Rafael Espindola authored
This is preparation for replacing Path.h with PathV2.h. llvm-svn: 183781
-
Rafael Espindola authored
llvm-svn: 183780
-
Rafael Espindola authored
llvm-svn: 183779
-
Rafael Espindola authored
llvm-svn: 183778
-
Rafael Espindola authored
llvm-svn: 183777
-
Richard Smith authored
Testcase to follow. llvm-svn: 183776
-
Rafael Espindola authored
llvm-svn: 183775
-
Enrico Granata authored
llvm-svn: 183774
-
Rafael Espindola authored
llvm-svn: 183773
-
rdar://problem/13759177Enrico Granata authored
Allowing LLDB to resolve names of Python functions when they are located in classes This allows things like *bound* classmethods to be used for formatters, commands, ... llvm-svn: 183772
-
Rafael Espindola authored
llvm-svn: 183771
-
Rafael Espindola authored
llvm-svn: 183770
-
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
-