1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00
llvm-mirror/include/llvm
Wenlei He 733b0981cf [AutoFDO] Make call targets order deterministic for sample profile
Summary:
StringMap is used for storing call target to frequency map for AutoFDO. However the iterating order of StringMap is non-deterministic, which leads to non-determinism in AutoFDO profile output. Now new API getSortedCallTargets and SortCallTargets are added for deterministic ordering and output.

Roundtrip test for text profile and binary profile is added.

Reviewers: wmi, davidxl, danielcdh

Subscribers: hiraditya, mgrang, llvm-commits, twoh

Tags: #llvm

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

llvm-svn: 369440
2019-08-20 20:52:00 +00:00
..
ADT [ADT] Remove llvm::make_unique utility. 2019-08-16 17:19:57 +00:00
Analysis [CaptureTracker] Let subclasses provide dereferenceability information 2019-08-19 21:56:38 +00:00
AsmParser
BinaryFormat [DWARF] Fix DWARFUnit::getDebugInfoSize() for 64-bit DWARF. 2019-08-20 09:50:44 +00:00
Bitcode Reland: [Remarks] Add an LLVM-bitstream-based remark serializer 2019-07-31 00:13:51 +00:00
Bitstream [BitcodeReader] Use tighter upper bound to validate forward references. 2019-07-14 12:35:50 +00:00
CodeGen Fix typo in comment. NFCI. 2019-08-20 17:54:37 +00:00
Config
DebugInfo [DWARF] Fix reading 64-bit DWARF type units. 2019-08-20 12:52:32 +00:00
Demangle Remove support for unsupported MSVC versions 2019-08-02 23:09:01 +00:00
ExecutionEngine [ORC] Make sure we linker-mangle symbol names in the SpeculationLayer. 2019-08-18 21:29:57 +00:00
FuzzMutate
IR Reland "[ARM] push LR before __gnu_mcount_nc" 2019-08-16 23:30:16 +00:00
IRReader
LineEditor
Linker
LTO [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
MC [MC] Delete an overload of MCExpr::evaluateKnownAbsolute and its associated hack 2019-08-20 07:42:04 +00:00
MCA [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
Object [yaml2obj/obj2yaml][MachO] Allow setting custom section data 2019-08-20 08:49:07 +00:00
ObjectYAML [yaml2obj/obj2yaml][MachO] Allow setting custom section data 2019-08-20 08:49:07 +00:00
Option Let unaliased Args track which Alias they were created from, and use that in Arg::getAsString() for diagnostics 2019-07-09 00:34:08 +00:00
Passes [PGO] Add PGO support at -O0 in the experimental new pass manager 2019-08-01 22:36:34 +00:00
ProfileData [AutoFDO] Make call targets order deterministic for sample profile 2019-08-20 20:52:00 +00:00
Remarks Reland: [Remarks] Add an LLVM-bitstream-based remark serializer 2019-07-31 00:13:51 +00:00
Support Regex: Add isValid() with no parameter 2019-08-20 16:05:23 +00:00
TableGen [TableGen] FieldInit: improve assertion message 2019-08-06 17:03:50 +00:00
Target [ARM] Add support for MVE vaddv 2019-08-19 09:38:28 +00:00
Testing/Support
TextAPI [TextAPI] Update reader to be supported by lib/Object 2019-08-16 15:30:48 +00:00
ToolDrivers Share /machine: handling code with llvm-cvtres too 2019-06-12 11:32:43 +00:00
Transforms [Attributor] Create abstract attributes on-demand 2019-08-20 06:15:50 +00:00
WindowsManifest
WindowsResource
XRay Switch LLVM to use 64-bit offsets (2/5) 2019-08-06 10:49:40 +00:00
CMakeLists.txt
InitializePasses.h [CodeGen] Add a pass to do block predication on SSA machine IR. 2019-08-20 15:54:59 +00:00
LinkAllIR.h
LinkAllPasses.h [CodeGen] Generic Hardware Loop Support 2019-06-07 07:35:30 +00:00
module.extern.modulemap
module.install.modulemap
module.modulemap [Attributor][modulemap] Revert r368064 but fix the build 2019-08-06 19:53:19 +00:00
module.modulemap.build
Pass.h
PassAnalysisSupport.h
PassInfo.h
PassRegistry.h
PassSupport.h