Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/
H A DOMPContext.h45 enum class TraitProperty { enum
140 if (Property == TraitProperty::device_isa___ANY)
150 SmallVector<TraitProperty, 8> ConstructTraits;
151 SmallDenseMap<TraitProperty, APInt> ScoreMap;
161 void addTrait(TraitProperty Property) { in addTrait()
176 SmallVector<TraitProperty, 8> ConstructTraits;
194 template <> struct DenseMapInfo<omp::TraitProperty> {
195 static inline omp::TraitProperty getEmptyKey() {
196 return omp::TraitProperty(-1);
199 return omp::TraitProperty(-2);
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPContext.cpp89 TraitProperty Property = TraitProperty(Bit); in OMPContext()
195 TraitProperty Property = TraitProperty(Bit); in isVariantApplicableInContextHelper()
276 TraitProperty Property = TraitProperty(Bit); in getVariantMatchScore()
445 return TraitProperty::device_isa___ANY; in getOpenMPContextTraitPropertyKind()
448 return TraitProperty::Enum; in getOpenMPContextTraitPropertyKind()
450 return TraitProperty::invalid; in getOpenMPContextTraitPropertyKind()
452 TraitProperty
454 return StringSwitch<TraitProperty>( in getOpenMPContextTraitPropertyForSelector()
459 : TraitProperty::invalid) in getOpenMPContextTraitPropertyForSelector()
461 .Default(TraitProperty::invalid); in getOpenMPContextTraitPropertyForSelector()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseOpenMP.cpp878 TIProperty.Kind = TraitProperty::invalid; in parseOMPTraitPropertyKind()
890 if (TIProperty.Kind != TraitProperty::invalid) { in parseOMPTraitPropertyKind()
892 TIProperty.Kind = TraitProperty::invalid; in parseOMPTraitPropertyKind()
929 TraitProperty PropertyForName = in parseOMPTraitPropertyKind()
931 if (PropertyForName == TraitProperty::invalid) in parseOMPTraitPropertyKind()
953 if (TIProperty.Kind == TraitProperty::invalid) in checkExtensionProperty()
961 TraitProperty::implementation_extension_allow_templates) in checkExtensionProperty()
1007 TIProperty.Kind = TraitProperty::invalid; in parseOMPContextProperty()
1010 if (TIProperty.Kind == TraitProperty::invalid) { in parseOMPContextProperty()
1080 if (PropertyForName == TraitProperty::invalid) in parseOMPTraitSelectorKind()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DOpenMPClause.cpp2583 TraitProperty::user_condition_unknown && in getAsVariantMatchInfo()
2588 VMI.addTrait(CondVal->isZero() ? TraitProperty::user_condition_false in getAsVariantMatchInfo()
2589 : TraitProperty::user_condition_true, in getAsVariantMatchInfo()
2592 VMI.addTrait(TraitProperty::user_condition_false, "<condition>"); in getAsVariantMatchInfo()
2602 VMI.addTrait(TraitProperty::user_condition_false, in getAsVariantMatchInfo()
2749 ArrayRef<llvm::omp::TraitProperty> ConstructTraits) in TargetOMPContext()
2758 for (llvm::omp::TraitProperty Property : ConstructTraits)
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DOpenMPClause.h8864 llvm::omp::TraitProperty Kind = llvm::omp::TraitProperty::invalid;
8921 bool isExtensionActive(llvm::omp::TraitProperty TP) { in isExtensionActive()
8948 ArrayRef<llvm::omp::TraitProperty> ConstructTraits);
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenMP.cpp342 SmallVector<llvm::omp::TraitProperty, 8> ConstructTraits;
776 ArrayRef<llvm::omp::TraitProperty> getConstructTraits() { in getConstructTraits()
779 void handleConstructTrait(ArrayRef<llvm::omp::TraitProperty> Traits, in handleConstructTrait()
784 for (llvm::omp::TraitProperty Trait : llvm::reverse(Traits)) { in handleConstructTrait()
785 llvm::omp::TraitProperty Top = ConstructTraits.pop_back_val(); in handleConstructTrait()
4182 SmallVector<llvm::omp::TraitProperty, 8> Traits; in handleDeclareVariantConstructTrait()
4184 Traits.emplace_back(llvm::omp::TraitProperty::construct_target_target); in handleDeclareVariantConstructTrait()
4186 Traits.emplace_back(llvm::omp::TraitProperty::construct_teams_teams); in handleDeclareVariantConstructTrait()
4190 Traits.emplace_back(llvm::omp::TraitProperty::construct_for_for); in handleDeclareVariantConstructTrait()
4192 Traits.emplace_back(llvm::omp::TraitProperty::construct_simd_simd); in handleDeclareVariantConstructTrait()
[all …]
H A DSema.cpp902 llvm::omp::TraitProperty:: in checkUndefinedButUsed()
H A DSemaDecl.cpp6216 if (getOMPTraitInfoForSurroundingScope()->isExtensionActive(llvm::omp::TraitProperty:: in ActOnDeclarator()
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp11698 Property.Kind = readEnum<llvm::omp::TraitProperty>(); in readOMPTraitInfo()