Home
last modified time | relevance | path

Searched refs:Attr (Results 1 – 25 of 132) sorted by relevance

123456

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DAliasAnalysisSummary.cpp32 bool hasUnknownAttr(AliasAttrs Attr) { return Attr.test(AttrUnknownIndex); } in hasUnknownAttr() argument
35 bool hasCallerAttr(AliasAttrs Attr) { return Attr.test(AttrCaller); } in hasCallerAttr() argument
36 bool hasUnknownOrCallerAttr(AliasAttrs Attr) { in hasUnknownOrCallerAttr() argument
37 return Attr.test(AttrUnknownIndex) || Attr.test(AttrCallerIndex); in hasUnknownOrCallerAttr()
41 bool hasEscapedAttr(AliasAttrs Attr) { return Attr.test(AttrEscapedIndex); } in hasEscapedAttr() argument
64 bool isGlobalOrArgAttr(AliasAttrs Attr) { in isGlobalOrArgAttr() argument
65 return Attr.reset(AttrEscapedIndex) in isGlobalOrArgAttr()
71 AliasAttrs getExternallyVisibleAttrs(AliasAttrs Attr) { in getExternallyVisibleAttrs() argument
72 return Attr & AliasAttrs(ExternalAttrMask); in getExternallyVisibleAttrs()
100 return InstantiatedAttr{*Value, EAttr.Attr}; in instantiateExternalAttribute()
DCFLGraph.h70 AliasAttrs Attr; member
112 bool addNode(Node N, AliasAttrs Attr = AliasAttrs()) {
116 ValInfo.getNodeInfoAtLevel(N.DerefLevel).Attr |= Attr;
120 void addAttr(Node N, AliasAttrs Attr) { in addAttr() argument
123 Info->Attr |= Attr; in addAttr()
146 return Info->Attr; in attrFor()
204 void addNode(Value *Val, AliasAttrs Attr = AliasAttrs()) {
216 Graph.addNode(InstantiatedValue{Val, 0}, Attr);
410 Graph.addNode(IAttr->IValue, IAttr->Attr); in tryInterproceduralAnalysis()
DCFLAndersAliasAnalysis.cpp234 bool add(InstantiatedValue V, AliasAttrs Attr) { in add() argument
236 auto NewAttr = OldAttr | Attr; in add()
244 AliasAttrs Attr; in getAttrs() local
247 Attr = Itr->second; in getAttrs()
248 return Attr; in getAttrs()
376 auto &Attr = AttrMap[IVal.Val]; in populateAttrMap() local
379 Attr |= Mapping.second; in populateAttrMap()
494 auto Attr = getExternallyVisibleAttrs(Mapping.second); in populateExternalAttributes() local
495 if (Attr.any()) in populateExternalAttributes()
496 ExtAttributes.push_back(ExternalAttribute{*IVal, Attr}); in populateExternalAttributes()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DWARFLinker/
DDWARFLinkerCompileUnit.cpp76 DeclContext *Ctxt, PatchLocation Attr) { in noteForwardReference() argument
77 ForwardDIEReferences.emplace_back(Die, RefUnit, Ctxt, Attr); in noteForwardReference()
84 PatchLocation Attr; in fixupForwardReferences() local
86 std::tie(RefDie, RefUnit, Ctxt, Attr) = Ref; in fixupForwardReferences()
88 Attr.set(Ctxt->getCanonicalDIEOffset()); in fixupForwardReferences()
90 Attr.set(RefDie->getOffset() + RefUnit->getStartOffset()); in fixupForwardReferences()
109 void CompileUnit::noteRangeAttribute(const DIE &Die, PatchLocation Attr) { in noteRangeAttribute() argument
111 RangeAttributes.push_back(Attr); in noteRangeAttribute()
113 UnitRangeAttribute = Attr; in noteRangeAttribute()
116 void CompileUnit::noteLocationAttribute(PatchLocation Attr, int64_t PcOffset) { in noteLocationAttribute() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFDie.cpp234 uint64_t *OffsetPtr, dwarf::Attribute Attr, in dumpAttribute() argument
242 WithColor(OS, HighlightColor::Attribute) << formatv("{0}", Attr); in dumpAttribute()
255 if (Attr == DW_AT_decl_file || Attr == DW_AT_call_file) { in dumpAttribute()
266 Name = AttributeValueString(Attr, *Val); in dumpAttribute()
270 else if (Attr == DW_AT_decl_line || Attr == DW_AT_call_line) in dumpAttribute()
272 else if (Attr == DW_AT_high_pc && !DumpOpts.ShowForm && !DumpOpts.Verbose && in dumpAttribute()
283 DWARFAttribute::mayHaveLocationDescription(Attr)) in dumpAttribute()
293 if (Attr == DW_AT_specification || Attr == DW_AT_abstract_origin) { in dumpAttribute()
298 } else if (Attr == DW_AT_type) { in dumpAttribute()
302 } else if (Attr == DW_AT_APPLE_property_attribute) { in dumpAttribute()
[all …]
DDWARFAbbreviationDeclaration.cpp133 OS << formatv("\t{0}\t{1}", Spec.Attr, Spec.Form); in dump()
142 DWARFAbbreviationDeclaration::findAttributeIndex(dwarf::Attribute Attr) const { in findAttributeIndex()
144 if (AttributeSpecs[i].Attr == Attr) in findAttributeIndex()
151 const uint64_t DIEOffset, const dwarf::Attribute Attr, in getAttributeValue() argument
153 Optional<uint32_t> MatchAttrIndex = findAttributeIndex(Attr); in getAttributeValue()
/third_party/skia/src/xml/
DSkDOM.h50 typedef SkDOMAttr Attr; typedef
73 const Attr* getFirstAttr(const Node*) const;
74 const Attr* getNextAttr(const Node*, const Attr*) const;
75 const char* getAttrName(const Node*, const Attr*) const;
76 const char* getAttrValue(const Node*, const Attr*) const;
103 const Attr* fAttr;
104 const Attr* fStop;
DSkDOM.cpp94 const Attr* attr = node->attrs(); in findAttr()
95 const Attr* stop = attr + node->fAttrCount; in findAttr()
108 const SkDOM::Attr* SkDOM::getFirstAttr(const Node* node) const { in getFirstAttr()
112 const SkDOM::Attr* SkDOM::getNextAttr(const Node* node, const Attr* attr) const { in getNextAttr()
120 const char* SkDOM::getAttrName(const Node* node, const Attr* attr) const { in getAttrName()
126 const char* SkDOM::getAttrValue(const Node* node, const Attr* attr) const { in getAttrValue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DARMBuildAttrs.cpp16 ARMBuildAttrs::AttrType Attr; member
74 StringRef AttrTypeAsString(unsigned Attr, bool HasTagPrefix) { in AttrTypeAsString() argument
75 return AttrTypeAsString(static_cast<AttrType>(Attr), HasTagPrefix); in AttrTypeAsString()
78 StringRef AttrTypeAsString(AttrType Attr, bool HasTagPrefix) { in AttrTypeAsString() argument
81 if (ARMAttributeTags[TI].Attr == Attr) { in AttrTypeAsString()
95 return ARMAttributeTags[TI].Attr; in AttrTypeFromString()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DRecordStreamer.cpp156 MCSymbolAttr Attr = MCSA_Invalid; in flushSymverDirectives() local
164 Attr = MCSA_Global; in flushSymverDirectives()
168 Attr = MCSA_Weak; in flushSymverDirectives()
187 if (Attr == MCSA_Invalid || !IsDefined) { in flushSymverDirectives()
197 if (Attr == MCSA_Invalid) { in flushSymverDirectives()
199 Attr = MCSA_Global; in flushSymverDirectives()
201 Attr = MCSA_Local; in flushSymverDirectives()
203 Attr = MCSA_Weak; in flushSymverDirectives()
228 if (Attr != MCSA_Invalid) in flushSymverDirectives()
229 EmitSymbolAttribute(Alias, Attr); in flushSymverDirectives()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
DThreading.cpp49 pthread_attr_t Attr; in llvm_execute_on_thread() local
53 if (::pthread_attr_init(&Attr) != 0) in llvm_execute_on_thread()
58 if (::pthread_attr_setstacksize(&Attr, RequestedStackSize) != 0) in llvm_execute_on_thread()
63 if (::pthread_create(&Thread, &Attr, ExecuteOnThread_Dispatch, &Info) != 0) in llvm_execute_on_thread()
70 ::pthread_attr_destroy(&Attr); in llvm_execute_on_thread()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp205 AttributeList Attr; in initialize() local
206 Attr = Attr.addAttribute(M.getContext(), AttributeList::FunctionIndex, in initialize()
209 TsanFuncEntry = M.getOrInsertFunction("__tsan_func_entry", Attr, in initialize()
212 M.getOrInsertFunction("__tsan_func_exit", Attr, IRB.getVoidTy()); in initialize()
213 TsanIgnoreBegin = M.getOrInsertFunction("__tsan_ignore_thread_begin", Attr, in initialize()
216 M.getOrInsertFunction("__tsan_ignore_thread_end", Attr, IRB.getVoidTy()); in initialize()
224 TsanRead[i] = M.getOrInsertFunction(ReadName, Attr, IRB.getVoidTy(), in initialize()
228 TsanWrite[i] = M.getOrInsertFunction(WriteName, Attr, IRB.getVoidTy(), in initialize()
233 UnalignedReadName, Attr, IRB.getVoidTy(), IRB.getInt8PtrTy()); in initialize()
237 UnalignedWriteName, Attr, IRB.getVoidTy(), IRB.getInt8PtrTy()); in initialize()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFAbbreviationDeclaration.h31 : Attr(A), Form(F), Value(Value) { in AttributeSpec()
35 : Attr(A), Form(F) { in AttributeSpec()
42 dwarf::Attribute Attr; member
111 return AttributeSpecs[idx].Attr; in getAttrByIndex()
134 const dwarf::Attribute Attr,
DDWARFAttribute.h30 dwarf::Attribute Attr = dwarf::Attribute(0); member
35 return Offset != 0 && Attr != dwarf::Attribute(0); in isValid()
44 static bool mayHaveLocationDescription(dwarf::Attribute Attr);
/third_party/rust/crates/serde/serde_derive/src/internals/
Dattr.rs25 struct Attr<'c, T> { struct
32 impl<'c, T> Attr<'c, T> { implementation
34 Attr { in none()
78 struct BoolAttr<'c>(Attr<'c, ()>);
82 BoolAttr(Attr::none(cx, name)) in none()
155 ser_name: Attr<String>, in from_attrs()
156 de_name: Attr<String>, in from_attrs()
291 let mut ser_name = Attr::none(cx, RENAME); in from_ast()
292 let mut de_name = Attr::none(cx, RENAME); in from_ast()
295 let mut default = Attr::none(cx, DEFAULT); in from_ast()
[all …]
/third_party/node/test/fixtures/wpt/interfaces/
Ddom.idl293 [NewObject] Attr createAttribute(DOMString localName);
294 [NewObject] Attr createAttributeNS(DOMString? namespace, DOMString qualifiedName);
370 Attr? getAttributeNode(DOMString qualifiedName);
371 Attr? getAttributeNodeNS(DOMString? namespace, DOMString localName);
372 [CEReactions] Attr? setAttributeNode(Attr attr);
373 [CEReactions] Attr? setAttributeNodeNS(Attr attr);
374 [CEReactions] Attr removeAttributeNode(Attr attr);
401 getter Attr? item(unsigned long index);
402 getter Attr? getNamedItem(DOMString qualifiedName);
403 Attr? getNamedItemNS(DOMString? namespace, DOMString localName);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAttributes.cpp748 for (const auto &Attr : SortedAttrs) in get() local
749 Attr.Profile(ID); in get()
776 Attribute Attr; in get() local
779 Attr = Attribute::getWithByValType(C, B.getByValType()); in get()
783 Attr = Attribute::getWithAlignment(C, *B.getAlignment()); in get()
787 Attr = Attribute::getWithStackAlignment(C, *B.getStackAlignment()); in get()
790 Attr = Attribute::getWithDereferenceableBytes( in get()
794 Attr = Attribute::getWithDereferenceableOrNullBytes( in get()
799 Attr = Attribute::getWithAllocSizeArgs(C, A.first, A.second); in get()
803 Attr = Attribute::get(C, Kind); in get()
[all …]
DStatepoint.cpp54 bool llvm::isStatepointDirectiveAttr(Attribute Attr) { in isStatepointDirectiveAttr() argument
55 return Attr.hasAttribute("statepoint-id") || in isStatepointDirectiveAttr()
56 Attr.hasAttribute("statepoint-num-patch-bytes"); in isStatepointDirectiveAttr()
/third_party/skia/modules/svg/src/
DSkSVGTextPriv.h44 enum Attr : size_t { enum
52 float operator[](Attr a) const { return fStorage[a]; }
53 float& operator[](Attr a) { return fStorage[a]; }
55 bool has(Attr a) const { return fStorage[a] != kNone; } in has()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DXRayInstrumentation.cpp151 Attribute Attr = F.getFnAttribute("xray-instruction-threshold"); in runOnMachineFunction() local
154 if (Attr.hasAttribute(Attribute::None) || !Attr.isStringAttribute()) in runOnMachineFunction()
156 if (Attr.getValueAsString().getAsInteger(10, XRayThreshold)) in runOnMachineFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/
DTypeRecordMapping.cpp337 SmallString<128> Attr("Attrs: "); in visitKnownRecord() local
342 Attr += "[ Type: " + PtrType; in visitKnownRecord()
346 Attr += ", Mode: " + PtrMode; in visitKnownRecord()
349 Attr += ", SizeOf: " + itostr(PtrSizeOf); in visitKnownRecord()
352 Attr += ", isFlat"; in visitKnownRecord()
354 Attr += ", isConst"; in visitKnownRecord()
356 Attr += ", isVolatile"; in visitKnownRecord()
358 Attr += ", isUnaligned"; in visitKnownRecord()
360 Attr += ", isRestricted"; in visitKnownRecord()
362 Attr += ", isThisPtr&"; in visitKnownRecord()
[all …]
/third_party/python/Lib/lib2to3/fixes/
Dfix_sys_exc.py12 from ..fixer_util import Attr, Call, Name, Number, Subscript, Node, syms
27 attr = Attr(Name("sys"), call)
Dfix_throw.py14 from ..fixer_util import Name, Call, ArgList, Attr, is_tuple
53 with_tb = Attr(e, Name('with_traceback')) + [ArgList([tb])]
Dfix_raise.py29 from ..fixer_util import Name, Call, Attr, ArgList, is_tuple
83 with_tb = Attr(e, Name('with_traceback')) + [ArgList([tb])]
Dfix_exitfunc.py8 from lib2to3.fixer_util import Name, Attr, Call, Comma, Newline, syms
47 Attr(Name("atexit"), Name("register"))

123456