| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalityPredicates.cpp | 30 [=](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 D | LegalizeMutations.cpp | 24 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 D | LegalizerInfo.cpp | 183 LegalizeActionStep LegalizeRuleSet::apply(const LegalityQuery &Query) const { in apply() 184 LLVM_DEBUG(dbgs() << "Applying legalizer ruleset to: "; Query.print(dbgs()); in apply() 191 if (Rule.match(Query)) { in apply() 193 std::pair<unsigned, LLT> Mutation = Rule.determineMutation(Query); in apply() 196 assert(mutationIsSane(Rule, Query, Mutation) && in apply() 198 assert(hasNoSimpleLoops(Rule, Query, Mutation) && "Simple loop detected"); in apply() 319 LegalizerInfo::getAction(const LegalityQuery &Query) const { in getAction() 320 LegalizeActionStep Step = getActionDefinitions(Query.Opcode).apply(Query); in getAction() 325 return getLegacyLegalizerInfo().getAction(Query); in getAction()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-query/ |
| H A D | Query.h | 39 struct Query : llvm::RefCountedBase<Query> { struct 41 virtual ~Query(); 55 struct InvalidQuery : Query { 65 struct NoOpQuery : Query { 66 NoOpQuery() : Query(QK_NoOp) {} in NoOpQuery() 73 struct HelpQuery : Query { 74 HelpQuery() : Query(QK_Help) {} in HelpQuery() 81 struct QuitQuery : Query { 82 QuitQuery() : Query(QK_Quit) {} in QuitQuery() 89 struct MatchQuery : Query { [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/GISel/ |
| H A D | AArch64LegalizerInfo.cpp | 120 return Query.Opcode == G_MUL && Query.Types[0] == v2s64; in AArch64LegalizerInfo() 291 const LLT &ValTy = Query.Types[0]; in AArch64LegalizerInfo() 324 Query.Types[0] != Query.MMODescrs[0].MemoryTy && in AArch64LegalizerInfo() 365 Query.Types[0] != Query.MMODescrs[0].MemoryTy; in AArch64LegalizerInfo() 415 [=](const LegalityQuery &Query) { return Query.Types[1] == v2s16; }, in AArch64LegalizerInfo() argument 418 [=](const LegalityQuery &Query) { return Query.Types[1] == v2p0; }, 0, in AArch64LegalizerInfo() argument 451 [=](const LegalityQuery &Query) { return Query.Types[0].isVector(); }, in AArch64LegalizerInfo() argument 454 LLT DstTy = Query.Types[0]; in AArch64LegalizerInfo() 455 LLT SrcTy = Query.Types[1]; in AArch64LegalizerInfo() 517 return Query.Types[0].getSizeInBits() != Query.Types[1].getSizeInBits(); in AArch64LegalizerInfo() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | AutoConvert.cpp | 32 struct f_cnvrt Query = { in enableAutoConversion() local 38 if (fcntl(FD, F_CONTROL_CVT, &Query) == -1) in enableAutoConversion() 41 Query.cvtcmd = SETCVTALL; in enableAutoConversion() 42 Query.pccsid = in enableAutoConversion() 47 Query.fccsid = (Query.fccsid == FT_UNTAGGED) ? CCSID_IBM_1047 : Query.fccsid; in enableAutoConversion() 48 if (fcntl(FD, F_CONTROL_CVT, &Query) == -1) in enableAutoConversion()
|
| H A D | SpecialCaseList.cpp | 60 unsigned SpecialCaseList::Matcher::match(StringRef Query) const { in match() 61 auto It = Strings.find(Query); in match() 64 if (Trigrams.isDefinitelyOut(Query)) in match() 67 if (RegExKV.first->match(Query)) in match() 204 StringRef Query, StringRef Category) const { in inSection() argument 205 return inSectionBlame(Section, Prefix, Query, Category); in inSection() 209 StringRef Query, in inSectionBlame() argument 214 inSectionBlame(SectionIter.Entries, Prefix, Query, Category); in inSectionBlame() 222 StringRef Prefix, StringRef Query, in inSectionBlame() argument 229 return II->getValue().match(Query); in inSectionBlame()
|
| H A D | TrigramIndex.cpp | 86 bool TrigramIndex::isDefinitelyOut(StringRef Query) const { in isDefinitelyOut() 91 for (size_t I = 0; I < Query.size(); I++) { in isDefinitelyOut() 92 Tri = ((Tri << 8) + Query[I]) & 0xFFFFFF; in isDefinitelyOut()
|
| /llvm-project-15.0.7/llvm/lib/Target/Mips/ |
| H A D | MipsLegalizerInfo.cpp | 39 CheckTy0Ty1MemSizeAlign(const LegalityQuery &Query, in CheckTy0Ty1MemSizeAlign() argument 48 if (Val.ValTy != Query.Types[0]) in CheckTy0Ty1MemSizeAlign() 50 if (Val.PtrTy != Query.Types[1]) in CheckTy0Ty1MemSizeAlign() 82 .legalIf([=, &ST](const LegalityQuery &Query) { in MipsLegalizerInfo() argument 83 if (CheckTyN(0, Query, {s32})) in MipsLegalizerInfo() 106 .legalIf([=, &ST](const LegalityQuery &Query) { in MipsLegalizerInfo() argument 126 if (!Query.Types[0].isScalar() || Query.Types[1] != p0 || in MipsLegalizerInfo() 127 Query.Types[0] == s1) in MipsLegalizerInfo() 198 .legalIf([=, &ST](const LegalityQuery &Query) { in MipsLegalizerInfo() argument 199 if (CheckTyN(0, Query, {s32})) in MipsLegalizerInfo() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | LegalizerInfo.h | 229 return [=](const LegalityQuery &Query) { in all() 230 return P0(Query) && P1(Query); in all() 242 return [=](const LegalityQuery &Query) { in any() 243 return P0(Query) || P1(Query); in any() 260 return [=](const LegalityQuery &Query) { in typeIsNot() 405 return Predicate(Query); in match() 413 return Mutation(Query); in determineMutation() 980 [=](const LegalityQuery &Query) { in maxScalarIf() 984 Predicate(Query); in maxScalarIf() 1039 Predicate(Query); in minScalarEltSameAsIf() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | LiveIntervalUnion.h | 112 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 D | LiveRegMatrix.h | 53 std::unique_ptr<LiveIntervalUnion::Query[]> Queries; 153 LiveIntervalUnion::Query &query(const LiveRange &LR, MCRegister RegUnit);
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | DexTests.cpp | 500 Req.Query = "A"; in TEST() 504 Req.Query = ""; in TEST() 516 Req.Query = "5"; in TEST() 548 Req.Query = "o"; in TEST() 586 Req.Query = "y"; in TEST() 594 Req.Query = "y"; in TEST() 604 Req.Query = "y"; in TEST() 614 Req.Query = "y"; in TEST() 623 Req.Query = "y"; in TEST() 633 Req.Query = "y"; in TEST() [all …]
|
| H A D | IndexTests.cpp | 129 Req.Query = "2"; in TEST() 139 Req.Query = "5"; in TEST() 154 Req.Query = "lol"; in TEST() 165 Req.Query = "y"; in TEST() 174 Req.Query = "y"; in TEST() 184 Req.Query = "y"; in TEST() 194 Req.Query = "y"; in TEST() 203 Req.Query = "y"; in TEST() 212 Req.Query = "AB"; in TEST() 267 Req.Query = "TempSpec"; in TEST() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/dex/ |
| H A D | Trigram.cpp | 123 std::vector<Token> generateQueryTrigrams(llvm::StringRef Query) { in generateQueryTrigrams() argument 124 if (Query.empty()) in generateQueryTrigrams() 128 llvm::SmallVector<CharRole> Roles(Query.size()); in generateQueryTrigrams() 129 calculateRoles(Query, llvm::makeMutableArrayRef(Roles.data(), Query.size())); in generateQueryTrigrams() 131 std::string LowercaseQuery = Query.lower(); in generateQueryTrigrams()
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | SpecialCaseList.h | 93 bool inSection(StringRef Section, StringRef Prefix, StringRef Query, 104 unsigned inSectionBlame(StringRef Section, StringRef Prefix, StringRef Query, 127 unsigned match(StringRef Query) const; 153 StringRef Query, StringRef Category) const;
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULegalizerInfo.cpp | 68 const LLT Ty = Query.Types[TypeIdx]; in isSmallOddVector() 82 const LLT Ty = Query.Types[TypeIdx]; in sizeIsMultipleOf32() 89 const LLT Ty = Query.Types[TypeIdx]; in isWideVec16() 97 const LLT Ty = Query.Types[TypeIdx]; in oneMoreElement() 106 const LLT Ty = Query.Types[TypeIdx]; in fewerEltsToSize64Vector() 121 const LLT Ty = Query.Types[TypeIdx]; in moreEltsToNext32Bit() 149 const LLT Ty = Query.Types[TypeIdx]; in bitcastToRegisterType() 269 const LLT Ty = Query.Types[0]; in isLoadStoreSizeLegal() 356 const LLT Ty = Query.Types[0]; in isLoadStoreLegal() 1602 [=](const LegalityQuery &Query) { return notValidElt(Query, LitTyIdx); }, in AMDGPULegalizerInfo() argument [all …]
|
| H A D | SIOptimizeExecMaskingPreRA.cpp | 85 LiveQueryResult AndLRQ = LR.Query(AndIdx); in isDefBetween() 86 return (!AndLRQ.isKill() && AndLRQ.valueIn() != LR.Query(SelIdx).valueOut()); in isDefBetween() 242 auto CCQ = CCLI.Query(SelIdx.getRegSlot()); in optimizeVcndVcmpPair() 252 auto CCQS = SR.Query(SelIdx.getRegSlot()); in optimizeVcndVcmpPair() 268 if ((CmpLI && CmpLI->Query(AndIdx.getRegSlot()).isKill()) || in optimizeVcndVcmpPair() 282 bool IsKill = SelLI->Query(CmpIdx.getRegSlot()).isKill(); in optimizeVcndVcmpPair() 284 bool IsDead = SelLI->Query(SelIdx.getRegSlot()).isDeadDef(); in optimizeVcndVcmpPair()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/ |
| H A D | IncludeFixer.cpp | 342 IncludeFixerSemaSource::query(StringRef Query, StringRef ScopedQualifiers, in query() argument 344 assert(!Query.empty() && "Empty query!"); in query() 354 Query == QuerySymbolInfos.front().RawIdentifier) { in query() 356 {Query.str(), std::string(ScopedQualifiers), Range}); in query() 361 LLVM_DEBUG(llvm::dbgs() << "Looking up '" << Query << "' at "); in query() 372 {Query.str(), std::string(ScopedQualifiers), Range}); in query() 386 std::string QueryString = ScopedQualifiers.str() + Query.str(); in query() 394 SymbolIndexMgr.search(Query, /*IsNestedSearch=*/true, FileName); in query()
|
| /llvm-project-15.0.7/clang/unittests/CodeGen/ |
| H A D | IRMatchers.h | 60 class Query { 65 Query(const Value *V, unsigned N) : Entity(V), OperandNo(N) {} in Query() function 66 Query(const Metadata *M, unsigned N) : Entity(M), OperandNo(N) {} in Query() function 67 Query(const Type *T, unsigned N) : Entity(T), OperandNo(N) {} in Query() function 79 MatchStack.push_back(Query(V, N)); 95 const Query &getQuery(unsigned Offset) const { in getQuery() 101 SmallVector<Query, 8> MatchStack; 183 const MatcherContext::Query &StackRec = C.getQuery(1); in match()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | FindSymbols.cpp | 42 bool approximateScopeMatch(llvm::StringRef Scope, llvm::StringRef Query) { in approximateScopeMatch() argument 44 assert(Query.empty() || Query.endswith("::")); in approximateScopeMatch() 45 while (!Scope.empty() && !Query.empty()) { in approximateScopeMatch() 51 Query.consume_front(LeadingSpecifier); in approximateScopeMatch() 53 return Query.empty(); in approximateScopeMatch() 83 getWorkspaceSymbols(llvm::StringRef Query, int Limit, in getWorkspaceSymbols() argument 93 auto Names = splitQualifiedName(Query); in getWorkspaceSymbols() 96 Req.Query = std::string(Names.second); in getWorkspaceSymbols() 114 FuzzyMatcher Filter(Req.Query); in getWorkspaceSymbols() 134 Relevance.Query = SymbolRelevanceSignals::Generic; in getWorkspaceSymbols()
|
| /llvm-project-15.0.7/clang/test/CodeGenObjC/ |
| H A D | private-extern-selector-reference.m | 4 @interface Query interface 9 @interface ObserverQuery : Query @end
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | LiveRegMatrix.cpp | 62 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()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/ |
| H A D | Index.h | 29 std::string Query; member 52 return std::tie(Query, Scopes, Limit, RestrictForCodeCompletion, 54 std::tie(Req.Query, Req.Scopes, Req.Limit,
|
| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | SanitizerSpecialCaseList.cpp | 57 StringRef Query, in inSection() argument 61 SpecialCaseList::inSectionBlame(S.Entries, Prefix, Query, Category)) in inSection()
|