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.cpp489 LazyCallGraph::SCC *OldC = C; in run() local
513 if ((C != OldC || UR.CWorklist.count(OldC)) && in run()
515 return CG.lookupSCC(*CG.lookup(*Callee)) == OldC; in run()
519 UR.InlinedInternalEdges.insert({&N, OldC}); in run()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DCGSCCPassManager.cpp820 SCC *OldC = C; in incorporateNewSCCRange() local
833 AM.getCachedResult<FunctionAnalysisManagerCGSCCProxy>(*OldC)) in incorporateNewSCCRange()
845 AM.invalidate(*OldC, PA); in incorporateNewSCCRange()
853 assert(OldC != &NewC && "Already handled the original SCC!"); in incorporateNewSCCRange()
H A DConstantFolding.cpp1100 Constant *OldC = cast<Constant>(&OldU); in ConstantFoldConstantImpl() local
1101 Constant *NewC = OldC; in ConstantFoldConstantImpl()
1104 if (isa<ConstantVector>(OldC) || isa<ConstantExpr>(OldC)) { in ConstantFoldConstantImpl()
1105 auto It = FoldedOps.find(OldC); in ConstantFoldConstantImpl()
1107 NewC = ConstantFoldConstantImpl(OldC, DL, TLI, FoldedOps); in ConstantFoldConstantImpl()
1108 FoldedOps.insert({OldC, NewC}); in ConstantFoldConstantImpl()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp3730 auto *OldC = cast<OMPMapClause>(C); in VisitOMPDeclareMapperDecl() local
3732 for (Expr *OE : OldC->varlists()) { in VisitOMPDeclareMapperDecl()
3743 SemaRef.SubstNestedNameSpecifierLoc(OldC->getMapperQualifierLoc(), in VisitOMPDeclareMapperDecl()
3748 SemaRef.SubstDeclarationNameInfo(OldC->getMapperIdInfo(), TemplateArgs); in VisitOMPDeclareMapperDecl()
3749 OMPVarListLocTy Locs(OldC->getBeginLoc(), OldC->getLParenLoc(), in VisitOMPDeclareMapperDecl()
3750 OldC->getEndLoc()); in VisitOMPDeclareMapperDecl()
3752 OldC->getIteratorModifier(), OldC->getMapTypeModifiers(), in VisitOMPDeclareMapperDecl()
3753 OldC->getMapTypeModifiersLoc(), SS, NewNameInfo, OldC->getMapType(), in VisitOMPDeclareMapperDecl()
3754 OldC->isImplicitMapType(), OldC->getMapLoc(), OldC->getColonLoc(), in VisitOMPDeclareMapperDecl()
H A DSemaTemplate.cpp8341 const Expr *NewC = nullptr, *OldC = nullptr; in MatchTemplateParameterKind() local
8347 OldC = TC->getImmediatelyDeclaredConstraint(); in MatchTemplateParameterKind()
8354 OldC = E; in MatchTemplateParameterKind()
8361 S.Diag(OldC ? OldC->getBeginLoc() : Old->getBeginLoc(), in MatchTemplateParameterKind()
8365 if (!NewC != !OldC) { in MatchTemplateParameterKind()
8372 if (!S.AreConstraintExpressionsEqual(OldInstFrom, OldC, NewInstFrom, in MatchTemplateParameterKind()