Home
last modified time | relevance | path

Searched refs:TraitSelector (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPContext.cpp63 if (TraitSelector::TraitSelectorEnum == TraitSelector::device_arch) { \ in OMPContext()
204 TraitSelector::implementation_extension) in isVariantApplicableInContextHelper()
309 case TraitSelector::device_kind: in getVariantMatchScore()
312 case TraitSelector::device_arch: in getVariantMatchScore()
315 case TraitSelector::device_isa: in getVariantMatchScore()
385 llvm::omp::getOpenMPContextTraitSetForSelector(TraitSelector Selector) { in getOpenMPContextTraitSetForSelector()
388 case TraitSelector::Enum: \ in getOpenMPContextTraitSetForSelector()
414 TraitSelector llvm::omp::getOpenMPContextTraitSelectorKind(StringRef S) { in getOpenMPContextTraitSelectorKind()
415 return StringSwitch<TraitSelector>(S) in getOpenMPContextTraitSelectorKind()
417 .Case(Str, TraitSelector::Enum) in getOpenMPContextTraitSelectorKind()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/
H A DOMPContext.h39 enum class TraitSelector { enum
55 TraitSet getOpenMPContextTraitSetForSelector(TraitSelector Selector);
65 TraitSelector getOpenMPContextTraitSelectorKind(StringRef Str);
68 TraitSelector getOpenMPContextTraitSelectorForProperty(TraitProperty Property);
71 StringRef getOpenMPContextTraitSelectorName(TraitSelector Kind);
76 TraitSelector Selector,
80 TraitProperty getOpenMPContextTraitPropertyForSelector(TraitSelector Selector);
100 TraitSelector Selector);
107 bool isValidTraitSelectorForTraitSet(TraitSelector Selector, TraitSet Set,
113 TraitSelector Selector,
H A DOMPKinds.def1221 #define __OMP_TRAIT_PROPERTY(TraitSet, TraitSelector, Name) \
1222 OMP_TRAIT_PROPERTY(TraitSet##_##TraitSelector##_##Name, TraitSet, \
1223 TraitSet##_##TraitSelector, #Name)
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseOpenMP.cpp886 llvm::omp::TraitSelector Selector, in parseOMPTraitPropertyKind()
921 TraitSelector SelectorForName = getOpenMPContextTraitSelectorKind(Name); in parseOMPTraitPropertyKind()
922 if (SelectorForName != TraitSelector::invalid) { in parseOMPTraitPropertyKind()
960 llvm::omp::TraitSelector::implementation_extension && in checkExtensionProperty()
1007 assert(TISelector.Kind != TraitSelector::user_condition && in parseOMPContextProperty()
1014 if (TISelector.Kind == llvm::omp::TraitSelector::implementation_extension) in parseOMPContextProperty()
1055 TISelector.Kind = TraitSelector::invalid; in parseOMPTraitSelectorKind()
1066 if (TISelector.Kind != TraitSelector::invalid) { in parseOMPTraitSelectorKind()
1068 TISelector.Kind = TraitSelector::invalid; in parseOMPTraitSelectorKind()
1089 PotentialSet, TraitSelector::invalid, Name); in parseOMPTraitSelectorKind()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DOpenMPClause.cpp2580 if (Selector.Kind == TraitSelector::user_condition) { in getAsVariantMatchInfo()
2649 if (Selector.Kind == TraitSelector::user_condition) { in print()
2691 Selector.Kind == TraitSelector::user_condition) in getMangledName()
2720 Selector.Kind = TraitSelector(U); in OMPTraitInfo()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DOpenMPClause.h8912 llvm::omp::TraitSelector Kind = llvm::omp::TraitSelector::invalid;
8944 llvm::omp::TraitSelector::user_condition); in anyScoreOrCondition()
8966 if (Selector.Kind != llvm::omp::TraitSelector::implementation_extension) in isExtensionActive()
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h3399 llvm::omp::TraitSelector Selector,
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp11838 Selector.Kind = readEnum<llvm::omp::TraitSelector>(); in readOMPTraitInfo()