1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/lib/IR
Nikita Popov 6203a57d08 [OpaquePtr] Support opaque pointers in intrinsic type check
This adds support for opaque pointers in intrinsic type checks
of IIT kind Pointer and PtrToElt.

This is less straight-forward than it might initially seem, because
we should only accept opaque pointers here in --force-opaque-pointers
mode. Otherwise, there would be more than one valid type signature
for a given intrinsic name.

Differential Revision: https://reviews.llvm.org/D105155
2021-07-01 18:26:41 +02:00
..
AbstractCallSite.cpp
AsmWriter.cpp [OpaquePtr] Support forward references in textual IR 2021-06-29 20:10:31 +02:00
Assumptions.cpp
AttributeImpl.h Normalize interaction with boolean attributes 2021-04-17 08:17:33 +02:00
Attributes.cpp [IR] remove assert since always_inline can appear on CallBase 2021-06-28 13:53:57 -07:00
AutoUpgrade.cpp Intrinsic::getName: require a Module argument 2021-06-14 14:52:29 +02:00
BasicBlock.cpp [IR] Add BasicBlock::isEntryBlock() (NFC) 2021-05-15 12:41:58 +02:00
BuiltinGCs.cpp [GC][NFC] Move GCStrategy from CodeGen to IR 2021-05-13 12:31:59 +07:00
CMakeLists.txt [GC][NFC] Move GCStrategy from CodeGen to IR 2021-05-13 12:31:59 +07:00
Comdat.cpp
ConstantFold.cpp [ConstantFold] Allow propagation of poison for and/or i1 2021-06-24 02:03:09 +09:00
ConstantFold.h
ConstantRange.cpp [ConstantRanges] Use APInt for constant case for urem/srem. 2021-06-30 11:18:20 +01:00
Constants.cpp [Constants] Handle addrspacecast with opaque pointer type 2021-06-23 20:58:08 +02:00
ConstantsContext.h Support unwinding from inline assembly 2021-05-13 19:13:03 +01:00
Core.cpp Intrinsic::getName: require a Module argument 2021-06-14 14:52:29 +02:00
DataLayout.cpp
DebugInfo.cpp Remove redundant comparisons (NFC) 2021-06-02 09:52:45 -07:00
DebugInfoMetadata.cpp [DebugInfo] Enforce implicit constraints on distinct MDNodes 2021-06-28 21:20:04 +00:00
DebugLoc.cpp
DiagnosticHandler.cpp
DiagnosticInfo.cpp Improve the diagnostic of DiagnosticInfoResourceLimit (and warn-stack-size in particular) 2021-06-22 09:55:20 -07:00
DiagnosticPrinter.cpp
DIBuilder.cpp
Dominators.cpp
FPEnv.cpp
Function.cpp [OpaquePtr] Support opaque pointers in intrinsic type check 2021-07-01 18:26:41 +02:00
GCStrategy.cpp [GC][NFC] Move GCStrategy from CodeGen to IR 2021-05-13 12:31:59 +07:00
Globals.cpp [NFC] Use Aliasee to determine Type and AddrSpace in GlobalAlias::create() 2021-05-02 11:50:08 -07:00
GVMaterializer.cpp
InlineAsm.cpp Support unwinding from inline assembly 2021-05-13 19:13:03 +01:00
Instruction.cpp [InstCombine] Relax constraints of uses for exp(X) * exp(Y) -> exp(X + Y) 2021-06-01 08:33:23 -04:00
Instructions.cpp IR: Fix use-list-order round-tripping for br 2021-06-28 12:53:36 -07:00
IntrinsicInst.cpp [VP] Implementation of intrinsic and SDNode definitions for VP load, store, gather, scatter. 2021-07-01 13:34:44 +02:00
IRBuilder.cpp [MemCpyOpt] Support opaque pointers 2021-06-27 15:52:38 +02:00
IRPrintingPasses.cpp
LegacyPassManager.cpp
LLVMContext.cpp [OpaquePtr] Support opaque pointers in intrinsic type check 2021-07-01 18:26:41 +02:00
LLVMContextImpl.cpp [DebugInfo] Enforce implicit constraints on distinct MDNodes 2021-06-28 21:20:04 +00:00
LLVMContextImpl.h [DebugInfo] Enforce implicit constraints on distinct MDNodes 2021-06-28 21:20:04 +00:00
LLVMRemarkStreamer.cpp
Mangler.cpp
MDBuilder.cpp
Metadata.cpp [DebugInfo] Enforce implicit constraints on distinct MDNodes 2021-06-28 21:20:04 +00:00
MetadataImpl.h
Module.cpp [IR] convert warn-stack-size from module flag to fn attr 2021-06-21 15:09:25 -07:00
ModuleSummaryIndex.cpp
Operator.cpp Partial Reapply "[DebugInfo] Use variadic debug values to salvage BinOps and GEP instrs with non-const operands" 2021-06-24 09:46:38 +01:00
OptBisect.cpp Revert "Delay initialization of OptBisect" 2021-06-18 13:16:45 -05:00
Pass.cpp
PassInstrumentation.cpp
PassManager.cpp
PassRegistry.cpp
PassTimingInfo.cpp
PrintPasses.cpp
ProfileSummary.cpp
PseudoProbe.cpp [CSSPGO] Undoing the concept of dangling pseudo probe 2021-06-18 15:14:11 -07:00
ReplaceConstant.cpp [IR] Simplify createReplacementInstr 2021-06-23 10:47:43 +01:00
SafepointIRVerifier.cpp
Statepoint.cpp
StructuralHash.cpp
SymbolTableListTraitsImpl.h
Type.cpp [IR] Add Type::isOpaquePointerTy() helper (NFC) 2021-06-25 20:56:59 +02:00
TypeFinder.cpp [IR] Make TypeFinder aware of DIArgList values 2021-05-28 17:09:45 +02:00
Use.cpp
User.cpp
Value.cpp [IR] Fix replaceUsesWithIf ponetial issue with constants 2021-06-28 15:55:55 -07:00
ValueSymbolTable.cpp Fix non-global-value-max-name-size not considered by LLParser 2021-05-27 04:20:03 +00:00
Verifier.cpp [Verifier] Support opaque pointers for global_ctors 2021-06-28 21:40:54 +02:00