Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86PadShortFunction.cpp145 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()
/openbsd-src/gnu/llvm/clang/lib/Analysis/FlowSensitive/
H A DDataflowEnvironment.cpp222 ReturnLoc(Other.ReturnLoc), ThisPointeeLoc(Other.ThisPointeeLoc), in Environment()
272 ReturnLoc = &createStorageLocation(ReturnType); in Environment()
300 Env.ReturnLoc = getStorageLocation(*Call, SkipPast::Reference); in pushCall()
321 Env.ReturnLoc = getStorageLocation(*Call, SkipPast::Reference); in pushCall()
323 Env.ThisPointeeLoc = Env.ReturnLoc; in pushCall()
401 if (ReturnLoc != Other.ReturnLoc) in equivalentTo()
438 assert(ReturnLoc == PrevEnv.ReturnLoc); in widen()
499 assert(ReturnLoc == Other.ReturnLoc); in join()
508 JoinedEnv.ReturnLoc = ReturnLoc; in join()
609 return ReturnLoc; in getReturnStorageLocation()
H A DTransfer.cpp806 auto &ReturnLoc = Env.createStorageLocation(*S); in transferInlineCall() local
807 Env.setStorageLocation(*S, ReturnLoc); in transferInlineCall()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaStmt.cpp3571 StmtResult Sema::ActOnCapScopeReturnStmt(SourceLocation ReturnLoc, in ActOnCapScopeReturnStmt() argument
3587 ActOnFinishFullExpr(RetValExp, ReturnLoc, /*DiscardedValue*/ false); in ActOnCapScopeReturnStmt()
3592 return ReturnStmt::Create(Context, ReturnLoc, RetValExp, in ActOnCapScopeReturnStmt()
3610 if (DeduceFunctionTypeFromReturnExpr(FD, ReturnLoc, RetValExp, AT)) { in ActOnCapScopeReturnStmt()
3640 Diag(ReturnLoc, diag::err_lambda_return_init_list) in ActOnCapScopeReturnStmt()
3656 Diag(ReturnLoc, diag::err_noreturn_block_has_return_expr); in ActOnCapScopeReturnStmt()
3660 Diag(ReturnLoc, diag::err_return_in_captured_stmt) << CurRegion->getRegionName(); in ActOnCapScopeReturnStmt()
3667 Diag(ReturnLoc, diag::err_noreturn_lambda_has_return_expr); in ActOnCapScopeReturnStmt()
3685 Diag(ReturnLoc, diag::ext_return_has_void_expr) << "literal" << 2; in ActOnCapScopeReturnStmt()
3687 Diag(ReturnLoc, diag::err_return_block_has_expr); in ActOnCapScopeReturnStmt()
[all …]
H A DSemaChecking.cpp12171 SourceLocation ReturnLoc, in CheckReturnValExpr() argument
12179 Diag(ReturnLoc, diag::warn_null_ret) in CheckReturnValExpr()
12194 Diag(ReturnLoc, diag::warn_operator_new_returns_null) in CheckReturnValExpr()
12202 CheckPPCMMAType(RetValExp->getType(), ReturnLoc); in CheckReturnValExpr()
H A DTreeTransform.h1454 StmtResult RebuildReturnStmt(SourceLocation ReturnLoc, Expr *Result) { in RebuildReturnStmt() argument
1455 return getSema().BuildReturnStmt(ReturnLoc, Result); in RebuildReturnStmt()
/openbsd-src/gnu/llvm/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.h5185 StmtResult ActOnReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp,
5187 StmtResult BuildReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp,
5189 StmtResult ActOnCapScopeReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp,
9121 SourceLocation ReturnLoc, Expr *RetExpr,
13610 SourceLocation ReturnLoc,
/openbsd-src/gnu/llvm/clang/include/clang/Analysis/FlowSensitive/
H A DDataflowEnvironment.h476 StorageLocation *ReturnLoc = nullptr; variable
/openbsd-src/gnu/llvm/clang/lib/Parse/
H A DParseStmt.cpp2361 SourceLocation ReturnLoc = ConsumeToken(); // eat the 'return'. in ParseReturnStatement() local
2391 return Actions.ActOnCoreturnStmt(getCurScope(), ReturnLoc, R.get()); in ParseReturnStatement()
2392 return Actions.ActOnReturnStmt(ReturnLoc, R.get(), getCurScope()); in ParseReturnStatement()