1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00
llvm-mirror/include/llvm
Petr Hosek 0778936d8e [InstrProfiling] Use !associated metadata for counters, data and values
C identifier name input sections such as __llvm_prf_* are GC roots so
they cannot be discarded. In LLD, the SHF_LINK_ORDER flag overrides the
C identifier name semantics.

The !associated metadata may be attached to a global object declaration
with a single argument that references another global object, and it
gets lowered to SHF_LINK_ORDER flag. When a function symbol is discarded
by the linker, setting up !associated metadata allows linker to discard
counters, data and values associated with that function symbol.

Note that !associated metadata is only supported by ELF, it does not have
any effect on non-ELF targets.

Differential Revision: https://reviews.llvm.org/D76802
2021-02-02 23:19:51 -08:00
..
ADT Revert rGce587529ad8b5 - "[APFloat] multiplySignificand - pass IEEEFloat as const reference. NFCI." 2021-02-01 16:15:23 +00:00
Analysis [ConstraintElimination] Add nicer way to dump constraints (NFC). 2021-02-02 16:36:45 +00:00
AsmParser
BinaryFormat [lld-macho][NFC] refactor relocation handling 2021-02-02 10:54:53 -07:00
Bitcode Support for instrumenting only selected files or functions 2021-01-26 17:13:34 -08:00
Bitstream [llvm] Use append_range (NFC) 2021-01-29 23:23:34 -08:00
CodeGen [CodeGen] Drop unnecessary const from return types (NFC) 2021-02-02 22:52:45 -08:00
Config Revert "Use std::is_trivially_copyable", breaks MSVC build 2020-12-02 14:30:46 -08:00
DebugInfo [dsymutil][DWARFLinker][NFC] make AddressManager not depending on the order of checks for relocations. 2021-01-31 16:34:10 +03:00
Demangle Itanium Mangling: Mangle __alignof__ differently than alignof. 2021-01-27 16:46:51 -05:00
DWARFLinker [dsymutil][DWARFLinker][NFC] make AddressManager not depending on the order of checks for relocations. 2021-01-31 16:34:10 +03:00
ExecutionEngine [Orc] Remove unused header from TPC server 2021-01-28 14:16:49 +01:00
FileCheck [FileCheck] Add a literal check directive modifier 2020-12-18 17:26:15 -08:00
Frontend [flang][openacc] Allow multiple wait clauses 2021-01-27 13:18:46 -05:00
FuzzMutate [FuzzMutate] Add mutator to modify instruction flags. 2021-01-23 19:05:20 +00:00
InterfaceStub [llvm-elfabi] Add flag to preserve timestamp when output is the same 2020-12-29 20:27:06 -08:00
IR [RISCV] Add new vector instructions in v0.10. 2021-02-03 13:28:58 +08:00
IRReader
LineEditor
Linker
LTO [LTOCodeGenerator] Use lto::Config for options (NFC). 2021-01-31 19:08:07 +00:00
MC [llvm] Forward-declare formatted_raw_ostream (NFC) 2021-01-28 22:21:13 -08:00
MCA [llvm] Drop unnecessary const from return types (NFC) 2021-01-31 10:23:43 -08:00
Object [llvm] Drop unnecessary const from return types (NFC) 2021-01-31 10:23:43 -08:00
ObjectYAML [obj2yaml, yaml2obj] Use Hex64 for BBAddressMap fields. 2021-02-01 15:37:30 -08:00
Option [clang][cli] Accept strings instead of options in ImpliedByAnyOf 2021-01-26 09:30:36 +01:00
Passes [CSSPGO] Introducing distribution factor for pseudo probe. 2021-02-02 11:55:01 -08:00
ProfileData [CSSPGO] Introducing distribution factor for pseudo probe. 2021-02-02 11:55:01 -08:00
Remarks [Remarks][1/2] Expand remarks hotness threshold option support in more tools 2020-11-30 21:55:49 -08:00
Support [VFS] Fix Wreturn-type gcc warning (NFC) 2021-02-03 10:22:30 +08:00
TableGen [TableGen] Fix anonymous record self-reference in foreach and multiclass 2021-02-01 10:59:07 -05:00
Target Support a list of CostPerUse values 2021-01-29 10:14:52 +05:30
Testing/Support [llvm] [unittest] Allow getting a C string from the TempDir helper class 2020-09-09 01:53:15 +03:00
TextAPI/MachO [MachO] Add skeletal support for DriverKit platform 2020-08-14 12:36:43 -07:00
ToolDrivers
Transforms [InstrProfiling] Use !associated metadata for counters, data and values 2021-02-02 23:19:51 -08:00
WindowsManifest
WindowsResource
XRay
CMakeLists.txt
InitializePasses.h [NFC][CodeGen] Split DwarfEHPrepare pass into an actual transform and an legacy-PM wrapper 2021-01-02 01:01:19 +03:00
LinkAllIR.h
LinkAllPasses.h [ScalarizeMaskedMemIntrin] Add new PM support 2020-12-08 17:15:22 -05:00
module.extern.modulemap
module.install.modulemap
module.modulemap [llvm/Orc] Fix ExecutionEngine module build breakage 2021-01-19 14:39:06 +01:00
module.modulemap.build
Pass.h [NFC] Rename ThinLTOPhase to ThinOrFullLTOPhase and move it from PassBuilder.h 2021-01-13 15:55:40 -08:00
PassAnalysisSupport.h [PM] Avoid duplicates in the Used/Preserved/Required sets 2021-01-20 13:55:18 +01:00
PassInfo.h
PassRegistry.h
PassSupport.h