Home
last modified time | relevance | path

Searched refs:Element (Results 1 – 25 of 146) sorted by relevance

123456

/freebsd/sys/contrib/dev/acpica/components/utilities/
H A Duttrack.c461 if (!Element) in AcpiUtFindAllocation()
477 if (!Element->Next) in AcpiUtFindAllocation()
479 return (Element); in AcpiUtFindAllocation()
482 Element = Element->Next; in AcpiUtFindAllocation()
487 return (Element); in AcpiUtFindAllocation()
562 if (!Element) in AcpiUtTrackAllocation()
584 if (Element->Next) in AcpiUtTrackAllocation()
784 while (Element) in AcpiUtDumpAllocations()
796 Descriptor, Element->Size, Element->Module, in AcpiUtDumpAllocations()
807 Descriptor, Element->Size, Element->Module, in AcpiUtDumpAllocations()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVCompare.cpp65 if (Element->getIsLine()) in getResultsEntry()
67 else if (Element->getIsScope()) in getResultsEntry()
69 else if (Element->getIsSymbol()) in getResultsEntry()
310 if (Element->getHasMoved()) in execute()
363 updateExpected(Element); in printItem()
367 if (Element->getIsMissing()) in printItem()
376 if (Element->getIsMissing()) { in printItem()
382 StringRef Kind = Element->kind(); in printItem()
384 Element->getIsLine() ? Element->getPathname() : Element->getName(); in printItem()
387 if (Element->getLineNumber() > 0) in printItem()
[all …]
H A DLVElement.cpp44 if (!Element->isTemplateParam()) { in setGenericType()
45 setType(Element); in setGenericType()
50 if (Element->getIsKindType()) in setGenericType()
51 setType(Element->getTypeAsType()); in setGenericType()
52 else if (Element->getIsKindScope()) in setGenericType()
53 setType(Element->getTypeAsScope()); in setGenericType()
55 setType(Element); in setGenericType()
118 LVElement *Element = getType(); in typeOffsetAsString() local
119 return hexSquareString(Element ? Element->getOffset() : 0); in typeOffsetAsString()
512 if (!getType() && !Element->getType()) in equals()
[all …]
H A DLVScope.cpp109 Children->push_back(Element); in addToChildren()
114 if (Element->getIsType()) in addElement()
259 return Item == Element; in removeElement()
265 Element->resetParent(); in removeElement()
273 if (Element->getIsLine()) in removeElement()
279 if (Element->getIsType()) in removeElement()
375 Element->resolve(); in resolve()
434 Element->resolve(); in resolveReferences()
1273 LVScope *Parent = Element->getIsScope() ? static_cast<LVScope *>(Element) in lineRange()
1459 if (Element) in printWarnings()
[all …]
H A DLVReader.cpp38 auto AddElement = [&](LVElement *Element, LVScope *Scope) { in checkIntegrityScopesTree() argument
39 LVIntegrity::iterator Iter = Integrity.find(Element); in checkIntegrityScopesTree()
41 Integrity.emplace(Element, Scope); in checkIntegrityScopesTree()
44 Duplicate.emplace_back(Element, Scope, Iter->second); in checkIntegrityScopesTree()
80 auto PrintElement = [&](LVElement *Element, unsigned Index = 0) { in checkIntegrityScopesTree() argument
82 std::string ElementName(Element->getName()); in checkIntegrityScopesTree()
83 dbgs() << format("%15s ID=0x%08x '%s'\n", Element->kind(), in checkIntegrityScopesTree()
84 Element->getID(), ElementName.c_str()); in checkIntegrityScopesTree()
95 LVElement *Element; in checkIntegrityScopesTree() local
98 std::tie(Element, First, Second) = Entry; in checkIntegrityScopesTree()
[all …]
H A DLVOptions.cpp474 void LVPatterns::addElement(LVElement *Element) { in addElement() argument
476 Element->setIsMatched(); in addElement()
479 getReaderCompileUnit()->addMatched(Element); in addElement()
481 getReaderCompileUnit()->addMatched(Element->getIsScope() in addElement()
482 ? static_cast<LVScope *>(Element) in addElement()
483 : Element->getParentScope()); in addElement()
485 if (!Element->getIsScope()) in addElement()
486 Element->setHasPattern(); in addElement()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Readers/
H A DLVCodeViewVisitor.h372 LVElement *Element);
374 LVElement *Element);
376 LVElement *Element);
378 LVElement *Element);
380 LVElement *Element);
382 LVElement *Element);
386 LVElement *Element);
388 LVElement *Element);
390 LVElement *Element);
392 LVElement *Element);
[all …]
H A DLVELFReader.h73 LVElement *Element; member
76 LVElementEntry(LVElement *Element = nullptr) : Element(Element) {} in Element() function
122 LVElement *getElementForOffset(LVOffset offset, LVElement *Element,
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVCodeViewVisitor.cpp358 return Element; in find()
362 if (Element) { in find()
368 return Element; in find()
851 if (Element && Element->getIsScoped()) { in visitKnownRecord()
901 if (Element && Element->getIsScoped()) { in visitKnownRecord()
1445 if (Element && Element->getIsScoped()) { in visitKnownRecord()
3136 if (!Element) { in createElement()
3163 return Element; in createElement()
3326 if (!Element) { in getElement()
3343 return Element; in getElement()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DMarkupFilter.cpp475 printValue(Element.Tag); in printRawElement()
504 StringRef Name = Element.Fields[1]; in parseModule()
505 StringRef Type = Element.Fields[2]; in parseModule()
511 if (!checkNumFields(Element, 4)) in parseModule()
525 StringRef Type = Element.Fields[2]; in parseMMap()
531 if (!checkNumFields(Element, 6)) in parseMMap()
651 if (Element.Fields.size() != Size) { in checkNumFields()
656 reportLocation(Element.Tag.end()); in checkNumFields()
664 if (Element.Fields.size() < Size) { in checkNumFieldsAtLeast()
676 if (Element.Fields.size() <= Size) in warnNumFieldsAtMost()
[all …]
H A DMarkup.cpp77 if (std::optional<MarkupNode> Element = parseElement(Line)) { in nextNode() local
78 parseTextOutsideMarkup(takeTo(Line, Element->Text.begin())); in nextNode()
79 Buffer.push_back(std::move(*Element)); in nextNode()
80 advanceTo(Line, Element->Text.end()); in nextNode()
124 MarkupNode Element; in parseElement() local
125 Element.Text = Line.slice(BeginPos, EndPos); in parseElement()
131 std::tie(Element.Tag, FieldsContent) = Content.split(':'); in parseElement()
132 if (Element.Tag.empty()) in parseElement()
137 FieldsContent.split(Element.Fields, ":"); in parseElement()
139 Element.Fields.push_back(FieldsContent); in parseElement()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Bitcode/
H A DBitcodeCommon.h25 using AlignLower = Bitfield::Element<unsigned, 0, 5>;
26 using UsedWithInAlloca = Bitfield::Element<bool, AlignLower::NextBit, 1>;
27 using ExplicitType = Bitfield::Element<bool, UsedWithInAlloca::NextBit, 1>;
28 using SwiftError = Bitfield::Element<bool, ExplicitType::NextBit, 1>;
29 using AlignUpper = Bitfield::Element<unsigned, SwiftError::NextBit, 3>;
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/Symbolize/
H A DMarkupFilter.h84 bool tryMMap(const MarkupNode &Element,
86 bool tryReset(const MarkupNode &Element,
88 bool tryModule(const MarkupNode &Element,
109 void printRawElement(const MarkupNode &Element);
112 std::optional<Module> parseModule(const MarkupNode &Element) const;
113 std::optional<MMap> parseMMap(const MarkupNode &Element) const;
124 bool checkNumFields(const MarkupNode &Element, size_t Size) const;
125 bool checkNumFieldsAtLeast(const MarkupNode &Element, size_t Size) const;
126 void warnNumFieldsAtMost(const MarkupNode &Element, size_t Size) const;
/freebsd/contrib/llvm-project/clang/lib/Tooling/
H A DFileMatchTrie.cpp74 StringRef Element(llvm::sys::path::filename( in insert() local
76 Children[Element].Path = Path; in insert()
78 StringRef Element(llvm::sys::path::filename( in insert() local
80 Children[Element].insert(NewPath, ConsumedLength + Element.size() + 1); in insert()
118 StringRef Element(llvm::sys::path::filename(FileName.drop_back( in findEquivalent() local
121 Children.find(Element); in findEquivalent()
125 ConsumedLength + Element.size() + 1); in findEquivalent()
/freebsd/sys/contrib/dev/acpica/components/dispatcher/
H A Ddspkginit.c169 ACPI_OPERAND_OBJECT **Element);
550 ACPI_OPERAND_OBJECT *Element = *ElementPtr; in AcpiDsResolvePackageElement() local
562 if (Element->Reference.Resolved) in AcpiDsResolvePackageElement()
573 ScopeInfo.Scope.Node = Element->Reference.Node; /* Prefix node */ in AcpiDsResolvePackageElement()
575 Status = AcpiNsLookup (&ScopeInfo, (char *) Element->Reference.Aml, in AcpiDsResolvePackageElement()
603 (char *) Element->Reference.Aml, NULL, &ExternalPath); in AcpiDsResolvePackageElement()
642 Element->Reference.Resolved = TRUE; in AcpiDsResolvePackageElement()
643 Element->Reference.Node = ResolvedNode; in AcpiDsResolvePackageElement()
644 Type = Element->Reference.Node->Type; in AcpiDsResolvePackageElement()
696 AcpiUtRemoveReference (Element); in AcpiDsResolvePackageElement()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ShuffleDecodeConstantPool.cpp138 uint64_t Element = RawMask[i]; in DecodePSHUFBMask() local
140 if (Element & (1 << 7)) in DecodePSHUFBMask()
148 int Index = Base + (Element & 0xf); in DecodePSHUFBMask()
179 uint64_t Element = RawMask[i]; in DecodeVPERMILPMask() local
181 Index += (Element >> 1) & 0x1; in DecodeVPERMILPMask()
183 Index += Element & 0x3; in DecodeVPERMILPMask()
280 uint64_t Element = RawMask[i]; in DecodeVPPERMMask() local
281 uint64_t Index = Element & 0x1F; in DecodeVPPERMMask()
282 uint64_t PermuteOp = (Element >> 5) & 0x7; in DecodeVPPERMMask()
/freebsd/contrib/googletest/googlemock/include/gmock/internal/
H A Dgmock-internal-utils.h83 template <typename Element>
84 inline const Element* GetRawPointer(const std::reference_wrapper<Element>& r) { in GetRawPointer()
89 template <typename Element>
90 inline Element* GetRawPointer(Element* p) { in GetRawPointer()
356 template <typename Element, size_t N>
357 class StlContainerView<Element[N]> {
359 typedef typename std::remove_const<Element>::type RawElement;
368 static const_reference ConstReference(const Element (&array)[N]) { in ConstReference()
369 static_assert(std::is_same<Element, RawElement>::value, in ConstReference()
373 static type Copy(const Element (&array)[N]) { in Copy()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVOptions.h486 assert(Element && "Element must not be nullptr"); in checkElementRequest()
488 if ((Element->*Request)()) in checkElementRequest()
492 if ((Element->*Request)()) in checkElementRequest()
508 void addElement(LVElement *Element);
512 assert(Element && "Element must not be nullptr"); in resolveGenericPatternMatch()
514 return (Element->isNamed() && in resolveGenericPatternMatch()
515 (matchGenericPattern(Element->getName()) || in resolveGenericPatternMatch()
517 (Element->isTyped() && in resolveGenericPatternMatch()
521 return matchOffsetPattern(Element->getOffset()); in resolveGenericPatternMatch()
526 checkElementRequest(Element, Requests))) in resolveGenericPatternMatch()
[all …]
H A DLVSymbol.h78 static bool classof(const LVElement *Element) { in classof() argument
79 return Element->getSubclassID() == LVSubclassID::LV_SYMBOL; in classof()
101 void setReference(LVElement *Element) override { in setReference() argument
102 assert((!Element || isa<LVSymbol>(Element)) && "Invalid element"); in setReference()
103 setReference(static_cast<LVSymbol *>(Element)); in setReference()
H A DLVElement.h220 virtual void setReference(LVElement *Element) {} in setReference() argument
301 void setType(LVElement *Element = nullptr) {
302 ElementType = Element;
303 if (Element) {
305 Element->setIsReferencedType();
310 void setGenericType(LVElement *Element);
340 virtual bool removeElement(LVElement *Element) { return false; } in removeElement() argument
355 bool referenceMatch(const LVElement *Element) const;
358 bool equals(const LVElement *Element) const;
H A DLVScope.h155 static bool classof(const LVElement *Element) { in classof() argument
212 void addElement(LVElement *Element);
219 void addToChildren(LVElement *Element);
269 bool removeElement(LVElement *Element) override;
342 void setReference(LVElement *Element) override { in setReference() argument
343 setReference(static_cast<LVScope *>(Element)); in setReference()
460 LVOffset Offset = Element->getOffset(); in addInvalidLocationOrRange()
461 addInvalidOffset(Offset, Element); in addInvalidLocationOrRange()
575 void addMatched(LVElement *Element) { MatchedElements.push_back(Element); } in addMatched() argument
663 void setReference(LVElement *Element) override { in setReference() argument
[all …]
H A DLVCompare.h71 void addPassEntry(LVReader *Reader, LVElement *Element, LVComparePass Pass) { in addPassEntry() argument
72 PassTable.emplace_back(Reader, Element, Pass); in addPassEntry()
76 void printItem(LVElement *Element, LVComparePass Pass);
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DCFGMatchSwitch.h72 InitMS = std::move(InitBuilder).Build()](const CFGElement &Element, in Build()
75 switch (Element.getKind()) { in Build()
77 return InitMS(*Element.castAs<CFGInitializer>().getInitializer(), in Build()
82 return StmtMS(*Element.castAs<CFGStmt>().getStmt(), Context, S); in Build()
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DTypeErasedDataflowAnalysis.cpp197 PrettyStackTraceCFGElement(const CFGElement &Element, int BlockIdx, in PrettyStackTraceCFGElement() argument
199 : Element(Element), BlockIdx(BlockIdx), ElementIdx(ElementIdx), in PrettyStackTraceCFGElement()
204 if (auto Stmt = Element.getAs<CFGStmt>()) { in print()
212 const CFGElement &Element; member in clang::dataflow::__anon58e7c2420211::PrettyStackTraceCFGElement
463 for (const auto &Element : Block) { in transferCFGBlock() local
464 PrettyStackTraceCFGElement CrashInfo(Element, Block.getBlockID(), in transferCFGBlock()
467 AC.Log.enterElement(Element); in transferCFGBlock()
470 builtinTransfer(Block.getBlockID(), Element, State, AC); in transferCFGBlock()
474 AC.Analysis.transferTypeErased(Element, State.Lattice, State.Env); in transferCFGBlock()
478 PostVisitCFG(Element, State); in transferCFGBlock()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInlineAsm.h305 using KindField = Bitfield::Element<Kind, 0, 3, Kind::Func>;
306 using NumOperands = Bitfield::Element<unsigned, 3, 13>;
307 using MatchedOperandNo = Bitfield::Element<unsigned, 16, 15>;
308 using MemConstraintCode = Bitfield::Element<ConstraintCode, 16, 15, ConstraintCode::Max>;
309 using RegClass = Bitfield::Element<unsigned, 16, 14>;
310 using RegMayBeFolded = Bitfield::Element<bool, 30, 1>;
311 using IsMatched = Bitfield::Element<bool, 31, 1>;

123456