- Feb 22, 2012
-
-
Jakob Stoklund Olesen authored
For objects that can be identified by small unsigned keys, SparseSet provides constant time clear() and fast deterministic iteration. Insert, erase, and find operations are typically faster than hash tables. SparseSet is useful for keeping information about physical registers, virtual registers, or numbered basic blocks. llvm-svn: 151110
-
- Feb 21, 2012
-
-
Chandler Carruth authored
construction. Simplify its interface, implementation, and users accordingly as there is no longer an 'uninitialized' state to check for. Also, fixes a bug lurking in the interface as there was one method that didn't correctly check for initialization. llvm-svn: 151024
-
- Feb 18, 2012
-
-
Talin authored
llvm-svn: 150890
-
- Feb 07, 2012
-
-
Benjamin Kramer authored
Clang miscompiles it under certain circumstances, and it's a good exercise for APInt. llvm-svn: 149986
-
- Feb 06, 2012
-
-
Chandler Carruth authored
some architectures. These are useful for interacting with multiarch or bi-arch GCC (or GCC-based) toolchains. llvm-svn: 149895
-
- Jan 31, 2012
-
-
Manuel Klimek authored
now that this handles the release / retain calls. Adds a regression test for that bug (which is a compile-time regression) and for the last two changes to the IntrusiveRefCntPtr, especially tests for the memory leak due to copy construction of the ref-counted object and ensuring that the traits are used for release / retain calls. llvm-svn: 149411
-
Chandler Carruth authored
These are very useful for frontends and other utilities reasoning about or selecting between triples. llvm-svn: 149353
-
- Jan 30, 2012
-
-
Talin authored
llvm-svn: 149229
-
- Jan 25, 2012
-
-
Talin authored
llvm-svn: 148881
-
- Jan 22, 2012
-
-
NAKAMURA Takumi authored
llvm-svn: 148659
-
- Jan 17, 2012
-
-
Jakob Stoklund Olesen authored
BitVector uses the native word size for its internal representation. That doesn't work well for literal bit masks in source code. This patch adds BitVector operations to efficiently apply literal bit masks specified as arrays of uint32_t. Since each array entry always holds exactly 32 bits, these portable bit masks can be source code literals, probably produced by TableGen. llvm-svn: 148272
-
- Jan 16, 2012
-
-
Jim Grosbach authored
Move to a by-section allocation and relocation scheme. This allows better support for sections which do not contain externally visible symbols. Flesh out the relocation address vs. local storage address separation a bit more as well. Remote process JITs use this to tell the relocation resolution code where the code will live when it executes. The startFunctionBody/endFunctionBody interfaces to the JIT and the memory manager are deprecated. They'll stick around for as long as the old JIT does, but the MCJIT doesn't use them anymore. llvm-svn: 148258
-
- Jan 02, 2012
-
-
Chandler Carruth authored
is testing the bitcode reader's functionality, not VMCore's. Add the what is a hope sufficient build system mojo to build and run a new unittest. Also clean up some of the test's naming. The goal for the file should be to unittest the Bitcode Reader, and this is just one particular test among potentially many in the future. Also, reverse my position and relegate the PR# to a comment, but stash the comment on the same line as the test name so it doesn't get lost. This makes the code more self-documenting hopefully w/o losing track of the PR number. llvm-svn: 147431
-
Chandler Carruth authored
build. This didn't show up in the CMake build because the CMake build for the unittests is rather poorly factored. This probably isn't the correct fix. This should be a bitcode reader unittest not a VMCore unittest. I'll move it and clean various parts of the unittest up in a follow-up patch, but I wanted to unbreak the bots. llvm-svn: 147427
-
Rafael Espindola authored
PR11677. llvm-svn: 147425
-
- Dec 22, 2011
-
-
Eli Friedman authored
llvm-svn: 147186
-
- Dec 21, 2011
-
-
Manuel Klimek authored
Diagnostics are now emitted via the SourceMgr and we use MemoryBuffer for buffer management. Switched the code to make use of the trailing '0' that MemoryBuffer guarantees where it makes sense. llvm-svn: 147063
-
- Dec 20, 2011
-
-
- Dec 17, 2011
-
-
Chandler Carruth authored
make VariadicFunction actually be trivial. Do so, and also make it look more like your standard trivial functor by making it a struct with no access specifiers. The unit test is updated to initialize its functors properly. llvm-svn: 146827
-
- Dec 16, 2011
-
-
Dylan Noblesmith authored
Hexatridecimal was added in r139695. And fix the unittest that now triggers the assert. llvm-svn: 146754
-
Manuel Klimek authored
llvm-svn: 146735
-
Chandler Carruth authored
bit of style, sorry. llvm-svn: 146733
-
Chandler Carruth authored
variadic-like functions in C++98. See the comments in the header file for a more detailed description of how these work. We plan to use these extensively in the AST matching library. This code and idea were originally authored by Zhanyong Wan. I've condensed it using macros to reduce repeatition and adjusted it to fit better with LLVM's ADT. Thanks to both David Blaikie and Doug Gregor for the review! llvm-svn: 146729
-
NAKAMURA Takumi authored
llvm-svn: 146725
-
Daniel Dunbar authored
library names in line with those used by CMake. - Patch by Johannes Obermayr, with tweaks by me. llvm-svn: 146706
-
- Dec 12, 2011
-
-
Chad Rosier authored
Original commit message: Support/FileSystem: Implement canonicalize. llvm-svn: 146378
-
Michael J. Spencer authored
llvm-svn: 146364
-
Michael J. Spencer authored
llvm-svn: 146363
-
Dylan Noblesmith authored
Accidentally left out since r145214/r145217. llvm-svn: 146356
-
- Dec 10, 2011
-
-
NAKAMURA Takumi authored
FIXME: It should be more robust. llvm-svn: 146294
-
- Dec 09, 2011
-
-
Michael J. Spencer authored
dontlookhere check must be after it. llvm-svn: 146217
-
Michael J. Spencer authored
I have run these tests under many configurations on the exact same OS as the failures, and I can't reproduce them :(. llvm-svn: 146214
-
- Dec 08, 2011
-
-
Michael J. Spencer authored
directory_iterator preserve InputIterator semantics on copy. llvm-svn: 146200
-
- Dec 05, 2011
-
-
Nadav Rotem authored
Add support for vectors of pointers. llvm-svn: 145801
-
- Dec 02, 2011
-
-
Dylan Noblesmith authored
Makes failures more self-explanatory. llvm-svn: 145704
-
- Nov 26, 2011
-
-
Eli Friedman authored
was returning incorrect values in rare cases, and incorrectly marking exact conversions as inexact in some more common cases. Fixes PR11406, and a missed optimization in test/CodeGen/X86/fp-stack-O0.ll. llvm-svn: 145141
-
- Nov 14, 2011
-
-
Nick Lewycky authored
available. llvm-svn: 144574
-
Nick Lewycky authored
These annotations are disabled entirely when either ENABLE_THREADS is off, or building a release build. When enabled, they add calls to functions with no statements to ManagedStatic's getters. Use these annotations to inform tsan that the race used inside ManagedStatic initialization is actually benign. Thanks to Kostya Serebryany for helping write this patch! llvm-svn: 144567
-
- Nov 09, 2011
-
-
NAKAMURA Takumi authored
getPointerToNamedFunction might be indirect jump on Win32 --enable-shared. FF 25 <disp32>: jmp *(pointer to IAT) llvm-svn: 144178
-
- Oct 24, 2011
-
-
Benjamin Kramer authored
Add a test case for the edge case that triggers this. Thanks to Chandler for bringing this to my attention. llvm-svn: 142794
-