Home
last modified time | relevance | path

Searched refs:getNRVOCandidate (Results 1 – 13 of 13) sorted by relevance

/external/llvm-project/clang/lib/CodeGen/
DCGStmt.cpp1189 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()
/external/clang/lib/CodeGen/
DCGStmt.cpp1017 S.getNRVOCandidate() && S.getNRVOCandidate()->isNRVOVariable()) { in EmitReturnStmt()
1024 if (llvm::Value *NRVOFlag = NRVOFlags[S.getNRVOCandidate()]) in EmitReturnStmt()
/external/llvm-project/clang/lib/Serialization/
DASTWriterStmt.cpp260 bool HasNRVOCandidate = S->getNRVOCandidate() != nullptr; in VisitReturnStmt()
265 Record.AddDeclRef(S->getNRVOCandidate()); in VisitReturnStmt()
/external/llvm-project/clang/lib/Sema/
DSemaCoroutine.cpp1618 if (cast<clang::ReturnStmt>(ReturnStmt.get())->getNRVOCandidate() == GroDecl) in makeGroDeclAndReturnStmt()
DSemaStmt.cpp3642 const_cast<VarDecl*>(cast<ReturnStmt>(R.get())->getNRVOCandidate())) { in ActOnReturnStmt()
3893 if (Result->getNRVOCandidate()) in BuildReturnStmt()
DSemaDecl.cpp14181 if (const VarDecl *NRVOCandidate = Returns[I]->getNRVOCandidate()) { in computeNRVO()
/external/clang/lib/Sema/
DSemaStmt.cpp3165 const_cast<VarDecl*>(cast<ReturnStmt>(R.get())->getNRVOCandidate())) { in ActOnReturnStmt()
3396 if (Result->getNRVOCandidate()) in BuildReturnStmt()
DSemaDecl.cpp11383 if (const VarDecl *NRVOCandidate = Returns[I]->getNRVOCandidate()) { in computeNRVO()
/external/clang/include/clang/AST/
DStmt.h1393 const VarDecl *getNRVOCandidate() const { return NRVOCandidate; } in getNRVOCandidate() function
/external/llvm-project/clang/include/clang/AST/
DStmt.h2769 const VarDecl *getNRVOCandidate() const { in getNRVOCandidate() function
/external/clang/lib/Serialization/
DASTWriterStmt.cpp220 Record.AddDeclRef(S->getNRVOCandidate()); in VisitReturnStmt()
/external/clang/lib/AST/
DASTImporter.cpp5151 VarDecl *NRVOCandidate = const_cast<VarDecl*>(S->getNRVOCandidate()); in VisitReturnStmt()
/external/llvm-project/clang/lib/AST/
DASTImporter.cpp6273 auto ToNRVOCandidate = importChecked(Err, S->getNRVOCandidate()); in VisitReturnStmt()