1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/include/llvm/ADT
Roman Lebedev 5eb53ddf94 [APInt] Add saturating truncation methods
Summary:
The signed one is needed for implementation of `ConstantRange::smul_sat()`,
unsigned is for completeness only.

Reviewers: nikic, RKSimon, spatel

Reviewed By: nikic

Subscribers: hiraditya, dexonsmith, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D69993
2019-11-08 17:52:43 +03:00
..
AllocatorList.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Any.h [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
APFloat.h [ConstProp] allow folding for fma that produces NaN 2019-09-12 14:10:50 +00:00
APInt.h [APInt] Add saturating truncation methods 2019-11-08 17:52:43 +03:00
APSInt.h [APSInt][OpenMP] Fix isNegative, etc. for unsigned types 2019-04-23 17:04:15 +00:00
ArrayRef.h [ADT] Add makeArrayRef(std::array<>) template specialization 2019-09-05 21:27:25 +00:00
bit.h Replace llvm::isPodLike<...> by llvm::is_trivially_copyable<...> 2019-01-20 21:19:56 +00:00
BitmaskEnum.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
BitVector.h [BitVector] Define BitWord as uintptr_t 2019-10-29 13:53:04 +00:00
BreadthFirstIterator.h [NFC] Fix typo in comment. 2019-04-06 22:05:24 +00:00
CachedHashString.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DAGDeltaAlgorithm.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DeltaAlgorithm.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DenseMap.h [ADT] Remove a workaround for old versions of clang 2019-09-13 13:47:49 +00:00
DenseMapInfo.h [clangd] Use our own relation kind. 2019-10-17 14:08:28 +00:00
DenseSet.h NFC: Change usage of 'DenseSet' to 'DenseSetImpl' in DenseSetImpl::ConstIterator. 2019-05-27 17:38:41 +00:00
DepthFirstIterator.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DirectedGraph.h [DDG] DirectedGraph as a base class for various dependence graphs such 2019-07-25 18:23:22 +00:00
edit_distance.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
EpochTracker.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
EquivalenceClasses.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
fallible_iterator.h [ADT] Add a fallible_iterator wrapper. 2019-02-05 23:17:11 +00:00
FoldingSet.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
FunctionExtras.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
GraphTraits.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Hashing.h Hashing - fix uninitialized variable warnings. NFCI. 2019-11-08 14:46:22 +00:00
ilist_base.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ilist_iterator.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ilist_node_base.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ilist_node_options.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ilist_node.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ilist.h [ADT] Notify ilist traits about in-list transfers 2019-01-23 22:59:52 +00:00
ImmutableList.h Replace llvm::isPodLike<...> by llvm::is_trivially_copyable<...> 2019-01-20 21:19:56 +00:00
ImmutableMap.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ImmutableSet.h ImutAVLTree::validateTree - fix null dereference typo warning. NFCI. 2019-11-07 18:42:01 +00:00
IndexedMap.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
IntEqClasses.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
IntervalMap.h [NFC] Remove uses of LLVM_ALIGNAS 2019-07-30 16:31:06 +00:00
IntrusiveRefCntPtr.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
iterator_range.h Second attempt to add iterator_range::empty() 2019-10-07 18:14:24 +00:00
iterator.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
MapVector.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
None.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Optional.h Revert rL368939 "Remove LVALUE / RVALUE workarounds" 2019-08-15 10:12:11 +00:00
PackedVector.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
PointerEmbeddedInt.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
PointerIntPair.h Mark several PointerIntPair methods as lvalue-only 2019-10-08 19:01:48 +00:00
PointerSumType.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
PointerUnion.h Add TinyPtrVector support for general pointer-like things. 2019-08-20 23:29:28 +00:00
PostOrderIterator.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
PriorityQueue.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
PriorityWorklist.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SCCIterator.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ScopedHashTable.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ScopeExit.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Sequence.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SetOperations.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SetVector.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
simple_ilist.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SmallBitVector.h [SmallBitVector] Fix bug in find_next_unset for small types with indices >=32 2019-07-21 16:06:26 +00:00
SmallPtrSet.h [ADT] Add equality operator for SmallPtrSet 2019-11-06 11:17:51 +07:00
SmallSet.h [ADT] add equality operator for SmallSet 2019-10-29 17:33:57 -07:00
SmallString.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SmallVector.h [NFC] Fix SmallVector::append comments 2019-05-30 17:54:26 +00:00
SparseBitVector.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SparseMultiSet.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SparseSet.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Statistic.h [Stats] Add ALWAYS_ENABLED_STATISTIC enabled regardless of LLVM_ENABLE_STATS. 2019-10-11 00:57:41 +00:00
STLExtras.h Revert r373034 2019-09-27 01:58:31 +00:00
StringExtras.h Fix MSVC unreferenced formal parameter warning. NFCI. 2019-09-01 16:04:38 +00:00
StringMap.h ADT: Save a word in every StringSet entry 2019-10-10 20:22:53 +00:00
StringRef.h Use __builtin_strlen in constexpr StringRef ctor with MSVC 2019-10-25 15:53:54 -07:00
StringSet.h ADT: Save a word in every StringSet entry 2019-10-10 20:22:53 +00:00
StringSwitch.h [ADT] Move away from __attribute__((always_inline)). 2019-01-22 22:40:35 +00:00
TinyPtrVector.h Add TinyPtrVector support for general pointer-like things. 2019-08-20 23:29:28 +00:00
Triple.h [Triple] Add isRISCV function 2019-07-08 14:52:36 +00:00
Twine.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
UniqueVector.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00