| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86PadShortFunction.cpp | 145 MachineBasicBlock::iterator ReturnLoc = --MBB->end(); in runOnMachineFunction() local 147 while (ReturnLoc->isDebugInstr()) in runOnMachineFunction() 148 --ReturnLoc; in runOnMachineFunction() 149 assert(ReturnLoc->isReturn() && !ReturnLoc->isCall() && in runOnMachineFunction() 152 addPadding(MBB, ReturnLoc, Threshold - Cycles); in runOnMachineFunction()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 3583 return ReturnStmt::Create(Context, ReturnLoc, RetValExp, in ActOnCapScopeReturnStmt() 3631 Diag(ReturnLoc, diag::err_lambda_return_init_list) in ActOnCapScopeReturnStmt() 3678 Diag(ReturnLoc, diag::err_return_block_has_expr); in ActOnCapScopeReturnStmt() 3702 CheckReturnValExpr(RetValExp, FnRetType, ReturnLoc); in ActOnCapScopeReturnStmt() 3722 FunctionScopes.back()->FirstReturnLoc = ReturnLoc; in ActOnCapScopeReturnStmt() 3831 Context.getTrivialTypeSourceInfo(Context.VoidTy, ReturnLoc), ReturnLoc); in DeduceFunctionTypeFromReturnExpr() 3835 Diag(ReturnLoc, diag::err_auto_fn_deduction_failure) in DeduceFunctionTypeFromReturnExpr() 4047 Diag(ReturnLoc, diag::err_return_init_list) in BuildReturnStmt() 4095 Diag(ReturnLoc, D) in BuildReturnStmt() 4133 Diag(ReturnLoc, DiagID) << ND << IsMethod; in BuildReturnStmt() [all …]
|
| H A D | SemaChecking.cpp | 11848 SourceLocation ReturnLoc, in CheckReturnValExpr() argument 11856 Diag(ReturnLoc, diag::warn_null_ret) in CheckReturnValExpr() 11871 Diag(ReturnLoc, diag::warn_operator_new_returns_null) in CheckReturnValExpr() 11879 CheckPPCMMAType(RetValExp->getType(), ReturnLoc); in CheckReturnValExpr()
|
| H A D | TreeTransform.h | 1413 StmtResult RebuildReturnStmt(SourceLocation ReturnLoc, Expr *Result) { in RebuildReturnStmt() argument 1414 return getSema().BuildReturnStmt(ReturnLoc, Result); in RebuildReturnStmt()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | UseTrailingReturnTypeCheck.h | 52 const TypeLoc &ReturnLoc,
|
| H A D | UseTrailingReturnTypeCheck.cpp | 275 const FunctionDecl &F, const TypeLoc &ReturnLoc, const ASTContext &Ctx, in findReturnTypeAndCVSourceRange() argument
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Initialization.h | 299 static InitializedEntity InitializeResult(SourceLocation ReturnLoc, in InitializeResult() argument 301 return InitializedEntity(EK_Result, ReturnLoc, Type); in InitializeResult() 304 static InitializedEntity InitializeStmtExprResult(SourceLocation ReturnLoc, in InitializeStmtExprResult() argument 306 return InitializedEntity(EK_StmtExprResult, ReturnLoc, Type); in InitializeStmtExprResult()
|
| H A D | Sema.h | 5062 StmtResult ActOnReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp, 5064 StmtResult BuildReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp, 5066 StmtResult ActOnCapScopeReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp, 8873 SourceLocation ReturnLoc, 13233 SourceLocation ReturnLoc,
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseStmt.cpp | 2339 SourceLocation ReturnLoc = ConsumeToken(); // eat the 'return'. in ParseReturnStatement() local 2369 return Actions.ActOnCoreturnStmt(getCurScope(), ReturnLoc, R.get()); in ParseReturnStatement() 2370 return Actions.ActOnReturnStmt(ReturnLoc, R.get(), getCurScope()); in ParseReturnStatement()
|