1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 12:43:36 +01:00
llvm-mirror/include/llvm/ADT
Harald van Dijk 9e8b1c8ad9 [X32] Add Triple::isX32(), use it.
So far, support for x86_64-linux-gnux32 has been handled by explicit
comparisons of Triple.getEnvironment() to GNUX32. This worked as long as
x86_64-linux-gnux32 was the only X32 environment to worry about, but we
now have x86_64-linux-muslx32 as well. To support this, this change adds
an isX32() function and uses it. It replaces all checks for GNUX32 or
MuslX32 by isX32(), except for the following:

- Triple::isGNUEnvironment() and Triple::isMusl() are supposed to treat
  GNUX32 and MuslX32 differently.
- computeTargetTriple() needs to be able to transform triples to add or
  remove X32 from the environment and needs to map GNU to GNUX32, and
  Musl to MuslX32.
- getMultiarchTriple() completely lacks any Musl support and retains the
  explicit check for GNUX32 as it can only return x86_64-linux-gnux32.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D103777
2021-06-07 20:48:39 +01:00
..
AllocatorList.h
Any.h Force visibility of llvm::Any to external 2021-05-20 10:06:00 +02:00
APFixedPoint.h
APFloat.h [APFloat] convertToDouble/Float can work on shorter types 2021-05-21 11:02:51 +07:00
APInt.h [ADT] Move DenseMapInfo for APInt into APInt.h (PR50527) 2021-06-01 18:31:41 +02:00
APSInt.h [ADT] Move DenseMapInfo for APInt into APInt.h (PR50527) 2021-06-01 18:31:41 +02:00
ArrayRef.h [ADT] Move DenseMapInfo for ArrayRef/StringRef into respective headers (NFC) 2021-06-03 18:34:36 +02:00
bit.h
Bitfields.h
BitmaskEnum.h
BitVector.h Use SmallVector instead of std::vector to manage storage of llvm::BitVector 2021-04-21 07:31:28 +02:00
BreadthFirstIterator.h BreadthFirstIterator.h - fix uninitialized variable warning in default constructor. NFCI. 2021-06-06 14:13:08 +01:00
CachedHashString.h [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
CoalescingBitVector.h Replace uses of std::iterator with explicit using 2021-04-12 10:47:14 -07:00
DAGDeltaAlgorithm.h
DeltaAlgorithm.h
DenseMap.h
DenseMapInfo.h [ADT] Move DenseMapInfo for ArrayRef/StringRef into respective headers (NFC) 2021-06-03 18:34:36 +02:00
DenseSet.h
DepthFirstIterator.h Replace uses of std::iterator with explicit using 2021-04-12 10:47:14 -07:00
DirectedGraph.h
edit_distance.h
EnumeratedArray.h
EpochTracker.h [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
EquivalenceClasses.h Replace uses of std::iterator with explicit using 2021-04-12 10:47:14 -07:00
fallible_iterator.h
FloatingPointMode.h [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
FoldingSet.h
FunctionExtras.h Allow incomplete template types in unique_function arguments 2021-05-21 14:09:33 +07:00
GraphTraits.h
Hashing.h Revert "[Support] Don't include <algorithm> in Hashing.h" 2021-04-16 12:17:42 -04:00
ilist_base.h
ilist_iterator.h
ilist_node_base.h
ilist_node_options.h
ilist_node.h
ilist.h
ImmutableList.h
ImmutableMap.h
ImmutableSet.h Replace uses of std::iterator with explicit using 2021-04-12 10:47:14 -07:00
IndexedMap.h
IntEqClasses.h
IntervalMap.h Replace uses of std::iterator with explicit using 2021-04-12 10:47:14 -07:00
IntrusiveRefCntPtr.h [NFC] Fix "unused parameter" error revealed in the Linux self-build. 2021-03-15 12:17:11 -04:00
iterator_range.h
iterator.h [ADT] Don't include <algorithm> in iterator.h 2021-04-16 12:21:08 -04:00
MapVector.h
None.h
Optional.h [ADT] Factor out in_place_t and expose in Optional ctor 2021-05-17 22:25:39 +00:00
PackedVector.h
PointerEmbeddedInt.h
PointerIntPair.h
PointerSumType.h
PointerUnion.h Revert "[ADT] Add new type traits for type pack indexes" 2021-05-17 20:26:59 -07:00
PostOrderIterator.h [ADT] Update RPOT to work with specializations of different types. 2021-04-17 20:45:04 +01:00
PriorityQueue.h
PriorityWorklist.h
SCCIterator.h
ScopedHashTable.h
ScopeExit.h [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
Sequence.h
SetOperations.h [NFC] Fix a compiler warning 2021-03-10 13:28:53 -08:00
SetVector.h
simple_ilist.h
SmallBitVector.h
SmallPtrSet.h Allow SmallPtrSet to be used with a std::insert_iterator 2021-02-05 16:12:47 -05:00
SmallSet.h
SmallString.h
SmallVector.h SmallVector.h - remove unused MathExtras.h header. NFCI. 2021-06-06 12:05:39 +01:00
SparseBitVector.h
SparseMultiSet.h Replace uses of std::iterator with explicit using 2021-04-12 10:47:14 -07:00
SparseSet.h
Statistic.h [ADT] Make TrackingStatistic's ctor constexpr 2021-04-28 12:00:17 +02:00
STLExtras.h Add a range-based wrapper for std::unique(begin, end, binary_predicate) 2021-05-24 17:26:46 -07:00
STLForwardCompat.h [ADT] Factor out in_place_t and expose in Optional ctor 2021-05-17 22:25:39 +00:00
StringExtras.h
StringMap.h
StringMapEntry.h ADT: Sink the guts of StringMapEntry::Create into StringMapEntryBase 2021-04-08 17:57:47 -07:00
StringRef.h [ADT] Move DenseMapInfo for ArrayRef/StringRef into respective headers (NFC) 2021-06-03 18:34:36 +02:00
StringSet.h
StringSwitch.h
TinyPtrVector.h
Triple.h [X32] Add Triple::isX32(), use it. 2021-06-07 20:48:39 +01:00
Twine.h
TypeSwitch.h [mlir] Add support for walking locations similarly to Operations 2021-04-15 16:09:34 -07:00
UniqueVector.h
Waymarking.h [NFC] Remove variable that was set but not used. 2021-06-02 13:20:32 -05:00