Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/
DLegalityPredicates.cpp20 [=](const LegalityQuery &Query) { return Query.Types[TypeIdx] == Type; }; in typeIs()
27 return [=](const LegalityQuery &Query) { in typeInSet()
36 return [=](const LegalityQuery &Query) { in typePairInSet()
46 return [=](const LegalityQuery &Query) { in typePairAndMemSizeInSet()
55 return [=](const LegalityQuery &Query) { in isScalar()
62 return [=](const LegalityQuery &Query) { in narrowerThan()
70 return [=](const LegalityQuery &Query) { in widerThan()
77 return [=](const LegalityQuery &Query) { in sizeNotPow2()
84 return [=](const LegalityQuery &Query) { in memSizeInBytesNotPow2()
90 return [=](const LegalityQuery &Query) { in numElementsNotPow2()
[all …]
DLegalizeMutations.cpp20 [=](const LegalityQuery &Query) { return std::make_pair(TypeIdx, Ty); }; in changeTo()
25 return [=](const LegalityQuery &Query) { in changeTo()
32 return [=](const LegalityQuery &Query) { in widenScalarToNextPow2()
43 return [=](const LegalityQuery &Query) { in moreElementsToNextPow2()
DLegalizerInfo.cpp45 raw_ostream &LegalityQuery::print(raw_ostream &OS) const { in print()
61 LegalizeActionStep LegalizeRuleSet::apply(const LegalityQuery &Query) const { in apply()
322 LegalizerInfo::getAction(const LegalityQuery &Query) const { in getAction()
365 SmallVector<LegalityQuery::MemDesc, 2> MemDescrs; in getAction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64LegalizerInfo.cpp101 .unsupportedIf([=](const LegalityQuery &Query) { in AArch64LegalizerInfo()
104 .legalIf([=](const LegalityQuery &Query) { in AArch64LegalizerInfo()
119 .unsupportedIf([=](const LegalityQuery &Query) { in AArch64LegalizerInfo()
122 .legalIf([=](const LegalityQuery &Query) { in AArch64LegalizerInfo()
169 .lowerIf([=](const LegalityQuery &Query) { in AArch64LegalizerInfo()
186 .lowerIf([=](const LegalityQuery &Query) { in AArch64LegalizerInfo()
258 .unsupportedIf([&](const LegalityQuery &Query) { in AArch64LegalizerInfo()
303 auto notValidElt = [](const LegalityQuery &Query, unsigned TypeIdx) { in AArch64LegalizerInfo()
315 [](const LegalityQuery &Query, unsigned TypeIdx) { in AArch64LegalizerInfo()
331 [=](const LegalityQuery &Query) { return notValidElt(Query, 0); }, in AArch64LegalizerInfo()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPULegalizerInfo.cpp80 .legalIf([=](const LegalityQuery &Query) { in AMDGPULegalizerInfo()
124 .legalIf([=, &ST](const LegalityQuery &Query) { in AMDGPULegalizerInfo()
165 .legalIf([=](const LegalityQuery &Query) { in AMDGPULegalizerInfo()
176 .legalIf([=](const LegalityQuery &Query) { in AMDGPULegalizerInfo()
189 .legalIf([=](const LegalityQuery &Query) { in AMDGPULegalizerInfo()
197 .fewerElementsIf([](const LegalityQuery &Query) { return true; }, in AMDGPULegalizerInfo()
198 [](const LegalityQuery &Query) { in AMDGPULegalizerInfo()
202 .fewerElementsIf([](const LegalityQuery &Query) { return true; }, in AMDGPULegalizerInfo()
203 [](const LegalityQuery &Query) { in AMDGPULegalizerInfo()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/GlobalISel/
DLegalizerInfo.h119 struct LegalityQuery { struct
132 constexpr LegalityQuery(unsigned Opcode, const ArrayRef<LLT> Types, in LegalityQuery() argument
135 constexpr LegalityQuery(unsigned Opcode, const ArrayRef<LLT> Types) in LegalityQuery() function
136 : LegalityQuery(Opcode, Types, {}) {} in LegalityQuery()
162 using LegalityPredicate = std::function<bool (const LegalityQuery &)>;
164 std::function<std::pair<unsigned, LLT>(const LegalityQuery &)>;
181 return [=](const LegalityQuery &Query) { in all()
254 bool match(const LegalityQuery &Query) const { in match()
261 std::pair<unsigned, LLT> determineMutation(const LegalityQuery &Query) const { in determineMutation()
308 static bool always(const LegalityQuery &) { return true; } in always() argument
[all …]
DLegalizationArtifactCombiner.h275 bool isInstUnsupported(const LegalityQuery &Query) const { in isInstUnsupported()