Searched defs:Attr (Results 1 - 25 of 100) sorted by relevance

1234

/external/clang/lib/Basic/
H A DAttributes.cpp7 const IdentifierInfo *Attr, const TargetInfo &Target,
9 StringRef Name = Attr->getName();
6 hasAttribute(AttrSyntax Syntax, const IdentifierInfo *Scope, const IdentifierInfo *Attr, const TargetInfo &Target, const LangOptions &LangOpts) argument
/external/llvm/lib/Support/
H A DARMBuildAttrs.cpp17 ARMBuildAttrs::AttrType Attr; member in struct:__anon12884::__anon12885
74 StringRef AttrTypeAsString(unsigned Attr, bool HasTagPrefix) { argument
75 return AttrTypeAsString(static_cast<AttrType>(Attr), HasTagPrefix);
78 StringRef AttrTypeAsString(AttrType Attr, bool HasTagPrefix) { argument
81 if (ARMAttributeTags[TI].Attr == Attr)
91 return ARMAttributeTags[TI].Attr;
H A DThreading.cpp48 pthread_attr_t Attr; local
52 if (::pthread_attr_init(&Attr) != 0)
57 if (::pthread_attr_setstacksize(&Attr, RequestedStackSize) != 0)
62 if (::pthread_create(&Thread, &Attr, ExecuteOnThread_Dispatch, &Info) != 0)
69 ::pthread_attr_destroy(&Attr);
/external/python/cpython2/Lib/lib2to3/fixes/
H A Dfix_intern.py11 from ..fixer_util import Name, Attr, touch_import namespace
49 Attr(Name(u"sys"), Name(u"intern")) +
H A Dfix_except.py28 from ..fixer_util import Assign, Attr, Name, is_tuple, is_list, syms namespace
78 assign = Assign(target, Attr(new_N, Name(u'args')))
H A Dfix_raise.py29 from ..fixer_util import Name, Call, Attr, ArgList, is_tuple namespace
83 with_tb = Attr(e, Name(u'with_traceback')) + [ArgList([tb])]
H A Dfix_sys_exc.py12 from ..fixer_util import Attr, Call, Name, Number, Subscript, Node, syms namespace
27 attr = Attr(Name(u"sys"), call)
H A Dfix_throw.py14 from ..fixer_util import Name, Call, ArgList, Attr, is_tuple namespace
53 with_tb = Attr(e, Name(u'with_traceback')) + [ArgList([tb])]
H A Dfix_exitfunc.py8 from lib2to3.fixer_util import Name, Attr, Call, Comma, Newline, syms namespace
47 Attr(Name(u"atexit"), Name(u"register"))
/external/llvm/lib/CodeGen/
H A DXRayInstrumentation.cpp46 Attribute Attr = F.getFnAttribute("xray-instruction-threshold"); local
49 if (Attr.hasAttribute(Attribute::None) || !Attr.isStringAttribute())
51 if (Attr.getValueAsString().getAsInteger(10, XRayThreshold))
H A DTargetFrameLoweringImpl.cpp33 auto Attr = MF.getFunction()->getFnAttribute("no-frame-pointer-elim"); local
34 return Attr.getValueAsString() == "true";
/external/llvm/lib/DebugInfo/DWARF/
H A DDWARFAbbreviationDeclaration.cpp41 uint16_t Attr = Data.getULEB128(OffsetPtr); local
52 if (Attr == 0 && Form == 0)
54 AttributeSpecs.push_back(AttributeSpec(Attr, Form));
74 const char *attrString = AttributeString(Spec.Attr);
78 OS << format("DW_AT_Unknown_%x", Spec.Attr);
93 if (AttributeSpecs[i].Attr == attr)
/external/llvm/lib/IR/
H A DStatepoint.cpp51 bool llvm::isStatepointDirectiveAttr(Attribute Attr) { argument
52 return Attr.hasAttribute("statepoint-id") ||
53 Attr.hasAttribute("statepoint-num-patch-bytes");
/external/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFAbbreviationDeclaration.h23 AttributeSpec(uint16_t Attr, uint16_t Form) : Attr(Attr), Form(Form) {} argument
24 uint16_t Attr; member in struct:llvm::DWARFAbbreviationDeclaration::AttributeSpec
/external/skia/src/xml/
H A DSkDOM.h29 typedef SkDOMAttr Attr; typedef in class:SkDOM
52 const Attr* getFirstAttr(const Node*) const;
53 const Attr* getNextAttr(const Node*, const Attr*) const;
54 const char* getAttrName(const Node*, const Attr*) const;
55 const char* getAttrValue(const Node*, const Attr*) const;
82 const Attr* fAttr;
83 const Attr* fStop;
/external/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinterDwarf.cpp260 dwarf::Attribute Attr = V.getAttribute(); local
264 OutStreamer->AddComment(dwarf::AttributeString(Attr));
265 if (Attr == dwarf::DW_AT_accessibility)
/external/spirv-llvm/lib/SPIRV/libSPIRV/
H A DSPIRVFunction.cpp63 auto Attr = static_cast<SPIRVFuncParamAttrKind>( local
65 assert(isValid(Attr));
66 Func(Attr);
163 auto Attr = static_cast<SPIRVFuncParamAttrKind>( local
165 assert(isValid(Attr));
166 Func(Attr);
/external/swiftshader/third_party/LLVM/lib/Support/
H A DThreading.cpp82 pthread_attr_t Attr; local
86 if (::pthread_attr_init(&Attr) != 0)
91 if (::pthread_attr_setstacksize(&Attr, RequestedStackSize) != 0)
96 if (::pthread_create(&Thread, &Attr, ExecuteOnThread_Dispatch, &Info) != 0)
103 ::pthread_attr_destroy(&Attr);
/external/swiftshader/third_party/llvm-subzero/lib/Support/
H A DThreading.cpp49 pthread_attr_t Attr; local
53 if (::pthread_attr_init(&Attr) != 0)
58 if (::pthread_attr_setstacksize(&Attr, RequestedStackSize) != 0)
63 if (::pthread_create(&Thread, &Attr, ExecuteOnThread_Dispatch, &Info) != 0)
70 ::pthread_attr_destroy(&Attr);
/external/clang/include/clang/AST/
H A DASTMutationListener.h17 class Attr;
115 /// \param Attr the added attribute.
117 const Attr *Attr) {}
128 /// \param Attr The attribute that was added to the Record
131 virtual void AddedAttributeToRecord(const Attr *Attr, argument
116 DeclarationMarkedOpenMPDeclareTarget(const Decl *D, const Attr *Attr) argument
H A DAttr.h1 //===--- Attr.h - Classes for representing attributes ----------*- C++ -*-===//
10 // This file defines the Attr interface and subclasses.
44 /// Attr - This represents one attribute.
45 class Attr { class in namespace:clang
52 /// attribute defined in Attr.td file.
79 Attr(attr::Kind AK, SourceRange R, unsigned SpellingListIndex, function in class:clang::Attr
109 Attr *clone(ASTContext &C) const;
122 class StmtAttr : public Attr {
126 : Attr(AK, R, SpellingListIndex, IsLateParsed, DuplicatesAllowed) {}
129 static bool classof(const Attr *
[all...]
/external/llvm/lib/Analysis/
H A DAliasAnalysisSummary.cpp34 bool hasUnknownAttr(AliasAttrs Attr) { return Attr.test(AttrUnknownIndex); } argument
37 bool hasCallerAttr(AliasAttrs Attr) { return Attr.test(AttrCaller); } argument
38 bool hasUnknownOrCallerAttr(AliasAttrs Attr) { argument
39 return Attr.test(AttrUnknownIndex) || Attr.test(AttrCallerIndex);
43 bool hasEscapedAttr(AliasAttrs Attr) { return Attr.test(AttrEscapedIndex); } argument
66 bool isGlobalOrArgAttr(AliasAttrs Attr) { argument
73 getExternallyVisibleAttrs(AliasAttrs Attr) argument
[all...]
H A DAliasAnalysisSummary.h61 /// Attr represent whether the said pointer comes from an unknown source
134 AliasAttrs Attr; member in struct:llvm::cflaa::ExternalAttribute
165 AliasAttrs Attr; member in struct:llvm::cflaa::InstantiatedAttr
/external/llvm/lib/Transforms/ObjCARC/
H A DARCRuntimeEntryPoints.h131 AttributeSet Attr = local
136 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr);
149 AttributeSet Attr = AttributeSet(); local
152 Attr = Attr.addAttribute(C, AttributeSet::FunctionIndex,
155 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr);
168 AttributeSet Attr = local
171 Attr = Attr.addAttribute(C, 1, Attribute::NoCapture);
176 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr);
[all...]
/external/swiftshader/third_party/LLVM/lib/MC/
H A DMCSectionMachO.cpp261 StringRef Attr = Plus.first; local
262 StripSpaces(Attr);
270 Attr == SectionAttrDescriptors[i].AssemblerName) {

Completed in 452 milliseconds

1234