1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00
llvm-mirror/include/llvm
Nikita Popov c66ba11a1e Reapply [IR] Don't accept nullptr as GEP element type
Reapply after fixing another occurrence in lldb that was relying
on this in the preceding commit.

-----

GetElementPtrInst::Create() (and IRBuilder methods based on it)
currently accept nullptr as the element type, and will fetch the
element type from the pointer in that case. Remove this fallback,
as it is incompatible with opaque pointers. I've removed a handful
of leftover calls using this behavior as a preliminary step.

Out-of-tree code affected by this change should either pass a proper
type, or can temporarily explicitly call getPointerElementType(),
if the newly added assertion is encountered.

Differential Revision: https://reviews.llvm.org/D105653
2021-07-09 21:14:41 +02: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 [Debug-info][InstrRef] Avoid an unnecessary map ordering 2021-07-09 15:43:13 +01:00
Config Move the definition of LLVM_SUPPORT_XCODE_SIGNPOSTS into llvm-config.h 2021-06-16 14:40:37 -07:00
DebugInfo [COFF] [CodeView] Add a few new enum values 2021-07-07 22:00:18 +03:00
Demangle [Clang] Introduce Swift async calling convention. 2021-07-09 11:50:10 -07:00
DWARFLinker [dsymutil] Add flag to force a static variable to keep its enclosing function 2021-04-28 11:33:04 -07:00
ExecutionEngine [ORC] Introduce ExecutorAddress type, fix broken LLDB bot. 2021-07-08 16:31:59 +10:00
FileCheck [FileCheck] Fix numeric error propagation 2021-03-17 19:25:41 -04:00
Frontend [OpenMP] Enable HeapToStack conversion in OpenMPOpt for new RTL globalization calls 2021-06-22 13:23:05 -04:00
FuzzMutate [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
InterfaceStub [docs] Fix doxygen comments wrongly attached to the llvm namespace 2021-04-07 01:20:18 +02:00
IR Reapply [IR] Don't accept nullptr as GEP element type 2021-07-09 21:14:41 +02:00
IRReader
LineEditor
Linker
LTO [LTO] Support new PM in ThinLTOCodeGenerator. 2021-06-09 10:05:14 +01:00
MC [AIX] Use AsmParser to do inline asm parsing 2021-07-02 16:12:21 +00: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 [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
Support Recommit: Support: add llvm::thread class that supports specifying stack size. 2021-07-08 16:22:26 +01:00
TableGen [TableGen] Fix two bugs in 'defm' when complex 'assert' is involved. 2021-04-30 11:31:06 -04:00
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][FIX] Replace uses first, then values 2021-07-06 22:43:51 -05:00
WindowsManifest [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
WindowsResource
XRay [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
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 Revert "[build][modules] Fix ObjCARCUtil.h modularization" 2021-03-09 09:36:47 -08:00
module.modulemap.build
Pass.h
PassAnalysisSupport.h
PassInfo.h
PassRegistry.h
PassSupport.h