Home
last modified time | relevance | path

Searched refs:NumberedMetadata (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/AsmParser/
DLLParser.cpp59 if (SlotNo >= NumberedMetadata.size() || NumberedMetadata[SlotNo] == 0) in ValidateEndOfModule()
62 Inst->setMetadata(MDList[i].MDKind, NumberedMetadata[SlotNo]); in ValidateEndOfModule()
462 if (SlotNo < NumberedMetadata.size() && NumberedMetadata[SlotNo] != 0) in ParseMDNodeID()
463 Result = NumberedMetadata[SlotNo]; in ParseMDNodeID()
481 if (NumberedMetadata.size() <= MID) in ParseMDNodeID()
482 NumberedMetadata.resize(MID+1); in ParseMDNodeID()
483 NumberedMetadata[MID] = FwdNode; in ParseMDNodeID()
547 assert(NumberedMetadata[MetadataID] == Init && "Tracking VH didn't work"); in ParseStandaloneMetadata()
549 if (MetadataID >= NumberedMetadata.size()) in ParseStandaloneMetadata()
550 NumberedMetadata.resize(MetadataID+1); in ParseStandaloneMetadata()
[all …]
DLLParser.h113 std::vector<TrackingVH<MDNode> > NumberedMetadata; variable
/external/llvm/lib/AsmParser/
DLLParser.cpp94 NumberedMetadata = Slots->MetadataNodes; in restoreParsingState()
203 for (auto &N : NumberedMetadata) { in ValidateEndOfModule()
236 Slots->MetadataNodes = std::move(NumberedMetadata); in ValidateEndOfModule()
604 if (NumberedMetadata.count(MID)) { in ParseMDNodeID()
605 Result = NumberedMetadata[MID]; in ParseMDNodeID()
614 NumberedMetadata[MID].reset(Result); in ParseMDNodeID()
674 assert(NumberedMetadata[MetadataID] == Init && "Tracking VH didn't work"); in ParseStandaloneMetadata()
676 if (NumberedMetadata.count(MetadataID)) in ParseStandaloneMetadata()
678 NumberedMetadata[MetadataID].reset(Init); in ParseStandaloneMetadata()
DLLParser.h118 std::map<unsigned, TrackingMDNodeRef> NumberedMetadata; variable
/external/swiftshader/third_party/llvm-7.0/llvm/lib/AsmParser/
DLLParser.h122 std::map<unsigned, TrackingMDNodeRef> NumberedMetadata; variable
DLLParser.cpp111 NumberedMetadata = Slots->MetadataNodes; in restoreParsingState()
214 for (auto &N : NumberedMetadata) { in ValidateEndOfModule()
254 Slots->MetadataNodes = std::move(NumberedMetadata); in ValidateEndOfModule()
676 if (NumberedMetadata.count(MID)) { in ParseMDNodeID()
677 Result = NumberedMetadata[MID]; in ParseMDNodeID()
686 NumberedMetadata[MID].reset(Result); in ParseMDNodeID()
753 assert(NumberedMetadata[MetadataID] == Init && "Tracking VH didn't work"); in ParseStandaloneMetadata()
755 if (NumberedMetadata.count(MetadataID)) in ParseStandaloneMetadata()
757 NumberedMetadata[MetadataID].reset(Init); in ParseStandaloneMetadata()