Home
last modified time | relevance | path

Searched refs:addTrait (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/llvm/unittests/Frontend/
DOpenMPContextTest.cpp82 UserCondFalse.addTrait(TraitProperty::user_condition_false, ""); in TEST_F()
89 DeviceArchArm.addTrait(TraitProperty::device_arch_arm, ""); in TEST_F()
96 LLVMHostUserCondTrue.addTrait(TraitProperty::implementation_vendor_llvm, ""); in TEST_F()
97 LLVMHostUserCondTrue.addTrait(TraitProperty::device_kind_host, ""); in TEST_F()
98 LLVMHostUserCondTrue.addTrait(TraitProperty::device_kind_any, ""); in TEST_F()
99 LLVMHostUserCondTrue.addTrait(TraitProperty::user_condition_true, ""); in TEST_F()
106 LLVMHostUserCondTrueCPU.addTrait(TraitProperty::device_kind_cpu, ""); in TEST_F()
116 GPU.addTrait(TraitProperty::device_kind_gpu, ""); in TEST_F()
123 NoHost.addTrait(TraitProperty::device_kind_nohost, ""); in TEST_F()
132 HostLinuxParallelParallel.addTrait( in TEST_F()
[all …]
/external/llvm-project/llvm/include/llvm/Frontend/OpenMP/
DOMPContext.h124 void addTrait(TraitProperty Property, StringRef RawString,
126 addTrait(getOpenMPContextTraitSetForProperty(Property), Property, RawString,
133 void addTrait(TraitSet Set, TraitProperty Property, StringRef RawString,
161 void addTrait(TraitProperty Property) { in addTrait() function
162 addTrait(getOpenMPContextTraitSetForProperty(Property), Property); in addTrait()
164 void addTrait(TraitSet Set, TraitProperty Property) { in addTrait() function
/external/llvm-project/mlir/tools/mlir-tblgen/
DOpDefinitionsGen.cpp548 opClass.addTrait("::mlir::DerivedAttributeOpInterface::Trait"); in genAttrGetters()
1659 opClass.addTrait(effect->getInterfaceTrait()); in genSideEffectInterfaceMethods()
2001 opClass.addTrait("::mlir::OpTrait::Variadic" + traitKind + "s"); in addSizeCountTrait()
2003 opClass.addTrait("::mlir::OpTrait::AtLeastN" + traitKind + "s<" + in addSizeCountTrait()
2009 opClass.addTrait("::mlir::OpTrait::Zero" + traitKind); in addSizeCountTrait()
2012 opClass.addTrait("::mlir::OpTrait::One" + traitKind); in addSizeCountTrait()
2015 opClass.addTrait("::mlir::OpTrait::N" + traitKind + "s<" + Twine(numTotal) + in addSizeCountTrait()
2044 opClass.addTrait("::mlir::OpTrait::VariadicOperands"); in genTraits()
2046 opClass.addTrait("::mlir::OpTrait::AtLeastNOperands<" + in genTraits()
2051 opClass.addTrait("::mlir::OpTrait::ZeroOperands"); in genTraits()
[all …]
/external/llvm-project/mlir/lib/TableGen/
DOpClass.cpp296 void OpClass::addTrait(Twine trait) { in addTrait() function in OpClass
/external/llvm-project/mlir/include/mlir/TableGen/
DOpClass.h422 void addTrait(Twine trait);
/external/llvm-project/clang/lib/AST/
DOpenMPClause.cpp2141 VMI.addTrait(CondVal->isNullValue() in getAsVariantMatchInfo()
2146 VMI.addTrait(TraitProperty::user_condition_false, "<condition>"); in getAsVariantMatchInfo()
2156 VMI.addTrait(TraitProperty::user_condition_false, in getAsVariantMatchInfo()
2161 VMI.addTrait(Set.Kind, Property.Kind, Property.RawString, ScorePtr); in getAsVariantMatchInfo()