1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/include/llvm
Johannes Doerfert 1e74d94d7c [Attributor] Reorganize AAHeapToStack
In order to simplify future extensions, e.g., the merge of
AAHeapToShared in to AAHeapToStack, we reorganize AAHeapToStack and the
state we keep for each malloc-like call. The result is also less
confusing as we only track malloc-like calls, not all calls. Further, we
only perform the updates necessary for a malloc-like to argue it can go
to the stack, e.g., we won't check all uses if we moved on to the
"must-be-freed" argument.

This patch also uses Attributor helps to simplify the allocated size,
alignment, and the potentially freed objects.

Overall, this is mostly a reorganization and only the use of the
optimistic helpers should change (=improve) the capabilities a bit.

Differential Revision: https://reviews.llvm.org/D104993
2021-07-10 12:32:50 -05:00
..
ADT Revert "PR51018: Disallow explicit construction of StringRef from SmallString due to ambiguity in C++23" 2021-07-08 13:46:36 -07:00
Analysis [FPEnv][InstSimplify] Constrained FP support for NaN 2021-07-09 11:26:28 -04:00
AsmParser [AttrBuilder] Make handling of type attributes more generic (NFCI) 2021-07-09 17:48:09 +02:00
BinaryFormat [AIX][XCOFF] Use bit order of has_vec and longtbtable bits as defined in AIX header debug.h 2021-07-09 11:06:46 -04:00
Bitcode [OpaquePtr] Create new bitcode encoding for atomicrmw 2021-05-25 16:30:34 -07:00
Bitstream BitstreamWriter.h - add missing implicit MathExtras.h header dependency. NFCI. 2021-06-05 19:20:14 +01:00
CodeGen [AArch64][GlobalISel] Implement moreElements legalization for G_SHUFFLE_VECTOR. 2021-07-10 00:25:26 -07:00
Config Move the definition of LLVM_SUPPORT_XCODE_SIGNPOSTS into llvm-config.h 2021-06-16 14:40:37 -07:00
DebugInfo llvm-symbolizer: Fix "start file" to work with Split DWARF 2021-07-09 18:31:32 -07:00
Demangle [Clang] Introduce Swift async calling convention. 2021-07-09 11:50:10 -07:00
DWARFLinker
ExecutionEngine [ORC] Flesh out ExecutorAddress, rename CommonOrcRuntimeTypes header. 2021-07-10 13:53:52 +10:00
FileCheck
Frontend [OpenMP] Enable HeapToStack conversion in OpenMPOpt for new RTL globalization calls 2021-06-22 13:23:05 -04:00
FuzzMutate
InterfaceStub
IR [WebAssembly] Custom combines for f64x2.promote_low_f32x4 2021-07-09 18:59:29 -07:00
IRReader
LineEditor
Linker
LTO [LTO] Support new PM in ThinLTOCodeGenerator. 2021-06-09 10:05:14 +01:00
MC [WebAssembly] Added initial type checker to MC Assembler 2021-07-09 14:07:25 -07:00
MCA [MCA] Anchoring the vtable of CustomBehaviour 2021-06-16 12:43:58 -07:00
Object [llvm-readobj][XCOFF] Add support for printing the String Table. 2021-07-05 04:16:58 +00:00
ObjectYAML [LLD][LLVM] CG Graph profile using relocations 2021-06-24 09:09:33 -07:00
Option [OptTable] Rename PrintHelp to printHelp 2021-06-24 14:47:03 -07:00
Passes [NFC][PassBuilder] addVectorPasses(): clarify that 'IsLTO' is actually 'IsFullLTO' 2021-07-01 10:09:24 +03:00
ProfileData [llvm-cov] Enforce alignment of function records 2021-06-25 10:56:06 +02:00
Remarks
Support [LV] NFCI: Do cost comparison on InstructionCost directly. 2021-07-10 11:57:16 +01:00
TableGen
Target [NFC] Fix a few whitespace issues and typos. 2021-07-04 11:49:58 +01:00
Testing/Support added some example code for llvm::Expected<T> 2021-07-01 09:57:20 +00:00
TextAPI [TextAPI] add symbol name prefixes to central location, NFC 2021-06-23 11:21:00 -07:00
ToolDrivers
Transforms [Attributor] Reorganize AAHeapToStack 2021-07-10 12:32:50 -05:00
WindowsManifest
WindowsResource
XRay
CMakeLists.txt
InitializePasses.h Function Specialization Pass 2021-06-11 09:11:29 +01:00
LinkAllIR.h
LinkAllPasses.h Function Specialization Pass 2021-06-11 09:11:29 +01:00
module.extern.modulemap
module.install.modulemap
module.modulemap
module.modulemap.build
Pass.h
PassAnalysisSupport.h
PassInfo.h
PassRegistry.h
PassSupport.h