Searched refs:AttrTy (Results 1 – 10 of 10) sorted by relevance
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_parser.cc | 305 enum class AttrTy { enum in xla::__anon8590f6b60111::HloParserImpl 343 AttrTy attr_type; // what type it is 803 attrs["is_scheduled"] = {/*required=*/false, AttrTy::kBool, &is_scheduled}; in ParseHloModule() 804 attrs["input_output_alias"] = {/*required=*/false, AttrTy::kAliasing, in ParseHloModule() 1001 attrs["sharding"] = {/*required=*/false, AttrTy::kSharding, &sharding}; in ParseInstructionRhs() 1003 /*required=*/false, AttrTy::kFrontendAttributes, &frontend_attributes}; in ParseInstructionRhs() 1006 AttrTy::kParameterReplication, in ParseInstructionRhs() 1009 attrs["control-predecessors"] = {/*required=*/false, AttrTy::kInstructionList, in ParseInstructionRhs() 1012 attrs["metadata"] = {/*required=*/false, AttrTy::kMetadata, &metadata}; in ParseInstructionRhs() 1015 attrs["backend_config"] = {/*required=*/false, AttrTy::kString, in ParseInstructionRhs() [all …]
|
/external/llvm-project/mlir/include/mlir/IR/ |
D | BuiltinAttributes.h | 86 template <typename AttrTy> 89 AttrTy (*)(Attribute)> { 92 : llvm::mapped_iterator<ArrayAttr::iterator, AttrTy (*)(Attribute)>( in attr_value_iterator() 93 it, [](Attribute attr) { return attr.cast<AttrTy>(); }) {} in attr_value_iterator() 94 AttrTy operator*() const { return (*this->I).template cast<AttrTy>(); } 98 template <typename AttrTy> 99 iterator_range<attr_value_iterator<AttrTy>> getAsRange() { in getAsRange() 100 return llvm::make_range(attr_value_iterator<AttrTy>(begin()), in getAsRange() 101 attr_value_iterator<AttrTy>(end())); in getAsRange() 103 template <typename AttrTy, typename UnderlyingTy = typename AttrTy::ValueType> [all …]
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaCUDA.cpp | 839 template <typename AttrTy> 842 if (AttrTy *Attribute = TemplateFD.getAttr<AttrTy>()) { in copyAttrIfPresent() 843 AttrTy *Clone = Attribute->clone(S.Context); in copyAttrIfPresent()
|
D | SemaDeclAttr.cpp | 300 template <typename AttrTy> 302 if (const auto *A = D->getAttr<AttrTy>()) { in checkAttrMutualExclusion() 310 template <typename AttrTy> 312 if (const auto *A = D->getAttr<AttrTy>()) { in checkAttrMutualExclusion() 2185 template <typename AttrTy> 2192 D->addAttr(::new (S.Context) AttrTy(S.Context, AL, Str)); in handleAttrWithMessage()
|
D | SemaType.cpp | 272 if (auto *AttrTy = TypeWithAuto->getAs<AttributedType>()) { in ReplaceAutoType() local 276 if (A.first == AttrTy) in ReplaceAutoType()
|
/external/clang/lib/Analysis/ |
D | ThreadSafety.cpp | 1148 template <typename AttrTy> 1149 static typename std::enable_if<!has_arg_iterator_range<AttrTy>::value, 1151 ClassifyDiagnostic(const AttrTy *A) { in ClassifyDiagnostic() 1157 template <typename AttrTy> 1158 static typename std::enable_if<has_arg_iterator_range<AttrTy>::value, 1160 ClassifyDiagnostic(const AttrTy *A) { in ClassifyDiagnostic()
|
/external/llvm-project/clang/lib/Analysis/ |
D | ThreadSafety.cpp | 1250 template <typename AttrTy> 1251 static std::enable_if_t<!has_arg_iterator_range<AttrTy>::value, StringRef> 1252 ClassifyDiagnostic(const AttrTy *A) { in ClassifyDiagnostic() 1258 template <typename AttrTy> 1259 static std::enable_if_t<has_arg_iterator_range<AttrTy>::value, StringRef> 1260 ClassifyDiagnostic(const AttrTy *A) { in ClassifyDiagnostic()
|
/external/llvm-project/clang/lib/AST/ |
D | TypePrinter.cpp | 274 const auto *AttrTy = cast<AttributedType>(T); in canPrefixQualifiers() local 275 CanPrefixQualifiers = AttrTy->getAttrKind() == attr::AddressSpace; in canPrefixQualifiers()
|
D | Type.cpp | 4169 QualType AttrTy = T; in stripOuterNullability() local 4171 AttrTy = MacroTy->getUnderlyingType(); in stripOuterNullability() 4173 if (auto attributed = dyn_cast<AttributedType>(AttrTy)) { in stripOuterNullability()
|
/external/clang/lib/Sema/ |
D | SemaDeclAttr.cpp | 250 template <typename AttrTy> 253 if (AttrTy *A = D->getAttr<AttrTy>()) { in checkAttrMutualExclusion() 1877 template <typename AttrTy> 1885 D->addAttr(::new (S.Context) AttrTy(Attr.getRange(), S.Context, Str, in handleAttrWithMessage()
|