1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00
llvm-mirror/lib
Amy Huang 85900aef27 Extend or truncate __ptr32/__ptr64 pointers when dereferenced.
Summary:
A while ago I implemented the functionality to lower Microsoft __ptr32
and __ptr64 pointers, which are stored as 32-bit and 64-bit pointer
and are extended/truncated to the appropriate pointer size when
dereferenced.
This patch adds an addrspacecast to cast from the __ptr32/__ptr64
pointer to a default address space when dereferencing.

Bug: https://bugs.llvm.org/show_bug.cgi?id=42359

Reviewers: hans, arsenm, RKSimon

Subscribers: wdng, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D81517
2020-06-26 13:33:54 -07:00
..
Analysis [Alignment][NFC] Migrate TTI::isLegalToVectorize{Load,Store}Chain to Align 2020-06-26 14:14:27 +00:00
AsmParser [SVE] Remove calls to VectorType::getNumElements from AsmParser 2020-06-23 14:31:49 -07:00
BinaryFormat [WebAssembly] Adding 64-bit version of R_WASM_MEMORY_ADDR_* relocs 2020-06-15 10:07:42 -07:00
Bitcode Remove references to the 4.0 release as a major breaking (NFC) 2020-06-25 23:49:07 +00:00
Bitstream [Bitcode] reserve in front of push_back loops. NFCI. 2020-05-01 15:52:53 +02:00
CodeGen [DAGCombiner] rename variables for readability; NFC 2020-06-26 14:22:11 -04:00
DebugInfo [DebugInfo/DWARF] - Do not hang when CFI are truncated. 2020-06-23 14:39:24 +03:00
Demangle Give microsoftDemangle() an outparam for how many input bytes were consumed. 2020-05-20 16:17:31 -04:00
DWARFLinker [Clang] Restore replace_path_prefix instead of startswith 2020-05-13 13:49:14 -04:00
ExecutionEngine [JITLink] Display host -> target address mapping in debugging output. 2020-06-19 10:05:02 -07:00
Extensions Update compiler extension integration into the build system 2020-04-24 09:40:14 +02:00
Frontend [openmp] Base of tablegen generated OpenMP common declaration 2020-06-23 10:32:32 -04:00
Fuzzer
FuzzMutate [SVE] Remove calls to VectorType::getNumElements from FuzzMutate 2020-06-23 11:02:20 -07:00
IR Improve LegacyPassManager API to correctly report modified status 2020-06-26 14:21:02 +02:00
IRReader Infer alignment of unmarked loads in IR/bitcode parsing. 2020-05-14 13:03:50 -07:00
LineEditor
Linker [SVE] Eliminate calls to default-false VectorType::get() from Linker 2020-05-29 17:43:15 -07:00
LTO Remove GlobalValue::getAlignment(). 2020-06-23 19:13:42 -07:00
MC Revert rGf0bab7875e78e01c149d12302dcc4b6d4c43e25c - "Triple.h - reduce Twine.h include to forward declarations. NFC." 2020-06-26 14:46:40 +01:00
MCA [MCA][InstrBuilder] Correctly mark reserved resources in initializeUsedResources. 2020-05-10 19:25:54 +01:00
Object Remove GlobalValue::getAlignment(). 2020-06-23 19:13:42 -07:00
ObjectYAML [DWARFYAML][debug_info] Teach yaml2obj emit correct DWARF64 unit header. 2020-06-26 19:25:26 +08:00
Option
Passes [NewPM][LoopUnroll] Rename unroll* to loop-unroll* 2020-06-26 09:28:32 -07:00
ProfileData Revert "[PGO] Extend the value profile buckets for mem op sizes." 2020-06-25 11:13:49 -07:00
Remarks YAMLRemarkParser.cpp - remove duplicate RemarkParser.h include. NFC. 2020-06-08 13:59:05 +01:00
Support Revert "[clang driver] Move default module cache from system temporary directory" 2020-06-26 13:25:45 -04:00
TableGen Fix ubsan error in tblgen with signed left shift 2020-06-16 11:15:09 -07:00
Target Extend or truncate __ptr32/__ptr64 pointers when dereferenced. 2020-06-26 13:33:54 -07:00
Testing
TextAPI [TextAPI/MachO] Fix style issues. NFC 2020-06-24 14:43:45 -07:00
ToolDrivers [COFF] Use Expected in COFFObjectFile creation 2020-05-08 14:22:28 -07:00
Transforms [InstCombine] Drop debug loc in TryToSinkInstruction 2020-06-26 13:23:24 -07:00
WindowsManifest
XRay [xray] Add llvm-xray extract support for 32 bit ARM 2020-05-28 18:41:11 -04:00
CMakeLists.txt Update compiler extension integration into the build system 2020-04-24 09:40:14 +02:00
LLVMBuild.txt Update compiler extension integration into the build system 2020-04-24 09:40:14 +02:00