Searched refs:ReturnLoc (Results 1 – 7 of 7) sorted by relevance
/external/llvm/lib/Target/X86/ |
D | X86PadShortFunction.cpp | 127 MachineBasicBlock::iterator ReturnLoc = --MBB->end(); in runOnMachineFunction() local 129 while (ReturnLoc->isDebugValue()) in runOnMachineFunction() 130 --ReturnLoc; in runOnMachineFunction() 131 assert(ReturnLoc->isReturn() && !ReturnLoc->isCall() && in runOnMachineFunction() 134 addPadding(MBB, ReturnLoc, Threshold - Cycles); in runOnMachineFunction()
|
/external/clang/lib/Sema/ |
D | SemaStmt.cpp | 2818 Sema::ActOnCapScopeReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp) { in ActOnCapScopeReturnStmt() argument 2834 if (DeduceFunctionTypeFromReturnExpr(FD, ReturnLoc, RetValExp, AT)) { in ActOnCapScopeReturnStmt() 2863 Diag(ReturnLoc, diag::err_lambda_return_init_list) in ActOnCapScopeReturnStmt() 2879 Diag(ReturnLoc, diag::err_noreturn_block_has_return_expr); in ActOnCapScopeReturnStmt() 2884 Diag(ReturnLoc, diag::err_return_in_captured_stmt) << CurRegion->getRegionName(); in ActOnCapScopeReturnStmt() 2890 Diag(ReturnLoc, diag::err_noreturn_lambda_has_return_expr); in ActOnCapScopeReturnStmt() 2909 Diag(ReturnLoc, diag::ext_return_has_void_expr) << "literal" << 2; in ActOnCapScopeReturnStmt() 2911 Diag(ReturnLoc, diag::err_return_block_has_expr); in ActOnCapScopeReturnStmt() 2916 return StmtError(Diag(ReturnLoc, diag::err_block_return_missing_expr)); in ActOnCapScopeReturnStmt() 2927 InitializedEntity Entity = InitializedEntity::InitializeResult(ReturnLoc, in ActOnCapScopeReturnStmt() [all …]
|
D | SemaChecking.cpp | 5616 SourceLocation ReturnLoc) { in CheckReturnStackAddr() argument 5994 SourceLocation ReturnLoc, in CheckReturnValExpr() argument 5998 CheckReturnStackAddr(*this, RetValExp, lhsType, ReturnLoc); in CheckReturnValExpr() 6004 Diag(ReturnLoc, diag::warn_null_ret) in CheckReturnValExpr() 6019 Diag(ReturnLoc, diag::warn_operator_new_returns_null) in CheckReturnValExpr()
|
D | TreeTransform.h | 1244 StmtResult RebuildReturnStmt(SourceLocation ReturnLoc, Expr *Result) { in RebuildReturnStmt() argument 1245 return getSema().BuildReturnStmt(ReturnLoc, Result); in RebuildReturnStmt()
|
/external/clang/include/clang/Sema/ |
D | Initialization.h | 241 static InitializedEntity InitializeResult(SourceLocation ReturnLoc, in InitializeResult() argument 243 return InitializedEntity(EK_Result, ReturnLoc, Type, NRVO); in InitializeResult()
|
D | Sema.h | 3399 StmtResult ActOnReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp, 3401 StmtResult BuildReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp); 3402 StmtResult ActOnCapScopeReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp); 6424 SourceLocation ReturnLoc, 9080 SourceLocation ReturnLoc,
|
/external/clang/lib/Parse/ |
D | ParseStmt.cpp | 1834 SourceLocation ReturnLoc = ConsumeToken(); // eat the 'return'. in ParseReturnStatement() local 1860 return Actions.ActOnCoreturnStmt(ReturnLoc, R.get()); in ParseReturnStatement() 1861 return Actions.ActOnReturnStmt(ReturnLoc, R.get(), getCurScope()); in ParseReturnStatement()
|