1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 12:43:36 +01:00
llvm-mirror/include/llvm/Support
Russell Gallop 93865dcd72 [Support] Extend TimeProfiler to support multiple threads
This makes TimeTraceProfilerInstance thread local. Added
timeTraceProfilerFinishThread() which moves the thread local instance to
a global vector of instances. timeTraceProfilerWrite() then writes
recorded data from all instances.

Threads are identified based on their thread ids. Totals are reported
with artificial thread ids higher than the real ones.

Replaced raw pointer for TimeTraceProfilerInstance with unique_ptr.

Differential Revision: https://reviews.llvm.org/D71059
2019-12-12 12:01:44 +00:00
..
Solaris/sys Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AArch64TargetParser.def [clang][llvm] Obsolete Exynos M1 and M2 2019-10-30 15:02:59 -05:00
AArch64TargetParser.h Implement target(branch-protection) attribute for AArch64 2019-11-15 15:40:46 +00:00
Alignment.h Try to fix the assert in Alignment::alignAddr to work on 32-bit 2019-10-17 09:01:39 +00:00
AlignOf.h [NFC] use C++11 in AlignOf.h, remove AlignedCharArray 2019-07-30 04:03:33 +00:00
Allocator.h [Alignment][NFC] Move and type functions from MathExtras to Alignment 2019-10-14 13:14:34 +00:00
AMDGPUMetadata.h [AMDGPU] add support for hostcall buffer pointer as hidden kernel argument 2019-11-20 15:53:55 +05:30
AMDHSAKernelDescriptor.h [AMDGPU] gfx1010 wave32 metadata 2019-06-17 16:48:56 +00:00
ARMAttributeParser.h [ARM] add target arch definitions for 8.1-M and MVE 2019-05-30 12:57:04 +00:00
ARMBuildAttributes.h [ARM] add target arch definitions for 8.1-M and MVE 2019-05-30 12:57:04 +00:00
ARMEHABI.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ARMTargetParser.def [clang][llvm] Obsolete Exynos M1 and M2 2019-10-30 15:02:59 -05:00
ARMTargetParser.h [AArch64][AsmParser] Remove SVE and SVE2 from ARMTargetParser 2019-07-30 07:47:48 +00:00
ARMWinEH.h [AArch64] [Windows] Fix llvm-readobj -unwind output with many epilogs. 2019-02-28 20:33:22 +00:00
ArrayRecycler.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Atomic.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AtomicOrdering.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Automaton.h [Automaton] Make Automaton thread-safe 2019-11-05 22:57:44 +00:00
BinaryByteStream.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
BinaryItemStream.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
BinaryStream.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
BinaryStreamArray.h Reland 'Fixed -Wdeprecated-copy warnings. NFCI.' 2019-11-23 23:09:39 +01:00
BinaryStreamError.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
BinaryStreamReader.h BinaryStream - fix static analyzer warnings. NFCI. 2019-11-08 13:20:24 +00:00
BinaryStreamRef.h BinaryStream - fix static analyzer warnings. NFCI. 2019-11-08 13:20:24 +00:00
BinaryStreamWriter.h [Support] Add LEB128 support to BinaryStreamReader/Writer. 2019-04-17 15:38:27 +00:00
BlockFrequency.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
BranchProbability.h [PPC] Correctly adjust branch probability in PPCReduceCRLogicals 2019-05-31 16:11:17 +00:00
BuryPointer.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CachePruning.h Revert "Forward declare Optional<T> in STLExtras.h" 2019-11-13 16:36:21 -08:00
Capacity.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Casting.h [llvm] Add isa_and_nonnull 2019-04-05 13:59:24 +00:00
CBindingWrapping.h Fix misspelled filenames in file headers 2019-02-07 14:38:25 +00:00
CFGUpdate.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CheckedArithmetic.h [InterleavedAccessAnalysis] Fix integer overflow in insertMember. 2019-03-07 17:50:16 +00:00
Chrono.h [Chrono] Remove ATTRIBUTE_ALWAYS inline from Chrono.h. 2019-01-22 22:49:19 +00:00
circular_raw_ostream.h [circular_raw_ostream] Delegate is_displayed to contained stream 2019-08-17 14:20:41 +00:00
CMakeLists.txt [CMake] Unify scripts for generating VCS headers 2019-02-06 03:51:00 +00:00
CodeGen.h Move CodeGenFileType enum to Support/CodeGen.h 2019-11-13 16:39:34 -08:00
CodeGenCoverage.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
COM.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CommandLine.h [CommandLine] Add missing Callbacks 2019-12-09 11:37:34 +00:00
Compiler.h Reinstate MSan suppression of PR24578. 2019-11-22 11:25:24 -08:00
Compression.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ConvertUTF.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CrashRecoveryContext.h CrashRecoveryContextCleanup - fix uninitialized variable warnings. NFCI. 2019-11-08 16:26:20 +00:00
CRC.h Unify the two CRC implementations 2019-10-09 09:06:30 +00:00
DataExtractor.h [Support] Add a DataExtractor constructor that takes ArrayRef<uint8_t> 2019-09-21 15:05:03 +00:00
DataTypes.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Debug.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DebugCounter.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DJB.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DOTGraphTraits.h Fix misspelled filenames in file headers 2019-02-07 14:38:25 +00:00
DynamicLibrary.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Endian.h [NFC] Remove uses of LLVM_ALIGNAS 2019-07-30 16:31:06 +00:00
EndianStream.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Errc.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Errno.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Error.h [Support][Error] Unfriend FileError. It is not special. 2019-11-20 15:08:37 -08:00
ErrorHandling.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ErrorOr.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
FileCheck.h [FileCheck] Fixed -Wdeprecated-copy warning. NFCI. 2019-11-23 19:28:28 +01:00
FileCollector.h [FileCollector] Ignore empty paths. 2019-11-20 10:57:44 -08:00
FileOutputBuffer.h [LLD][ELF] Support --[no-]mmap-output-file with F_no_mmap 2019-10-29 15:49:08 -07:00
FileSystem.h Fix uninitialized variable warnings in directory_entry default constructor. NFCI 2019-10-04 12:45:42 +00: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 Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
FormatCommon.h Fix misspelled filenames in file headers 2019-02-07 14:38:25 +00:00
FormatProviders.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
FormattedStream.h Revert r367649: Improve raw_ostream so that you can "write" colors using operator<< 2019-08-02 07:22:34 +00:00
FormatVariadic.h ReplacementItem - fix uninitialized variable warning. NFCI. 2019-11-08 14:46:22 +00:00
FormatVariadicDetails.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
GenericDomTree.h [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
GenericDomTreeConstruction.h [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
GenericIteratedDominanceFrontier.h Minor cleanup. 2019-07-12 16:13:29 +00:00
GlobPattern.h Reapply r375051: [support] GlobPattern: add support for \ and [!...], and allow ] in more places 2019-10-17 18:09:05 +00:00
GraphWriter.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Host.h Move endian constant from Host.h to SwapByteOrder.h, prune include 2019-10-19 00:48:11 +00:00
InitLLVM.h [Signal] Allow llvm clients to opt into one-shot SIGPIPE handling 2019-11-18 10:27:27 -08:00
ItaniumManglingCanonicalizer.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
JSON.h [NFC] Correct the example in the comments of JSON.h to avoid mislead 2019-12-11 10:03:34 +00:00
KnownBits.h [NFC][KnownBits] Add getMinValue() / getMaxValue() methods 2019-12-03 20:04:51 +03:00
LEB128.h Fix some undefined behavior (excessive shift of signed value) in r364253 detected by ubsan 2019-06-26 19:18:50 +00:00
LICENSE.TXT
LineIterator.h Fix line_iterator uninitialized variable warnings. NFCI. 2019-11-03 11:20:12 +00:00
Locale.h
LockFileManager.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
LowLevelTypeImpl.h [GlobalISel]: Allow targets to override how to widen constants during legalization 2019-12-03 10:41:10 -08:00
MachineValueType.h [SVE][CodeGen] Scalable vector MVT size queries 2019-11-18 12:30:59 +00:00
ManagedStatic.h Try once more to ensure constant initializaton of ManagedStatics 2019-04-24 20:13:23 +00:00
MathExtras.h [Alignment][NFC] Move and type functions from MathExtras to Alignment 2019-10-14 13:14:34 +00:00
MD5.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
MemAlloc.h Improve zero-size allocation with safe_malloc, etc. 2019-06-25 15:08:28 +00:00
Memory.h [Support] Renamed member 'Size' to 'AllocatedSize' in MemoryBlock and OwningMemoryBlock. 2019-05-20 20:53:05 +00:00
MemoryBuffer.h [Support] Move llvm::MemoryBuffer to sys::fs::file_t 2019-07-10 00:34:13 +00:00
MipsABIFlags.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
MSVCErrorWorkarounds.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Mutex.h [Support] Base SmartMutex on std::recursive_mutex 2019-08-07 11:59:57 +00:00
NativeFormatting.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
OnDiskHashTable.h [Alignment][NFC] Remove unneeded llvm:: scoping on Align types 2019-09-27 12:54:21 +00:00
Parallel.h win: Move Parallel.h off concrt to cross-platform code 2019-10-10 18:57:23 +00:00
Path.h Initial implementation of -fmacro-prefix-map and -ffile-prefix-map 2019-11-26 15:17:49 -08:00
PluginLoader.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
PointerLikeTypeTraits.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
PrettyStackTrace.h Support for dumping current PrettyStackTrace on SIGINFO (Ctrl-T) 2019-07-12 16:05:09 +00:00
Printable.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Process.h [Support] Add error handling to sys::Process::getPageSize(). 2019-05-08 02:11:07 +00:00
Program.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
RandomNumberGenerator.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
raw_os_ostream.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
raw_ostream.h Implement LWG#1203 for raw_ostream. 2019-12-09 14:00:53 -08:00
raw_sha1_ostream.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Recycler.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
RecyclingAllocator.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Regex.h Regex: Make "match" and "sub" const member functions 2019-09-24 14:42:36 +00:00
Registry.h [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
ReverseIteration.h [ADT] Enable reverse iteration for DenseMap 2017-08-24 23:02:48 +00:00
RWMutex.h [RWMutex] Simplify availability check 2019-08-16 21:25:40 +00:00
SaveAndRestore.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ScaledNumber.h Replace llvm::isPodLike<...> by llvm::is_trivially_copyable<...> 2019-01-20 21:19:56 +00:00
ScopedPrinter.h Fix missing C++ mode comments 2019-02-21 15:48:10 +00:00
SHA1.h Move endian constant from Host.h to SwapByteOrder.h, prune include 2019-10-19 00:48:11 +00:00
Signals.h [Signal] Allow llvm clients to opt into one-shot SIGPIPE handling 2019-11-18 10:27:27 -08:00
Signposts.h Annotate timeline in Instruments with passes and other timed regions. 2019-02-19 18:18:31 +00:00
SmallVectorMemoryBuffer.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SMLoc.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SMTAPI.h New methods to check for under-/overflow in the SMT API 2019-03-27 16:54:12 +00:00
SourceMgr.h [Remarks] Simplify and refactor the RemarkParser interface 2019-07-16 15:25:05 +00:00
SpecialCaseList.h Reland 9f3fdb0d7fab: [Driver] Use VFS to check if sanitizer blacklists exist 2019-11-21 11:56:09 +01:00
StringPool.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
StringSaver.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SwapByteOrder.h Move endian constant from Host.h to SwapByteOrder.h, prune include 2019-10-19 00:48:11 +00:00
SymbolRemappingReader.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SystemUtils.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
TargetOpcodes.def [globalisel] Rename G_GEP to G_PTR_ADD 2019-11-05 10:31:17 -08:00
TargetParser.h [AMDGPU] gfx908 target 2019-07-09 18:10:06 +00:00
TargetRegistry.h createMCObjectStreamer - fix uninitialized variable warning. NFCI. 2019-11-04 17:24:34 +00:00
TargetSelect.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
TarWriter.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
TaskQueue.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
thread.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Threading.h Revert "Forward declare Optional<T> in STLExtras.h" 2019-11-13 16:36:21 -08:00
ThreadLocal.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ThreadPool.h [Orc] Roll back ThreadPool to std::function 2019-09-13 11:59:51 +00:00
TimeProfiler.h [Support] Extend TimeProfiler to support multiple threads 2019-12-12 12:01:44 +00:00
Timer.h Reland 'Fixed -Wdeprecated-copy warnings. NFCI.' 2019-11-23 23:09:39 +01:00
ToolOutputFile.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
TrailingObjects.h [Alignment][NFC] Move and type functions from MathExtras to Alignment 2019-10-14 13:14:34 +00:00
TrigramIndex.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
type_traits.h Use std::is_final directly 2019-08-14 20:13:49 +00:00
TypeName.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
TypeSize.h [SVE][CodeGen] Scalable vector MVT size queries 2019-11-18 12:30:59 +00:00
Unicode.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
UnicodeCharRanges.h Replace llvm::MutexGuard/UniqueLock with their standard equivalents 2019-08-07 10:57:25 +00:00
Valgrind.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
VersionTuple.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
VirtualFileSystem.h Improve VFS compatibility on Windows 2019-11-14 08:48:47 -08:00
Watchdog.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Win64EH.h [Windows] Use information from the PE32 exceptions directory to construct unwind plans 2019-10-11 09:03:29 +00:00
WindowsError.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
WithColor.h Revert r367649: Improve raw_ostream so that you can "write" colors using operator<< 2019-08-02 07:22:34 +00:00
X86DisassemblerDecoderCommon.h [X86Disassembler] Unify the EVEX and VEX code in emitContextTable. Merge the ATTR_VEXL/ATTR_EVEXL bits. NFCI 2019-06-13 22:15:25 +00:00
X86TargetParser.def [X86] Add support for avx512bf16 for __builtin_cpu_supports and compiler-rt's cpu indicator. 2019-09-04 16:01:43 +00:00
xxhash.h Make ICF log output order deterministic. 2018-07-31 18:04:58 +00:00
YAMLParser.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
YAMLTraits.h YAMLTraits.h - fix uninitialized variable warning. NFCI. 2019-11-08 15:09:54 +00:00