/freebsd/contrib/llvm-project/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()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
H A D | DataflowEnvironment.cpp | 677 if (CalleeEnv.ReturnLoc != nullptr) in popCall() 678 setStorageLocation(*Call, *CalleeEnv.ReturnLoc); in popCall() 699 if (ReturnLoc != Other.ReturnLoc) in equivalentTo() 727 assert(ReturnLoc == PrevEnv.ReturnLoc); in widen() 790 if (EnvA.ReturnLoc == EnvB.ReturnLoc) in join() 791 JoinedEnv.ReturnLoc = EnvA.ReturnLoc; in join() 793 JoinedEnv.ReturnLoc = nullptr; in join() 1178 OS << "ReturnLoc: " << ReturnLoc; in dump() 1179 if (auto Iter = LocToName.find(ReturnLoc); Iter != LocToName.end()) in dump()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaStmt.cpp | 3412 StmtResult Sema::ActOnCapScopeReturnStmt(SourceLocation ReturnLoc, in ActOnCapScopeReturnStmt() argument 3430 ActOnFinishFullExpr(RetValExp, ReturnLoc, /*DiscardedValue*/ false); in ActOnCapScopeReturnStmt() 3435 return ReturnStmt::Create(Context, ReturnLoc, RetValExp, in ActOnCapScopeReturnStmt() 3453 if (DeduceFunctionTypeFromReturnExpr(FD, ReturnLoc, RetValExp, AT)) { in ActOnCapScopeReturnStmt() 3483 Diag(ReturnLoc, diag::err_lambda_return_init_list) in ActOnCapScopeReturnStmt() 3499 Diag(ReturnLoc, diag::err_noreturn_block_has_return_expr); in ActOnCapScopeReturnStmt() 3503 Diag(ReturnLoc, diag::err_return_in_captured_stmt) << CurRegion->getRegionName(); in ActOnCapScopeReturnStmt() 3510 Diag(ReturnLoc, diag::err_noreturn_lambda_has_return_expr); in ActOnCapScopeReturnStmt() 3528 Diag(ReturnLoc, diag::ext_return_has_void_expr) << "literal" << 2; in ActOnCapScopeReturnStmt() 3530 Diag(ReturnLoc, diag::err_return_block_has_expr); in ActOnCapScopeReturnStmt() [all …]
|
H A D | SemaChecking.cpp | 9137 SourceLocation ReturnLoc, in CheckReturnValExpr() argument 9145 Diag(ReturnLoc, diag::warn_null_ret) in CheckReturnValExpr() 9160 Diag(ReturnLoc, diag::warn_operator_new_returns_null) in CheckReturnValExpr() 9166 Diag(ReturnLoc, diag::err_wasm_table_art) << 1; in CheckReturnValExpr() 9172 PPC().CheckPPCMMAType(RetValExp->getType(), ReturnLoc); in CheckReturnValExpr()
|
H A D | TreeTransform.h | 1500 StmtResult RebuildReturnStmt(SourceLocation ReturnLoc, Expr *Result) { in RebuildReturnStmt() argument 1501 return getSema().BuildReturnStmt(ReturnLoc, Result); in RebuildReturnStmt()
|
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/ |
H A D | DataflowEnvironment.h | 404 return ReturnLoc; in getReturnStorageLocation() 427 ReturnLoc = Loc; in setReturnStorageLocation() 786 StorageLocation *ReturnLoc = nullptr; variable
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Initialization.h | 305 static InitializedEntity InitializeResult(SourceLocation ReturnLoc, in InitializeResult() argument 307 return InitializedEntity(EK_Result, ReturnLoc, Type); in InitializeResult() 310 static InitializedEntity InitializeStmtExprResult(SourceLocation ReturnLoc, in InitializeStmtExprResult() argument 312 return InitializedEntity(EK_StmtExprResult, ReturnLoc, Type); in InitializeStmtExprResult()
|
H A D | Sema.h | 2600 SourceLocation ReturnLoc, bool isObjCMethod = false, 10878 SourceLocation ReturnLoc, Expr *RetExpr, 10881 StmtResult ActOnReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp, 10883 StmtResult BuildReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp, 10888 StmtResult ActOnCapScopeReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp,
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseStmt.cpp | 2440 SourceLocation ReturnLoc = ConsumeToken(); // eat the 'return'. in ParseReturnStatement() local 2470 return Actions.ActOnCoreturnStmt(getCurScope(), ReturnLoc, R.get()); in ParseReturnStatement() 2471 return Actions.ActOnReturnStmt(ReturnLoc, R.get(), getCurScope()); in ParseReturnStatement()
|