1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/include/llvm/ADT
JF Bastien 3b1f6df294 APFloat: allow 64-bit of payload
Summary: The APFloat and Constant APIs taking an APInt allow arbitrary payloads,
and that's great. There's a convenience API which takes an unsigned, and that's
silly because it then directly creates a 64-bit APInt. Just change it to 64-bits
directly.

At the same time, add ConstantFP NaN getters which match the APFloat ones (with
getQNaN / getSNaN and APInt parameters).

Improve the APFloat testing to set more payload bits.

Reviewers: scanon, rjmccall

Subscribers: jkorous, dexonsmith, kristina, llvm-commits

Differential Revision: https://reviews.llvm.org/D55460

llvm-svn: 348791
2018-12-10 19:27:38 +00:00
..
AllocatorList.h
Any.h Workaround a limitation of llvm::Any when used with types that have 2018-09-19 20:45:09 +00:00
APFloat.h APFloat: allow 64-bit of payload 2018-12-10 19:27:38 +00:00
APInt.h [APInt] Add methods for saturated add and sub 2018-11-20 16:47:59 +00:00
APSInt.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
ArrayRef.h Revert "ADT: Move ArrayRef comparison operators into the class" 2018-06-28 12:10:21 +00:00
bit.h [ADT] restrict bit_cast to trivially-constructible To 2018-09-21 14:31:25 +00:00
BitmaskEnum.h
BitVector.h [ADT][BitVector] Add push_back() 2018-09-19 11:08:54 +00:00
BreadthFirstIterator.h
CachedHashString.h Add CachedHashStringRef::data(). 2018-07-10 15:10:49 +00:00
DAGDeltaAlgorithm.h
DeltaAlgorithm.h
DenseMap.h [ADT] Use explicit constructors for DenseMapPair to work around compiler issues. 2018-10-26 17:48:50 +00:00
DenseMapInfo.h [ADT] Allow llvm::hash_code as DenseMap key. 2018-06-20 13:56:25 +00:00
DenseSet.h [ADT] Fix a bug in DenseSet's initializer_list constructor. 2018-10-15 18:34:36 +00:00
DepthFirstIterator.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
edit_distance.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
EpochTracker.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
EquivalenceClasses.h
FoldingSet.h
FunctionExtras.h Fix MSVC "signed/unsigned mismatch" warning. NFCI. 2018-07-10 09:46:57 +00:00
GraphTraits.h [ADT] Add some documentation for GraphTraits. 2018-08-02 00:21:12 +00:00
Hashing.h Hashing: use 64-bit seed for hashing on all platforms. 2018-08-30 20:28:32 +00:00
ilist_base.h
ilist_iterator.h
ilist_node_base.h
ilist_node_options.h IWYU for llvm-config.h, removals. Also see r331184. 2018-04-30 15:26:01 +00:00
ilist_node.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
ilist.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
ImmutableList.h [ADT] Made numerous methods of ImmutableList const 2018-09-12 11:20:15 +00:00
ImmutableMap.h [ADT] Annotate immutable list/set/map update methods with LLVM_NODISCARD. 2018-05-31 17:32:29 +00:00
ImmutableSet.h [ADT] Annotate immutable list/set/map update methods with LLVM_NODISCARD. 2018-05-31 17:32:29 +00:00
IndexedMap.h
IntEqClasses.h
IntervalMap.h [ADT] Force the alignment of the data field of IntervalMap 2018-10-09 08:50:50 +00:00
IntrusiveRefCntPtr.h
iterator_range.h [ADT] drop_begin: use adl_begin/adl_end. NFC. 2018-06-27 19:39:03 +00:00
iterator.h Correctly instantiate iterator_adaptor_base when defining pointer_iterator 2018-11-14 07:19:21 +00:00
MapVector.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
None.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
Optional.h Avoid redundant reference to isPodLike in SmallVect/Optional implementation 2018-11-29 17:21:54 +00:00
PackedVector.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
PointerEmbeddedInt.h
PointerIntPair.h
PointerSumType.h [NFC] use bit_cast in PointerSumType 2018-09-21 18:35:32 +00:00
PointerUnion.h Use branch funnels for virtual calls when retpoline mitigation is enabled. 2018-03-09 19:11:44 +00:00
PostOrderIterator.h [DA] DivergenceAnalysis for unstructured, reducible CFGs 2018-10-18 09:38:44 +00:00
PriorityQueue.h
PriorityWorklist.h
SCCIterator.h Revert "CallGraphSCCPass: iterate over all functions." 2018-07-13 16:32:31 +00:00
ScopedHashTable.h
ScopeExit.h Give scope_exit helper correct move semantics 2018-01-25 16:55:48 +00:00
Sequence.h
SetOperations.h
SetVector.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
simple_ilist.h
SmallBitVector.h [ADT][BitVector] Add push_back() 2018-09-19 11:08:54 +00:00
SmallPtrSet.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
SmallSet.h Recommit r334887: [SmallSet] Add SmallSetIterator. 2018-07-24 10:32:54 +00:00
SmallString.h
SmallVector.h Avoid redundant reference to isPodLike in SmallVect/Optional implementation 2018-11-29 17:21:54 +00:00
SparseBitVector.h [ADT] Clean up SparseBitVector copying and make it moveable 2018-11-01 13:55:59 +00:00
SparseMultiSet.h Report fatal error in the case of out of memory 2018-02-20 05:41:26 +00:00
SparseSet.h Report fatal error in the case of out of memory 2018-02-20 05:41:26 +00:00
Statistic.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
STLExtras.h Speculatively fixing the build; it seems add_pointer_t and add_const_t are not implemented everywhere. 2018-12-09 20:04:54 +00:00
StringExtras.h [ADT] Support converting to lowercase string in toHex 2018-09-10 19:34:44 +00:00
StringMap.h Use uniform mechanism for OOM errors handling 2018-06-09 05:19:45 +00:00
StringRef.h [ADT] Add StringRef::rsplit(StringRef Separator). 2018-06-08 12:42:12 +00:00
StringSet.h
StringSwitch.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
TinyPtrVector.h [PM/LoopUnswitch] Add partial non-trivial unswitching for invariant 2018-06-21 06:14:03 +00:00
Triple.h Add Hurd target to LLVMSupport (1/2) 2018-11-29 03:23:01 +00:00
Twine.h
UniqueVector.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
VariadicFunction.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00