1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 11:33:24 +02:00
llvm-mirror/include/llvm/IR
Artur Pilipenko d9a8d9a1af Support arbitrary addrspace pointers in masked load/store intrinsics
This is a resubmittion of 263158 change.

This patch fixes the problem which occurs when loop-vectorize tries to use @llvm.masked.load/store intrinsic for a non-default addrspace pointer. It fails with "Calling a function with a bad signature!" assertion in CallInst constructor because it tries to pass a non-default addrspace pointer to the pointer argument which has default addrspace.

The fix is to add pointer type as another overloaded type to @llvm.masked.load/store intrinsics.

Reviewed By: reames

Differential Revision: http://reviews.llvm.org/D17270

llvm-svn: 266086
2016-04-12 15:58:04 +00:00
..
Argument.h Swift Calling Convention: add swifterror attribute. 2016-04-01 21:41:15 +00:00
AssemblyAnnotationWriter.h
Attributes.h Add the allocsize attribute to LLVM. 2016-04-12 01:05:35 +00:00
Attributes.td Add the allocsize attribute to LLVM. 2016-04-12 01:05:35 +00:00
AutoUpgrade.h IR: Stop upgrading !llvm.loop attachments via MDString 2016-03-25 00:56:13 +00:00
BasicBlock.h Introduce @llvm.experimental.deoptimize 2016-03-11 19:08:34 +00:00
CallingConv.h AMDGPU: Add a shader calling convention 2016-04-06 19:40:20 +00:00
CallSite.h Introduce @llvm.experimental.deoptimize 2016-03-11 19:08:34 +00:00
CFG.h
CMakeLists.txt Revert r253810. The builds should be fine now. 2015-11-22 16:13:51 +00:00
Comdat.h
Constant.h Simplify handleOperandChangeImpl() removing last argument (NFC) 2016-02-10 22:47:15 +00:00
ConstantFolder.h
ConstantRange.h [ConstantRange] Generalize makeGuaranteedNoWrapRegion to work on ranges 2016-03-03 18:31:16 +00:00
Constants.h IR: Introduce ConstantAggregate, NFC 2016-04-05 21:10:45 +00:00
DataLayout.h Have DataLayout::isLegalInteger() accept uint64_t 2016-03-18 23:19:29 +00:00
DebugInfo.h Support the Nodebug emission kind for DICompileUnits. 2016-04-08 22:43:03 +00:00
DebugInfoFlags.def
DebugInfoMetadata.h Fix a captialization error in r265077. 2016-04-01 00:00:27 +00:00
DebugLoc.h
DerivedTypes.h don't repeat names in documentation comments; NFC 2016-02-25 15:55:28 +00:00
DiagnosticInfo.h [LoopVectorize] Don't unconditionally print vectorization diagnostics 2016-04-01 00:34:39 +00:00
DiagnosticPrinter.h
DIBuilder.h Support the Nodebug emission kind for DICompileUnits. 2016-04-08 22:43:03 +00:00
Dominators.h [PM] Make the AnalysisManager parameter to run methods a reference. 2016-03-11 11:05:24 +00:00
Function.h IRMover: Steal arguments when moving functions, NFC 2016-04-06 06:38:15 +00:00
GetElementPtrTypeIterator.h [opaque pointer types] [NFC] gep_type_{begin,end} now take source element type and address space. 2016-01-22 01:33:43 +00:00
GlobalAlias.h [IFUNC] Introduce GlobalIndirectSymbol as a base class for alias and ifunc 2016-03-31 14:16:21 +00:00
GlobalIFunc.h [GCC] Attribute ifunc support in llvm 2016-04-07 12:32:19 +00:00
GlobalIndirectSymbol.h [GCC] Attribute ifunc support in llvm 2016-04-07 12:32:19 +00:00
GlobalObject.h
GlobalValue.h Don't IPO over functions that can be de-refined 2016-04-08 00:48:30 +00:00
GlobalVariable.h Don't IPO over functions that can be de-refined 2016-04-08 00:48:30 +00:00
GVMaterializer.h [ThinLTO] Remove post-pass metadata linking support 2016-03-29 18:24:19 +00:00
InlineAsm.h
InstIterator.h
InstrTypes.h Add a hasOperandBundlesOtherThan helper, and use it; NFC 2016-03-22 17:51:25 +00:00
Instruction.def [IR] Remove terminatepad 2015-12-14 18:34:23 +00:00
Instruction.h fix documentation comments; NFC 2016-03-12 20:44:30 +00:00
Instructions.h NFC: disallow comparison of AtomicOrdering 2016-04-07 15:50:05 +00:00
InstVisitor.h [IR] Remove terminatepad 2015-12-14 18:34:23 +00:00
IntrinsicInst.h IR: Add DbgInfoIntrinsic::getVariableLocation 2016-03-29 18:56:03 +00:00
Intrinsics.h Handle more edge cases in intrinsic name binary search 2016-01-26 22:33:19 +00:00
Intrinsics.td Support arbitrary addrspace pointers in masked load/store intrinsics 2016-04-12 15:58:04 +00:00
IntrinsicsAArch64.td SelectionDAG: Make Properties a field of SDPatternOperator 2016-02-10 18:40:04 +00:00
IntrinsicsAMDGPU.td AMDGPU: Add atomic_inc + atomic_dec intrinsics 2016-04-12 14:05:04 +00:00
IntrinsicsARM.td SelectionDAG: Make Properties a field of SDPatternOperator 2016-02-10 18:40:04 +00:00
IntrinsicsBPF.td
IntrinsicsHexagon.td [Hexagon] Hexagon V60 HVX intrinsic defintions 2015-11-26 16:54:33 +00:00
IntrinsicsMips.td
IntrinsicsNVVM.td [NVVM] Remove noduplicate attribute from synchronizing intrinsics. 2016-03-22 22:08:01 +00:00
IntrinsicsPowerPC.td Fix for PR 26193 2016-02-05 14:50:29 +00:00
IntrinsicsSystemZ.td
IntrinsicsWebAssembly.td
IntrinsicsX86.td Removed trailing whitespace 2016-03-19 02:05:33 +00:00
IntrinsicsXCore.td
IRBuilder.h Support arbitrary addrspace pointers in masked load/store intrinsics 2016-04-12 15:58:04 +00:00
IRPrintingPasses.h
LegacyPassManager.h
LegacyPassManagers.h [PassManager] Ensure destructors of cached AnalysisUsage objects are run 2015-12-04 23:48:19 +00:00
LegacyPassNameParser.h
LLVMContext.h Rename Context::discardValueNames() to shouldDiscardValueNames() (NFC) 2016-04-02 03:46:17 +00:00
Mangler.h [ptr-traits] Add one more #include necessary to do strict alignment 2015-12-30 03:56:17 +00:00
MDBuilder.h
Metadata.def Macro debug info support in LLVM IR 2015-12-10 12:56:35 +00:00
Metadata.h IR: Lazily create ReplaceableMetadataImpl on MDNode 2016-04-03 21:23:52 +00:00
Module.h Support the Nodebug emission kind for DICompileUnits. 2016-04-08 22:43:03 +00:00
ModuleSlotTracker.h
ModuleSummaryIndex.h ThinLTO renaming: use module hash instead of position in the summary 2016-04-11 23:26:46 +00:00
NoFolder.h
OperandTraits.h
Operator.h [opaque pointer types] [NFC] GEP: replace get(Pointer)ElementType uses with get{Source,Result}ElementType. 2016-01-19 17:28:00 +00:00
PassManager.h [PM] Make the AnalysisManager parameter to run methods a reference. 2016-03-11 11:05:24 +00:00
PassManagerInternal.h [PM] Make the AnalysisManager parameter to run methods a reference. 2016-03-11 11:05:24 +00:00
PatternMatch.h
PredIteratorCache.h
Statepoint.h Add "first class" lowering for deopt operand bundles 2016-03-22 00:59:13 +00:00
SymbolTableListTraits.h [GCC] Attribute ifunc support in llvm 2016-04-07 12:32:19 +00:00
TrackingMDRef.h [ptr-traits] Merge the MetadataTracking helpers into the Metadata 2015-12-29 02:14:50 +00:00
Type.h [IR] Provide an API to skip the details of a structured type when printed. 2016-03-07 22:32:42 +00:00
TypeBuilder.h
TypeFinder.h Make more headers self-contained. 2016-01-27 18:03:37 +00:00
Use.h [IR] Move definitions of users of Use::set to Value.h 2016-01-29 12:47:05 +00:00
UseListOrder.h
User.h Re-reapply "[IR] Move optional data in llvm::Function into a hungoff uselist" 2015-12-19 08:52:49 +00:00
Value.def [GCC] Attribute ifunc support in llvm 2016-04-07 12:32:19 +00:00
Value.h [GCC] Attribute ifunc support in llvm 2016-04-07 12:32:19 +00:00
ValueHandle.h
ValueMap.h ValueMapper: Don't memoize metadata when RF_NoModuleLevelChanges 2016-04-08 18:49:36 +00:00
ValueSymbolTable.h [GCC] Attribute ifunc support in llvm 2016-04-07 12:32:19 +00:00
Verifier.h [PM] Rename the CRTP mixin base classes for the new pass manager to 2016-03-11 10:33:22 +00:00