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.cpp498 LazyCallGraph::SCC *OldC = C; in run() local
522 if ((C != OldC || UR.CWorklist.count(OldC)) && in run()
524 return CG.lookupSCC(*CG.lookup(*Callee)) == OldC; in run()
528 UR.InlinedInternalEdges.insert({&N, OldC}); in run()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DCGSCCPassManager.cpp833 SCC *OldC = C; in incorporateNewSCCRange() local
846 AM.getCachedResult<FunctionAnalysisManagerCGSCCProxy>(*OldC)) in incorporateNewSCCRange()
858 AM.invalidate(*OldC, PA); in incorporateNewSCCRange()
866 assert(OldC != &NewC && "Already handled the original SCC!"); in incorporateNewSCCRange()
H A DConstantFolding.cpp1106 Constant *OldC = cast<Constant>(&OldU); in ConstantFoldConstantImpl() local
1107 Constant *NewC = OldC; in ConstantFoldConstantImpl()
1110 if (isa<ConstantVector>(OldC) || isa<ConstantExpr>(OldC)) { in ConstantFoldConstantImpl()
1111 auto It = FoldedOps.find(OldC); in ConstantFoldConstantImpl()
1113 NewC = ConstantFoldConstantImpl(OldC, DL, TLI, FoldedOps); in ConstantFoldConstantImpl()
1114 FoldedOps.insert({OldC, NewC}); in ConstantFoldConstantImpl()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp4328 auto *OldC = cast<OMPMapClause>(C); in VisitOMPDeclareMapperDecl() local
4330 for (Expr *OE : OldC->varlist()) { in VisitOMPDeclareMapperDecl()
4341 SemaRef.SubstNestedNameSpecifierLoc(OldC->getMapperQualifierLoc(), in VisitOMPDeclareMapperDecl()
4346 SemaRef.SubstDeclarationNameInfo(OldC->getMapperIdInfo(), TemplateArgs); in VisitOMPDeclareMapperDecl()
4347 OMPVarListLocTy Locs(OldC->getBeginLoc(), OldC->getLParenLoc(), in VisitOMPDeclareMapperDecl()
4348 OldC->getEndLoc()); in VisitOMPDeclareMapperDecl()
4350 OldC->getIteratorModifier(), OldC->getMapTypeModifiers(), in VisitOMPDeclareMapperDecl()
4351 OldC->getMapTypeModifiersLoc(), SS, NewNameInfo, OldC->getMapType(), in VisitOMPDeclareMapperDecl()
4352 OldC->isImplicitMapType(), OldC->getMapLoc(), OldC->getColonLoc(), in VisitOMPDeclareMapperDecl()
H A DSemaTemplate.cpp8061 const Expr *NewC = nullptr, *OldC = nullptr; in MatchTemplateParameterKind() local
8067 OldC = TC->getImmediatelyDeclaredConstraint(); in MatchTemplateParameterKind()
8074 OldC = E; in MatchTemplateParameterKind()
8081 S.Diag(OldC ? OldC->getBeginLoc() : Old->getBeginLoc(), in MatchTemplateParameterKind()
8085 if (!NewC != !OldC) { in MatchTemplateParameterKind()
8092 if (!S.AreConstraintExpressionsEqual(OldInstFrom, OldC, NewInstFrom, in MatchTemplateParameterKind()