Home
last modified time | relevance | path

Searched refs:TraitProperty (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/
H A DOMPContext.h45 enum class TraitProperty { enum
58 TraitSet getOpenMPContextTraitSetForProperty(TraitProperty Property);
68 TraitSelector getOpenMPContextTraitSelectorForProperty(TraitProperty Property);
75 TraitProperty getOpenMPContextTraitPropertyKind(TraitSet Set,
80 TraitProperty getOpenMPContextTraitPropertyForSelector(TraitSelector Selector);
85 StringRef getOpenMPContextTraitPropertyName(TraitProperty Kind,
90 StringRef getOpenMPContextTraitPropertyFullName(TraitProperty Kind);
112 bool isValidTraitPropertyForTraitSetAndSelector(TraitProperty Property,
124 void addTrait(TraitProperty Property, StringRef RawString,
133 void addTrait(TraitSet Set, TraitProperty Property, StringRef RawString,
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPContext.cpp31 ? TraitProperty::device_kind_nohost in OMPContext()
32 : TraitProperty::device_kind_host)); in OMPContext()
50 ActiveTraits.set(unsigned(TraitProperty::device_kind_cpu)); in OMPContext()
55 ActiveTraits.set(unsigned(TraitProperty::device_kind_gpu)); in OMPContext()
65 ActiveTraits.set(unsigned(TraitProperty::Enum)); \ in OMPContext()
68 ActiveTraits.set(unsigned(TraitProperty::Enum)); \ in OMPContext()
78 ActiveTraits.set(unsigned(TraitProperty::implementation_vendor_llvm)); in OMPContext()
81 ActiveTraits.set(unsigned(TraitProperty::user_condition_true)); in OMPContext()
84 ActiveTraits.set(unsigned(TraitProperty::device_kind_any)); in OMPContext()
90 TraitProperty Property = TraitProperty(Bit); in OMPContext()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseOpenMP.cpp888 TIProperty.Kind = TraitProperty::invalid; in parseOMPTraitPropertyKind()
900 if (TIProperty.Kind != TraitProperty::invalid) { in parseOMPTraitPropertyKind()
902 TIProperty.Kind = TraitProperty::invalid; in parseOMPTraitPropertyKind()
939 TraitProperty PropertyForName = in parseOMPTraitPropertyKind()
941 if (PropertyForName == TraitProperty::invalid) in parseOMPTraitPropertyKind()
963 if (TIProperty.Kind == TraitProperty::invalid) in checkExtensionProperty()
967 TraitProperty::implementation_extension_disable_implicit_base) in checkExtensionProperty()
971 TraitProperty::implementation_extension_allow_templates) in checkExtensionProperty()
975 TraitProperty::implementation_extension_bind_to_declaration) in checkExtensionProperty()
980 llvm::omp::TraitProperty::implementation_extension_match_all || in checkExtensionProperty()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DOpenMPClause.cpp2585 TraitProperty::user_condition_unknown && in getAsVariantMatchInfo()
2590 VMI.addTrait(CondVal->isZero() ? TraitProperty::user_condition_false in getAsVariantMatchInfo()
2591 : TraitProperty::user_condition_true, in getAsVariantMatchInfo()
2594 VMI.addTrait(TraitProperty::user_condition_false, "<condition>"); in getAsVariantMatchInfo()
2604 VMI.addTrait(TraitProperty::user_condition_false, in getAsVariantMatchInfo()
2751 ArrayRef<llvm::omp::TraitProperty> ConstructTraits) in TargetOMPContext()
2760 for (llvm::omp::TraitProperty Property : ConstructTraits)
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DOpenMPClause.h8904 llvm::omp::TraitProperty Kind = llvm::omp::TraitProperty::invalid;
8961 bool isExtensionActive(llvm::omp::TraitProperty TP) { in isExtensionActive()
8988 ArrayRef<llvm::omp::TraitProperty> ConstructTraits);
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenMP.cpp347 SmallVector<llvm::omp::TraitProperty, 8> ConstructTraits;
781 ArrayRef<llvm::omp::TraitProperty> getConstructTraits() { in getConstructTraits()
784 void handleConstructTrait(ArrayRef<llvm::omp::TraitProperty> Traits, in handleConstructTrait()
789 for (llvm::omp::TraitProperty Trait : llvm::reverse(Traits)) { in handleConstructTrait()
790 llvm::omp::TraitProperty Top = ConstructTraits.pop_back_val(); in handleConstructTrait()
4224 SmallVector<llvm::omp::TraitProperty, 8> Traits; in handleDeclareVariantConstructTrait()
4226 Traits.emplace_back(llvm::omp::TraitProperty::construct_target_target); in handleDeclareVariantConstructTrait()
4228 Traits.emplace_back(llvm::omp::TraitProperty::construct_teams_teams); in handleDeclareVariantConstructTrait()
4230 Traits.emplace_back(llvm::omp::TraitProperty::construct_parallel_parallel); in handleDeclareVariantConstructTrait()
4232 Traits.emplace_back(llvm::omp::TraitProperty::construct_for_for); in handleDeclareVariantConstructTrait()
[all …]
H A DSema.cpp962 llvm::omp::TraitProperty:: in checkUndefinedButUsed()
H A DSemaDecl.cpp6041 llvm::omp::TraitProperty:: in ActOnDeclarator()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp11844 Property.Kind = readEnum<llvm::omp::TraitProperty>(); in readOMPTraitInfo()