1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/include/llvm/Support
Jessica Paquette 840095b1e1 [GlobalISel] Add G_ASSERT_SEXT
This adds a G_ASSERT_SEXT opcode, similar to G_ASSERT_ZEXT. This instruction
signifies that an operation was already sign extended from a smaller type.

This is useful for functions with sign-extended parameters.

E.g.

```
define void @foo(i16 signext %x) {
 ...
}
```

This adds verifier, regbankselect, and instruction selection support for
G_ASSERT_SEXT equivalent to G_ASSERT_ZEXT.

Differential Revision: https://reviews.llvm.org/D96890
2021-02-17 13:10:34 -08:00
..
FileSystem Support: Avoid std::tie in Support/FileSystem/UniqueID.h, NFC 2020-11-02 13:26:15 -05:00
Solaris/sys
Windows [Support] Improve Windows widenPath and add support for long UNC paths 2020-03-19 13:00:21 +00:00
AArch64TargetParser.def AArch64: add apple-a14 as a CPU 2021-01-19 14:04:53 +00:00
AArch64TargetParser.h [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
Alignment.h [Align] Remove operations on MaybeAlign that asserted that it had a defined value. 2020-05-22 21:54:28 -07:00
AlignOf.h Document that AlignedCharArrayUnion exists to work around an MSVC bug 2020-12-15 16:01:55 -08:00
Allocator.h [ADT][NFC] Use empty base optimisation in BumpPtrAllocatorImpl 2021-01-12 22:43:48 +00:00
AllocatorBase.h [Allocator] Make Deallocate() pass alignment and make it use (de)allocate_buffer 2020-05-02 16:08:46 +02:00
AMDGPUMetadata.h [AMDGPU] HSAMD::fromString - replace std::string arg with StringRef. NFCI. 2021-01-26 16:09:39 +00:00
AMDHSAKernelDescriptor.h [AMDGPU] Clarify scratch initialization 2020-12-15 20:14:20 +00:00
ARMAttributeParser.h [RISCV] ELF attribute section for RISC-V. 2020-03-31 16:16:19 +08:00
ARMBuildAttributes.h [RISCV] ELF attribute section for RISC-V. 2020-03-31 16:16:19 +08:00
ARMEHABI.h
ARMTargetParser.def [ARM][AArch64] Add Cortex-A78C Support for Clang and LLVM 2020-12-29 10:18:59 +00:00
ARMTargetParser.h [Driver][ARM] Disable unsupported features when nofp arch extension is used 2020-07-29 14:13:22 +01:00
ARMWinEH.h [llvm-readobj] [ARMWinEH] Print ARM64 packed unwind info 2020-09-15 08:50:02 +03:00
ArrayRecycler.h
Atomic.h
AtomicOrdering.h [NFC] Fix typo and variable names 2020-08-15 09:06:22 -07:00
Automaton.h Revert "Avoid creating an immutable map in the Automaton class." 2020-01-17 10:20:36 +01:00
Base64.h Syndicate, test and fix base64 implementation 2020-03-03 12:17:53 +01:00
BinaryByteStream.h [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
BinaryItemStream.h [llvm] Use llvm::lower_bound and llvm::upper_bound (NFC) 2021-01-05 21:15:59 -08:00
BinaryStream.h
BinaryStreamArray.h Fix header includes after 0697bcb66f1d82f2fd447e9d13b74d141c3ce085 2020-01-24 18:32:54 -08:00
BinaryStreamError.h
BinaryStreamReader.h Use std::foo_t rather than std::foo in LLVM. 2020-02-11 15:12:51 -08:00
BinaryStreamRef.h Make LLVM build in C++20 mode 2020-12-17 10:44:10 +00:00
BinaryStreamWriter.h Use std::foo_t rather than std::foo in LLVM. 2020-02-11 15:12:51 -08:00
BlockFrequency.h
BranchProbability.h Make some static class members constexpr 2020-04-22 12:25:01 +02:00
BuryPointer.h
CachePruning.h [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
Capacity.h
Casting.h [LLVM] Change isa<> to a variadic function template 2020-06-15 18:46:57 +00:00
CBindingWrapping.h
CFGDiff.h [llvm] Use llvm::append_range (NFC) 2021-01-06 18:27:33 -08:00
CFGUpdate.h CFGUpdate.h - remove unused APInt include. NFCI. 2020-09-08 18:25:25 +01:00
CheckedArithmetic.h Fix some clang-tidy bugprone-argument-comment issues 2020-09-19 20:41:25 -07:00
Chrono.h Use std::foo_t rather than std::foo in LLVM. 2020-02-11 15:12:51 -08:00
circular_raw_ostream.h Make some static class members constexpr 2020-04-22 12:25:01 +02:00
CMakeLists.txt [CMake] Avoid __FakeVCSRevision.h with no git repository 2020-12-16 17:33:20 +01:00
CodeGen.h Move CodeGenFileType enum to Support/CodeGen.h 2019-11-13 16:39:34 -08:00
CodeGenCoverage.h [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
COM.h
CommandLine.h [Support] Indent multi-line descr of enum cli options. 2021-02-04 10:14:44 +01:00
Compiler.h Change the LLVM_ATTRIBUTE_DEPRECATED macro to use C++14 attribute. 2021-01-12 12:41:00 +01:00
Compression.h
ConvertUTF.h
CrashRecoveryContext.h [LLD][COFF] When using LLD-as-a-library, always prevent re-entrance on failures 2020-11-12 08:14:43 -05:00
CRC.h Unify the two CRC implementations 2019-10-09 09:06:30 +00:00
DataExtractor.h [Support] Make DataExtractor error messages more clear 2020-06-02 12:57:51 +02:00
DataTypes.h [llvm] Add missing header guards (NFC) 2021-01-30 09:53:42 -08:00
Debug.h
DebugCounter.h DebugCounter.h - remove unused includes. NFC. 2020-05-12 13:03:49 +01:00
DJB.h
DOTGraphTraits.h [DDG] Data Dependence Graph - DOT printer - recommit 2020-12-16 12:37:36 -05:00
DynamicLibrary.h
ELFAttributeParser.h [RISCV] ELF attribute section for RISC-V. 2020-03-31 16:16:19 +08:00
ELFAttributes.h [RISCV] ELF attribute section for RISC-V. 2020-03-31 16:16:19 +08:00
Endian.h Remove unused Endian.h includes, NFC 2020-03-11 15:45:34 -07:00
EndianStream.h
Errc.h
Errno.h [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
Error.h Revert "ADT: Migrate users of AlignedCharArrayUnion to std::aligned_union_t, NFC" 2020-12-14 17:04:06 -08:00
ErrorHandling.h Improve error handling for SmallVector programming errors 2020-09-02 15:00:26 -07:00
ErrorOr.h Revert "ADT: Migrate users of AlignedCharArrayUnion to std::aligned_union_t, NFC" 2020-12-14 17:04:06 -08:00
ExitCodes.h Fix out-of-tree clang build due to sysexits change 2020-10-06 18:21:17 -04:00
ExtensibleRTTI.h [Support] Add support RTTI support for open class hierarchies. 2020-04-13 12:52:44 -07:00
FileCollector.h [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
FileOutputBuffer.h [llvm-objcopy] preserve file ownership when overwritten by root 2021-02-12 18:01:43 -08:00
FileSystem.h [llvm-objcopy] preserve file ownership when overwritten by root 2021-02-12 18:01:43 -08:00
FileUtilities.h Revert "r372201: [Support] Replace function with function_ref in writeFileAtomically. NFC" 2019-09-18 08:47:09 +00:00
Format.h Revert "Forward declare Optional<T> in STLExtras.h" 2019-11-13 16:36:21 -08:00
FormatAdapters.h [NFC] Add 'override' keyword where missing in include/ and lib/. 2020-07-14 09:47:29 -07:00
FormatCommon.h
FormatProviders.h Use std::foo_t rather than std::foo in LLVM. 2020-02-11 15:12:51 -08:00
FormattedStream.h [Support] Fix formatted_raw_ostream for UTF-8 2020-07-06 16:18:15 +01:00
FormatVariadic.h [LLVM] Update formatv() documentation to clarify no escape for } 2020-07-22 15:30:40 -07:00
FormatVariadicDetails.h [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
GenericDomTree.h [llvm] Use append_range (NFC) 2021-01-29 23:23:34 -08:00
GenericDomTreeConstruction.h [Support] Use llvm::is_contained (NFC) 2020-11-25 23:52:52 -08:00
GenericIteratedDominanceFrontier.h [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
GlobPattern.h [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
GraphWriter.h [DDG] Data Dependence Graph - DOT printer - recommit 2020-12-16 12:37:36 -05:00
Host.h Drop a StringMap.h include, NFC 2020-03-11 15:45:34 -07:00
InitLLVM.h [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
InstructionCost.h Reland "Ensure that InstructionCost actually implements a total ordering" 2021-02-04 10:04:10 -08:00
ItaniumManglingCanonicalizer.h ItaniumManglingCanonicalizer.h - add cstdint.h include for missing uintptr_t def 2020-05-08 14:22:26 +01:00
JSON.h Revert "ADT: Migrate users of AlignedCharArrayUnion to std::aligned_union_t, NFC" 2020-12-14 17:04:06 -08:00
KnownBits.h [Support] Remove redundant sign bit tests from KnownBits::getSignedMinValue/getSignedMaxValue 2021-01-14 15:46:26 +00:00
LEB128.h [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
LICENSE.TXT
LineIterator.h Support: Allow use of MemoryBufferRef with line_iterator 2020-10-13 16:43:49 -04:00
Locale.h
LockFileManager.h Improve module.pcm lock file performance on machines with high core counts 2020-03-23 14:59:39 -07:00
LowLevelTypeImpl.h LowLevelTypeImpl.h - fix implicit Debug.h dependency. NFC. 2020-06-23 09:43:39 +01:00
MachineValueType.h [ValueTypes] Add MVT for nxv1bf16. 2021-02-10 08:50:41 +00:00
ManagedStatic.h [ManagedStatic] Fix build errors with clang-tblgen in Debug mode using MSVC 2019 v16.6 2020-05-25 16:59:40 +03:00
MathExtras.h [ADT][Support] Fix C4146 error from MSVC 2021-01-15 14:34:14 -08:00
MD5.h Avoid SmallString.h include in MD5.h, NFC 2020-02-26 09:10:24 -08:00
MemAlloc.h [ADT] Move allocate_buffer to MemAlloc.h and out of line 2020-04-24 13:32:50 +02:00
Memory.h [Support][NFC] Add a comment about the semantics of MF_HUGE_HINT flag 2020-01-09 17:34:18 +00:00
MemoryBuffer.h Support: Add operator== for MemoryBufferRef and split out MemoryBufferRef.h 2020-10-13 16:42:24 -04:00
MemoryBufferRef.h Support: Add operator== for MemoryBufferRef and split out MemoryBufferRef.h 2020-10-13 16:42:24 -04:00
MipsABIFlags.h
MSVCErrorWorkarounds.h Use std::foo_t rather than std::foo in LLVM. 2020-02-11 15:12:51 -08:00
Mutex.h [Support] Base SmartMutex on std::recursive_mutex 2019-08-07 11:59:57 +00:00
NativeFormatting.h [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
OnDiskHashTable.h [Alignment][NFC] Remove unneeded llvm:: scoping on Align types 2019-09-27 12:54:21 +00:00
OptimizedStructLayout.h Rename OptimalLayout to OptimizedStructLayout at Chris's request. 2020-04-10 00:14:20 -04:00
Parallel.h Add parallelTransformReduce and parallelForEachError 2020-11-02 16:50:14 -08:00
Path.h [Support/Path] Add path::is_absolute_gnu 2020-09-23 18:01:32 +01:00
PluginLoader.h PluginLoader.h - only include CommandLine.h if required. NFCI. 2020-09-11 11:44:29 +01:00
PointerLikeTypeTraits.h A few cosmetic cleanups to StringMap/StringSet.h, including fixing 2020-04-11 22:14:35 -07:00
PrettyStackTrace.h [Driver] When forcing a crash print the bug report message 2020-06-29 13:13:12 +01:00
Printable.h
Process.h [LLD][COFF] When using LLD-as-a-library, always prevent re-entrance on failures 2020-11-12 08:14:43 -05:00
Program.h Re-land [Support] On Windows, take the affinity mask into account 2021-01-14 17:03:22 -05:00
RandomNumberGenerator.h
raw_os_ostream.h
raw_ostream.h Frontend: Simplify handling of non-seeking streams in CompilerInstance, NFC 2021-01-26 15:20:43 -08:00
raw_sha1_ostream.h
Recycler.h
RecyclingAllocator.h
Regex.h [ASTMatchers] Enhanced support for matchers taking Regex arguments 2020-07-02 14:52:25 +01:00
Registry.h [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
ReverseIteration.h
RISCVAttributeParser.h RISCVAttributeParser.h - remove unnecessary ScopedPrinter.h include. NFC. 2020-05-11 22:11:21 +01:00
RISCVAttributes.h [RISCV] ELF attribute section for RISC-V. 2020-03-31 16:16:19 +08:00
RISCVTargetParser.def [RISCV] Fix -Wbraced-scalar-init after D89025 2020-10-15 23:29:11 -07:00
RWMutex.h [RWMutex] Simplify availability check 2019-08-16 21:25:40 +00:00
SaveAndRestore.h
ScaledNumber.h Make some static class members constexpr 2020-04-22 12:25:01 +02:00
ScopedPrinter.h [Support] Use ListSeparator (NFC) 2021-02-15 14:46:09 -08:00
SHA1.h SHA1.h - remove unnecessary ArrayRef.h/StringRef.h includes. NFC. 2020-04-21 15:12:17 +01:00
SHA256.h [llvm] Fix header guards (NFC) 2021-02-16 23:23:07 -08:00
Signals.h [Support] On Unix, let the CrashRecoveryContext return the signal code 2020-09-24 08:21:43 -04:00
Signposts.h [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
SmallVectorMemoryBuffer.h [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
SMLoc.h
SMTAPI.h
SourceMgr.h [TableGen] New backend to print detailed records. 2020-10-02 10:22:13 -04:00
SpecialCaseList.h [Support/Utils] As part of using inclusive language within the 2020-06-20 00:15:50 -07:00
StringSaver.h Temporarily Revert "[Support] Make UniqueStringSaver wrap a StringSet" 2020-05-14 19:18:20 -07:00
SuffixTree.h Make LLVM build in C++20 mode 2020-12-17 10:44:10 +00:00
SwapByteOrder.h [Support] Make Support/SwapByteOrder.h compile on Fuchsia 2020-10-29 10:49:06 -07:00
SymbolRemappingReader.h SymbolRemappingReader.h - pass Twine by reference not value. NFCI. 2020-07-25 12:48:14 +01:00
SystemUtils.h [opt] Remove obsolete --quiet option 2020-07-08 13:21:20 -07:00
TargetOpcodes.def [GlobalISel] Add G_ASSERT_SEXT 2021-02-17 13:10:34 -08:00
TargetParser.h [clang][AMDGPU] rename sram-ecc as sramecc 2020-12-07 18:05:47 -05:00
TargetRegistry.h [SystemZ/ZOS] Add binary format goff and operating system zos to the triple 2020-08-11 05:26:26 -04:00
TargetSelect.h
TarWriter.h [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
TaskQueue.h [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
thread.h
Threading.h Add optimal thread strategy 2020-09-23 19:44:22 +03:00
ThreadLocal.h
ThreadPool.h [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
TimeProfiler.h [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
Timer.h [Timer] On macOS count number of executed instructions 2021-02-11 17:26:37 +01:00
ToolOutputFile.h [mlir] Enable passing crash reproducer stream factory method 2021-01-21 20:03:15 -08:00
TrailingObjects.h Revert "ADT: Migrate users of AlignedCharArrayUnion to std::aligned_union_t, NFC" 2020-12-14 17:04:06 -08:00
TrigramIndex.h [Support] TrigramIndex::insert - pass std::String argument by const reference. NFCI. 2021-01-23 11:04:00 +00:00
type_traits.h Revert "Switch to std::is_trivially_move_constructible and std::is_trivially_copy_constructible" 2020-12-03 19:58:06 +00:00
TypeName.h
TypeSize.h [NFC][Analysis] Change struct VecDesc to use ElementCount 2021-02-12 11:07:58 +00:00
Unicode.h
UnicodeCharRanges.h Replace llvm::MutexGuard/UniqueLock with their standard equivalents 2019-08-07 10:57:25 +00:00
Valgrind.h
VersionTuple.h [clang] Include missing LangOpts in getModuleHash. 2020-07-07 17:13:23 -06:00
VirtualFileSystem.h [VFS] Fix Wreturn-type gcc warning (NFC) 2021-02-03 10:22:30 +08:00
Watchdog.h
Win64EH.h [AArch64] Add asm directives for the remaining SEH unwind codes 2020-09-03 11:12:01 +03:00
WindowsError.h
WithColor.h [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
X86DisassemblerDecoderCommon.h [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
X86TargetParser.def [X86] Autodetect znver3 2020-12-05 19:08:20 +01:00
X86TargetParser.h [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
xxhash.h
YAMLParser.h [YAML] Support extended spellings when parsing bools. 2020-12-12 12:50:34 +00:00
YAMLTraits.h [YAML I/O] Fix bug in emission of empty sequence 2021-01-25 13:35:36 -08:00