Home
last modified time | relevance | path

Searched refs:OldDef (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/llvm/lib/CodeGen/
DFixupStatepointCallerSaved.cpp516 unsigned OldDef; in rewriteStatepoint() local
517 if (AllowGCPtrInCSR && MI.isRegTiedToDefOperand(I, &OldDef)) { in rewriteStatepoint()
518 assert(OldDef < NumDefs); in rewriteStatepoint()
519 assert(NewIndices[OldDef] < NumOps); in rewriteStatepoint()
520 MIB->tieOperands(NewIndices[OldDef], MIB->getNumOperands() - 1); in rewriteStatepoint()
/external/llvm-project/clang/lib/Serialization/
DASTReaderDecl.cpp761 EnumDecl *&OldDef = Reader.EnumDefinitions[ED->getCanonicalDecl()]; in VisitEnumDecl() local
762 if (!OldDef) { in VisitEnumDecl()
767 OldDef = D; in VisitEnumDecl()
772 if (OldDef) { in VisitEnumDecl()
773 Reader.MergedDeclContexts.insert(std::make_pair(ED, OldDef)); in VisitEnumDecl()
775 Reader.mergeDefinitionVisibility(OldDef, ED); in VisitEnumDecl()
776 if (OldDef->getODRHash() != ED->getODRHash()) in VisitEnumDecl()
777 Reader.PendingEnumOdrMergeFailures[OldDef].push_back(ED); in VisitEnumDecl()
779 OldDef = ED; in VisitEnumDecl()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp692 EnumDecl *&OldDef = Reader.EnumDefinitions[ED->getCanonicalDecl()]; in VisitEnumDecl() local
693 if (!OldDef) { in VisitEnumDecl()
698 OldDef = D; in VisitEnumDecl()
703 if (OldDef) { in VisitEnumDecl()
704 Reader.MergedDeclContexts.insert(std::make_pair(ED, OldDef)); in VisitEnumDecl()
706 mergeDefinitionVisibility(OldDef, ED); in VisitEnumDecl()
708 OldDef = ED; in VisitEnumDecl()