- Jun 05, 2012
-
-
Stepan Dyatkovskiy authored
IntegersSubsetMapping: added exclude operation, that allows to exclude subset of integers from current mapping. llvm-svn: 157989
-
Stepan Dyatkovskiy authored
Changed type of Items collection: from std::vector to std::list. Also some small fixes made in IntegersSubset.h, IntegersSubsetMapping.h and IntegersSubsetTest.cpp. llvm-svn: 157987
-
- Jun 02, 2012
-
-
Stepan Dyatkovskiy authored
- Fixed IntegersSubsetGeneric copy/assignment behaviour. - Fixed IntegersSubsetGeneric::getSize/getSingleValue methods. - Fixed IntegersSubsetGeneric::verify method. Also IntegersSubset.h and IntegersSubsetMapping.h headers was fixed. llvm-svn: 157887
-
-
- May 24, 2012
-
-
Justin Holewinski authored
This back-end was deprecated in favor of the NVPTX back-end. NV_CONTRIB llvm-svn: 157417
-
- May 22, 2012
-
-
Nuno Lopes authored
based on a patch by Preston Briggs, with some modifications llvm-svn: 157231
-
- May 18, 2012
-
-
Nuno Lopes authored
this fixes the missed optimization I was seeing in the CorrelatedValuePropagation pass llvm-svn: 157032
-
- May 16, 2012
-
-
Simon Atanasyan authored
on MIPS where they are not implemented. llvm-svn: 156935
-
- May 15, 2012
-
-
Bill Wendling authored
llvm-svn: 156812
-
Stepan Dyatkovskiy authored
llvm-svn: 156810
-
- May 14, 2012
-
-
Jakob Stoklund Olesen authored
Returning a temporary BitVector is very expensive. If you must, create the temporary explicitly: Use BitVector(A).flip() instead of ~A. llvm-svn: 156768
-
Jakob Stoklund Olesen authored
The existing operation (A & B).any() is very slow. llvm-svn: 156760
-
- May 12, 2012
-
-
Michael J. Spencer authored
llvm-svn: 156652
-
- May 09, 2012
-
-
Chad Rosier authored
llvm-svn: 156507
-
- Apr 29, 2012
-
-
Benjamin Kramer authored
llvm-svn: 155791
-
- Apr 26, 2012
-
-
Stepan Dyatkovskiy authored
Fixed SmallMap test. The order of items is undefined in DenseMap. So being checking the increment for big mode, we can only check that all items are in map. llvm-svn: 155651
-
- Apr 25, 2012
-
-
Benjamin Kramer authored
Comparing ~0UL with an unsigned will always return false when long is 64 bits long. llvm-svn: 155568
-
Eric Christopher authored
This reverts commit 76271a3366731d4c372fdebcd8d3437e6e09a61b. as it's breaking the bots. llvm-svn: 155562
-
Stepan Dyatkovskiy authored
- FlatArrayMap. Very simple map container that uses flat array inside. - MultiImplMap. Map container interface, that has two modes, one for small amount of elements and one for big amount. - SmallMap. SmallMap is DenseMap compatible MultiImplMap. It uses FlatArrayMap for small mode, and DenseMap for big mode. Also added unittests for new classes and update for ProgrammersManual. For more details about new classes see ProgrammersManual and comments in sourcecode. llvm-svn: 155557
-
- Apr 20, 2012
-
-
Andrew Trick authored
This nicely handles the most common case of virtual register sets, but also handles anticipated cases where we will map pointers to IDs. The goal is not to develop a completely generic SparseSet template. Instead we want to handle the expected uses within llvm without any template antics in the client code. I'm adding a bit of template nastiness here, and some assumption about expected usage in order to make the client code very clean. The expected common uses cases I'm designing for: - integer keys that need to be reindexed, and may map to additional data - densely numbered objects where we want pointer keys because no number->object map exists. llvm-svn: 155227
-
- Apr 17, 2012
-
-
Manuel Klimek authored
llvm-svn: 154930
-
- Apr 16, 2012
-
-
Duncan Sands authored
llvm-svn: 154850
-
Duncan Sands authored
through the use of 'fpmath' metadata. Currently this only provides a 'fpaccuracy' value, which may be a number in ULPs or the keyword 'fast', however the intent is that this will be extended with additional information about NaN's, infinities etc later. No optimizations have been hooked up to this so far. llvm-svn: 154822
-
- Apr 15, 2012
-
-
Duncan Sands authored
llvm-svn: 154766
-
- Apr 04, 2012
-
-
Michael J. Spencer authored
llvm-svn: 153977
-
- Apr 02, 2012
-
-
Hal Finkel authored
llvm-svn: 153882
-
- Mar 31, 2012
-
-
Duncan Sands authored
node and returning it if one didn't exist. llvm-svn: 153798
-
- Mar 30, 2012
-
-
Rafael Espindola authored
needed for correctness, but still doesn't clean up code that now unnecessary checks for reachability. llvm-svn: 153755
-
- Mar 29, 2012
-
-
Danil Malyshev authored
llvm-svn: 153672
-
- Mar 28, 2012
-
-
Danil Malyshev authored
llvm-svn: 153607
-
- Mar 22, 2012
-
-
Chandler Carruth authored
(and hopefully on Windows). The bots have been down most of the day because of this, and it's not clear to me what all will be required to fix it. The commits started with r153205, then r153207, r153208, and r153221. The first commit seems to be the real culprit, but I couldn't revert a smaller number of patches. When resubmitting, r153207 and r153208 should be folded into r153205, they were simple build fixes. llvm-svn: 153241
-
- Mar 21, 2012
-
-
Danil Malyshev authored
Based on this discussion: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120305/138477.html 1. Declare a virtual function getPointerToNamedFunction() in JITMemoryManager 2. Move the implementation of getPointerToNamedFunction() form JIT/MCJIT to DefaultJITMemoryManager. llvm-svn: 153205
-
- Mar 15, 2012
-
-
Eli Bendersky authored
llvm-svn: 152780
-
- Mar 14, 2012
-
-
Eli Bendersky authored
llvm-svn: 152703
-
- Mar 13, 2012
-
-
Eli Bendersky authored
Also refactor the existing OProfile profiling code to reuse the same interfaces with the VTune profiling code. In addition, unit tests for the profiling interfaces were added. This patch was prepared by Andrew Kaylor and Daniel Malea, and reviewed in the llvm-commits list by Jim Grosbach llvm-svn: 152620
-
- Mar 11, 2012
-
-
Michael J. Spencer authored
llvm-svn: 152522
-
Michael J. Spencer authored
it would fail with {,u}int64_t on x86-64 Linux. This also removes code duplication. llvm-svn: 152517
-
- Mar 07, 2012
-
-
Chandler Carruth authored
integral and enumeration types. This is accomplished with a bit of template type trait magic. Thanks to Richard Smith for the core idea here to detect viable types by detecting the set of types which can be default constructed in a template parameter. This is used (in conjunction with a system for detecting nullptr_t should it exist) to provide an is_integral_or_enum type trait that doesn't need a whitelist or direct compiler support. With this, the hashing is extended to the more general facility. This will be used in a subsequent commit to hashing more things, but I wanted to make sure the type trait magic went through the build bots separately in case other compilers don't like this formulation. llvm-svn: 152217
-
- Mar 06, 2012
-
-
Benjamin Kramer authored
SmallPtrSet: Provide a more efficient implementation of swap than the default triple-copy std::swap. This currently assumes that both sets have the same SmallSize to keep the implementation simple, a limitation that can be lifted if someone cares. llvm-svn: 152143
-
- Mar 04, 2012
-
-
Chandler Carruth authored
llvm-svn: 152003
-