mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
fa3bb1ebe7
Summary: This commit adds the predicated MVE intrinsics for the same set of unary operations that I added in their unpredicated forms in * D74333 (vrint) * D74334 (vrev) * D74335 (vclz, vcls) * D74336 (vmovl) * D74337 (vmovn) but since the predicated versions are a lot more similar to each other, I've kept them all together in a single big patch. Everything here is done in the standard way we've been doing other predicated operations: an IR intrinsic called `@llvm.arm.mve.foo.predicated` and some isel rules that match that alongside whatever they accept for the unpredicated version of the same instruction. In order to write the isel rules conveniently, I've refactored the existing isel rules for the affected instructions into multiclasses parametrised by a vector-type class, in the usual way. All those refactorings are intended to leave the existing isel rules unchanged: the only difference should be that new ones for the predicated intrinsics are introduced. The only tiny infrastructure change I needed in this commit was to change the implementation of `IntrinsicMX` in `arm_mve_defs.td` so that the records it defines are anonymous rather than named (and use `NameOverride` to set the output intrinsic name), which allows me to call it twice in two multiclasses with the same `NAME` without a tablegen-time error. Reviewers: dmgreen, MarkMurrayARM, miyuki, ostannard Reviewed By: MarkMurrayARM Subscribers: kristof.beyls, hiraditya, cfe-commits, llvm-commits Tags: #clang, #llvm Differential Revision: https://reviews.llvm.org/D75165 |
||
---|---|---|
.. | ||
Argument.h | ||
AssemblyAnnotationWriter.h | ||
Attributes.h | ||
Attributes.td | ||
AutoUpgrade.h | ||
BasicBlock.h | ||
CallingConv.h | ||
CallSite.h | ||
CFG.h | ||
CFGDiff.h | ||
CMakeLists.txt | ||
Comdat.h | ||
Constant.h | ||
ConstantFolder.h | ||
ConstantRange.h | ||
Constants.h | ||
ConstrainedOps.def | ||
DataLayout.h | ||
DebugInfo.h | ||
DebugInfoFlags.def | ||
DebugInfoMetadata.h | ||
DebugLoc.h | ||
DerivedTypes.h | ||
DerivedUser.h | ||
DiagnosticHandler.h | ||
DiagnosticInfo.h | ||
DiagnosticPrinter.h | ||
DIBuilder.h | ||
Dominators.h | ||
FixedMetadataKinds.def | ||
FPEnv.h | ||
Function.h | ||
GetElementPtrTypeIterator.h | ||
GlobalAlias.h | ||
GlobalIFunc.h | ||
GlobalIndirectSymbol.h | ||
GlobalObject.h | ||
GlobalValue.h | ||
GlobalVariable.h | ||
GVMaterializer.h | ||
InlineAsm.h | ||
InstIterator.h | ||
InstrTypes.h | ||
Instruction.def | ||
Instruction.h | ||
Instructions.h | ||
InstVisitor.h | ||
IntrinsicInst.h | ||
Intrinsics.h | ||
Intrinsics.td | ||
IntrinsicsAArch64.td | ||
IntrinsicsAMDGPU.td | ||
IntrinsicsARM.td | ||
IntrinsicsBPF.td | ||
IntrinsicsHexagon.td | ||
IntrinsicsHexagonDep.td | ||
IntrinsicsMips.td | ||
IntrinsicsNVVM.td | ||
IntrinsicsPowerPC.td | ||
IntrinsicsRISCV.td | ||
IntrinsicsSystemZ.td | ||
IntrinsicsWebAssembly.td | ||
IntrinsicsX86.td | ||
IntrinsicsXCore.td | ||
IRBuilder.h | ||
IRBuilderFolder.h | ||
IRPrintingPasses.h | ||
LegacyPassManager.h | ||
LegacyPassManagers.h | ||
LegacyPassNameParser.h | ||
LLVMContext.h | ||
LLVMRemarkStreamer.h | ||
Mangler.h | ||
MDBuilder.h | ||
Metadata.def | ||
Metadata.h | ||
Module.h | ||
ModuleSlotTracker.h | ||
ModuleSummaryIndex.h | ||
ModuleSummaryIndexYAML.h | ||
NoFolder.h | ||
OperandTraits.h | ||
Operator.h | ||
OptBisect.h | ||
PassInstrumentation.h | ||
PassManager.h | ||
PassManagerImpl.h | ||
PassManagerInternal.h | ||
PassTimingInfo.h | ||
PatternMatch.h | ||
PredIteratorCache.h | ||
ProfileSummary.h | ||
RuntimeLibcalls.def | ||
SafepointIRVerifier.h | ||
Statepoint.h | ||
SymbolTableListTraits.h | ||
TrackingMDRef.h | ||
Type.h | ||
TypeFinder.h | ||
Use.h | ||
UseListOrder.h | ||
User.h | ||
Value.def | ||
Value.h | ||
ValueHandle.h | ||
ValueMap.h | ||
ValueSymbolTable.h | ||
Verifier.h |