Home
last modified time | relevance | path

Searched refs:Attribute (Results 1 – 25 of 900) sorted by relevance

12345678910>>...36

/llvm-project-15.0.7/llvm/lib/Target/DirectX/
H A DDXILPrepare.cpp36 Attribute::Builtin, in isValidForDXIL()
37 Attribute::ByVal, in isValidForDXIL()
39 Attribute::Cold, in isValidForDXIL()
42 Attribute::InReg, in isValidForDXIL()
44 Attribute::MinSize, in isValidForDXIL()
45 Attribute::Naked, in isValidForDXIL()
46 Attribute::Nest, in isValidForDXIL()
47 Attribute::NoAlias, in isValidForDXIL()
67 Attribute::SExt, in isValidForDXIL()
78 Attribute::ZExt}, in isValidForDXIL()
[all …]
/llvm-project-15.0.7/llvm/unittests/IR/
H A DAttributesTest.cpp24 Attribute AttrA = Attribute::get(C, Attribute::AlwaysInline); in TEST()
25 Attribute AttrB = Attribute::get(C, Attribute::AlwaysInline); in TEST()
39 Attribute Align4 = Attribute::get(C, Attribute::Alignment, 4); in TEST()
40 Attribute Align5 = Attribute::get(C, Attribute::Alignment, 5); in TEST()
41 Attribute Deref4 = Attribute::get(C, Attribute::Dereferenceable, 4); in TEST()
42 Attribute Deref5 = Attribute::get(C, Attribute::Dereferenceable, 5); in TEST()
48 Attribute ByVal = Attribute::get(C, Attribute::ByVal, Type::getInt32Ty(C)); in TEST()
49 EXPECT_FALSE(ByVal < Attribute::get(C, Attribute::ZExt)); in TEST()
183 Attribute A = Attribute::getWithByValType(C, Ty); in TEST()
194 Attribute Attr1 = Attribute::get(C1, Attribute::AlwaysInline); in TEST()
[all …]
/llvm-project-15.0.7/lldb/test/API/functionalities/module_cache/debug_index/
H A Dexe.yaml50 - Attribute: DW_AT_producer
54 - Attribute: DW_AT_name
66 - Attribute: DW_AT_low_pc
74 - Attribute: DW_AT_name
76 - Attribute: DW_AT_type
90 - Attribute: DW_AT_name
102 - Attribute: DW_AT_name
116 - Attribute: DW_AT_type
124 - Attribute: DW_AT_name
138 - Attribute: DW_AT_name
[all …]
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DAttributes.h24 class Attribute {
36 constexpr Attribute() {} in Attribute() function
40 Attribute(const Attribute &other) = default;
41 Attribute &operator=(const Attribute &other) = default;
188 NamedAttribute(Attribute name, Attribute value) : name(name), value(value) {} in NamedAttribute()
196 Attribute name;
198 Attribute value;
202 using AttrPairT = std::pair<Attribute, Attribute>; in hash_value()
224 : public detail::Interface<ConcreteType, Attribute, Traits, Attribute,
263 return mlir::Attribute(static_cast<mlir::Attribute::ImplType *>(pointer));
[all …]
/llvm-project-15.0.7/llvm/lib/IR/
H A DAttributes.cpp90 Attribute Attribute::get(LLVMContext &Context, Attribute::AttrKind Kind, in get()
142 Attribute Attribute::get(LLVMContext &Context, Attribute::AttrKind Kind, in get()
164 Attribute Attribute::getWithAlignment(LLVMContext &Context, Align A) { in getWithAlignment()
174 Attribute Attribute::getWithDereferenceableBytes(LLVMContext &Context, in getWithDereferenceableBytes()
206 Attribute Attribute::getWithUWTableKind(LLVMContext &Context, in getWithUWTableKind()
211 Attribute
219 Attribute Attribute::getWithVScaleRangeArgs(LLVMContext &Context, in getWithVScaleRangeArgs()
276 Attribute::AttrKind Attribute::getKindAsEnum() const { in getKindAsEnum()
510 bool Attribute::operator<(Attribute A) const { in operator <()
867 [](Attribute A, Attribute::AttrKind Kind) { in findEnumAttribute()
[all …]
H A DAttributeImpl.h62 bool hasAttribute(Attribute::AttrKind A) const;
65 Attribute::AttrKind getKindAsEnum() const;
117 Attribute::AttrKind Kind;
124 EnumAttributeImpl(Attribute::AttrKind Kind) in EnumAttributeImpl()
126 assert(Kind != Attribute::AttrKind::None && in EnumAttributeImpl()
139 assert(Attribute::isIntAttrKind(Kind) && in IntAttributeImpl()
220 DenseMap<StringRef, Attribute> StringAttrs;
222 AttributeSetNode(ArrayRef<Attribute> Attrs);
226 Optional<Attribute> findEnumAttribute(Attribute::AttrKind Kind) const;
248 Attribute getAttribute(Attribute::AttrKind Kind) const;
[all …]
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DFunction.h330 void addFnAttr(Attribute Attr);
339 void addRetAttr(Attribute Attr);
398 Attribute getAttributeAtIndex(unsigned i, Attribute::AttrKind Kind) const;
404 Attribute getFnAttribute(Attribute::AttrKind Kind) const;
410 Attribute getParamAttribute(unsigned ArgNo, Attribute::AttrKind Kind) const;
499 addFnAttr(Attribute::ReadNone); in setDoesNotAccessMemory()
507 addFnAttr(Attribute::ReadOnly); in setOnlyReadsMemory()
548 addFnAttr(Attribute::NoReturn); in setDoesNotReturn()
559 addFnAttr(Attribute::NoUnwind); in setDoesNotThrow()
594 addFnAttr(Attribute::NoFree); in setDoesNotFreeMemory()
[all …]
H A DAttributes.h65 class Attribute {
117 Attribute() = default;
259 bool operator<(Attribute A) const;
359 Attribute getAttribute(Attribute::AttrKind Kind) const;
384 using iterator = const Attribute *;
794 Attribute getAttributeAtIndex(unsigned Index, Attribute::AttrKind Kind) const;
800 Attribute getParamAttr(unsigned ArgNo, Attribute::AttrKind Kind) const {
810 Attribute getFnAttr(Attribute::AttrKind Kind) const {
973 for (Attribute A : AS)
1026 SmallVector<Attribute, 8> Attrs;
[all …]
/llvm-project-15.0.7/llvm/test/ObjectYAML/MachO/
H A DDWARF-BigEndian.yaml287 - Attribute: DW_AT_name
301 - Attribute: DW_AT_name
311 - Attribute: DW_AT_type
313 - Attribute: DW_AT_name
329 - Attribute: DW_AT_name
337 - Attribute: DW_AT_type
347 - Attribute: DW_AT_name
353 - Attribute: DW_AT_type
361 - Attribute: DW_AT_name
367 - Attribute: DW_AT_type
[all …]
H A DDWARF-LittleEndian.yaml276 - Attribute: DW_AT_name
290 - Attribute: DW_AT_name
300 - Attribute: DW_AT_type
302 - Attribute: DW_AT_name
318 - Attribute: DW_AT_name
326 - Attribute: DW_AT_type
336 - Attribute: DW_AT_name
342 - Attribute: DW_AT_type
350 - Attribute: DW_AT_name
356 - Attribute: DW_AT_type
[all …]
H A DDWARF-debug_abbrev.yaml290 - Attribute: DW_AT_name
296 - Attribute: DW_AT_low_pc
298 - Attribute: DW_AT_high_pc
304 - Attribute: DW_AT_low_pc
306 - Attribute: DW_AT_high_pc
310 - Attribute: DW_AT_name
318 - Attribute: DW_AT_type
328 - Attribute: DW_AT_name
334 - Attribute: DW_AT_type
340 - Attribute: DW_AT_name
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-dwarfutil/ELF/X86/
H A Dgc-unit-overlapping-address-ranges.test46 - Attribute: DW_AT_name
55 - Attribute: DW_AT_name
61 - Attribute: DW_AT_type
66 - Attribute: DW_AT_name
71 - Attribute: DW_AT_type
73 - Attribute: DW_AT_name
78 - Attribute: DW_AT_name
85 - Attribute: DW_AT_name
92 - Attribute: DW_AT_type
97 - Attribute: DW_AT_name
[all …]
H A Dodr-fwd-declaration.test123 - Attribute: DW_AT_name
132 - Attribute: DW_AT_name
137 - Attribute: DW_AT_type
139 - Attribute: DW_AT_name
144 - Attribute: DW_AT_name
151 - Attribute: DW_AT_name
158 - Attribute: DW_AT_type
163 - Attribute: DW_AT_name
168 - Attribute: DW_AT_type
173 - Attribute: DW_AT_name
[all …]
H A Dgc-class.test145 - Attribute: DW_AT_name
154 - Attribute: DW_AT_name
159 - Attribute: DW_AT_type
161 - Attribute: DW_AT_name
166 - Attribute: DW_AT_name
173 - Attribute: DW_AT_name
180 - Attribute: DW_AT_type
185 - Attribute: DW_AT_name
190 - Attribute: DW_AT_type
195 - Attribute: DW_AT_name
[all …]
H A Dgc-maxpc.test47 - Attribute: DW_AT_name
49 - Attribute: DW_AT_low_pc
56 - Attribute: DW_AT_name
62 - Attribute: DW_AT_type
67 - Attribute: DW_AT_name
72 - Attribute: DW_AT_type
74 - Attribute: DW_AT_name
79 - Attribute: DW_AT_name
86 - Attribute: DW_AT_name
93 - Attribute: DW_AT_type
[all …]
H A Dgc-no-garbage.test47 - Attribute: DW_AT_name
49 - Attribute: DW_AT_low_pc
56 - Attribute: DW_AT_name
62 - Attribute: DW_AT_type
67 - Attribute: DW_AT_name
72 - Attribute: DW_AT_type
74 - Attribute: DW_AT_name
79 - Attribute: DW_AT_name
86 - Attribute: DW_AT_name
93 - Attribute: DW_AT_type
[all …]
H A Dgc-bfd.test47 - Attribute: DW_AT_name
49 - Attribute: DW_AT_low_pc
56 - Attribute: DW_AT_name
62 - Attribute: DW_AT_type
67 - Attribute: DW_AT_name
72 - Attribute: DW_AT_type
74 - Attribute: DW_AT_name
79 - Attribute: DW_AT_name
86 - Attribute: DW_AT_name
93 - Attribute: DW_AT_type
[all …]
H A Dgc-exec.test47 - Attribute: DW_AT_name
49 - Attribute: DW_AT_low_pc
56 - Attribute: DW_AT_name
62 - Attribute: DW_AT_type
67 - Attribute: DW_AT_name
72 - Attribute: DW_AT_type
74 - Attribute: DW_AT_name
79 - Attribute: DW_AT_name
86 - Attribute: DW_AT_name
93 - Attribute: DW_AT_type
[all …]
/llvm-project-15.0.7/mlir/lib/TableGen/
H A DAttribute.cpp38 Attribute::Attribute(const Record *record) : AttrConstraint(record) { in Attribute() function in Attribute
43 Attribute::Attribute(const DefInit *init) : Attribute(init->getDef()) {} in Attribute() function in Attribute
49 bool Attribute::isSymbolRefAttr() const { in isSymbolRefAttr()
58 StringRef Attribute::getStorageType() const { in getStorageType()
66 StringRef Attribute::getReturnType() const { in getReturnType()
84 bool Attribute::isConstBuildable() const { in isConstBuildable()
94 Attribute Attribute::getBaseAttr() const { in getBaseAttr()
97 return Attribute(defInit).getBaseAttr(); in getBaseAttr()
102 bool Attribute::hasDefaultValue() const { in hasDefaultValue()
114 StringRef Attribute::getAttrDefName() const { in getAttrDefName()
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-dwarfutil/ELF/X86/Inputs/
H A Dcommon.yaml19 - Attribute: DW_AT_producer
23 - Attribute: DW_AT_name
25 - Attribute: DW_AT_low_pc
32 - Attribute: DW_AT_name
37 - Attribute: DW_AT_type
39 - Attribute: DW_AT_name
44 - Attribute: DW_AT_name
51 - Attribute: DW_AT_name
58 - Attribute: DW_AT_type
63 - Attribute: DW_AT_name
[all …]
/llvm-project-15.0.7/mlir/test/python/ir/
H A Dattributes.py18 t = Attribute.parse('"hello"')
47 a1 = Attribute.parse('"attr1"')
48 a2 = Attribute.parse('"attr2"')
49 a3 = Attribute.parse('"attr1"')
64 a1 = Attribute.parse('"attr1"')
65 a2 = Attribute.parse('"attr2"')
66 a3 = Attribute.parse('"attr1"')
82 a1 = Attribute.parse('"attr1"')
83 a2 = Attribute(a1)
92 a1 = Attribute.parse("42")
[all …]
/llvm-project-15.0.7/mlir/lib/IR/
H A DSubElementInterfaces.cpp29 [&](Attribute attr) { in walkSubElementsImpl()
77 DenseSet<Attribute> visitedAttrs; in walkSubElements()
87 DenseSet<Attribute> visitedAttrs; in walkSubElements()
148 function_ref<Attribute(Attribute)> walkAttrsFn, in replaceSubElementsImpl()
150 DenseMap<Attribute, Attribute> &visitedAttrs, in replaceSubElementsImpl() argument
153 SmallVector<Attribute, 16> newAttrs; in replaceSubElementsImpl()
161 [&](Attribute element) { in replaceSubElementsImpl()
189 function_ref<Attribute(Attribute)> replaceAttrFn, in replaceSubElements()
192 DenseMap<Attribute, Attribute> visitedAttrs; in replaceSubElements()
199 function_ref<Attribute(Attribute)> replaceAttrFn, in replaceSubElements()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DAssumeBundleQueries.h45 Attribute::AttrKind Kind,
51 template<> struct DenseMapInfo<Attribute::AttrKind> {
52 static Attribute::AttrKind getEmptyKey() {
53 return Attribute::EmptyKey;
55 static Attribute::AttrKind getTombstoneKey() {
56 return Attribute::TombstoneKey;
58 static unsigned getHashValue(Attribute::AttrKind AK) {
61 static bool isEqual(Attribute::AttrKind LHS, Attribute::AttrKind RHS) {
101 Attribute::AttrKind AttrKind = Attribute::None;
113 AttrKind == Attribute::None || Other.AttrKind == Attribute::None) &&
[all …]
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.h79 void addAttribute(DIEValueList &Die, dwarf::Attribute Attribute, in addAttribute() argument
142 void addFlag(DIE &Die, dwarf::Attribute Attribute);
145 void addUInt(DIEValueList &Die, dwarf::Attribute Attribute,
151 void addSInt(DIEValueList &Die, dwarf::Attribute Attribute,
162 void addString(DIE &Die, dwarf::Attribute Attribute, StringRef Str);
179 void addLabelDelta(DIEValueList &Die, dwarf::Attribute Attribute,
183 void addDIEEntry(DIE &Die, dwarf::Attribute Attribute, DIE &Entry);
192 void addBlock(DIE &Die, dwarf::Attribute Attribute, DIELoc *Loc);
195 void addBlock(DIE &Die, dwarf::Attribute Attribute, DIEBlock *Block);
235 dwarf::Attribute Attribute = dwarf::DW_AT_type);
[all …]
/llvm-project-15.0.7/lldb/unittests/Symbol/Inputs/
H A Dinlined-functions.yaml177 - Attribute: DW_AT_name
199 - Attribute: DW_AT_name
205 - Attribute: DW_AT_type
215 - Attribute: DW_AT_name
221 - Attribute: DW_AT_type
229 - Attribute: DW_AT_name
235 - Attribute: DW_AT_type
243 - Attribute: DW_AT_name
249 - Attribute: DW_AT_type
259 - Attribute: DW_AT_name
[all …]

12345678910>>...36