Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DIteratorModeling.cpp202 if (getIteratorPosition(State, Call.getReturnValue())) in checkPostCall()
208 State = setIteratorPosition(State, Call.getReturnValue(), *Pos); in checkPostCall()
228 assignToContainer(C, Call.getCFGElementRef(), Call.getReturnValue(), in checkPostCall()
360 handleComparison(C, OrigExpr, Elem, Call.getReturnValue(), in handleOverloadedOperator()
365 handleComparison(C, OrigExpr, Elem, Call.getReturnValue(), in handleOverloadedOperator()
377 handleRandomIncrOrDecr(C, Elem, Op, Call.getReturnValue(), in handleOverloadedOperator()
397 handleRandomIncrOrDecr(C, Elem, Op, Call.getReturnValue(), Iterator, in handleOverloadedOperator()
404 handleIncrement(C, Call.getReturnValue(), InstCall->getCXXThisVal(), in handleOverloadedOperator()
409 handleIncrement(C, Call.getReturnValue(), Call.getArgSVal(0), in handleOverloadedOperator()
414 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.cpp77 auto ReturnV = Call.getReturnValue().getAs<DefinedOrUnknownSVal>(); 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 DSetgidSetuidOrderChecker.cpp125 SymbolRef RetSym = Call.getReturnValue().getAsSymbol(); in processSetuid()
H A DSimpleStreamChecker.cpp99 SymbolRef FileDesc = Call.getReturnValue().getAsSymbol(); in REGISTER_MAP_WITH_PROGRAMSTATE()
H A DDynamicTypePropagation.cpp305 const MemRegion *RetReg = Call.getReturnValue().getAsRegion(); in checkPostCall()
909 SymbolRef RetSym = M.getReturnValue().getAsSymbol(); in checkPostObjCMessage()
994 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.cpp227 SVal RawPtr = Call.getReturnValue(); in checkPostCall()
H A DObjCSelfInitChecker.cpp291 addSelfFlag(state, CE.getReturnValue(), prevFlags, C); in checkPostCall()
H A DLocalizationChecker.cpp929 SVal sv = Call.getReturnValue(); in checkPostCall()
942 SVal sv = Call.getReturnValue(); in checkPostCall()
978 SVal sv = msg.getReturnValue(); in checkPostObjCMessage()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DUtils.h36 if (RI->getReturnValue() == nullptr) in getExpectedType()
51 return RI->getReturnValue(); in getExpectedValue()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DirectXIRPasses/
H A DPointerTypeAnalysis.cpp97 Type *NewRetTy = classifyPointerType(RetInst->getReturnValue(), Map); in classifyFunctionType()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp321 if (Ret->getReturnValue()) in versionCallSiteWithCond()
322 NewRet->replaceUsesOfWith(Ret->getReturnValue(), NewRetVal); in versionCallSiteWithCond()
H A DInlineFunction.cpp3173 auto *OldCast = dyn_cast_or_null<BitCastInst>(RI->getReturnValue()); in InlineFunction()
3225 if (&CB == R->getReturnValue()) in InlineFunction()
3228 CB.replaceAllUsesWith(R->getReturnValue()); in InlineFunction()
3313 assert(RI->getReturnValue()->getType() == PHI->getType() && in InlineFunction()
3315 PHI->addIncoming(RI->getReturnValue(), RI->getParent()); in InlineFunction()
3337 if (&CB == Returns[0]->getReturnValue()) in InlineFunction()
3340 CB.replaceAllUsesWith(Returns[0]->getReturnValue()); in InlineFunction()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/cert/
H A DInvalidPtrChecker.cpp262 const MemRegion *Region = Call.getReturnValue().getAsRegion(); in checkPostCall()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURewriteOutArguments.cpp340 Value *RetVal = RI->getReturnValue(); in runOnFunction()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DTailRecursionElimination.cpp729 if (Ret->getReturnValue() == CI || AccRecInstr) { in eliminateCall()
738 SelectInst::Create(RetKnownPN, RetPN, Ret->getReturnValue(), in eliminateCall()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalDCE.cpp53 return !RI->getReturnValue(); in isEmptyFunction()
H A DCalledValuePropagation.cpp249 auto RegI = CVPLatticeKey(I.getReturnValue(), IPOGrouping::Register); in visitReturn()
H A DFunctionAttrs.cpp1028 dyn_cast<Argument>(Ret->getReturnValue()->stripPointerCasts()); in addArgumentReturnedAttrs()
1453 FlowsToReturn.insert(Ret->getReturnValue()); in isFunctionMallocLike()
1563 FlowsToReturn.insert(Ret->getReturnValue()); in isReturnNonNull()
1711 Value *RetVal = Ret->getReturnValue(); in addNoUndefAttrs()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.cpp478 if (SymbolRef Sym = CallOrMsg.getReturnValue().getAsSymbol()) { in processSummaryOfInlined()
522 SVal L = CE.getReturnValue(); in updateOutParameters()
686 if (SymbolRef Sym = CallOrMsg.getReturnValue().getAsSymbol()) { in checkSummary()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DDataflowEnvironment.h388 Value *getReturnValue() const { in getReturnValue() function
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMips16HardFloat.cpp384 Value *RVal = RI->getReturnValue(); in fixupFPReturnAndCall()

123