Home
last modified time | relevance | path

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

123456

/freebsd/sys/contrib/dev/acpica/components/utilities/
H A Duttrack.c457 ACPI_DEBUG_MEM_BLOCK *Element; in AcpiUtFindAllocation() local
460 Element = AcpiGbl_GlobalList->ListHead; in AcpiUtFindAllocation()
461 if (!Element) in AcpiUtFindAllocation()
473 while (Element > Allocation) in AcpiUtFindAllocation()
477 if (!Element->Next) in AcpiUtFindAllocation()
479 return (Element); in AcpiUtFindAllocation()
482 Element = Element->Next; in AcpiUtFindAllocation()
485 if (Element == Allocation) in AcpiUtFindAllocation()
487 return (Element); in AcpiUtFindAllocation()
490 return (Element->Previous); in AcpiUtFindAllocation()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVCompare.cpp63 LVCompareInfo::iterator getResultsEntry(LVElement *Element) { in getResultsEntry() argument
65 if (Element->getIsLine()) in getResultsEntry()
67 else if (Element->getIsScope()) in getResultsEntry()
69 else if (Element->getIsSymbol()) in getResultsEntry()
80 void updateExpected(LVElement *Element) { in updateExpected() argument
81 LVCompareInfo::iterator Iter = getResultsEntry(Element); in updateExpected()
88 void updateMissingOrAdded(LVElement *Element, LVComparePass Pass) { in updateMissingOrAdded() argument
89 LVCompareInfo::iterator Iter = getResultsEntry(Element); in updateMissingOrAdded()
221 // Element is missing or added. in execute()
239 for (const LVElement *Element in execute()
240 for (const LVElement *Element : Elements) { execute() local
362 printItem(LVElement * Element,LVComparePass Pass) printItem() argument
[all...]
H A DLVElement.cpp23 #define DEBUG_TYPE "Element"
43 void LVElement::setGenericType(LVElement *Element) { in setGenericType() argument
44 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 in typeOffsetAsString() local
[all...]
H A DLVScope.cpp106 void LVScope::addToChildren(LVElement *Element) { in addToChildren() argument
109 Children->push_back(Element); in addToChildren()
112 void LVScope::addElement(LVElement *Element) { in addElement() argument
113 assert(Element && "Invalid element."); in addElement()
114 if (Element->getIsType()) in addElement()
115 addElement(static_cast<LVType *>(Element)); in addElement()
116 else if (Element->getIsScope()) in addElement()
117 addElement(static_cast<LVScope *>(Element)); in addElement()
118 else if (Element->getIsSymbol()) in addElement()
119 addElement(static_cast<LVSymbol *>(Element)); in addElement()
257 removeElement(LVElement * Element) removeElement() argument
441 if (LVElement *Element = getType()) resolveReferences() local
1280 LVElement *Element = Location->getParent(); lineRange() local
1358 addInvalidOffset(LVOffset Offset,LVElement * Element) addInvalidOffset() argument
1465 LVElement *Element = Iter != Map.end() ? Iter->second : nullptr; printWarnings() local
1651 for (const LVElement *Element : MatchedElements) printMatchedElements() local
[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()
H A DLVSymbol.cpp253 if (LVElement *Element = getType()) { in resolveReferences() local
254 Element->resolve(); in resolveReferences()
257 if (Element->getIsTypedefReduced()) { in resolveReferences()
258 Element = Element->getType(); in resolveReferences()
259 Element->resolve(); in resolveReferences()
264 setGenericType(Element); in resolveReferences()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Readers/
H A DLVCodeViewVisitor.h271 Error visitFieldListMemberStream(TypeIndex TI, LVElement *Element,
277 LVSymbol *createParameter(LVElement *Element, StringRef Name,
281 void createParents(StringRef ScopedName, LVElement *Element);
354 void printTypeBegin(CVType &Record, TypeIndex TI, LVElement *Element,
358 LVElement *Element, uint32_t StreamIdx);
372 LVElement *Element);
374 LVElement *Element);
376 LVElement *Element);
378 LVElement *Element);
380 LVElement *Element);
446 visitKnownMember(CVMemberRecord & Record,TypeVisitorCallbacks & Callbacks,TypeIndex TI,LVElement * Element) visitKnownMember() argument
457 visitKnownRecord(CVType & Record,TypeIndex TI,LVElement * Element) visitKnownRecord() argument
[all...]
H A DLVDWARFReader.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.cpp141 LVElement *Element = nullptr);
337 LVElement *Element) { in add() argument
341 std::forward_as_tuple(Kind, Element)); in add()
353 LVElement *Element = nullptr; in find() local
356 Element = Iter->second.second; in find()
357 if (Element || !Create) in find()
358 return Element; in find()
361 Element = Shared->Visitor->createElement(Iter->second.first); in find()
362 if (Element) { in find()
363 Element->setOffset(TI.getIndex()); in find()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DMarkupFilter.cpp472 void MarkupFilter::printRawElement(const MarkupNode &Element) { in printRawElement() argument
475 printValue(Element.Tag); in printRawElement()
476 for (StringRef Field : Element.Fields) { in printRawElement()
500 MarkupFilter::parseModule(const MarkupNode &Element) const { in parseModule()
501 if (!checkNumFieldsAtLeast(Element, 3)) in parseModule()
503 ASSIGN_OR_RETURN_NONE(uint64_t, ID, parseModuleID(Element.Fields[0])); in parseModule()
504 StringRef Name = Element.Fields[1]; in parseModule()
505 StringRef Type = Element.Fields[2]; in parseModule()
511 if (!checkNumFields(Element, 4)) in parseModule()
513 SmallVector<uint8_t> BuildID = parseBuildID(Element in parseModule()
652 checkNumFields(const MarkupNode & Element,size_t Size) const checkNumFields() argument
665 checkNumFieldsAtLeast(const MarkupNode & Element,size_t Size) const checkNumFieldsAtLeast() argument
677 warnNumFieldsAtMost(const MarkupNode & Element,size_t Size) const warnNumFieldsAtMost() argument
[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()
129 StringRef Content = Element.Text.drop_front(3).drop_back(3); 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()
[all …]
/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/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/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.h84 template <typename Element>
85 inline const Element* GetRawPointer(const std::reference_wrapper<Element>& r) { in GetRawPointer()
90 template <typename Element>
91 inline Element* GetRawPointer(Element* p) { in GetRawPointer()
357 template <typename Element, size_t N>
358 class StlContainerView<Element[N]> {
360 typedef typename std::remove_const<Element>::type RawElement;
369 static const_reference ConstReference(const Element (&array)[N]) { in ConstReference()
370 static_assert(std::is_same<Element, RawElement>::value, in ConstReference()
374 static type Copy(const Element (&array)[N]) { in Copy()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVOptions.h485 bool checkElementRequest(const T *Element, const U &Requests) const { in checkElementRequest() argument
486 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);
511 void resolveGenericPatternMatch(T *Element, const U &Requests) { in resolveGenericPatternMatch() argument
512 assert(Element && "Element must not be nullptr"); in resolveGenericPatternMatch()
513 auto CheckPattern = [this, Element]() -> bool { in resolveGenericPatternMatch()
514 return (Element->isNamed() && in resolveGenericPatternMatch()
515 (matchGenericPattern(Element->getName()) || 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
156 return Element->getSubclassID() == LVSubclassID::LV_SCOPE; in classof()
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()
458 void addInvalidLocationOrRange(LVLocation *Location, LVElement *Element, in addInvalidLocationOrRange() argument
460 LVOffset Offset = Element->getOffset(); in addInvalidLocationOrRange()
461 addInvalidOffset(Offset, Element); in addInvalidLocationOrRange()
[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.cpp133 PrettyStackTraceCFGElement(const CFGElement &Element, int BlockIdx, in PrettyStackTraceCFGElement() argument
135 : Element(Element), BlockIdx(BlockIdx), ElementIdx(ElementIdx), in PrettyStackTraceCFGElement()
140 if (auto Stmt = Element.getAs<CFGStmt>()) { in print()
148 const CFGElement &Element; member in clang::dataflow::__anon57fc8b7a0211::PrettyStackTraceCFGElement
420 for (const auto &Element : Block) { local
421 PrettyStackTraceCFGElement CrashInfo(Element, Block.getBlockID(),
424 AC.Log.enterElement(Element);
427 PostAnalysisCallbacks.Before(Element, State);
432 builtinTransfer(Block.getBlockID(), Element, State, AC);
436 AC.Analysis.transferTypeErased(Element, State.Lattice, State.Env);
[all …]

123456