1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/include/llvm/ADT
Craig Topper 8d2e7f058d [APInt] Add a isOneValue method that can determine if a number is 1 by only using getActiveBits/countLeadingZeros
Previously you would have to use operator==(uint64_t) which does the getActiveBits call and a uint64_t comparison. But we can get all we need to know from the getActiveBits call.

This method will be used in another commit.

llvm-svn: 304854
2017-06-07 00:57:57 +00:00
..
AllocatorList.h
APFloat.h [AsmWriter/APFloat] FP constant printing: Avoid usage of locale dependent snprinf 2017-04-21 02:52:17 +00:00
APInt.h [APInt] Add a isOneValue method that can determine if a number is 1 by only using getActiveBits/countLeadingZeros 2017-06-07 00:57:57 +00:00
APSInt.h [APInt] Add ashrInPlace method and rewrite ashr to make a copy and then call ashrInPlace. 2017-04-24 17:18:47 +00:00
ArrayRef.h Use MutableArrayRef for APFloat::convertToInteger 2017-03-20 14:40:12 +00:00
BitmaskEnum.h
BitVector.h [BitVector] Add find_[first,last]_[set,unset]_in. 2017-05-17 15:49:45 +00:00
BreadthFirstIterator.h [BFIterator] Remove an assertion that doesn't hold. NFCI. 2017-04-06 20:32:10 +00:00
CachedHashString.h [ADT] Don't rely on string literals not being convertible to non-const char* in CachedHashString. 2016-10-21 22:10:23 +00:00
DAGDeltaAlgorithm.h [ADT] Fix some Clang-tidy modernize-use-default and Include What You Use warnings; other minor fixes. 2016-11-23 00:30:24 +00:00
DeltaAlgorithm.h
DenseMap.h Add support for DenseMap/DenseSet count and find using const pointers 2017-03-10 00:25:26 +00:00
DenseMapInfo.h [ADT] Add a DenseMapInfo<T> for shorts. 2017-03-11 02:52:48 +00:00
DenseSet.h Revert "Make naming in Host.h in line with coding standards." 2017-03-30 11:06:25 +00:00
DepthFirstIterator.h Trailing whitespace. 2017-04-02 23:57:17 +00:00
edit_distance.h
EpochTracker.h Add link-time detection of LLVM_ABI_BREAKING_CHECKS mismatch 2016-11-28 22:23:53 +00:00
EquivalenceClasses.h [ADT] Fix some Clang-tidy modernize-use-default and Include What You Use warnings; other minor fixes. 2016-11-23 00:30:24 +00:00
FoldingSet.h [ADT] Fix some Clang-tidy modernize-use-default and Include What You Use warnings; other minor fixes. 2016-11-23 00:30:24 +00:00
GraphTraits.h Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
Hashing.h
ilist_base.h
ilist_iterator.h ADT: Add explicit conversions for reverse ilist iterators 2017-02-07 21:03:50 +00:00
ilist_node_base.h
ilist_node_options.h Add link-time detection of LLVM_ABI_BREAKING_CHECKS mismatch 2016-11-28 22:23:53 +00:00
ilist_node.h [ilist_node] Add a getReverseIterator() method and a unittest for it. 2016-11-02 00:59:58 +00:00
ilist.h [ADT, IR] Fix some Clang-tidy modernize-use-equals-delete and Include What You Use warnings; other minor fixes (NFC). 2016-12-07 22:06:02 +00:00
ImmutableList.h Revert "[ADT] Fix some Clang-tidy modernize-use-using warnings; other minor fixes (NFC)." 2017-05-19 02:56:37 +00:00
ImmutableMap.h Revert "[ADT] Fix some Clang-tidy modernize-use-using warnings; other minor fixes (NFC)." 2017-05-19 02:56:37 +00:00
ImmutableSet.h Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
IndexedMap.h Revert "[ADT] Fix some Clang-tidy modernize-use-using warnings; other minor fixes (NFC)." 2017-05-19 02:56:37 +00:00
IntEqClasses.h
IntervalMap.h Revert "[ADT] Fix some Clang-tidy modernize-use-using warnings; other minor fixes (NFC)." 2017-05-19 02:56:37 +00:00
IntrusiveRefCntPtr.h Revert "[ADT] Fix some Clang-tidy modernize-use-using warnings; other minor fixes (NFC)." 2017-05-19 02:56:37 +00:00
iterator_range.h Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
iterator.h [IR] Redesign the case iterator in SwitchInst to actually be an iterator 2017-04-12 07:27:28 +00:00
MapVector.h Revert "[ADT] Fix some Clang-tidy modernize-use-using warnings; other minor fixes (NFC)." 2017-05-19 02:56:37 +00:00
None.h Attempt to workaround MSVC build issue where I suspect an enum class constant 0 is considered a possible null pointer 2017-01-16 20:28:59 +00:00
Optional.h Revert "[ADT] Fix some Clang-tidy modernize-use-using warnings; other minor fixes (NFC)." 2017-05-19 02:56:37 +00:00
PackedVector.h Revert "[ADT] Fix some Clang-tidy modernize-use-using warnings; other minor fixes (NFC)." 2017-05-19 02:56:37 +00:00
PointerEmbeddedInt.h Revert "[ADT] Fix some Clang-tidy modernize-use-using warnings; other minor fixes (NFC)." 2017-05-19 02:56:37 +00:00
PointerIntPair.h Revert "[ADT] Fix some Clang-tidy modernize-use-using warnings; other minor fixes (NFC)." 2017-05-19 02:56:37 +00:00
PointerSumType.h Revert "[ADT] Fix some Clang-tidy modernize-use-using warnings; other minor fixes (NFC)." 2017-05-19 02:56:37 +00:00
PointerUnion.h Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
PostOrderIterator.h Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
PriorityQueue.h
PriorityWorklist.h Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
SCCIterator.h [SCCIterator] Garbage collect dead code. NFC. 2017-06-06 23:41:12 +00:00
ScopedHashTable.h ScopedHashTable lookup should be const 2017-01-31 22:01:08 +00:00
ScopeExit.h ADT: Prefer the LLVM_NODISCARD spelling 2016-10-16 20:42:34 +00:00
Sequence.h [ADT] Fix some Clang-tidy modernize-use-using warnings; other minor fixes (NFC). 2017-05-16 23:10:25 +00:00
SetOperations.h
SetVector.h [ADT] Fix some Clang-tidy modernize-use-using warnings; other minor fixes (NFC). 2017-05-16 23:10:25 +00:00
simple_ilist.h Revert "[ADT] Fix some Clang-tidy modernize-use-using warnings; other minor fixes (NFC)." 2017-05-19 02:56:37 +00:00
SmallBitVector.h BitVector: add iterators for set bits 2017-05-17 01:07:53 +00:00
SmallPtrSet.h Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
SmallSet.h Fix some Clang-tidy modernize-use-default and Include What You Use warnings; other minor fixes (NFC). 2016-11-30 23:10:42 +00:00
SmallString.h [ADT] Fix some Clang-tidy modernize-use-default and Include What You Use warnings; other minor fixes. 2016-11-23 00:30:24 +00:00
SmallVector.h Tidy up a bit of r304516, use SmallVector::assign rather than for loop 2017-06-02 17:24:26 +00:00
SparseBitVector.h [ADT] Fix some Clang-tidy modernize-use-using warnings; other minor fixes (NFC). 2017-05-16 23:10:25 +00:00
SparseMultiSet.h Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
SparseSet.h [ADT] Fix some Clang-tidy modernize-use-using warnings; other minor fixes (NFC). 2017-05-16 23:10:25 +00:00
Statistic.h [Statistics] Add a method to atomically update a statistic that contains a maximum 2017-05-18 00:51:39 +00:00
STLExtras.h Suppress all uses of LLVM_END_WITH_NULL. NFC. 2017-05-09 19:31:13 +00:00
StringExtras.h Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
StringMap.h [ADT] Fix some Clang-tidy modernize-use-using warnings; other minor fixes (NFC). 2017-05-16 23:10:25 +00:00
StringRef.h Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
StringSet.h [ADT] Fix some Clang-tidy modernize-use-using warnings; other minor fixes (NFC). 2017-05-16 23:10:25 +00:00
StringSwitch.h Avoid calling std::memcmp with nullptr 2016-11-15 00:01:40 +00:00
TinyPtrVector.h [ADT] Fix some Clang-tidy modernize-use-using warnings; other minor fixes (NFC). 2017-05-16 23:10:25 +00:00
Triple.h [Nios2] Target registration 2017-05-29 09:48:30 +00:00
Twine.h Add support for formatv to llvm::Twine. 2016-12-17 00:38:15 +00:00
UniqueVector.h [ADT] Fix some Clang-tidy modernize-use-using warnings; other minor fixes (NFC). 2017-05-16 23:10:25 +00:00
VariadicFunction.h