Home
last modified time | relevance | path

Searched refs:AttrKind (Results 1 – 25 of 55) sorted by relevance

123

/external/swiftshader/third_party/llvm-subzero/build/Linux/include/llvm/IR/
DAttributes.gen58 static Attribute::AttrKind getAttrKindFromName(StringRef AttrName) {
59 return StringSwitch<Attribute::AttrKind>(AttrName)
120 Attribute::AttrKind Kind) {
125 Attribute::AttrKind Kind, bool Val) {
148 static enum Attribute::AttrKind getKind() {
153 static enum Attribute::AttrKind getKind() {
158 static enum Attribute::AttrKind getKind() {
163 static enum Attribute::AttrKind getKind() {
168 static enum Attribute::AttrKind getKind() {
173 static enum Attribute::AttrKind getKind() {
[all …]
/external/swiftshader/third_party/llvm-subzero/build/Windows/include/llvm/IR/
DAttributes.gen58 static Attribute::AttrKind getAttrKindFromName(StringRef AttrName) {
59 return StringSwitch<Attribute::AttrKind>(AttrName)
120 Attribute::AttrKind Kind) {
125 Attribute::AttrKind Kind, bool Val) {
148 static enum Attribute::AttrKind getKind() {
153 static enum Attribute::AttrKind getKind() {
158 static enum Attribute::AttrKind getKind() {
163 static enum Attribute::AttrKind getKind() {
168 static enum Attribute::AttrKind getKind() {
173 static enum Attribute::AttrKind getKind() {
[all …]
/external/swiftshader/third_party/llvm-subzero/build/Android/include/llvm/IR/
DAttributes.gen58 static Attribute::AttrKind getAttrKindFromName(StringRef AttrName) {
59 return StringSwitch<Attribute::AttrKind>(AttrName)
120 Attribute::AttrKind Kind) {
125 Attribute::AttrKind Kind, bool Val) {
148 static enum Attribute::AttrKind getKind() {
153 static enum Attribute::AttrKind getKind() {
158 static enum Attribute::AttrKind getKind() {
163 static enum Attribute::AttrKind getKind() {
168 static enum Attribute::AttrKind getKind() {
173 static enum Attribute::AttrKind getKind() {
[all …]
/external/swiftshader/third_party/llvm-subzero/build/MacOS/include/llvm/IR/
DAttributes.gen58 static Attribute::AttrKind getAttrKindFromName(StringRef AttrName) {
59 return StringSwitch<Attribute::AttrKind>(AttrName)
120 Attribute::AttrKind Kind) {
125 Attribute::AttrKind Kind, bool Val) {
148 static enum Attribute::AttrKind getKind() {
153 static enum Attribute::AttrKind getKind() {
158 static enum Attribute::AttrKind getKind() {
163 static enum Attribute::AttrKind getKind() {
168 static enum Attribute::AttrKind getKind() {
173 static enum Attribute::AttrKind getKind() {
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DAttributes.inc58 static Attribute::AttrKind getAttrKindFromName(StringRef AttrName) {
59 return StringSwitch<Attribute::AttrKind>(AttrName)
120 Attribute::AttrKind Kind) {
125 Attribute::AttrKind Kind, bool Val) {
148 static enum Attribute::AttrKind getKind() {
153 static enum Attribute::AttrKind getKind() {
158 static enum Attribute::AttrKind getKind() {
163 static enum Attribute::AttrKind getKind() {
168 static enum Attribute::AttrKind getKind() {
173 static enum Attribute::AttrKind getKind() {
[all …]
DAttributes.h67 enum AttrKind { enum
87 static Attribute get(LLVMContext &Context, AttrKind Kind, uint64_t Val = 0);
118 bool hasAttribute(AttrKind Val) const;
125 Attribute::AttrKind getKindAsEnum() const;
246 ArrayRef<Attribute::AttrKind> Kinds);
254 Attribute::AttrKind Kind) const;
275 Attribute::AttrKind Kind) const;
329 bool hasAttribute(unsigned Index, Attribute::AttrKind Kind) const;
339 bool hasFnAttribute(Attribute::AttrKind Kind) const;
348 bool hasAttrSomewhere(Attribute::AttrKind Kind,
[all …]
DArgument.h129 void addAttr(Attribute::AttrKind Kind) { in addAttr()
136 void removeAttr(Attribute::AttrKind Kind) { in removeAttr()
141 bool hasAttribute(Attribute::AttrKind Kind) const;
DFunction.h178 void addFnAttr(Attribute::AttrKind Kind) { in addFnAttr()
193 void removeFnAttr(Attribute::AttrKind Kind) { in removeFnAttr()
222 bool hasFnAttribute(Attribute::AttrKind Kind) const { in hasFnAttribute()
230 Attribute getFnAttribute(Attribute::AttrKind Kind) const { in getFnAttribute()
254 void addAttribute(unsigned i, Attribute::AttrKind Kind);
263 void removeAttribute(unsigned i, Attribute::AttrKind Kind);
272 bool hasAttribute(unsigned i, Attribute::AttrKind Kind) const { in hasAttribute()
276 Attribute getAttribute(unsigned i, Attribute::AttrKind Kind) const { in getAttribute()
/external/llvm/lib/IR/
DAttributeImpl.h59 bool hasAttribute(Attribute::AttrKind A) const;
62 Attribute::AttrKind getKindAsEnum() const;
79 static void Profile(FoldingSetNodeID &ID, Attribute::AttrKind Kind, in Profile()
90 static uint64_t getAttrMask(Attribute::AttrKind Val);
102 Attribute::AttrKind Kind;
105 EnumAttributeImpl(AttrEntryKind ID, Attribute::AttrKind Kind) in EnumAttributeImpl()
109 EnumAttributeImpl(Attribute::AttrKind Kind) in EnumAttributeImpl()
112 Attribute::AttrKind getEnumKind() const { return Kind; } in getEnumKind()
120 IntAttributeImpl(Attribute::AttrKind Kind, uint64_t Val) in IntAttributeImpl()
183 bool hasAttribute(Attribute::AttrKind Kind) const { in hasAttribute()
[all …]
DAttributes.cpp64 Attribute Attribute::get(LLVMContext &Context, Attribute::AttrKind Kind, in get()
157 Attribute::AttrKind Attribute::getKindAsEnum() const { in getKindAsEnum()
185 bool Attribute::hasAttribute(AttrKind Kind) const { in hasAttribute()
411 bool AttributeImpl::hasAttribute(Attribute::AttrKind A) const { in hasAttribute()
421 Attribute::AttrKind AttributeImpl::getKindAsEnum() const { in getKindAsEnum()
467 uint64_t AttributeImpl::getAttrMask(Attribute::AttrKind Val) { in getAttrMask()
582 Attribute AttributeSetNode::getAttribute(Attribute::AttrKind Kind) const { in getAttribute()
661 Attribute::AttrKind Kind = Attr.getKindAsEnum(); in Raw()
765 for (Attribute::AttrKind Kind = Attribute::None; in get()
766 Kind != Attribute::EndAttrKinds; Kind = Attribute::AttrKind(Kind + 1)) { in get()
[all …]
/external/llvm/include/llvm/IR/
DAttributes.h67 enum AttrKind { enum
87 static Attribute get(LLVMContext &Context, AttrKind Kind, uint64_t Val = 0);
118 bool hasAttribute(AttrKind Val) const;
125 Attribute::AttrKind getKindAsEnum() const;
245 ArrayRef<Attribute::AttrKind> Kinds);
253 Attribute::AttrKind Kind) const;
274 Attribute::AttrKind Kind) const;
328 bool hasAttribute(unsigned Index, Attribute::AttrKind Kind) const;
338 bool hasFnAttribute(Attribute::AttrKind Kind) const;
343 bool hasAttrSomewhere(Attribute::AttrKind Kind,
[all …]
DArgument.h129 void addAttr(Attribute::AttrKind Kind) { in addAttr()
136 void removeAttr(Attribute::AttrKind Kind) { in removeAttr()
141 bool hasAttribute(Attribute::AttrKind Kind) const;
DFunction.h169 void addFnAttr(Attribute::AttrKind N) {
175 void removeFnAttr(Attribute::AttrKind Kind) {
199 bool hasFnAttribute(Attribute::AttrKind Kind) const {
207 Attribute getFnAttribute(Attribute::AttrKind Kind) const {
231 void addAttribute(unsigned i, Attribute::AttrKind Kind);
240 void removeAttribute(unsigned i, Attribute::AttrKind Kind);
249 bool hasAttribute(unsigned i, Attribute::AttrKind Kind) const {
253 Attribute getAttribute(unsigned i, Attribute::AttrKind Kind) const {
DCallSite.h312 void addAttribute(unsigned i, Attribute::AttrKind Kind) { in addAttribute()
324 void removeAttribute(unsigned i, Attribute::AttrKind Kind) { in removeAttribute()
337 bool hasFnAttr(Attribute::AttrKind Kind) const { in hasFnAttr()
347 bool paramHasAttr(unsigned i, Attribute::AttrKind Kind) const { in paramHasAttr()
351 Attribute getAttribute(unsigned i, Attribute::AttrKind Kind) const { in getAttribute()
366 bool dataOperandHasImpliedAttr(unsigned i, Attribute::AttrKind Kind) const { in dataOperandHasImpliedAttr()
DInstructions.h1625 void addAttribute(unsigned i, Attribute::AttrKind Kind);
1634 void removeAttribute(unsigned i, Attribute::AttrKind Kind);
1650 bool hasFnAttr(Attribute::AttrKind Kind) const {
1662 bool paramHasAttr(unsigned i, Attribute::AttrKind Kind) const;
1665 Attribute getAttribute(unsigned i, Attribute::AttrKind Kind) const;
1683 bool dataOperandHasImpliedAttr(unsigned i, Attribute::AttrKind Kind) const;
1845 template <typename AttrKind> bool hasFnAttrImpl(AttrKind A) const {
3597 void addAttribute(unsigned i, Attribute::AttrKind Kind);
3603 void removeAttribute(unsigned i, Attribute::AttrKind Kind);
3619 bool hasFnAttr(Attribute::AttrKind Kind) const {
[all …]
/external/clang/include/clang/AST/
DAttr.h48 unsigned AttrKind : 16; variable
81 : Range(R), AttrKind(AK), SpellingListIndex(SpellingListIndex), in Attr()
88 return static_cast<attr::Kind>(AttrKind); in getKind()
/external/clang/include/clang/Sema/
DAttributeList.h119 unsigned AttrKind : 16; variable
248 AttrKind = getKind(getName(), getScopeName(), syntaxUsed); in AttributeList()
271 AttrKind = getKind(getName(), getScopeName(), syntaxUsed); in AttributeList()
290 AttrKind = getKind(getName(), getScopeName(), syntaxUsed); in AttributeList()
309 AttrKind = getKind(getName(), getScopeName(), syntaxUsed); in AttributeList()
322 AttrKind = getKind(getName(), getScopeName(), syntaxUsed); in AttributeList()
336 AttrKind = getKind(getName(), getScopeName(), syntaxUsed); in AttributeList()
402 Kind getKind() const { return Kind(AttrKind); } in getKind()
/external/llvm/lib/Transforms/IPO/
DForceFunctionAttrs.cpp28 static Attribute::AttrKind parseAttrKind(StringRef Kind) { in parseAttrKind()
29 return StringSwitch<Attribute::AttrKind>(Kind) in parseAttrKind()
DFunctionAttrs.cpp358 static Attribute::AttrKind
555 Attribute::AttrKind R = determinePointerReadAttrs(&*A, Self); in addArgumentAttrs()
642 Attribute::AttrKind ReadAttr = Attribute::ReadNone; in addArgumentAttrs()
645 Attribute::AttrKind K = determinePointerReadAttrs(A, ArgumentSCCNodes); in addArgumentAttrs()
/external/clang/lib/ARCMigrate/
DTransZeroOutPropsInDealloc.cpp122 ObjCPropertyDecl::PropertyAttributeKind AttrKind = in TraverseObjCMethodDecl() local
124 if (AttrKind & in TraverseObjCMethodDecl()
DTransforms.h88 enum AttrKind { Weak, Strong } Kind; enum
/external/spirv-llvm/lib/SPIRV/
DSPIRVInternal.h224 SPIRVMap<Attribute::AttrKind, SPIRVFuncParamAttrKind>::init() { in init()
232 typedef SPIRVMap<Attribute::AttrKind, SPIRVFuncParamAttrKind>
236 SPIRVMap<Attribute::AttrKind, SPIRVFunctionControlMaskKind>::init() { in init()
242 typedef SPIRVMap<Attribute::AttrKind, SPIRVFunctionControlMaskKind>
523 Attribute::AttrKind Attr);
525 Attribute::AttrKind Attr);
/external/clang/lib/ASTMatchers/Dynamic/
DMarshallers.h80 static attr::Kind getAttrKind(llvm::StringRef AttrKind) {
81 return llvm::StringSwitch<attr::Kind>(AttrKind)
101 static clang::CastKind getCastKind(llvm::StringRef AttrKind) {
102 return llvm::StringSwitch<clang::CastKind>(AttrKind)
/external/llvm/lib/Analysis/
DInlineCost.cpp149 bool paramHasAttr(Argument *A, Attribute::AttrKind Attr);
562 bool CallAnalyzer::paramHasAttr(Argument *A, Attribute::AttrKind Attr) { in paramHasAttr()
1433 template <typename AttrKind>
1434 static bool attributeMatches(Function *F1, Function *F2, AttrKind Attr) { in attributeMatches()
/external/llvm/docs/
DHowToUseAttributes.rst23 ``Attribute::AttrKind`` enum), a string representing a target-dependent

123