- Dec 04, 2012
-
-
Chandler Carruth authored
llvm-svn: 169250
-
NAKAMURA Takumi authored
FIXME: I have not checked whether to be compiled on msvc11. llvm-svn: 169225
-
Matt Beaumont-Gay authored
llvm-svn: 169214
-
- Dec 03, 2012
-
-
Michael J. Spencer authored
llvm-svn: 169167
-
- Nov 30, 2012
-
-
Chandler Carruth authored
Rationale: 1) This was the name in the comment block. ;] 2) It matches Clang's __has_feature naming convention. 3) It matches other compiler-feature-test conventions. Sorry for the noise. =] I've also switch the comment block to use a \brief tag and not duplicate the name. llvm-svn: 168996
-
- Nov 29, 2012
-
-
Michael Ilseman authored
llvm-svn: 168943
-
- Nov 28, 2012
-
-
Michael Ilseman authored
llvm-svn: 168816
-
Michael Ilseman authored
llvm-svn: 168815
-
Michael Ilseman authored
llvm-svn: 168814
-
Eli Bendersky authored
appropriate unit tests. This change in itself is not expected to affect any functionality at this point, but it will serve as a stepping stone to improve FileCheck's variable matching capabilities. Luckily, our regex implementation already supports backreferences, although a bit of hacking is required to enable it. It supports both Basic Regular Expressions (BREs) and Extended Regular Expressions (EREs), without supporting backrefs for EREs, following POSIX strictly in this respect. And EREs is what we actually use (rightly). This is contrary to many implementations (including the default on Linux) of POSIX regexes, that do allow backrefs in EREs. Adding backref support to our EREs is a very simple change in the regcomp parsing code. I fail to think of significant cases where it would clash with existing things, and can bring more versatility to the regexes we write. There's always the danger of a backref in a specially crafted regex causing exponential matching times, but since we mainly use them for testing purposes I don't think it's a big problem. [it can also be placed behind a flag specific to FileCheck, if needed]. For more details, see: * http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-November/055840.html * http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20121126/156878.html llvm-svn: 168802
-
- Nov 27, 2012
-
-
Andrew Kaylor authored
The SectionMemoryManager now supports (and requires) applying section-specific page permissions. Clients using this memory manager must call either MCJIT::finalizeObject() or SectionMemoryManager::applyPermissions() before executing JITed code. See r168718 for changes from the previous implementation. llvm-svn: 168721
-
Andrew Kaylor authored
This commit is primarily here for the revision history. I'm about to move the SectionMemoryManager into the RuntimeDyld library, but I wanted to check the changes in here so people could see the differences in the updated implementation. llvm-svn: 168718
-
- Nov 20, 2012
-
-
Sean Silva authored
The rationale is to get YAML filenames in diagnostics from yaml::Stream::printError -- currently the filename is hard-coded as "YAML" because there's no buffer information available. Patch by Kim Gräsman! llvm-svn: 168341
-
- Nov 17, 2012
-
-
James Molloy authored
Add a new function to ConstantExpr - getAsInstruction. This returns its Instruction* corollary, which may be useful if a user wishes to transform a ConstantExpr so that one of its operands is no longer constant. llvm-svn: 168262
-
Joe Abbey authored
llvm-svn: 168253
-
Joe Abbey authored
due to ambiguity' warning. llvm-svn: 168251
-
- Nov 16, 2012
-
-
Andrew Kaylor authored
Interface changes to allow RuntimeDyld memory managers to set memory permissions after an object has been loaded. llvm-svn: 168114
-
- Nov 14, 2012
-
-
Jakub Staszak authored
llvm-svn: 167968
-
- Nov 12, 2012
-
-
Gabor Greif authored
do not play preprocessor tricks with 'private', use public interfaces instead; this appeases the VC++ buildbots llvm-svn: 167724
-
Gabor Greif authored
llvm-svn: 167720
-
- Nov 10, 2012
-
-
Benjamin Kramer authored
ICC refuses to compile a class in an anonymous namespace if some functions aren't defined. Fixes PR13477. llvm-svn: 167676
-
- Nov 08, 2012
-
-
Benjamin Kramer authored
This is safe for x87 long doubles and ppc double doubles too. llvm-svn: 167582
-
- Oct 31, 2012
-
-
Amara Emerson authored
MCJIT unit test: add calls to ensure that instruction caches are properly invalidated before code execution. llvm-svn: 167146
-
Amara Emerson authored
llvm-svn: 167145
-
Amara Emerson authored
llvm-svn: 167144
-
Ulrich Weigand authored
These tests were all failing since the old JIT doesn't work for PowerPC (any more), and there are no plans to attempt to fix it again (instead, work focuses on MCJIT). llvm-svn: 167133
-
Evgeniy Stepanov authored
llvm-svn: 167111
-
- Oct 30, 2012
-
-
Duncan Sands authored
with different sizes. llvm-svn: 167018
-
- Oct 29, 2012
-
-
Ulrich Weigand authored
treating it as if it were an IEEE floating-point type with 106-bit mantissa. This makes compile-time arithmetic on "long double" for PowerPC in clang (in particular parsing of floating point constants) work, and fixes all "long double" related failures in the test suite. llvm-svn: 166951
-
- Oct 23, 2012
-
-
Pete Cooper authored
Fixed bug in SmallDenseMap where it wouldn't leave enough space for an empty bucket if the number of values was exactly equal to the small capacity. This led to an infinite loop when finding a non-existent element llvm-svn: 166492
-
- Oct 18, 2012
-
-
rdar://problem/12473675Bob Wilson authored
When building with LTO, the internalize pass is hiding some global symbols that are necessary for the JIT unittests. It seems like that may be a bug in LTO to do that by default, but until that gets fixed, this change makes sure that we export the necessary symbols for the tests to pass. llvm-svn: 166220
-
- Oct 17, 2012
-
-
Bill Wendling authored
llvm-svn: 166092
-
- Oct 16, 2012
-
-
Owen Anderson authored
Fix a bug in the set(I,E)/reset(I,E) methods that I recently added. The boundary condition for checking if I and E were in the same word were incorrect, and, beyond that, the mask computation was not using a wide enough constant. llvm-svn: 166015
-
Owen Anderson authored
Add range-based set()/reset() to BitVector. These allow fast setting/resetting of ranges of bits, particularly useful when dealing with very large BitVector's. llvm-svn: 165984
-
- Oct 14, 2012
-
-
Benjamin Kramer authored
llvm-svn: 165908
-
Benjamin Kramer authored
Add a basic unit test for ImmutableMap. Found by inspection. llvm-svn: 165907
-
- Oct 12, 2012
-
-
Duncan Sands authored
llvm-svn: 165792
-
NAKAMURA Takumi authored
llvm-svn: 165790
-
Bill Wendling authored
llvm-svn: 165781
-
NAKAMURA Takumi authored
llvm-svn: 165780
-