Searched refs:getNRVOCandidate (Results 1 – 13 of 13) sorted by relevance
1189 if (getLangOpts().ElideConstructors && S.getNRVOCandidate() && in EmitReturnStmt()1190 S.getNRVOCandidate()->isNRVOVariable() && in EmitReturnStmt()1193 .getAddressOfLocalVariable(*this, S.getNRVOCandidate()) in EmitReturnStmt()1201 if (llvm::Value *NRVOFlag = NRVOFlags[S.getNRVOCandidate()]) in EmitReturnStmt()
1017 S.getNRVOCandidate() && S.getNRVOCandidate()->isNRVOVariable()) { in EmitReturnStmt()1024 if (llvm::Value *NRVOFlag = NRVOFlags[S.getNRVOCandidate()]) in EmitReturnStmt()
260 bool HasNRVOCandidate = S->getNRVOCandidate() != nullptr; in VisitReturnStmt()265 Record.AddDeclRef(S->getNRVOCandidate()); in VisitReturnStmt()
1618 if (cast<clang::ReturnStmt>(ReturnStmt.get())->getNRVOCandidate() == GroDecl) in makeGroDeclAndReturnStmt()
3642 const_cast<VarDecl*>(cast<ReturnStmt>(R.get())->getNRVOCandidate())) { in ActOnReturnStmt()3893 if (Result->getNRVOCandidate()) in BuildReturnStmt()
14181 if (const VarDecl *NRVOCandidate = Returns[I]->getNRVOCandidate()) { in computeNRVO()
3165 const_cast<VarDecl*>(cast<ReturnStmt>(R.get())->getNRVOCandidate())) { in ActOnReturnStmt()3396 if (Result->getNRVOCandidate()) in BuildReturnStmt()
11383 if (const VarDecl *NRVOCandidate = Returns[I]->getNRVOCandidate()) { in computeNRVO()
1393 const VarDecl *getNRVOCandidate() const { return NRVOCandidate; } in getNRVOCandidate() function
2769 const VarDecl *getNRVOCandidate() const { in getNRVOCandidate() function
220 Record.AddDeclRef(S->getNRVOCandidate()); in VisitReturnStmt()
5151 VarDecl *NRVOCandidate = const_cast<VarDecl*>(S->getNRVOCandidate()); in VisitReturnStmt()
6273 auto ToNRVOCandidate = importChecked(Err, S->getNRVOCandidate()); in VisitReturnStmt()