Home
last modified time | relevance | path

Searched refs:getReturnValue (Results 1 – 25 of 60) sorted by relevance

123

/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DIteratorModeling.cpp201 if (getIteratorPosition(State, Call.getReturnValue())) in checkPostCall()
207 State = setIteratorPosition(State, Call.getReturnValue(), *Pos); in checkPostCall()
227 assignToContainer(C, OrigExpr, Call.getReturnValue(), in checkPostCall()
358 handleComparison(C, OrigExpr, Call.getReturnValue(), in handleOverloadedOperator()
363 handleComparison(C, OrigExpr, Call.getReturnValue(), Call.getArgSVal(0), in handleOverloadedOperator()
374 handleRandomIncrOrDecr(C, OrigExpr, Op, Call.getReturnValue(), in handleOverloadedOperator()
394 handleRandomIncrOrDecr(C, OrigExpr, Op, Call.getReturnValue(), in handleOverloadedOperator()
401 handleIncrement(C, Call.getReturnValue(), InstCall->getCXXThisVal(), in handleOverloadedOperator()
406 handleIncrement(C, Call.getReturnValue(), Call.getArgSVal(0), in handleOverloadedOperator()
411 handleDecrement(C, Call.getReturnValue(), InstCall->getCXXThisVal(), in handleOverloadedOperator()
[all …]
H A DTrustReturnsNonnullChecker.cpp34 if (auto L = Call.getReturnValue().getAs<Loc>()) in checkPostCall()
H A DTrustNonnullChecker.cpp88 if (auto L = Call.getReturnValue().getAs<Loc>()) in checkPostCall()
116 SymbolRef RetS = Msg.getReturnValue().getAsSymbol(); in checkPostObjCMessage()
H A DReturnValueChecker.cpp78 auto ReturnV = Call.getReturnValue().getAs<DefinedOrUnknownSVal>(); in checkPostCall()
H A DFuchsiaHandleChecker.cpp377 ResultSymbol = Call.getReturnValue().getAsSymbol(); in checkPostCall()
381 SymbolRef RetSym = Call.getReturnValue().getAsSymbol(); in checkPostCall()
397 SymbolRef RetSym = Call.getReturnValue().getAsSymbol(); in checkPostCall()
H A DPthreadLockChecker.cpp457 SVal RetVal = Call.getReturnValue(); in AcquireLockAux()
477 SVal RetVal = Call.getReturnValue(); in AcquireLockAux()
587 SymbolRef sym = Call.getReturnValue().getAsSymbol(); in DestroyLockAux()
H A DVforkChecker.cpp153 SVal VforkRetVal = Call.getReturnValue(); in checkPostCall()
H A DSimpleStreamChecker.cpp99 SymbolRef FileDesc = Call.getReturnValue().getAsSymbol(); in REGISTER_MAP_WITH_PROGRAMSTATE()
H A DSetgidSetuidOrderChecker.cpp125 SymbolRef RetSym = Call.getReturnValue().getAsSymbol(); in processSetuid()
H A DDynamicTypePropagation.cpp309 const MemRegion *RetReg = Call.getReturnValue().getAsRegion(); in checkPostCall()
907 SymbolRef RetSym = M.getReturnValue().getAsSymbol(); in checkPostObjCMessage()
992 const MemRegion *RetRegion = M.getReturnValue().getAsRegion(); in checkPostObjCMessage()
H A DNullabilityChecker.cpp885 const MemRegion *Region = getTrackRegion(Call.getReturnValue()); in checkPostCall()
986 const MemRegion *ReturnRegion = getTrackRegion(M.getReturnValue()); in checkPostObjCMessage()
1101 M.getReturnValue().getAs<DefinedOrUnknownSVal>()) { in checkPostObjCMessage()
H A DInnerPointerChecker.cpp229 SVal RawPtr = Call.getReturnValue(); in checkPostCall()
H A DBlockInCriticalSectionChecker.cpp330 R->markInteresting(Call.getReturnValue()); in reportBlockInCritSection()
H A DObjCSelfInitChecker.cpp291 addSelfFlag(state, CE.getReturnValue(), prevFlags, C); in checkPostCall()
H A DLocalizationChecker.cpp933 SVal sv = Call.getReturnValue(); in checkPostCall()
946 SVal sv = Call.getReturnValue(); in checkPostCall()
983 SVal sv = msg.getReturnValue(); in checkPostObjCMessage()
/src/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp319 if (Ret->getReturnValue()) in versionCallSiteWithCond()
320 NewRet->replaceUsesOfWith(Ret->getReturnValue(), NewRetVal); in versionCallSiteWithCond()
H A DInlineFunction.cpp2845 auto *OldCast = dyn_cast_or_null<BitCastInst>(RI->getReturnValue()); in InlineFunction()
2897 if (&CB == R->getReturnValue()) in InlineFunction()
2900 CB.replaceAllUsesWith(R->getReturnValue()); in InlineFunction()
2983 assert(RI->getReturnValue()->getType() == PHI->getType() && in InlineFunction()
2985 PHI->addIncoming(RI->getReturnValue(), RI->getParent()); in InlineFunction()
3007 if (&CB == Returns[0]->getReturnValue()) in InlineFunction()
3010 CB.replaceAllUsesWith(Returns[0]->getReturnValue()); in InlineFunction()
/src/contrib/llvm-project/llvm/lib/Target/DirectX/DirectXIRPasses/
H A DPointerTypeAnalysis.cpp97 Type *NewRetTy = classifyPointerType(RetInst->getReturnValue(), Map); in classifyFunctionType()
/src/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionAttrs.cpp777 dyn_cast<Argument>(Ret->getReturnValue()->stripPointerCasts()); in addArgumentReturnedAttrs()
1059 FlowsToReturn.insert(Ret->getReturnValue()); in isFunctionMallocLike()
1170 FlowsToReturn.insert(Ret->getReturnValue()); in isReturnNonNull()
1318 Value *RetVal = Ret->getReturnValue(); in addNoUndefAttrs()
H A DGlobalDCE.cpp53 return !RI->getReturnValue(); in isEmptyFunction()
H A DCalledValuePropagation.cpp247 auto RegI = CVPLatticeKey(I.getReturnValue(), IPOGrouping::Register); in visitReturn()
/src/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DTailRecursionElimination.cpp711 if (Ret->getReturnValue() == CI || AccRecInstr) { in eliminateCall()
720 SelectInst::Create(RetKnownPN, RetPN, Ret->getReturnValue(), in eliminateCall()
/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/cert/
H A DInvalidPtrChecker.cpp262 const MemRegion *Region = Call.getReturnValue().getAsRegion(); in checkPostCall()
/src/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURewriteOutArguments.cpp347 Value *RetVal = RI->getReturnValue(); in runOnFunction()
/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.cpp479 if (SymbolRef Sym = CallOrMsg.getReturnValue().getAsSymbol()) { in processSummaryOfInlined()
523 SVal L = CE.getReturnValue(); in updateOutParameters()
687 if (SymbolRef Sym = CallOrMsg.getReturnValue().getAsSymbol()) { in checkSummary()

123