Searched refs:OldC (Results 1 – 5 of 5) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | Inliner.cpp | 1024 LazyCallGraph::SCC *OldC = C; in run() local 1048 if ((C != OldC || UR.CWorklist.count(OldC)) && in run() 1050 return CG.lookupSCC(*CG.lookup(*Callee)) == OldC; in run() 1054 UR.InlinedInternalEdges.insert({&N, OldC}); in run()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | CGSCCPassManager.cpp | 842 SCC *OldC = C; in incorporateNewSCCRange() local 855 AM.getCachedResult<FunctionAnalysisManagerCGSCCProxy>(*OldC)) in incorporateNewSCCRange() 867 AM.invalidate(*OldC, PA); in incorporateNewSCCRange() 875 assert(OldC != &NewC && "Already handled the original SCC!"); in incorporateNewSCCRange()
|
| H A D | ConstantFolding.cpp | 1130 Constant *OldC = cast<Constant>(&OldU); in ConstantFoldConstantImpl() local 1131 Constant *NewC = OldC; in ConstantFoldConstantImpl() 1134 if (isa<ConstantVector>(OldC) || isa<ConstantExpr>(OldC)) { in ConstantFoldConstantImpl() 1135 auto It = FoldedOps.find(OldC); in ConstantFoldConstantImpl() 1137 NewC = ConstantFoldConstantImpl(OldC, DL, TLI, FoldedOps); in ConstantFoldConstantImpl() 1138 FoldedOps.insert({OldC, NewC}); in ConstantFoldConstantImpl()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaTemplateInstantiateDecl.cpp | 3598 auto *OldC = cast<OMPMapClause>(C); in VisitOMPDeclareMapperDecl() local 3600 for (Expr *OE : OldC->varlists()) { in VisitOMPDeclareMapperDecl() 3611 SemaRef.SubstNestedNameSpecifierLoc(OldC->getMapperQualifierLoc(), in VisitOMPDeclareMapperDecl() 3616 SemaRef.SubstDeclarationNameInfo(OldC->getMapperIdInfo(), TemplateArgs); in VisitOMPDeclareMapperDecl() 3617 OMPVarListLocTy Locs(OldC->getBeginLoc(), OldC->getLParenLoc(), in VisitOMPDeclareMapperDecl() 3618 OldC->getEndLoc()); in VisitOMPDeclareMapperDecl() 3620 OldC->getMapTypeModifiers(), OldC->getMapTypeModifiersLoc(), SS, in VisitOMPDeclareMapperDecl() 3621 NewNameInfo, OldC->getMapType(), OldC->isImplicitMapType(), in VisitOMPDeclareMapperDecl() 3622 OldC->getMapLoc(), OldC->getColonLoc(), NewVars, Locs); in VisitOMPDeclareMapperDecl()
|
| H A D | SemaTemplate.cpp | 7803 const Expr *NewC = nullptr, *OldC = nullptr; in MatchTemplateParameterKind() local 7807 OldC = TC->getImmediatelyDeclaredConstraint(); in MatchTemplateParameterKind() 7812 S.Diag(OldC ? OldC->getBeginLoc() : Old->getBeginLoc(), in MatchTemplateParameterKind() 7816 if (!NewC != !OldC) { in MatchTemplateParameterKind() 7824 OldC->Profile(OldCID, S.Context, /*Canonical=*/true); in MatchTemplateParameterKind()
|