1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/lib/Transforms/IPO
Sami Tolvanen 8a19c7f52b ThinLTO: Fix inline assembly references to static functions with CFI
Create an internal alias with the original name for static functions
that are renamed in promoteInternals to avoid breaking inline
assembly references to them.

Relands 700d07f8ce6f2879610fd6b6968b05c6f17bb915 with -msvc targets
fixed.

Link: https://github.com/ClangBuiltLinux/linux/issues/1354

Reviewed By: nickdesaulniers, pcc

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

(cherry picked from commit 7ce1c4da7726577986535cb7766d782f325145fe)
2021-08-24 18:49:13 -07:00
..
AlwaysInliner.cpp
Annotation2Metadata.cpp
ArgumentPromotion.cpp [OpaquePtr] Use byval type more 2021-07-13 09:34:34 -07:00
Attributor.cpp [Attributor][FIX] Guard constant casts with type size checks 2021-08-16 11:36:30 -07:00
AttributorAttributes.cpp [Attributor][NFC] Try to make the windows build bots happy 2021-08-11 09:15:37 -07:00
BarrierNoopPass.cpp
BlockExtractor.cpp
CalledValuePropagation.cpp
CMakeLists.txt
ConstantMerge.cpp
CrossDSOCFI.cpp
DeadArgumentElimination.cpp [Attributes] Clean up handling of UB implying attributes (NFC) 2021-07-25 18:21:13 +02:00
ElimAvailExtern.cpp
ExtractGV.cpp
ForceFunctionAttrs.cpp [Attributes] Determine attribute properties from TableGen data 2021-07-12 22:13:38 +02:00
FunctionAttrs.cpp
FunctionImport.cpp
FunctionSpecialization.cpp [FuncSpec] Add an option to specializing literal constant 2021-06-30 11:26:44 +08:00
GlobalDCE.cpp
GlobalOpt.cpp This patch extends the OptimizeGlobalAddressOfMalloc to handle the null check of global pointer variables. It is disabled with https://reviews.llvm.org/rGb7cd291c1542aee12c9e9fde6c411314a163a8ea. This PR is to reenable it while fixing the original problem reported. The fix is to set the store value correctly when creating store for the new created global init bool symbol. 2021-07-20 12:27:26 -04:00
GlobalSplit.cpp
HotColdSplitting.cpp
InferFunctionAttrs.cpp
Inliner.cpp [NewPM][Inliner] Check if deleted function is in current SCC 2021-07-21 08:47:45 -07:00
InlineSimple.cpp
Internalize.cpp [IR] Rename comdat noduplicates to comdat nodeduplicate 2021-07-20 12:47:10 -07:00
IPO.cpp
IROutliner.cpp
LoopExtractor.cpp
LowerTypeTests.cpp
MergeFunctions.cpp [OpaquePtr] Use GlobalValue::getValueType() more 2021-07-13 09:34:34 -07:00
OpenMPOpt.cpp [Attributor] Change function internalization to not replace uses in internalized callers 2021-08-04 16:35:01 -07:00
PartialInlining.cpp
PassManagerBuilder.cpp Add jump-threading optimization for deterministic finite automata 2021-07-27 14:34:04 -04:00
PruneEH.cpp [Local] Do not introduce a new llvm.trap before unreachable 2021-07-26 23:33:36 -05:00
SampleContextTracker.cpp [CSSPGO] Fix a typo in SampleContextTracker 2021-07-22 16:44:50 -07:00
SampleProfile.cpp [CSSPGO] Tweak ICP threshold in top-down inliner 2021-07-26 21:49:20 -07:00
SampleProfileProbe.cpp
SCCP.cpp
StripDeadPrototypes.cpp
StripSymbols.cpp
SyntheticCountsPropagation.cpp
ThinLTOBitcodeWriter.cpp ThinLTO: Fix inline assembly references to static functions with CFI 2021-08-24 18:49:13 -07:00
WholeProgramDevirt.cpp [WPD] Don't optimize calls more than once 2021-06-24 13:28:09 -07:00