llvm-project/llvm/lib/Support
Craig Topper 37f3e53c5b [RISCV] Simplify RISCVISAInfo::compareExtension. NFCI
Instead of having a separate single letter and multiletter ranking
use a unified rank that assigns multiletter a larger value than
single letter.

Once we've ranked the extensions, then we compare using these ranks.

Reviewed By: kito-cheng

Differential Revision: https://reviews.llvm.org/D146273
2023-03-20 22:25:11 -07:00
..
BLAKE3 [Support/BLAKE3] Rename blake3_* -> llvm_blake3_* to avoid symbol collisions 2023-02-14 16:21:42 -08:00
Unix [Support] Implement findModulesAndOffsets on Apple 64-bit platforms 2023-03-05 12:20:47 +00:00
Windows [Support] Silence warning with Clang ToT. 2023-02-20 18:25:20 -05:00
ABIBreak.cpp
Allocator.cpp
AMDGPUMetadata.cpp [YAML] Convert Optional to std::optional 2022-12-06 12:49:32 -08:00
APFixedPoint.cpp [ADT] Add support for more formats in APFixedPoint 2022-10-06 17:55:31 +02:00
APFloat.cpp APFloat: Add classify 2023-03-03 18:54:58 -04:00
APInt.cpp Use APInt::count{l,r}_{zero,one} (NFC) 2023-02-19 22:04:47 -08:00
APSInt.cpp Use APInt::getSignificantBits instead of APInt::getMinSignedBits (NFC) 2023-02-19 23:56:52 -08:00
ARMAttributeParser.cpp Move from llvm::makeArrayRef to ArrayRef deduction guides - llvm/ part 2023-01-05 14:11:08 +01:00
ARMBuildAttrs.cpp
ARMWinEH.cpp
Atomic.cpp
AutoConvert.cpp
Base64.cpp
BinaryStreamError.cpp
BinaryStreamReader.cpp
BinaryStreamRef.cpp Move from llvm::makeArrayRef to ArrayRef deduction guides - llvm/ part 2023-01-05 14:11:08 +01:00
BinaryStreamWriter.cpp
BlockFrequency.cpp
BranchProbability.cpp
BuryPointer.cpp
CachePruning.cpp [ThinLTO] a ThinLTO warning is added if cache_size_bytes or cache_size_files is too small for the current link job. The warning recommends the user to consider adjusting --thinlto-cache-policy. 2022-11-14 12:27:29 +00:00
Caching.cpp Reland "[LTO][COFF] Use bitcode file names in lto native object file names." 2022-11-22 13:46:42 -08:00
Chrono.cpp
circular_raw_ostream.cpp
CMakeLists.txt ADT: Move FPClassTest printing functions to common place 2023-03-03 18:20:47 -04:00
CodeGenCoverage.cpp
COM.cpp
CommandLine.cpp Use *{Map,Set}::contains (NFC) 2023-03-15 08:46:32 -07:00
Compression.cpp [Object] Add zstd decompression support to Decompressor 2022-09-19 11:41:16 -07:00
ConvertUTF.cpp
ConvertUTFWrapper.cpp Use llvm::byteswap instead of ByteSwap_{16,32,64} (NFC) 2023-01-28 15:22:37 -08:00
COPYRIGHT.regex
CrashRecoveryContext.cpp [Support] Clarify CrashRecoveryContext exception codes on Windows. NFC 2023-02-08 18:03:58 -05:00
CRC.cpp
CSKYAttributeParser.cpp Move from llvm::makeArrayRef to ArrayRef deduction guides - llvm/ part 2023-01-05 14:11:08 +01:00
CSKYAttributes.cpp
DAGDeltaAlgorithm.cpp
DataExtractor.cpp
Debug.cpp
DebugCounter.cpp ManagedStatic: remove from DebugCounter 2022-10-30 20:47:12 +01:00
DebugOptions.h
DeltaAlgorithm.cpp
DivisionByConstantInfo.cpp Use APInt::count{l,r}_{zero,one} (NFC) 2023-02-19 22:04:47 -08:00
DJB.cpp [Support] llvm::Optional => std::optional 2022-12-16 08:49:10 +00:00
DynamicLibrary.cpp Add functionality to load dynamic libraries temporarily 2022-10-03 16:20:22 -07:00
ELFAttributeParser.cpp Move from llvm::makeArrayRef to ArrayRef deduction guides - llvm/ part 2023-01-05 14:11:08 +01:00
ELFAttributes.cpp [llvm] Use std::nullopt instead of None (NFC) 2022-12-02 21:11:44 -08:00
Errno.cpp
Error.cpp
ErrorHandling.cpp
ExtensibleRTTI.cpp
FileCollector.cpp [dsymutil] Fix assertion in the Reproducer/FileCollector when TMPDIR is empty 2022-11-14 19:11:34 -08:00
FileOutputBuffer.cpp
FileUtilities.cpp [Support] llvm::Optional => std::optional 2022-12-16 08:49:10 +00:00
FloatingPointMode.cpp ADT: Move some FPClassTest utility functions out of instcombine 2023-03-03 18:20:47 -04:00
FoldingSet.cpp [llvm] Use llvm::bit_floor instead of llvm::PowerOf2Floor (NFC) 2023-01-28 09:06:31 -08:00
FormattedStream.cpp
FormatVariadic.cpp [Support] llvm::Optional => std::optional 2022-12-16 08:49:10 +00:00
GlobPattern.cpp Remove unused #include "llvm/ADT/Optional.h" 2022-12-05 06:31:11 +00:00
GraphWriter.cpp [llvm] Use std::nullopt instead of None (NFC) 2022-12-02 21:11:44 -08:00
Hashing.cpp
InitLLVM.cpp
InstructionCost.cpp
IntEqClasses.cpp
IntervalMap.cpp
JSON.cpp JSON: llvm::Optional => std::optional 2022-12-16 07:56:52 +00:00
KnownBits.cpp Use APInt::count{l,r}_{zero,one} (NFC) 2023-02-19 22:04:47 -08:00
LEB128.cpp
LineIterator.cpp [llvm] Use std::nullopt instead of None (NFC) 2022-12-02 21:11:44 -08:00
Locale.cpp
LockFileManager.cpp [Support] llvm::Optional => std::optional 2022-12-16 08:49:10 +00:00
LowLevelType.cpp [AArch64][SME2] Add CodeGen support for target("aarch64.svcount"). 2023-03-02 12:07:41 +00:00
ManagedStatic.cpp
MathExtras.cpp
MD5.cpp Move from llvm::makeArrayRef to ArrayRef deduction guides - llvm/ part 2023-01-05 14:11:08 +01:00
MemAlloc.cpp
Memory.cpp
MemoryBuffer.cpp [Support][MemBuffer] Prevent UB on empty StringRefs 2023-03-14 12:58:37 +01:00
MemoryBufferRef.cpp
MSP430AttributeParser.cpp Move from llvm::makeArrayRef to ArrayRef deduction guides - llvm/ part 2023-01-05 14:11:08 +01:00
MSP430Attributes.cpp
NativeFormatting.cpp [llvm] Do not zero out write_unsigned_impl internal buffer 2023-01-26 07:59:33 +01:00
OptimizedStructLayout.cpp Include <optional> instead of "llvm/ADT/Optional.h" 2022-12-18 00:28:54 -08:00
Optional.cpp [llvm] Don't include Optional.h (NFC) 2022-12-06 22:34:50 -08:00
Parallel.cpp [clang-format] Fix format of my last patch 2023-02-22 10:12:48 -08:00
Path.cpp [llvm-driver] Reinvoke clang as described by llvm driver extra args 2023-02-10 19:42:32 +00:00
PGOOptions.cpp [NFC][Profile] Access profile through VirtualFileSystem 2023-02-01 09:25:02 -08:00
PluginLoader.cpp
PrettyStackTrace.cpp Remove uses of ATOMIC_VAR_INIT 2023-02-24 13:43:12 -08:00
Process.cpp std::optional::value => operator*/operator-> 2022-12-16 22:44:08 +00:00
Program.cpp Support: Make Wait's SecondsToWait be std::optional [NFC] 2022-12-14 09:56:10 -05:00
RandomNumberGenerator.cpp
raw_os_ostream.cpp
raw_ostream.cpp [Support] Emulate SIGPIPE handling in raw_fd_ostream write for Windows 2023-02-09 10:39:09 +00:00
regcomp.c [Support] Fix incorrect assertion in backref compilation 2023-01-16 16:56:33 +01:00
regengine.inc [Regex] Avoid NFA machinery for fixed prefix chars (NFC) 2023-01-19 11:12:53 +01:00
regerror.c
regex_impl.h
Regex.cpp
regex2.h
regexec.c
regfree.c
regstrlcpy.c
regutils.h
RISCVAttributeParser.cpp Move from llvm::makeArrayRef to ArrayRef deduction guides - llvm/ part 2023-01-05 14:11:08 +01:00
RISCVAttributes.cpp
RISCVISAInfo.cpp [RISCV] Simplify RISCVISAInfo::compareExtension. NFCI 2023-03-20 22:25:11 -07:00
RWMutex.cpp
ScaledNumber.cpp Use llvm::count{lr}_{zero,one} (NFC) 2023-01-28 12:41:20 -08:00
ScopedPrinter.cpp [llvm] Use std::nullopt instead of None (NFC) 2022-12-02 21:11:44 -08:00
SHA1.cpp [Support] Reduce Dependence on Host.h 2022-11-21 18:28:07 +00:00
SHA256.cpp [Support] Reduce Dependence on Host.h 2022-11-21 18:28:07 +00:00
Signals.cpp [llvm] Use std::nullopt instead of None (NFC) 2022-12-02 21:11:44 -08:00
Signposts.cpp
SmallPtrSet.cpp
SmallVector.cpp [SmallVector] Reallocate if assigned memory is right after the current vector, created with capacity 0 2022-10-06 15:37:43 -07:00
SourceMgr.cpp [TableGen][SourceMgr] Fix obvious mistake in D141220 2023-01-09 11:16:56 +01:00
SpecialCaseList.cpp [llvm] Use *{Set,Map}::contains (NFC) 2023-03-14 18:56:07 -07:00
Statistic.cpp
StringExtras.cpp
StringMap.cpp Recommit "[Support] change StringMap hash function from djbHash to xxHash" 2023-02-19 16:52:26 -05:00
StringRef.cpp [ADT] Forward some StringRef::find overloads to std::string_view 2023-01-15 21:20:55 +01:00
StringSaver.cpp
SuffixTree.cpp [NFC] Use SmallVector/ArrayRef in MachineOutliner/SuffixTree for small types 2023-02-03 16:41:02 -08:00
SystemUtils.cpp
TarWriter.cpp
Threading.cpp Include <optional> instead of "llvm/ADT/Optional.h" 2022-12-18 00:28:54 -08:00
ThreadPool.cpp Name threadpool threads. 2023-02-23 18:11:15 +00:00
TimeProfiler.cpp
Timer.cpp
ToolOutputFile.cpp Don't use Optional::getPointer (NFC) 2022-11-21 19:03:40 -08:00
TrigramIndex.cpp
Twine.cpp
TypeSize.cpp
Unicode.cpp Update the list of double width codepoints 2022-11-28 15:13:37 +01:00
UnicodeCaseFold.cpp Update Unicode to 15.0 2022-09-22 05:03:01 +02:00
UnicodeNameToCodepoint.cpp Fix some -Wconstant-conversion warnings for future Clang (D139114) 2023-01-13 16:28:44 -08:00
UnicodeNameToCodepointGenerated.cpp Update Unicode to 15.0 2022-09-22 05:03:01 +02:00
Valgrind.cpp
VersionTuple.cpp [Support] llvm::Optional => std::optional 2022-12-16 08:49:10 +00:00
VirtualFileSystem.cpp [llvm] Include <optional> instead of "llvm/ADT/Optional.h" (NFC) 2023-01-14 15:09:00 -08:00
Watchdog.cpp
WithColor.cpp
xxhash.cpp [xxHash] Don't trigger UB on empty StringRef 2023-02-08 12:53:54 +01:00
YAMLParser.cpp [YAML] Trim trailing whitespace from plain scalars 2023-02-09 21:56:57 -05:00
YAMLTraits.cpp Recommit [YAML IO] Check that mapping doesn't contain duplicating keys 2023-02-13 17:45:07 +03:00
Z3Solver.cpp [analyzer] Fix crash exposed by D140059 2023-01-26 12:55:42 -06:00