Home
last modified time | relevance | path

Searched refs:Query (Results 1 – 25 of 94) sorted by relevance

1234

/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalityPredicates.cpp30 [=](const LegalityQuery &Query) { return Query.Types[TypeIdx] == Type; }; in typeIs() argument
37 return [=](const LegalityQuery &Query) { in typeInSet() argument
46 return [=](const LegalityQuery &Query) { in typePairInSet() argument
47 std::pair<LLT, LLT> Match = {Query.Types[TypeIdx0], Query.Types[TypeIdx1]}; in typePairInSet()
56 return [=](const LegalityQuery &Query) { in typePairAndMemDescInSet() argument
57 TypePairAndMemDesc Match = {Query.Types[TypeIdx0], Query.Types[TypeIdx1], in typePairAndMemDescInSet()
68 return [=](const LegalityQuery &Query) { in isScalar() argument
74 return [=](const LegalityQuery &Query) { in isVector() argument
80 return [=](const LegalityQuery &Query) { in isPointer() argument
87 return [=](const LegalityQuery &Query) { in isPointer() argument
[all …]
H A DLegalizeMutations.cpp24 return [=](const LegalityQuery &Query) { in changeTo() argument
31 return [=](const LegalityQuery &Query) { in changeElementTo() argument
32 const LLT OldTy = Query.Types[TypeIdx]; in changeElementTo()
40 return [=](const LegalityQuery &Query) { in changeElementTo() argument
41 const LLT OldTy = Query.Types[TypeIdx]; in changeElementTo()
48 return [=](const LegalityQuery &Query) { in changeElementCountTo() argument
49 const LLT OldTy = Query.Types[TypeIdx]; in changeElementCountTo()
59 return [=](const LegalityQuery &Query) { in changeElementCountTo() argument
69 return [=](const LegalityQuery &Query) { in changeElementSizeTo() argument
80 const LLT Ty = Query.Types[TypeIdx]; in widenScalarOrEltToNextPow2()
[all …]
H A DLegalizerInfo.cpp186 LegalizeActionStep LegalizeRuleSet::apply(const LegalityQuery &Query) const { in apply()
187 LLVM_DEBUG(dbgs() << "Applying legalizer ruleset to: "; Query.print(dbgs()); in apply()
194 if (Rule.match(Query)) { in apply()
196 std::pair<unsigned, LLT> Mutation = Rule.determineMutation(Query); in apply()
199 assert(mutationIsSane(Rule, Query, Mutation) && in apply()
201 assert(hasNoSimpleLoops(Rule, Query, Mutation) && "Simple loop detected"); in apply()
322 LegalizerInfo::getAction(const LegalityQuery &Query) const { in getAction()
323 LegalizeActionStep Step = getActionDefinitions(Query.Opcode).apply(Query); in getAction()
328 return getLegacyLegalizerInfo().getAction(Query); in getAction()
H A DLegacyLegalizerInfo.cpp373 LegacyLegalizerInfo::getAction(const LegalityQuery &Query) const { in getAction()
374 for (unsigned i = 0; i < Query.Types.size(); ++i) { in getAction()
375 auto Action = getAspectAction({Query.Opcode, i, Query.Types[i]}); in getAction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/GISel/
H A DX86LegalizerInfo.cpp131 if (typeInSet(0, {s8, s16, s32})(Query)) in X86LegalizerInfo()
133 if (Is64Bit && typeInSet(0, {s64})(Query)) in X86LegalizerInfo()
170 if (typeInSet(0, {s8, s16, s32})(Query)) in X86LegalizerInfo()
229 if (typeInSet(0, {s8, s16, s32})(Query)) in X86LegalizerInfo()
265 .legalIf([=](const LegalityQuery &Query) { in X86LegalizerInfo() argument
266 return Query.Types[0] == s32 || in X86LegalizerInfo()
403 .legalIf([=](const LegalityQuery &Query) { in X86LegalizerInfo() argument
405 (Query.Opcode == G_ANYEXT && Query.Types[0] == s128) || in X86LegalizerInfo()
406 (Is64Bit && Query.Types[0] == s64); in X86LegalizerInfo()
424 .legalIf([=](const LegalityQuery &Query) { in X86LegalizerInfo() argument
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64LegalizerInfo.cpp380 Query.Types[0] != Query.MMODescrs[0].MemoryTy && in AArch64LegalizerInfo()
415 Query.Types[0] != Query.MMODescrs[0].MemoryTy; in AArch64LegalizerInfo()
525 [=](const LegalityQuery &Query) { return Query.Types[1] == v2s16; }, in AArch64LegalizerInfo() argument
661 (Query.Types[1] == s16 || Query.Types[1] == v4s16 || in AArch64LegalizerInfo()
663 (Query.Types[0] == s32 || Query.Types[0] == s64 || in AArch64LegalizerInfo()
664 Query.Types[0] == v4s16 || Query.Types[0] == v8s16); in AArch64LegalizerInfo()
691 (Query.Types[0] == s16 || Query.Types[0] == v4s16 || in AArch64LegalizerInfo()
693 (Query.Types[1] == s32 || Query.Types[1] == s64 || in AArch64LegalizerInfo()
694 Query.Types[1] == v4s16 || Query.Types[1] == v8s16); in AArch64LegalizerInfo()
947 return Query.Types[0].isVector() && Query.Types[1].isVector() && in AArch64LegalizerInfo()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DAutoConvert.cpp47 struct f_cnvrt Query = { in enableAutoConversion() local
53 if (fcntl(FD, F_CONTROL_CVT, &Query) == -1) in enableAutoConversion()
60 if (Query.pccsid == CCSID_ISO8859_1 && in enableAutoConversion()
61 (Query.fccsid == CCSID_UTF_8 || Query.fccsid == CCSID_ISO8859_1)) in enableAutoConversion()
67 savedStdHandleAutoConversionMode[FD] = Query.cvtcmd; in enableAutoConversion()
70 Query.cvtcmd = SETCVTON; in enableAutoConversion()
72 Query.cvtcmd = SETCVTALL; in enableAutoConversion()
74 Query.pccsid = in enableAutoConversion()
79 Query.fccsid = (Query.fccsid == FT_UNTAGGED) ? CCSID_IBM_1047 : Query.fccsid; in enableAutoConversion()
80 return fcntl(FD, F_CONTROL_CVT, &Query); in enableAutoConversion()
H A DSpecialCaseList.cpp70 unsigned SpecialCaseList::Matcher::match(StringRef Query) const { in match()
72 if (Pair.first.match(Query)) in match()
75 if (Regex->match(Query)) in match()
208 StringRef Query, StringRef Category) const { in inSection() argument
209 return inSectionBlame(Section, Prefix, Query, Category); in inSection()
213 StringRef Query, in inSectionBlame() argument
218 unsigned Blame = inSectionBlame(S.Entries, Prefix, Query, Category); in inSectionBlame()
227 StringRef Prefix, StringRef Query, in inSectionBlame() argument
234 return II->getValue().match(Query); in inSectionBlame()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerInfo.h229 return [=](const LegalityQuery &Query) { return !P(Query); }; in predNot()
235 return [=](const LegalityQuery &Query) { in all()
236 return P0(Query) && P1(Query); in all()
248 return [=](const LegalityQuery &Query) { in any()
249 return P0(Query) || P1(Query); in any()
411 return Predicate(Query); in match()
419 return Mutation(Query); in determineMutation()
992 Predicate(Query); in minScalarIf()
1028 Predicate(Query); in maxScalarIf()
1083 Predicate(Query); in minScalarEltSameAsIf()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsLegalizerInfo.cpp40 CheckTy0Ty1MemSizeAlign(const LegalityQuery &Query, in CheckTy0Ty1MemSizeAlign() argument
49 if (Val.ValTy != Query.Types[0]) in CheckTy0Ty1MemSizeAlign()
51 if (Val.PtrTy != Query.Types[1]) in CheckTy0Ty1MemSizeAlign()
83 .legalIf([=, &ST](const LegalityQuery &Query) { in MipsLegalizerInfo() argument
84 if (CheckTyN(0, Query, {s32})) in MipsLegalizerInfo()
107 .legalIf([=, &ST](const LegalityQuery &Query) { in MipsLegalizerInfo() argument
127 if (!Query.Types[0].isScalar() || Query.Types[1] != p0 || in MipsLegalizerInfo()
128 Query.Types[0] == s1) in MipsLegalizerInfo()
199 .legalIf([=, &ST](const LegalityQuery &Query) { in MipsLegalizerInfo() argument
200 if (CheckTyN(0, Query, {s32})) in MipsLegalizerInfo()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DLiveIntervalUnion.h112 class Query {
131 Query() = default;
132 Query(const LiveRange &LR, const LiveIntervalUnion &LIU) in Query() function
134 Query(const Query &) = delete;
135 Query &operator=(const Query &) = delete;
H A DLiveRegMatrix.h53 std::unique_ptr<LiveIntervalUnion::Query[]> Queries;
153 LiveIntervalUnion::Query &query(const LiveRange &LR, MCRegister RegUnit);
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DSpecialCaseList.h92 bool inSection(StringRef Section, StringRef Prefix, StringRef Query,
103 unsigned inSectionBlame(StringRef Section, StringRef Prefix, StringRef Query,
123 unsigned match(StringRef Query) const;
151 StringRef Query, StringRef Category) const;
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DProfileList.cpp106 StringRef Query) const { in inSection()
107 if (SCL->inSection(Section, Prefix, Query, "allow")) in inSection()
109 if (SCL->inSection(Section, Prefix, Query, "skip")) in inSection()
111 if (SCL->inSection(Section, Prefix, Query, "forbid")) in inSection()
113 if (SCL->inSection(Section, Prefix, Query)) in inSection()
H A DSanitizerSpecialCaseList.cpp58 StringRef Query, in inSection() argument
62 SpecialCaseList::inSectionBlame(S.Entries, Prefix, Query, Category)) in inSection()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/
H A DRISCVLegalizerInfo.cpp33 return [=, &ST](const LegalityQuery &Query) { in typeIsScalarFPArith() argument
34 return Query.Types[TypeIdx].isScalar() && in typeIsScalarFPArith()
36 (ST.hasStdExtD() && Query.Types[TypeIdx].getSizeInBits() == 64)); in typeIsScalarFPArith()
87 LegalityPredicate([=, &ST](const LegalityQuery &Query) { in RISCVLegalizerInfo() argument
89 (Query.Types[0].getScalarSizeInBits() != 64 || in RISCVLegalizerInfo()
321 [=, &ST](const LegalityQuery &Query) -> bool { in RISCVLegalizerInfo() argument
322 return (ST.hasStdExtD() && typeIs(0, s32)(Query) && in RISCVLegalizerInfo()
323 typeIs(1, s64)(Query)); in RISCVLegalizerInfo()
326 [=, &ST](const LegalityQuery &Query) -> bool { in RISCVLegalizerInfo() argument
327 return (ST.hasStdExtD() && typeIs(0, s64)(Query) && in RISCVLegalizerInfo()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULegalizerInfo.cpp74 const LLT Ty = Query.Types[TypeIdx]; in isSmallOddVector()
88 const LLT Ty = Query.Types[TypeIdx]; in sizeIsMultipleOf32()
95 const LLT Ty = Query.Types[TypeIdx]; in isWideVec16()
103 const LLT Ty = Query.Types[TypeIdx]; in oneMoreElement()
112 const LLT Ty = Query.Types[TypeIdx]; in fewerEltsToSize64Vector()
126 const LLT Ty = Query.Types[TypeIdx]; in moreEltsToNext32Bit()
263 LLT Ty = Query.Types[TypeIdx]; in isIllegalRegisterType()
321 const LLT Ty = Query.Types[0]; in isLoadStoreSizeLegal()
428 const LLT Ty = Query.Types[0]; in isLoadStoreLegal()
1870 [=](const LegalityQuery &Query) { return notValidElt(Query, LitTyIdx); }, in AMDGPULegalizerInfo() argument
[all …]
H A DSIOptimizeExecMaskingPreRA.cpp85 LiveQueryResult AndLRQ = LR.Query(AndIdx); in isDefBetween()
86 return (!AndLRQ.isKill() && AndLRQ.valueIn() != LR.Query(SelIdx).valueOut()); in isDefBetween()
222 auto CCQ = CCLI.Query(SelIdx.getRegSlot()); in optimizeVcndVcmpPair()
233 if ((CmpLI && CmpLI->Query(AndIdx.getRegSlot()).isKill()) || in optimizeVcndVcmpPair()
247 bool IsKill = SelLI->Query(CmpIdx.getRegSlot()).isKill(); in optimizeVcndVcmpPair()
249 bool IsDead = SelLI->Query(SelIdx.getRegSlot()).isDeadDef(); in optimizeVcndVcmpPair()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DLiveRegMatrix.cpp62 Queries.reset(new LiveIntervalUnion::Query[NumRegUnits]); in runOnMachineFunction()
178 LiveIntervalUnion::Query &LiveRegMatrix::query(const LiveRange &LR, in query()
180 LiveIntervalUnion::Query &Q = Queries[RegUnit]; in query()
232 LiveIntervalUnion::Query Q; in checkInterference()
H A DLiveIntervalUnion.cpp115 bool LiveIntervalUnion::Query::isSeenInterference( in isSeenInterference()
130 LiveIntervalUnion::Query::collectInterferingVRegs(unsigned MaxInterferingRegs) { in collectInterferingVRegs()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/GISel/
H A DPPCLegalizerInfo.cpp24 return [=](const LegalityQuery &Query) { in isRegisterType() argument
25 const LLT QueryTy = Query.Types[TypeIdx]; in isRegisterType()
/freebsd-14.2/sys/kern/
H A Dserdev_if.m64 # ihand() - Query serial device interrupt handler.
74 # ipend() - Query pending interrupt status.
83 # sysdev() - Query system device status
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCVSXFMAMutate.cpp112 LIS->getInterval(MI.getOperand(1).getReg()).Query(FMAIdx).valueIn(); in processBlock()
192 if (LIS->getInterval(Reg2).Query(FMAIdx).isKill() in processBlock()
196 } else if (LIS->getInterval(Reg3).Query(FMAIdx).isKill() in processBlock()
/freebsd-14.2/share/skel/
H A Ddot.login7 # Query terminal size; useful for serial lines.
/freebsd-14.2/bin/csh/
H A Ddot.login7 # Query terminal size; useful for serial lines.

1234