Home
last modified time | relevance | path

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

123456

/freebsd-src/sys/contrib/dev/acpica/components/utilities/
H A Duttrack.c434 * 2) Element was found. Returns Allocation parameter.
435 * 3) Element was not found. Returns position where it should be
457 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 in AcpiUtFindAllocation()
521 ACPI_DEBUG_MEM_BLOCK *Element; AcpiUtTrackAllocation() local
756 ACPI_DEBUG_MEM_BLOCK *Element; AcpiUtDumpAllocations() local
[all...]
/freebsd-src/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()
239 for (const LVElement *Element : Elements) { in execute() local
240 if (Error Err = Element->doPrint(/*Split=*/false, /*Match=*/false, in execute()
[all …]
H A DLVElement.cpp43 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 = getType(); in typeOffsetAsString() local
119 return hexSquareString(Element ? Element->getOffset() : 0); in typeOffsetAsString()
[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()
[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-src/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);
[all …]
H A DLVELFReader.h
/freebsd-src/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 in find()
850 LVElement *Element = LogicalVisitor->getElement(StreamTPI, Local.Type); visitKnownRecord() local
900 LVElement *Element = LogicalVisitor->getElement(StreamTPI, Local.Type); visitKnownRecord() local
1444 LVElement *Element = LogicalVisitor->getElement(StreamTPI, Local.Type); visitKnownRecord() local
1751 printTypeBegin(CVType & Record,TypeIndex TI,LVElement * Element,uint32_t StreamIdx) printTypeBegin() argument
1769 printMemberBegin(CVMemberRecord & Record,TypeIndex TI,LVElement * Element,uint32_t StreamIdx) printMemberBegin() argument
1797 visitKnownRecord(CVType & Record,ArgListRecord & Args,TypeIndex TI,LVElement * Element) visitKnownRecord() argument
1820 visitKnownRecord(CVType & Record,ArrayRecord & AT,TypeIndex TI,LVElement * Element) visitKnownRecord() argument
1938 visitKnownRecord(CVType & Record,BitFieldRecord & BF,TypeIndex TI,LVElement * Element) visitKnownRecord() argument
1954 visitKnownRecord(CVType & Record,BuildInfoRecord & BI,TypeIndex TI,LVElement * Element) visitKnownRecord() argument
1978 visitKnownRecord(CVType & Record,ClassRecord & Class,TypeIndex TI,LVElement * Element) visitKnownRecord() argument
2048 visitKnownRecord(CVType & Record,EnumRecord & Enum,TypeIndex TI,LVElement * Element) visitKnownRecord() argument
2106 visitKnownRecord(CVType & Record,FieldListRecord & FieldList,TypeIndex TI,LVElement * Element) visitKnownRecord() argument
2120 visitKnownRecord(CVType & Record,FuncIdRecord & Func,TypeIndex TI,LVElement * Element) visitKnownRecord() argument
2165 visitKnownRecord(CVType & Record,LabelRecord & LR,TypeIndex TI,LVElement * Element) visitKnownRecord() argument
2175 visitKnownRecord(CVType & Record,MemberFuncIdRecord & Id,TypeIndex TI,LVElement * Element) visitKnownRecord() argument
2207 visitKnownRecord(CVType & Record,MemberFunctionRecord & MF,TypeIndex TI,LVElement * Element) visitKnownRecord() argument
2254 visitKnownRecord(CVType & Record,MethodOverloadListRecord & Overloads,TypeIndex TI,LVElement * Element) visitKnownRecord() argument
2273 visitKnownRecord(CVType & Record,ModifierRecord & Mod,TypeIndex TI,LVElement * Element) visitKnownRecord() argument
2334 visitKnownRecord(CVType & Record,PointerRecord & Ptr,TypeIndex TI,LVElement * Element) visitKnownRecord() argument
2417 visitKnownRecord(CVType & Record,ProcedureRecord & Proc,TypeIndex TI,LVElement * Element) visitKnownRecord() argument
2448 visitKnownRecord(CVType & Record,UnionRecord & Union,TypeIndex TI,LVElement * Element) visitKnownRecord() argument
2495 visitKnownRecord(CVType & Record,TypeServer2Record & TS,TypeIndex TI,LVElement * Element) visitKnownRecord() argument
2508 visitKnownRecord(CVType & Record,VFTableRecord & VFT,TypeIndex TI,LVElement * Element) visitKnownRecord() argument
2525 visitKnownRecord(CVType & Record,VFTableShapeRecord & Shape,TypeIndex TI,LVElement * Element) visitKnownRecord() argument
2537 visitKnownRecord(CVType & Record,StringListRecord & Strings,TypeIndex TI,LVElement * Element) visitKnownRecord() argument
2554 visitKnownRecord(CVType & Record,StringIdRecord & String,TypeIndex TI,LVElement * Element) visitKnownRecord() argument
2577 visitKnownRecord(CVType & Record,UdtSourceLineRecord & SourceLine,TypeIndex TI,LVElement * Element) visitKnownRecord() argument
2591 visitKnownRecord(CVType & Record,UdtModSourceLineRecord & ModSourceLine,TypeIndex TI,LVElement * Element) visitKnownRecord() argument
2607 visitKnownRecord(CVType & Record,PrecompRecord & Precomp,TypeIndex TI,LVElement * Element) visitKnownRecord() argument
2622 visitKnownRecord(CVType & Record,EndPrecompRecord & EndPrecomp,TypeIndex TI,LVElement * Element) visitKnownRecord() argument
2640 visitKnownMember(CVMemberRecord & Record,BaseClassRecord & Base,TypeIndex TI,LVElement * Element) visitKnownMember() argument
2663 visitKnownMember(CVMemberRecord & Record,DataMemberRecord & Field,TypeIndex TI,LVElement * Element) visitKnownMember() argument
2681 visitKnownMember(CVMemberRecord & Record,EnumeratorRecord & Enum,TypeIndex TI,LVElement * Element) visitKnownMember() argument
2704 visitKnownMember(CVMemberRecord & Record,ListContinuationRecord & Cont,TypeIndex TI,LVElement * Element) visitKnownMember() argument
2716 visitKnownMember(CVMemberRecord & Record,NestedTypeRecord & Nested,TypeIndex TI,LVElement * Element) visitKnownMember() argument
2761 visitKnownMember(CVMemberRecord & Record,OneMethodRecord & Method,TypeIndex TI,LVElement * Element) visitKnownMember() argument
2807 visitKnownMember(CVMemberRecord & Record,OverloadedMethodRecord & Method,TypeIndex TI,LVElement * Element) visitKnownMember() argument
2830 visitKnownMember(CVMemberRecord & Record,StaticDataMemberRecord & Field,TypeIndex TI,LVElement * Element) visitKnownMember() argument
2847 visitKnownMember(CVMemberRecord & Record,VFPtrRecord & VFTable,TypeIndex TI,LVElement * Element) visitKnownMember() argument
2859 visitKnownMember(CVMemberRecord & Record,VirtualBaseClassRecord & Base,TypeIndex TI,LVElement * Element) visitKnownMember() argument
2884 visitMemberRecord(CVMemberRecord & Record,TypeVisitorCallbacks & Callbacks,TypeIndex TI,LVElement * Element) visitMemberRecord() argument
2914 finishVisitation(CVType & Record,TypeIndex TI,LVElement * Element) finishVisitation() argument
2938 visitFieldListMemberStream(TypeIndex TI,LVElement * Element,ArrayRef<uint8_t> FieldList) visitFieldListMemberStream() argument
3135 LVElement *Element = Shared->TypeRecords.find(StreamTPI, TI); createElement() local
3195 createParameter(LVElement * Element,StringRef Name,LVScope * Parent) createParameter() argument
3219 if (LVElement *Element = Shared->TypeRecords.find(StreamTPI, TIR)) createBaseType() local
3235 if (LVElement *Element = Shared->TypeRecords.find(StreamTPI, TI)) createPointerType() local
3247 createParents(StringRef ScopedName,LVElement * Element) createParents() argument
3325 LVElement *Element = Shared->TypeRecords.find(StreamIdx, TI); getElement() local
3379 if (LVElement *Element = Shared->TypeRecords.find( processLines() local
[all...]
/freebsd-src/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.Fields[3]); in parseModule()
[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-src/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-src/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-src/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-src/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()
571 /* Element must be a reference object of correct type */ 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 in AcpiDsResolvePackageElement()
[all...]
/freebsd-src/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-src/contrib/googletest/googlemock/include/gmock/internal/
H A Dgmock-internal-utils.h84 template <typename Element> in GetRawPointer()
85 inline const Element* GetRawPointer(const std::reference_wrapper<Element>& r) { in GetRawPointer()
90 template <typename Element> in GetRawPointer()
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 ( in ConstReference()
[all...]
/freebsd-src/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVOptions.h469 // Element selection.
476 // Element selection request.
485 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 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-src/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-src/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DTypeErasedDataflowAnalysis.cpp133 PrettyStackTraceCFGElement(const CFGElement &Element, int BlockIdx, in extendFlowCondition()
135 : Element(Element), BlockIdx(BlockIdx), ElementIdx(ElementIdx), in extendFlowCondition()
139 OS << Message << ": Element [B" << BlockIdx << "." << ElementIdx << "]\n"; in extendFlowCondition()
140 if (auto Stmt = Element.getAs<CFGStmt>()) { in extendFlowCondition()
148 const CFGElement &Element;
420 for (const auto &Element : Block) {
421 PrettyStackTraceCFGElement CrashInfo(Element, Block.getBlockID(), in builtinTransfer()
424 AC.Log.enterElement(Element); in builtinTransfer()
427 PostAnalysisCallbacks.Before(Element, Stat in builtinTransfer()
197 PrettyStackTraceCFGElement(const CFGElement & Element,int BlockIdx,int ElementIdx,const char * Message) PrettyStackTraceCFGElement() argument
212 const CFGElement &Element; global() member in clang::dataflow::__anonad1e11cc0211::PrettyStackTraceCFGElement
463 for (const auto &Element : Block) { transferCFGBlock() local
[all...]
/freebsd-src/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