Home
last modified time | relevance | path

Searched refs:OldC (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DInliner.cpp496 LazyCallGraph::SCC *OldC = C; in run() local
520 if ((C != OldC || UR.CWorklist.count(OldC)) && in run()
522 return CG.lookupSCC(*CG.lookup(*Callee)) == OldC; in run()
526 UR.InlinedInternalEdges.insert({&N, OldC}); in run()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DCGSCCPassManager.cpp828 SCC *OldC = C; in incorporateNewSCCRange() local
841 AM.getCachedResult<FunctionAnalysisManagerCGSCCProxy>(*OldC)) in incorporateNewSCCRange()
853 AM.invalidate(*OldC, PA); in incorporateNewSCCRange()
861 assert(OldC != &NewC && "Already handled the original SCC!"); in incorporateNewSCCRange()
H A DConstantFolding.cpp1083 Constant *OldC = cast<Constant>(&OldU); in ConstantFoldConstantImpl() local
1084 Constant *NewC = OldC; in ConstantFoldConstantImpl()
1087 if (isa<ConstantVector>(OldC) || isa<ConstantExpr>(OldC)) { in ConstantFoldConstantImpl()
1088 auto It = FoldedOps.find(OldC); in ConstantFoldConstantImpl()
1090 NewC = ConstantFoldConstantImpl(OldC, DL, TLI, FoldedOps); in ConstantFoldConstantImpl()
1091 FoldedOps.insert({OldC, NewC}); in ConstantFoldConstantImpl()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp3783 auto *OldC = cast<OMPMapClause>(C); in VisitOMPDeclareMapperDecl() local
3785 for (Expr *OE : OldC->varlists()) { in VisitOMPDeclareMapperDecl()
3796 SemaRef.SubstNestedNameSpecifierLoc(OldC->getMapperQualifierLoc(), in VisitOMPDeclareMapperDecl()
3801 SemaRef.SubstDeclarationNameInfo(OldC->getMapperIdInfo(), TemplateArgs); in VisitOMPDeclareMapperDecl()
3802 OMPVarListLocTy Locs(OldC->getBeginLoc(), OldC->getLParenLoc(), in VisitOMPDeclareMapperDecl()
3803 OldC->getEndLoc()); in VisitOMPDeclareMapperDecl()
3805 OldC->getIteratorModifier(), OldC->getMapTypeModifiers(), in VisitOMPDeclareMapperDecl()
3806 OldC->getMapTypeModifiersLoc(), SS, NewNameInfo, OldC->getMapType(), in VisitOMPDeclareMapperDecl()
3807 OldC->isImplicitMapType(), OldC->getMapLoc(), OldC->getColonLoc(), in VisitOMPDeclareMapperDecl()
H A DSemaTemplate.cpp7611 const Expr *NewC = nullptr, *OldC = nullptr; in MatchTemplateParameterKind() local
7617 OldC = TC->getImmediatelyDeclaredConstraint(); in MatchTemplateParameterKind()
7624 OldC = E; in MatchTemplateParameterKind()
7631 S.Diag(OldC ? OldC->getBeginLoc() : Old->getBeginLoc(), in MatchTemplateParameterKind()
7635 if (!NewC != !OldC) { in MatchTemplateParameterKind()
7642 if (!S.AreConstraintExpressionsEqual(OldInstFrom, OldC, NewInstFrom, in MatchTemplateParameterKind()