Home
last modified time | relevance | path

Searched refs:Attr (Results 1 - 25 of 104) sorted by relevance

12345

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
H A 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
71 getExternallyVisibleAttrs(AliasAttrs Attr) getExternallyVisibleAttrs() argument
[all...]
H A 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) {
123 Info->Attr |= Attr;
146 return Info->Attr;
204 void addNode(Value *Val, AliasAttrs Attr = AliasAttrs()) {
216 Graph.addNode(InstantiatedValue{Val, 0}, Attr);
[all...]
H A 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/
H A DDWARFLinkerCompileUnit.cpp76 DeclContext *Ctxt, PatchLocation Attr) { in noteForwardReference()
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_ argument
75 noteForwardReference(DIE *Die, const CompileUnit *RefUnit, DeclContext *Ctxt, PatchLocation Attr) noteForwardReference() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A 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/src/xml/
H A DSkDOM.h50 typedef SkDOMAttr Attr; typedef in SkDOM
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;
H A 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/DebugInfo/DWARF/
H A DDWARFDie.cpp234 uint64_t *OffsetPtr, dwarf::Attribute Attr,
242 WithColor(OS, HighlightColor::Attribute) << formatv("{0}", Attr);
255 if (Attr == DW_AT_decl_file || Attr == DW_AT_call_file) {
266 Name = AttributeValueString(Attr, *Val);
270 else if (Attr == DW_AT_decl_line || Attr == DW_AT_call_line)
272 else if (Attr == DW_AT_high_pc && !DumpOpts.ShowForm && !DumpOpts.Verbose &&
283 DWARFAttribute::mayHaveLocationDescription(Attr))
293 if (Attr
[all...]
H A 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()
153 Optional<uint32_t> MatchAttrIndex = findAttributeIndex(Attr); in getAttributeValue()
150 getAttributeValue( const uint64_t DIEOffset, const dwarf::Attribute Attr, const DWARFUnit &U) const getAttributeValue() argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
H A 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()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
H A 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/
H A 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, IR in initialize()
[all...]
/third_party/rust/crates/serde/serde_derive_internals/src/
H A Dattr.rs23 struct Attr<'c, T> { structure names
30 impl<'c, T> Attr<'c, T> { impls
32 Attr { in none()
76 struct BoolAttr<'c>(Attr<'c, ()>);
80 BoolAttr(Attr::none(cx, name)) in none()
147 ser_name: Attr<String>, in from_attrs()
148 de_name: Attr<String>, in from_attrs()
288 let mut ser_name = Attr::none(cx, RENAME); in from_ast()
289 let mut de_name = Attr::none(cx, RENAME); in from_ast()
292 let mut default = Attr in from_ast()
[all...]
/third_party/rust/crates/serde/serde_derive/src/internals/
H A Dattr.rs23 struct Attr<'c, T> { structure names
30 impl<'c, T> Attr<'c, T> { impls
32 Attr { in none()
76 struct BoolAttr<'c>(Attr<'c, ()>);
80 BoolAttr(Attr::none(cx, name)) in none()
147 ser_name: Attr<String>, in from_attrs()
148 de_name: Attr<String>, in from_attrs()
288 let mut ser_name = Attr::none(cx, RENAME); in from_ast()
289 let mut de_name = Attr::none(cx, RENAME); in from_ast()
292 let mut default = Attr in from_ast()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/
H A 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;
130 /// \param Attr DWARF attribute to search for.
134 const dwarf::Attribute Attr,
H A 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/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
H A 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()
H A DAttributes.cpp748 for (const auto &Attr : SortedAttrs) in get()
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 in get()
1327 hasAttrSomewhere(Attribute::AttrKind Attr, unsigned *Index) const hasAttrSomewhere() argument
1455 addAttribute(Attribute Attr) addAttribute() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
H A 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/modules/svg/src/
H A DSkSVGTextPriv.h44 enum Attr : size_t {
52 float operator[](Attr a) const { return fStorage[a]; } in operator []()
53 float& operator[](Attr a) { return fStorage[a]; } in operator []()
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/DebugInfo/CodeView/
H A DTypeRecordMapping.cpp337 SmallString<128> Attr("Attrs: "); in visitKnownRecord()
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 in visitKnownRecord()
[all...]
/third_party/python/Lib/lib2to3/fixes/
H A Dfix_sys_exc.py12 from ..fixer_util import Attr, Call, Name, Number, Subscript, Node, syms namespace
27 attr = Attr(Name("sys"), call)
H A Dfix_throw.py14 from ..fixer_util import Name, Call, ArgList, Attr, is_tuple namespace
53 with_tb = Attr(e, Name('with_traceback')) + [ArgList([tb])]
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('args')))
H A Dfix_exitfunc.py8 from lib2to3.fixer_util import Name, Attr, Call, Comma, Newline, syms namespace
47 Attr(Name("atexit"), Name("register"))

Completed in 14 milliseconds

12345