Home
last modified time | relevance | path

Searched refs:typeInSet (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Target/SPIRV/
H A DSPIRVLegalizerInfo.cpp146 .legalIf(all(typeInSet(0, allWritablePtrs), typeInSet(1, allPtrs))); in SPIRVLegalizerInfo()
151 getActionDefinitionsBuilder({G_LOAD, G_STORE}).legalIf(typeInSet(1, allPtrs)); in SPIRVLegalizerInfo()
174 typeInSet(0, allPtrsScalarsAndVectors), in SPIRVLegalizerInfo()
175 typeInSet(1, allPtrsScalarsAndVectors), in SPIRVLegalizerInfo()
192 all(typeInSet(0, allBoolScalarsAndVectors), in SPIRVLegalizerInfo()
193 typeInSet(1, allPtrsScalarsAndVectors))); in SPIRVLegalizerInfo()
196 all(typeInSet(0, allBoolScalarsAndVectors), in SPIRVLegalizerInfo()
197 typeInSet(1, allFloatScalarsAndVectors))); in SPIRVLegalizerInfo()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerInfo.h255 LegalityPredicate typeInSet(unsigned TypeIdx,
483 return actionIf(Action, typeInSet(typeIdx(0), Types)); in actionFor()
491 return actionIf(Action, typeInSet(typeIdx(0), Types), Mutation); in actionFor()
518 return actionIf(Action, typeInSet(typeIdx(0), Types)); in actionForTypeWithAnyImm()
534 return actionIf(Action, all(typeInSet(typeIdx(0), Types), in actionForCartesianProduct()
535 typeInSet(typeIdx(1), Types))); in actionForCartesianProduct()
546 return actionIf(Action, all(typeInSet(typeIdx(0), Types0), in actionForCartesianProduct()
547 typeInSet(typeIdx(1), Types1))); in actionForCartesianProduct()
557 return actionIf(Action, all(typeInSet(typeIdx(0), Types0), in actionForCartesianProduct()
558 all(typeInSet(typeIdx(1), Types1), in actionForCartesianProduct()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/AArch64/GISel/
H A DAArch64LegalizerInfo.cpp243 .legalIf(all(typeInSet(0, {s32, s64, p0}), in AArch64LegalizerInfo()
244 typeInSet(1, {s8, s16, s32}), smallerThan(1, 0))) in AArch64LegalizerInfo()
249 .maxScalarIf(typeInSet(0, {s32}), 1, s16) in AArch64LegalizerInfo()
250 .maxScalarIf(typeInSet(0, {s64, p0}), 1, s32); in AArch64LegalizerInfo()
253 .legalIf(all(typeInSet(0, {s16, s32, s64, p0}), in AArch64LegalizerInfo()
259 .maxScalarIf(typeInSet(1, {s32}), 0, s16) in AArch64LegalizerInfo()
260 .maxScalarIf(typeInSet(1, {s64, p0}), 0, s32) in AArch64LegalizerInfo()
261 .maxScalarIf(typeInSet(1, {s128}), 0, s64); in AArch64LegalizerInfo()
549 .legalIf(all(typeInSet(0, {s32, s64}), typeIs(1, p0))); in AArch64LegalizerInfo()
556 .legalIf(all(typeInSet(0, {s32, s64}), typeIs(1, p0))); in AArch64LegalizerInfo()
[all …]
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DLegalityPredicates.cpp34 LegalityPredicates::typeInSet(unsigned TypeIdx, in typeInSet() function in LegalityPredicates
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPULegalizerInfo.cpp915 .legalIf(all(sameSize(0, 1), typeInSet(1, {S64, S32}))) in AMDGPULegalizerInfo()
943 .legalIf(all(typeInSet(0, {S1, S32}), isPointer(1))); in AMDGPULegalizerInfo()
1382 .legalIf(all(isPointer(0), typeInSet(1, {S1, S32}))); in AMDGPULegalizerInfo()