Lines Matching refs:Selector
2259 for (const OMPTraitSelector &Selector : Set.Selectors) { in getAsVariantMatchInfo() local
2262 if (Selector.Kind == TraitSelector::user_condition) { in getAsVariantMatchInfo()
2263 assert(Selector.ScoreOrCondition && in getAsVariantMatchInfo()
2265 assert(Selector.Properties.size() == 1 && in getAsVariantMatchInfo()
2266 Selector.Properties.front().Kind == in getAsVariantMatchInfo()
2271 Selector.ScoreOrCondition->getIntegerConstantExpr(ASTCtx)) in getAsVariantMatchInfo()
2283 if (Selector.ScoreOrCondition) { in getAsVariantMatchInfo()
2284 if ((Score = Selector.ScoreOrCondition->getIntegerConstantExpr(ASTCtx))) in getAsVariantMatchInfo()
2291 for (const OMPTraitProperty &Property : Selector.Properties) in getAsVariantMatchInfo()
2298 assert(Selector.Properties.size() == 1 && in getAsVariantMatchInfo()
2299 Selector.Properties.front().Kind == in getAsVariantMatchInfo()
2301 Selector.Kind) && in getAsVariantMatchInfo()
2304 VMI.ConstructTraits.push_back(Selector.Properties.front().Kind); in getAsVariantMatchInfo()
2319 for (const OMPTraitSelector &Selector : Set.Selectors) { in print() local
2323 OS << getOpenMPContextTraitSelectorName(Selector.Kind); in print()
2328 Selector.Kind, Set.Kind, AllowsTraitScore, RequiresProperty); in print()
2334 if (Selector.Kind == TraitSelector::user_condition) { in print()
2335 if (Selector.ScoreOrCondition) in print()
2336 Selector.ScoreOrCondition->printPretty(OS, nullptr, Policy); in print()
2341 if (Selector.ScoreOrCondition) { in print()
2343 Selector.ScoreOrCondition->printPretty(OS, nullptr, Policy); in print()
2348 for (const OMPTraitProperty &Property : Selector.Properties) { in print()
2367 for (const OMPTraitSelector &Selector : Set.Selectors) { in getMangledName() local
2372 Selector.Kind, Set.Kind, AllowsTraitScore, RequiresProperty); in getMangledName()
2373 OS << '$' << 's' << unsigned(Selector.Kind); in getMangledName()
2376 Selector.Kind == TraitSelector::user_condition) in getMangledName()
2379 for (const OMPTraitProperty &Property : Selector.Properties) in getMangledName()
2404 OMPTraitSelector &Selector = Set.Selectors.back(); in OMPTraitInfo() local
2405 Selector.Kind = TraitSelector(U); in OMPTraitInfo()
2409 Selector.Properties.push_back(OMPTraitProperty()); in OMPTraitInfo()
2410 OMPTraitProperty &Property = Selector.Properties.back(); in OMPTraitInfo()
2414 Set.Kind, Selector.Kind, PropRestPair.first); in OMPTraitInfo()