Searched refs:TraitSet (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/ |
H A D | OMPContext.h | 33 enum class TraitSet { enum 52 TraitSet getOpenMPContextTraitSetKind(StringRef Str); 55 TraitSet getOpenMPContextTraitSetForSelector(TraitSelector Selector); 58 TraitSet getOpenMPContextTraitSetForProperty(TraitProperty Property); 61 StringRef getOpenMPContextTraitSetName(TraitSet Kind); 75 TraitProperty getOpenMPContextTraitPropertyKind(TraitSet Set, 96 std::string listOpenMPContextTraitSelectors(TraitSet Set); 99 std::string listOpenMPContextTraitProperties(TraitSet Set, 107 bool isValidTraitSelectorForTraitSet(TraitSelector Selector, TraitSet Set, 114 TraitSet Set); [all …]
|
H A D | OMPKinds.def | 1215 #define __OMP_TRAIT_SELECTOR(TraitSet, Name, RequiresProperty) \ 1216 OMP_TRAIT_SELECTOR(TraitSet##_##Name, TraitSet, #Name, RequiresProperty) 1217 #define __OMP_TRAIT_SELECTOR_AND_PROPERTY(TraitSet, Name) \ 1218 OMP_TRAIT_SELECTOR(TraitSet##_##Name, TraitSet, #Name, false) \ 1219 OMP_TRAIT_PROPERTY(TraitSet##_##Name##_##Name, TraitSet, TraitSet##_##Name, \ 1221 #define __OMP_TRAIT_PROPERTY(TraitSet, TraitSelector, Name) \ 1222 OMP_TRAIT_PROPERTY(TraitSet##_##TraitSelector##_##Name, TraitSet, \ 1223 TraitSet##_##TraitSelector, #Name)
|
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/ |
H A D | OMPContext.cpp | 198 getOpenMPContextTraitSetForProperty(Property) != TraitSet::device) in isVariantApplicableInContextHelper() 226 TraitSet::construct && in isVariantApplicableInContextHelper() 287 case TraitSet::construct: in getVariantMatchScore() 291 case TraitSet::implementation: in getVariantMatchScore() 294 case TraitSet::user: in getVariantMatchScore() 297 case TraitSet::device: in getVariantMatchScore() 300 case TraitSet::invalid: in getVariantMatchScore() 328 TraitSet::construct && in getVariantMatchScore() 377 TraitSet llvm::omp::getOpenMPContextTraitSetKind(StringRef S) { in getOpenMPContextTraitSetKind() 378 return StringSwitch<TraitSet>(S) in getOpenMPContextTraitSetKind() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseOpenMP.cpp | 885 llvm::omp::TraitSet Set, in parseOMPTraitPropertyKind() 912 TraitSet SetForName = getOpenMPContextTraitSetKind(Name); in parseOMPTraitPropertyKind() 913 if (SetForName != TraitSet::invalid) { in parseOMPTraitPropertyKind() 937 {TraitSet::construct, TraitSet::user, TraitSet::implementation, in parseOMPTraitPropertyKind() 938 TraitSet::device}) { in parseOMPTraitPropertyKind() 1005 llvm::omp::TraitSet Set, in parseOMPContextProperty() 1053 llvm::omp::TraitSet Set, in parseOMPTraitSelectorKind() 1076 TraitSet SetForName = getOpenMPContextTraitSetKind(Name); in parseOMPTraitSelectorKind() 1077 if (SetForName != TraitSet::invalid) { in parseOMPTraitSelectorKind() 1086 {TraitSet::construct, TraitSet::user, TraitSet::implementation, in parseOMPTraitSelectorKind() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Parse/ |
H A D | Parser.h | 3398 llvm::omp::TraitSet Set, 3404 llvm::omp::TraitSet Set, 3413 llvm::omp::TraitSet Set, 3418 llvm::omp::TraitSet Set,
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | OpenMPClause.cpp | 2611 if (Set.Kind != TraitSet::construct) in getAsVariantMatchInfo() 2712 Set.Kind = TraitSet(U); in OMPTraitInfo()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | OpenMPClause.h | 8916 llvm::omp::TraitSet Kind = llvm::omp::TraitSet::invalid; 8963 if (Set.Kind != llvm::omp::TraitSet::implementation) in isExtensionActive()
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTReader.cpp | 11835 Set.Kind = readEnum<llvm::omp::TraitSet>(); in readOMPTraitInfo()
|