Searched refs:ReturnLoc (Results 1 – 7 of 7) sorted by relevance
/external/llvm/lib/Target/X86/ |
D | X86PadShortFunction.cpp | 131 MachineBasicBlock::iterator ReturnLoc = --MBB->end(); in runOnMachineFunction() local 133 while (ReturnLoc->isDebugValue()) in runOnMachineFunction() 134 --ReturnLoc; in runOnMachineFunction() 135 assert(ReturnLoc->isReturn() && !ReturnLoc->isCall() && in runOnMachineFunction() 138 addPadding(MBB, ReturnLoc, Threshold - Cycles); in runOnMachineFunction()
|
/external/clang/lib/Sema/ |
D | SemaStmt.cpp | 2586 Sema::ActOnCapScopeReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp) { in ActOnCapScopeReturnStmt() argument 2602 if (DeduceFunctionTypeFromReturnExpr(FD, ReturnLoc, RetValExp, AT)) { in ActOnCapScopeReturnStmt() 2627 Diag(ReturnLoc, diag::err_lambda_return_init_list) in ActOnCapScopeReturnStmt() 2643 Diag(ReturnLoc, diag::err_noreturn_block_has_return_expr); in ActOnCapScopeReturnStmt() 2648 Diag(ReturnLoc, diag::err_return_in_captured_stmt) << CurRegion->getRegionName(); in ActOnCapScopeReturnStmt() 2654 Diag(ReturnLoc, diag::err_noreturn_lambda_has_return_expr); in ActOnCapScopeReturnStmt() 2673 Diag(ReturnLoc, diag::ext_return_has_void_expr) << "literal" << 2; in ActOnCapScopeReturnStmt() 2675 Diag(ReturnLoc, diag::err_return_block_has_expr); in ActOnCapScopeReturnStmt() 2680 return StmtError(Diag(ReturnLoc, diag::err_block_return_missing_expr)); in ActOnCapScopeReturnStmt() 2691 InitializedEntity Entity = InitializedEntity::InitializeResult(ReturnLoc, in ActOnCapScopeReturnStmt() [all …]
|
D | SemaChecking.cpp | 4430 SourceLocation ReturnLoc) { in CheckReturnStackAddr() argument 4805 SourceLocation ReturnLoc, in CheckReturnValExpr() argument 4809 CheckReturnStackAddr(*this, RetValExp, lhsType, ReturnLoc); in CheckReturnValExpr() 4814 Diag(ReturnLoc, diag::warn_null_ret) in CheckReturnValExpr() 4829 Diag(ReturnLoc, diag::warn_operator_new_returns_null) in CheckReturnValExpr()
|
D | TreeTransform.h | 1196 StmtResult RebuildReturnStmt(SourceLocation ReturnLoc, Expr *Result) { in RebuildReturnStmt() argument 1197 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 | 3100 StmtResult ActOnReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp, 3102 StmtResult BuildReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp); 3103 StmtResult ActOnCapScopeReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp); 6050 SourceLocation ReturnLoc, 8299 SourceLocation ReturnLoc,
|
/external/clang/lib/Parse/ |
D | ParseStmt.cpp | 1790 SourceLocation ReturnLoc = ConsumeToken(); // eat the 'return'. in ParseReturnStatement() local 1814 return Actions.ActOnReturnStmt(ReturnLoc, R.get(), getCurScope()); in ParseReturnStatement()
|