Searched refs:ReturnLoc (Results 1 – 8 of 8) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86PadShortFunction.cpp | 130 MachineBasicBlock::iterator ReturnLoc = --MBB->end(); in runOnMachineFunction() local 132 while (ReturnLoc->isDebugInstr()) in runOnMachineFunction() 133 --ReturnLoc; in runOnMachineFunction() 134 assert(ReturnLoc->isReturn() && !ReturnLoc->isCall() && in runOnMachineFunction() 137 addPadding(MBB, ReturnLoc, Threshold - Cycles); in runOnMachineFunction()
|
/external/llvm/lib/Target/X86/ |
D | X86PadShortFunction.cpp | 135 MachineBasicBlock::iterator ReturnLoc = --MBB->end(); in runOnMachineFunction() local 137 while (ReturnLoc->isDebugValue()) in runOnMachineFunction() 138 --ReturnLoc; in runOnMachineFunction() 139 assert(ReturnLoc->isReturn() && !ReturnLoc->isCall() && in runOnMachineFunction() 142 addPadding(MBB, ReturnLoc, Threshold - Cycles); in runOnMachineFunction()
|
/external/clang/lib/Sema/ |
D | SemaStmt.cpp | 2860 Sema::ActOnCapScopeReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp) { in ActOnCapScopeReturnStmt() argument 2872 ExprResult ER = ActOnFinishFullExpr(RetValExp, ReturnLoc); in ActOnCapScopeReturnStmt() 2877 return new (Context) ReturnStmt(ReturnLoc, RetValExp, nullptr); in ActOnCapScopeReturnStmt() 2889 if (DeduceFunctionTypeFromReturnExpr(FD, ReturnLoc, RetValExp, AT)) { in ActOnCapScopeReturnStmt() 2918 Diag(ReturnLoc, diag::err_lambda_return_init_list) in ActOnCapScopeReturnStmt() 2934 Diag(ReturnLoc, diag::err_noreturn_block_has_return_expr); in ActOnCapScopeReturnStmt() 2939 Diag(ReturnLoc, diag::err_return_in_captured_stmt) << CurRegion->getRegionName(); in ActOnCapScopeReturnStmt() 2945 Diag(ReturnLoc, diag::err_noreturn_lambda_has_return_expr); in ActOnCapScopeReturnStmt() 2964 Diag(ReturnLoc, diag::ext_return_has_void_expr) << "literal" << 2; in ActOnCapScopeReturnStmt() 2966 Diag(ReturnLoc, diag::err_return_block_has_expr); in ActOnCapScopeReturnStmt() [all …]
|
D | SemaChecking.cpp | 6505 SourceLocation ReturnLoc) { in CheckReturnStackAddr() argument 6889 SourceLocation ReturnLoc, in CheckReturnValExpr() argument 6893 CheckReturnStackAddr(*this, RetValExp, lhsType, ReturnLoc); in CheckReturnValExpr() 6899 Diag(ReturnLoc, diag::warn_null_ret) in CheckReturnValExpr() 6914 Diag(ReturnLoc, diag::warn_operator_new_returns_null) in CheckReturnValExpr()
|
D | TreeTransform.h | 1256 StmtResult RebuildReturnStmt(SourceLocation ReturnLoc, Expr *Result) { in RebuildReturnStmt() argument 1257 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 | 3484 StmtResult ActOnReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp, 3486 StmtResult BuildReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp); 3487 StmtResult ActOnCapScopeReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp); 6552 SourceLocation ReturnLoc, 9455 SourceLocation ReturnLoc,
|
/external/clang/lib/Parse/ |
D | ParseStmt.cpp | 1875 SourceLocation ReturnLoc = ConsumeToken(); // eat the 'return'. in ParseReturnStatement() local 1901 return Actions.ActOnCoreturnStmt(ReturnLoc, R.get()); in ParseReturnStatement() 1902 return Actions.ActOnReturnStmt(ReturnLoc, R.get(), getCurScope()); in ParseReturnStatement()
|