Home
last modified time | relevance | path

Searched refs:EnumAttr (Results 1 – 22 of 22) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DAttributes.td8 class EnumAttr<string S> : Attr<S>;
17 def Alignment : EnumAttr<"align">;
21 def AllocSize : EnumAttr<"allocsize">;
24 def AlwaysInline : EnumAttr<"alwaysinline">;
27 def ArgMemOnly : EnumAttr<"argmemonly">;
31 def Builtin : EnumAttr<"builtin">;
34 def ByVal : EnumAttr<"byval">;
37 def Cold : EnumAttr<"cold">;
40 def Convergent : EnumAttr<"convergent">;
43 def Dereferenceable : EnumAttr<"dereferenceable">;
[all …]
/external/llvm/include/llvm/IR/
DAttributes.td8 class EnumAttr<string S> : Attr<S>;
17 def Alignment : EnumAttr<"align">;
21 def AllocSize : EnumAttr<"allocsize">;
24 def AlwaysInline : EnumAttr<"alwaysinline">;
27 def ArgMemOnly : EnumAttr<"argmemonly">;
31 def Builtin : EnumAttr<"builtin">;
34 def ByVal : EnumAttr<"byval">;
37 def Cold : EnumAttr<"cold">;
40 def Convergent : EnumAttr<"convergent">;
43 def Dereferenceable : EnumAttr<"dereferenceable">;
[all …]
/external/llvm-project/llvm/include/llvm/IR/
DAttributes.td20 class EnumAttr<string S> : Attr<S>;
42 def AlwaysInline : EnumAttr<"alwaysinline">;
45 def ArgMemOnly : EnumAttr<"argmemonly">;
49 def Builtin : EnumAttr<"builtin">;
58 def NoUndef : EnumAttr<"noundef">;
61 def Cold : EnumAttr<"cold">;
64 def Convergent : EnumAttr<"convergent">;
73 def InaccessibleMemOnly : EnumAttr<"inaccessiblememonly">;
77 def InaccessibleMemOrArgMemOnly : EnumAttr<"inaccessiblemem_or_argmemonly">;
80 def InAlloca : EnumAttr<"inalloca">;
[all …]
/external/swiftshader/third_party/llvm-10.0/configs/common/include/llvm/IR/
DAttributes.inc142 struct EnumAttr {
170 // EnumAttr classes
171 struct AlignmentAttr : EnumAttr {
176 struct AllocSizeAttr : EnumAttr {
181 struct AlwaysInlineAttr : EnumAttr {
186 struct ArgMemOnlyAttr : EnumAttr {
191 struct BuiltinAttr : EnumAttr {
196 struct ByValAttr : EnumAttr {
201 struct ColdAttr : EnumAttr {
206 struct ConvergentAttr : EnumAttr {
[all …]
/external/swiftshader/third_party/llvm-10.0/configs/common/lib/IR/
DAttributesCompatFunc.inc142 struct EnumAttr {
170 // EnumAttr classes
171 struct AlignmentAttr : EnumAttr {
176 struct AllocSizeAttr : EnumAttr {
181 struct AlwaysInlineAttr : EnumAttr {
186 struct ArgMemOnlyAttr : EnumAttr {
191 struct BuiltinAttr : EnumAttr {
196 struct ByValAttr : EnumAttr {
201 struct ColdAttr : EnumAttr {
206 struct ConvergentAttr : EnumAttr {
[all …]
/external/swiftshader/third_party/llvm-subzero/build/MacOS/include/llvm/IR/
DAttributes.gen118 struct EnumAttr {
146 // EnumAttr classes
147 struct AlignmentAttr : EnumAttr {
152 struct AllocSizeAttr : EnumAttr {
157 struct AlwaysInlineAttr : EnumAttr {
162 struct ArgMemOnlyAttr : EnumAttr {
167 struct BuiltinAttr : EnumAttr {
172 struct ByValAttr : EnumAttr {
177 struct ColdAttr : EnumAttr {
182 struct ConvergentAttr : EnumAttr {
[all …]
/external/swiftshader/third_party/llvm-subzero/build/Android/include/llvm/IR/
DAttributes.gen118 struct EnumAttr {
146 // EnumAttr classes
147 struct AlignmentAttr : EnumAttr {
152 struct AllocSizeAttr : EnumAttr {
157 struct AlwaysInlineAttr : EnumAttr {
162 struct ArgMemOnlyAttr : EnumAttr {
167 struct BuiltinAttr : EnumAttr {
172 struct ByValAttr : EnumAttr {
177 struct ColdAttr : EnumAttr {
182 struct ConvergentAttr : EnumAttr {
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DAttributes.inc118 struct EnumAttr {
146 // EnumAttr classes
147 struct AlignmentAttr : EnumAttr {
152 struct AllocSizeAttr : EnumAttr {
157 struct AlwaysInlineAttr : EnumAttr {
162 struct ArgMemOnlyAttr : EnumAttr {
167 struct BuiltinAttr : EnumAttr {
172 struct ByValAttr : EnumAttr {
177 struct ColdAttr : EnumAttr {
182 struct ConvergentAttr : EnumAttr {
[all …]
/external/swiftshader/third_party/llvm-subzero/build/Linux/include/llvm/IR/
DAttributes.gen118 struct EnumAttr {
146 // EnumAttr classes
147 struct AlignmentAttr : EnumAttr {
152 struct AllocSizeAttr : EnumAttr {
157 struct AlwaysInlineAttr : EnumAttr {
162 struct ArgMemOnlyAttr : EnumAttr {
167 struct BuiltinAttr : EnumAttr {
172 struct ByValAttr : EnumAttr {
177 struct ColdAttr : EnumAttr {
182 struct ConvergentAttr : EnumAttr {
[all …]
/external/swiftshader/third_party/llvm-subzero/build/Windows/include/llvm/IR/
DAttributes.gen118 struct EnumAttr {
146 // EnumAttr classes
147 struct AlignmentAttr : EnumAttr {
152 struct AllocSizeAttr : EnumAttr {
157 struct AlwaysInlineAttr : EnumAttr {
162 struct ArgMemOnlyAttr : EnumAttr {
167 struct BuiltinAttr : EnumAttr {
172 struct ByValAttr : EnumAttr {
177 struct ColdAttr : EnumAttr {
182 struct ConvergentAttr : EnumAttr {
[all …]
/external/swiftshader/third_party/llvm-subzero/build/Fuchsia/include/llvm/IR/
DAttributes.gen118 struct EnumAttr {
146 // EnumAttr classes
147 struct AlignmentAttr : EnumAttr {
152 struct AllocSizeAttr : EnumAttr {
157 struct AlwaysInlineAttr : EnumAttr {
162 struct ArgMemOnlyAttr : EnumAttr {
167 struct BuiltinAttr : EnumAttr {
172 struct ByValAttr : EnumAttr {
177 struct ColdAttr : EnumAttr {
182 struct ConvergentAttr : EnumAttr {
[all …]
/external/llvm-project/mlir/lib/TableGen/
DAttribute.cpp174 EnumAttr::EnumAttr(const llvm::Record *record) : Attribute(record) { in EnumAttr() function in EnumAttr
179 EnumAttr::EnumAttr(const llvm::Record &record) : Attribute(&record) {} in EnumAttr() function in EnumAttr
181 EnumAttr::EnumAttr(const llvm::DefInit *init) : EnumAttr(init->getDef()) {} in EnumAttr() function in EnumAttr
183 bool EnumAttr::classof(const Attribute *attr) { in classof()
187 bool EnumAttr::isBitEnum() const { return isSubClassOf("BitEnumAttr"); } in isBitEnum()
189 StringRef EnumAttr::getEnumClassName() const { in getEnumClassName()
193 StringRef EnumAttr::getCppNamespace() const { in getCppNamespace()
197 StringRef EnumAttr::getUnderlyingType() const { in getUnderlyingType()
201 StringRef EnumAttr::getUnderlyingToSymbolFnName() const { in getUnderlyingToSymbolFnName()
205 StringRef EnumAttr::getStringToSymbolFnName() const { in getStringToSymbolFnName()
[all …]
/external/llvm-project/llvm/include/llvm/Frontend/OpenMP/
DOMPKinds.def567 #define EnumAttr(Kind) Attribute::get(Ctx, Attribute::AttrKind::Kind)
580 ? AttributeSet(EnumAttr(NoUnwind), EnumAttr(ReadOnly),
581 EnumAttr(NoSync), EnumAttr(NoFree),
582 EnumAttr(InaccessibleMemOnly),
583 EnumAttr(WillReturn))
584 : AttributeSet(EnumAttr(NoUnwind)))
587 ? AttributeSet(EnumAttr(NoUnwind), EnumAttr(NoSync),
588 EnumAttr(NoFree),
589 EnumAttr(InaccessibleMemOrArgMemOnly),
590 EnumAttr(WillReturn))
[all …]
/external/llvm-project/mlir/tools/mlir-tblgen/
DEnumsGen.cpp29 using mlir::tblgen::EnumAttr;
98 EnumAttr enumAttr(enumDef); in emitMaxValueFn()
136 EnumAttr enumAttr(enumDef); in emitOperators()
157 EnumAttr enumAttr(enumDef); in emitSymToStrFnForIntEnum()
178 EnumAttr enumAttr(enumDef); in emitSymToStrFnForBitEnum()
212 EnumAttr enumAttr(enumDef); in emitStrToSymFnForIntEnum()
232 EnumAttr enumAttr(enumDef); in emitStrToSymFnForBitEnum()
278 EnumAttr enumAttr(enumDef); in emitUnderlyingToSymFnForIntEnum()
309 EnumAttr enumAttr(enumDef); in emitUnderlyingToSymFnForBitEnum()
335 EnumAttr enumAttr(enumDef); in emitEnumDecl()
[all …]
DLLVMIRConversionGen.cpp192 class LLVMEnumAttr : public tblgen::EnumAttr {
194 using tblgen::EnumAttr::EnumAttr;
205 for (auto &c : tblgen::EnumAttr::getAllCases()) in getAllCases()
DSPIRVUtilsGen.cpp44 using mlir::tblgen::EnumAttr;
306 EnumAttr enumAttr(enumDef); in emitAvailabilityQueryForIntEnum()
347 EnumAttr enumAttr(enumDef); in emitAvailabilityQueryForBitEnum()
391 EnumAttr enumAttr(enumDef); in emitEnumDecl()
432 EnumAttr enumAttr(enumDef); in emitEnumDef()
1146 static void emitEnumGetAttrNameFnDefn(const EnumAttr &enumAttr, in emitEnumGetAttrNameFnDefn()
1166 EnumAttr enumAttr(*def); in emitOpUtils()
1203 const auto *enumAttr = llvm::dyn_cast<EnumAttr>(&namedAttr.attr); in emitAvailabilityImpl()
1244 const auto *enumAttr = llvm::dyn_cast<EnumAttr>(&namedAttr.attr); in emitAvailabilityImpl()
1331 EnumAttr enumAttr(recordKeeper.getDef("SPV_CapabilityAttr")); in emitCapabilityImplication()
DOpFormatGen.cpp466 const EnumAttr *enumAttr = dyn_cast<EnumAttr>(&baseAttr); in canFormatEnumAttr()
1112 const EnumAttr &enumAttr = cast<EnumAttr>(baseAttr); in genElementParser()
1688 const EnumAttr &enumAttr = cast<EnumAttr>(baseAttr); in genElementPrinter()
/external/llvm-project/mlir/include/mlir/TableGen/
DAttribute.h163 class EnumAttr : public Attribute {
165 explicit EnumAttr(const llvm::Record *record);
166 explicit EnumAttr(const llvm::Record &record);
167 explicit EnumAttr(const llvm::DefInit *init);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Frontend/OpenMP/
DOMPKinds.def182 #define EnumAttr(Kind) Attribute::get(Ctx, Attribute::AttrKind::Kind)
194 ? AttributeSet(EnumAttr(NoUnwind), EnumAttr(ReadOnly),
195 EnumAttr(NoSync), EnumAttr(NoFree))
196 : AttributeSet(EnumAttr(NoUnwind)))
208 __OMP_RTL_ATTRS(__kmpc_fork_call, AttributeSet(EnumAttr(NoUnwind)),
217 #undef EnumAttr
/external/llvm-project/llvm/lib/IR/
DAttributes.cpp2041 struct EnumAttr { struct
2071 struct ENUM_NAME##Attr : EnumAttr { \
/external/llvm-project/mlir/docs/
DOpDefinitions.md548 declaration. This works for `BoolAttr`, `StrAttr`, `EnumAttr` for now and the
1272 All these `*EnumAttr` attributes require fully specifying all of the allowed
1275 interaction between `*EnumAttr`s and their C++ consumers, the
1281 For example, given the following `EnumAttr`:
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_op_base.td444 // TODO: Use EnumAttr to define the common attribute cases