Home
last modified time | relevance | path

Searched refs:LegalityQuery (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalityPredicates.cpp30 [=](const LegalityQuery &Query) { return Query.Types[TypeIdx] == Type; }; in typeIs()
37 return [=](const LegalityQuery &Query) { in typeInSet()
46 return [=](const LegalityQuery &Query) { in typePairInSet()
56 return [=](const LegalityQuery &Query) { in typePairAndMemDescInSet()
69 return [=](const LegalityQuery &Query) { in isScalar()
75 return [=](const LegalityQuery &Query) { in isVector()
81 return [=](const LegalityQuery &Query) { in isPointer()
88 return [=](const LegalityQuery &Query) { in isPointer()
96 return [=](const LegalityQuery &Query) { in narrowerThan()
104 return [=](const LegalityQuery &Query) { in widerThan()
[all …]
DLegalizeMutations.cpp19 [=](const LegalityQuery &Query) { return std::make_pair(TypeIdx, Ty); }; in changeTo()
24 return [=](const LegalityQuery &Query) { in changeTo()
31 return [=](const LegalityQuery &Query) { in changeElementTo()
40 return [=](const LegalityQuery &Query) { in changeElementTo()
48 return [=](const LegalityQuery &Query) { in widenScalarOrEltToNextPow2()
58 return [=](const LegalityQuery &Query) { in moreElementsToNextPow2()
68 return [=](const LegalityQuery &Query) { in scalarize()
DLegalizerInfo.cpp84 raw_ostream &LegalityQuery::print(raw_ostream &OS) const { in print()
102 static bool hasNoSimpleLoops(const LegalizeRule &Rule, const LegalityQuery &Q, in hasNoSimpleLoops()
118 const LegalityQuery &Q, in mutationIsSane()
182 LegalizeActionStep LegalizeRuleSet::apply(const LegalityQuery &Query) const { in apply()
458 LegalizerInfo::getAction(const LegalityQuery &Query) const { in getAction()
500 SmallVector<LegalityQuery::MemDesc, 2> MemDescrs; in getAction()
DLegalizerHelper.cpp3727 auto isSupported = [this](const LegalityQuery &Q) { in lowerBitCount()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64LegalizerInfo.cpp66 [=](const LegalityQuery &Query) { in AArch64LegalizerInfo()
71 [=](const LegalityQuery &Query) { in AArch64LegalizerInfo()
121 .customIf([=](const LegalityQuery &Query) { in AArch64LegalizerInfo()
160 [=, &ST](const LegalityQuery &Query) { in AArch64LegalizerInfo()
165 [=](const LegalityQuery &Query) { return std::make_pair(0, s16); }) in AArch64LegalizerInfo()
169 [=, &ST](const LegalityQuery &Query) { in AArch64LegalizerInfo()
172 [=](const LegalityQuery &Query) { return std::make_pair(0, s32); }) in AArch64LegalizerInfo()
184 .unsupportedIf([=](const LegalityQuery &Query) { in AArch64LegalizerInfo()
187 .legalIf([=](const LegalityQuery &Query) { in AArch64LegalizerInfo()
202 .unsupportedIf([=](const LegalityQuery &Query) { in AArch64LegalizerInfo()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DLegalizerInfo.h121 struct LegalityQuery { struct
135 constexpr LegalityQuery(unsigned Opcode, const ArrayRef<LLT> Types, in LegalityQuery() argument
138 constexpr LegalityQuery(unsigned Opcode, const ArrayRef<LLT> Types) in LegalityQuery() argument
139 : LegalityQuery(Opcode, Types, {}) {} in LegalityQuery()
165 using LegalityPredicate = std::function<bool (const LegalityQuery &)>;
167 std::function<std::pair<unsigned, LLT>(const LegalityQuery &)>;
194 return [=](const LegalityQuery &Query) { in all()
304 bool match(const LegalityQuery &Query) const { in match()
311 std::pair<unsigned, LLT> determineMutation(const LegalityQuery &Query) const { in determineMutation()
372 static bool always(const LegalityQuery &) { return true; } in always() argument
[all …]
DLegalizationArtifactCombiner.h627 bool isInstUnsupported(const LegalityQuery &Query) const { in isInstUnsupported()
633 bool isInstLegal(const LegalityQuery &Query) const { in isInstLegal()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsLegalizerInfo.cpp28 CheckTy0Ty1MemSizeAlign(const LegalityQuery &Query, in CheckTy0Ty1MemSizeAlign()
45 static bool CheckTyN(unsigned N, const LegalityQuery &Query, in CheckTyN()
66 .legalIf([=, &ST](const LegalityQuery &Query) { in MipsLegalizerInfo()
83 .legalIf([=, &ST](const LegalityQuery &Query) { in MipsLegalizerInfo()
115 .legalIf([](const LegalityQuery &Query) { return false; }) in MipsLegalizerInfo()
119 .legalIf([](const LegalityQuery &Query) { return false; }) in MipsLegalizerInfo()
146 .legalIf([=, &ST](const LegalityQuery &Query) { in MipsLegalizerInfo()
189 .legalIf([=, &ST](const LegalityQuery &Query) { in MipsLegalizerInfo()
194 .lowerIf([=, &ST](const LegalityQuery &Query) { in MipsLegalizerInfo()
210 .legalIf([=, &ST](const LegalityQuery &Query) { in MipsLegalizerInfo()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULegalizerInfo.cpp44 return [=](const LegalityQuery &Query) { in isMultiple32()
52 return [=](const LegalityQuery &Query) { in sizeIs()
58 return [=](const LegalityQuery &Query) { in isSmallOddVector()
68 return [=](const LegalityQuery &Query) { in isWideVec16()
76 return [=](const LegalityQuery &Query) { in oneMoreElement()
84 return [=](const LegalityQuery &Query) { in fewerEltsToSize64Vector()
97 return [=](const LegalityQuery &Query) { in moreEltsToNext32Bit()
113 return [=](const LegalityQuery &Query) { in vectorSmallerThan()
120 return [=](const LegalityQuery &Query) { in vectorWiderThan()
127 return [=](const LegalityQuery &Query) { in numElementsNotEven()
[all …]