Home
last modified time | relevance | path

Searched refs:ReturnLoc (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86PadShortFunction.cpp141 MachineBasicBlock::iterator ReturnLoc = --MBB->end(); in runOnMachineFunction() local
143 while (ReturnLoc->isDebugInstr()) in runOnMachineFunction()
144 --ReturnLoc; in runOnMachineFunction()
145 assert(ReturnLoc->isReturn() && !ReturnLoc->isCall() && in runOnMachineFunction()
148 addPadding(MBB, ReturnLoc, Threshold - Cycles); in runOnMachineFunction()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp3520 StmtResult Sema::ActOnCapScopeReturnStmt(SourceLocation ReturnLoc, in ActOnCapScopeReturnStmt() argument
3538 ActOnFinishFullExpr(RetValExp, ReturnLoc, /*DiscardedValue*/ false); in ActOnCapScopeReturnStmt()
3543 return ReturnStmt::Create(Context, ReturnLoc, RetValExp, in ActOnCapScopeReturnStmt()
3561 if (DeduceFunctionTypeFromReturnExpr(FD, ReturnLoc, RetValExp, AT)) { in ActOnCapScopeReturnStmt()
3591 Diag(ReturnLoc, diag::err_lambda_return_init_list) in ActOnCapScopeReturnStmt()
3607 Diag(ReturnLoc, diag::err_noreturn_has_return_expr) in ActOnCapScopeReturnStmt()
3612 Diag(ReturnLoc, diag::err_return_in_captured_stmt) << CurRegion->getRegionName(); in ActOnCapScopeReturnStmt()
3619 Diag(ReturnLoc, diag::err_noreturn_has_return_expr) in ActOnCapScopeReturnStmt()
3638 Diag(ReturnLoc, diag::ext_return_has_void_expr) << "literal" << 2; in ActOnCapScopeReturnStmt()
3640 Diag(ReturnLoc, diag::err_return_block_has_expr); in ActOnCapScopeReturnStmt()
[all …]
H A DSemaChecking.cpp10307 SourceLocation ReturnLoc, in CheckReturnValExpr() argument
10315 Diag(ReturnLoc, diag::warn_null_ret) in CheckReturnValExpr()
10330 Diag(ReturnLoc, diag::warn_operator_new_returns_null) in CheckReturnValExpr()
10336 Diag(ReturnLoc, diag::err_wasm_table_art) << 1; in CheckReturnValExpr()
10342 PPC().CheckPPCMMAType(RetValExp->getType(), ReturnLoc); in CheckReturnValExpr()
H A DTreeTransform.h1494 StmtResult RebuildReturnStmt(SourceLocation ReturnLoc, Expr *Result) { in RebuildReturnStmt() argument
1495 return getSema().BuildReturnStmt(ReturnLoc, Result); in RebuildReturnStmt()
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DDataflowEnvironment.cpp676 if (CalleeEnv.ReturnLoc != nullptr) in popCall()
677 setStorageLocation(*Call, *CalleeEnv.ReturnLoc); in popCall()
698 if (ReturnLoc != Other.ReturnLoc) in equivalentTo()
726 assert(ReturnLoc == PrevEnv.ReturnLoc); in widen()
789 if (EnvA.ReturnLoc == EnvB.ReturnLoc) in join()
790 JoinedEnv.ReturnLoc = EnvA.ReturnLoc; in join()
792 JoinedEnv.ReturnLoc = nullptr; in join()
1177 OS << "ReturnLoc: " << ReturnLoc; in dump()
1178 if (auto Iter = LocToName.find(ReturnLoc); Iter != LocToName.end()) in dump()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DDataflowEnvironment.h404 return ReturnLoc; in getReturnStorageLocation()
427 ReturnLoc = Loc; in setReturnStorageLocation()
786 StorageLocation *ReturnLoc = nullptr; variable
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DInitialization.h305 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 DSema.h3052 SourceLocation ReturnLoc, bool isObjCMethod = false,
11093 SourceLocation ReturnLoc, Expr *RetExpr,
11096 StmtResult ActOnReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp,
11098 StmtResult BuildReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp,
11103 StmtResult ActOnCapScopeReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp,
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseStmt.cpp2304 SourceLocation ReturnLoc = ConsumeToken(); // eat the 'return'. in ParseReturnStatement() local
2334 return Actions.ActOnCoreturnStmt(getCurScope(), ReturnLoc, R.get()); in ParseReturnStatement()
2335 return Actions.ActOnReturnStmt(ReturnLoc, R.get(), getCurScope()); in ParseReturnStatement()