/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CastValueChecker.cpp | 198 static void addCastTransition(const CallEvent &Call, DefinedOrUnknownSVal DV, in addCastTransition() 259 static void addInstanceOfTransition(const CallEvent &Call, in addInstanceOfTransition() 341 static void evalNonNullParamNonNullReturn(const CallEvent &Call, in evalNonNullParamNonNullReturn() 349 static void evalNonNullParamNullReturn(const CallEvent &Call, in evalNonNullParamNullReturn() 356 static void evalNullParamNullReturn(const CallEvent &Call, in evalNullParamNullReturn() 369 void CastValueChecker::evalCast(const CallEvent &Call, DefinedOrUnknownSVal DV, in evalCast() 374 void CastValueChecker::evalDynCast(const CallEvent &Call, in evalDynCast() 381 void CastValueChecker::evalCastOrNull(const CallEvent &Call, in evalCastOrNull() 388 void CastValueChecker::evalDynCastOrNull(const CallEvent &Call, in evalDynCastOrNull() 400 static void evalZeroParamNonNullReturn(const CallEvent &Call, in evalZeroParamNonNullReturn() [all …]
|
H A D | ErrnoTesterChecker.cpp | 88 const CallEvent &Call) { in evalSetErrno() 94 const CallEvent &Call) { in evalGetErrno() 106 const CallEvent &Call) { in evalSetErrnoIfError() 123 const CallEvent &Call) { in evalSetErrnoIfErrorRange() 145 const CallEvent &Call) { in evalSetErrnoCheckState() 171 bool ErrnoTesterChecker::evalCall(const CallEvent &Call, in evalCall()
|
H A D | BlockInCriticalSectionChecker.cpp | 66 [[nodiscard]] bool matches(const CallEvent &Call, bool IsLock) const { in matches() argument 79 [[nodiscard]] const MemRegion *getRegion(const CallEvent &Call, bool) const { in getRegion() argument 89 [[nodiscard]] const MemRegion *getRegion(const CallEvent &Call, bool) const { in getRegion() argument 122 [[nodiscard]] bool matches(const CallEvent &Call, bool IsLock) const { in matches() argument 129 [[nodiscard]] const MemRegion *getRegion(const CallEvent &Call, in getRegion() 228 BlockInCriticalSectionChecker::checkDescriptorMatch(const CallEvent &Call, in checkDescriptorMatch() 244 static const MemRegion *getRegion(const CallEvent &Call, in getRegion() 255 const MutexDescriptor &LockDescriptor, const CallEvent &Call, in handleLock() 269 const MutexDescriptor &UnlockDescriptor, const CallEvent &Call, in handleUnlock() 299 const CallEvent &Call, CheckerContext &C) const { in isBlockingInCritSection() argument [all …]
|
H A D | PthreadLockChecker.cpp | 385 void PthreadLockChecker::AcquirePthreadLock(const CallEvent &Call, in AcquirePthreadLock() 392 void PthreadLockChecker::AcquireXNULock(const CallEvent &Call, in AcquireXNULock() 399 void PthreadLockChecker::TryPthreadLock(const CallEvent &Call, in TryPthreadLock() 406 void PthreadLockChecker::TryXNULock(const CallEvent &Call, CheckerContext &C, in TryXNULock() 412 void PthreadLockChecker::TryFuchsiaLock(const CallEvent &Call, in TryFuchsiaLock() 419 void PthreadLockChecker::TryC11Lock(const CallEvent &Call, CheckerContext &C, in TryC11Lock() 425 void PthreadLockChecker::AcquireLockAux(const CallEvent &Call, in AcquireLockAux() 498 void PthreadLockChecker::ReleaseAnyLock(const CallEvent &Call, in ReleaseAnyLock() 504 void PthreadLockChecker::ReleaseLockAux(const CallEvent &Call, in ReleaseLockAux() 550 void PthreadLockChecker::DestroyPthreadLock(const CallEvent &Call, in DestroyPthreadLock() [all …]
|
H A D | StdVariantChecker.cpp | 35 getConstructorDeclarationForCall(const CallEvent &Call) { in getConstructorDeclarationForCall() 43 bool isCopyConstructorCall(const CallEvent &Call) { in isCopyConstructorCall() 50 bool isCopyAssignmentCall(const CallEvent &Call) { in isCopyAssignmentCall() 59 bool isMoveConstructorCall(const CallEvent &Call) { in isMoveConstructorCall() 68 bool isMoveAssignmentCall(const CallEvent &Call) { in isMoveAssignmentCall() 154 bool evalCall(const CallEvent &Call, CheckerContext &C) const { in evalCall() argument 221 bool handleStdGetCall(const CallEvent &Call, CheckerContext &C) const { in handleStdGetCall() argument
|
H A D | ChrootChecker.cpp | 67 bool ChrootChecker::evalCall(const CallEvent &Call, CheckerContext &C) const { in evalCall() argument 80 void ChrootChecker::evalChroot(const CallEvent &Call, CheckerContext &C) const { in evalChroot() argument 90 void ChrootChecker::evalChdir(const CallEvent &Call, CheckerContext &C) const { in evalChdir() argument 117 void ChrootChecker::checkPreCall(const CallEvent &Call, in checkPreCall()
|
H A D | SmartPtrModeling.cpp | 127 bool isStdSmartPtrCall(const CallEvent &Call) { in isStdSmartPtrCall() 201 static QualType getPointerTypeFromTemplateArg(const CallEvent &Call, in getPointerTypeFromTemplateArg() 215 static QualType getInnerPointerType(const CallEvent &Call, CheckerContext &C) { in getInnerPointerType() 249 static bool isStdFunctionCall(const CallEvent &Call) { in isStdFunctionCall() 253 bool isStdOstreamOperatorCall(const CallEvent &Call) { in isStdOstreamOperatorCall() 269 static bool isPotentiallyComparisionOpCall(const CallEvent &Call) { in isPotentiallyComparisionOpCall() 276 bool SmartPtrModeling::evalCall(const CallEvent &Call, in evalCall() 451 bool SmartPtrModeling::handleComparisionOp(const CallEvent &Call, in handleComparisionOp() 517 bool SmartPtrModeling::handleOstreamOperator(const CallEvent &Call, in handleOstreamOperator() 598 void SmartPtrModeling::handleReset(const CallEvent &Call, in handleReset() [all …]
|
H A D | StreamChecker.cpp | 220 SVal getStreamArg(const FnDescription *Desc, const CallEvent &Call) { in getStreamArg() 757 if (const auto *Call = Match.getNodeAs<CallExpr>("call")) in doesFnIntendToHandleOwnership() local 820 escapeByStartIndexAndCount(ProgramStateRef State, const CallEvent &Call, in escapeByStartIndexAndCount() 851 const CallEvent &Call, in escapeArgs() 866 void StreamChecker::checkPreCall(const CallEvent &Call, in checkPreCall() 878 bool StreamChecker::evalCall(const CallEvent &Call, CheckerContext &C) const { in evalCall() argument 890 void StreamChecker::evalFopen(const FnDescription *Desc, const CallEvent &Call, in evalFopen() 919 void StreamChecker::preFreopen(const FnDescription *Desc, const CallEvent &Call, in preFreopen() 932 const CallEvent &Call, in evalFreopen() 977 void StreamChecker::evalFclose(const FnDescription *Desc, const CallEvent &Call, in evalFclose() [all …]
|
H A D | MallocChecker.cpp | 287 static bool isStandardNewDelete(const CallEvent &Call) { in isStandardNewDelete() 811 if (const auto *Call = Match.getNodeAs<CallExpr>("call")) in doesFnIntendToHandleOwnership() local 1046 MallocChecker::performKernelMalloc(const CallEvent &Call, CheckerContext &C, in performKernelMalloc() 1142 void MallocChecker::checkBasicAlloc(const CallEvent &Call, in checkBasicAlloc() 1151 void MallocChecker::checkKernelMalloc(const CallEvent &Call, in checkKernelMalloc() 1164 static bool isStandardRealloc(const CallEvent &Call) { in isStandardRealloc() 1175 static bool isGRealloc(const CallEvent &Call) { in isGRealloc() 1186 void MallocChecker::checkRealloc(const CallEvent &Call, CheckerContext &C, in checkRealloc() 1202 void MallocChecker::checkCalloc(const CallEvent &Call, in checkCalloc() 1211 void MallocChecker::checkFree(const CallEvent &Call, CheckerContext &C) const { in checkFree() argument [all …]
|
H A D | NoOwnershipChangeVisitor.h | 41 const ObjCMethodCall &Call, in maybeEmitNoteForObjCSelf() 48 const CXXConstructorCall &Call, in maybeEmitNoteForCXXThis()
|
H A D | AnalysisOrderChecker.cpp | 125 bool evalCall(const CallEvent &Call, CheckerContext &C) const { in evalCall() argument 138 void checkPreCall(const CallEvent &Call, CheckerContext &C) const { in checkPreCall() argument 148 void checkPostCall(const CallEvent &Call, CheckerContext &C) const { in checkPostCall() argument 181 void checkNewAllocator(const CXXAllocatorCall &Call, in checkNewAllocator() 210 const CallEvent *Call, in checkPointerEscape()
|
H A D | CheckerDocumentation.cpp | 124 void checkPreCall(const CallEvent &Call, CheckerContext &C) const {} in checkPreCall() argument 130 void checkPostCall(const CallEvent &Call, CheckerContext &C) const {} in checkPostCall() argument 232 bool evalCall(const CallEvent &Call, CheckerContext &C) const { return true; } in evalCall() argument 300 const CallEvent *Call, in checkPointerEscape() 311 const CallEvent *Call, in checkConstPointerEscape()
|
H A D | TaggedUnionModeling.h | 37 removeInformationStoredForDeadInstances(const CallEvent &Call, in removeInformationStoredForDeadInstances() 53 void handleConstructorAndAssignment(const CallEvent &Call, CheckerContext &C, in handleConstructorAndAssignment()
|
H A D | ReturnValueChecker.cpp | 63 static std::string getName(const CallEvent &Call) { in getName() 73 void ReturnValueChecker::checkPostCall(const CallEvent &Call, in checkPostCall()
|
H A D | StdLibraryFunctionsChecker.cpp | 176 virtual void describe(DescriptionKind DK, const CallEvent &Call, in describe() 198 virtual bool describeArgumentValue(const CallEvent &Call, in describeArgumentValue() 557 ProgramStateRef apply(ProgramStateRef State, const CallEvent &Call, in apply() 570 ProgramStateRef apply(ProgramStateRef State, const CallEvent &Call, in apply() 583 ProgramStateRef apply(ProgramStateRef State, const CallEvent &Call, in apply() 603 ProgramStateRef apply(ProgramStateRef State, const CallEvent &Call, in apply() 620 ProgramStateRef apply(ProgramStateRef State, const CallEvent &Call, in apply() 829 static SVal getArgSVal(const CallEvent &Call, ArgNo ArgN) { in getArgSVal() 832 static std::string getFunctionName(const CallEvent &Call) { in getFunctionName() 858 void reportBug(const CallEvent &Call, ExplodedNode *N, in reportBug() [all …]
|
H A D | SetgidSetuidOrderChecker.cpp | 121 const CallEvent &Call, in processSetuid() 143 const CallEvent &Call, in processSetgid() 162 const CallEvent &Call, in processOther()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BPFPreserveStaticOffset.cpp | 131 if (auto *Call = dyn_cast<CallInst>(I)) in isIntrinsicCall() local 170 static void setParamElementType(CallInst *Call, unsigned ArgNo, Type *Type) { in setParamElementType() 175 static void setParamReadNone(CallInst *Call, unsigned ArgNo) { in setParamReadNone() 180 static void setParamReadOnly(CallInst *Call, unsigned ArgNo) { in setParamReadOnly() 185 static void setParamWriteOnly(CallInst *Call, unsigned ArgNo) { in setParamWriteOnly() 228 CallInst *Call = makeIntrinsicCall(M, Intrinsic::bpf_getelementptr_and_load, in makeGEPAndLoad() local 249 CallInst *Call = in makeGEPAndStore() local 268 static unsigned getOperandAsUnsigned(CallInst *Call, unsigned ArgNo) { in getOperandAsUnsigned() 278 static GetElementPtrInst *reconstructGEP(CallInst *Call, int Delta) { in reconstructGEP() 291 static void reconstructCommon(CallInst *Call, GetElementPtrInst *GEP, T *Insn, in reconstructCommon() [all …]
|
H A D | BPFAbstractMemberAccess.cpp | 321 static Type *getBaseElementType(const CallInst *Call) { in getBaseElementType() 333 bool BPFAbstractMemberAccess::IsPreserveDIAccessIndexCall(const CallInst *Call, in IsPreserveDIAccessIndexCall() 416 static void replaceWithGEP(CallInst *Call, uint32_t DimensionIndex, in replaceWithGEP() 436 void BPFCoreSharedInfo::removeArrayAccessCall(CallInst *Call) { in removeArrayAccessCall() 440 void BPFCoreSharedInfo::removeStructAccessCall(CallInst *Call) { in removeStructAccessCall() 444 void BPFCoreSharedInfo::removeUnionAccessCall(CallInst *Call) { in removeUnionAccessCall() 457 auto *Call = dyn_cast<CallInst>(&I); in removePreserveAccessIndexIntrinsic() local 543 void BPFAbstractMemberAccess::traceAICall(CallInst *Call, in traceAICall() 642 auto *Call = dyn_cast<CallInst>(&I); in collectAICallChains() local 835 Value *BPFAbstractMemberAccess::computeBaseAndAccessKey(CallInst *Call, in computeBaseAndAccessKey() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | InterpBuiltin.cpp | 136 const CallExpr *Call) { in interp__builtin_is_constant_evaluated() 166 const CallExpr *Call) { in interp__builtin_strcmp() 209 const CallExpr *Call) { in interp__builtin_strlen() 367 const CallExpr *Call) { in interp__builtin_isnan() 377 const CallExpr *Call) { in interp__builtin_issignaling() 386 bool CheckSign, const CallExpr *Call) { in interp__builtin_isinf() 399 const Function *F, const CallExpr *Call) { in interp__builtin_isfinite() 408 const Function *F, const CallExpr *Call) { in interp__builtin_isnormal() 418 const CallExpr *Call) { in interp__builtin_issubnormal() 427 const CallExpr *Call) { in interp__builtin_iszero() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaOpenCL.cpp | 138 bool SemaOpenCL::checkSubgroupExt(CallExpr *Call) { in checkSubgroupExt() 364 static bool checkPipeArg(Sema &S, CallExpr *Call) { in checkPipeArg() 414 static bool checkPipePacketType(Sema &S, CallExpr *Call, unsigned Idx) { in checkPipePacketType() 433 bool SemaOpenCL::checkBuiltinRWPipe(CallExpr *Call) { in checkBuiltinRWPipe() 483 bool SemaOpenCL::checkBuiltinReserveRWPipe(CallExpr *Call) { in checkBuiltinReserveRWPipe() 507 bool SemaOpenCL::checkBuiltinCommitRWPipe(CallExpr *Call) { in checkBuiltinCommitRWPipe() 525 bool SemaOpenCL::checkBuiltinPipePackets(CallExpr *Call) { in checkBuiltinPipePackets() 538 bool SemaOpenCL::checkBuiltinToAddr(unsigned BuiltinID, CallExpr *Call) { in checkBuiltinToAddr()
|
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | CallDescription.h | 133 friend bool matchesAny(const CallEvent &Call, const CallDescription &CD1) { in matchesAny() 139 friend bool matchesAny(const CallEvent &Call, const CallDescription &CD1, in matchesAny() 222 [[nodiscard]] const T *lookup(const CallEvent &Call) const { in lookup() 244 [[nodiscard]] const T *lookupAsWritten(const CallExpr &Call) const { in lookupAsWritten()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVBuiltins.cpp | 575 const SPIRV::IncomingCall *Call, in buildOpFromWrapper() 595 static bool buildAtomicInitInst(const SPIRV::IncomingCall *Call, in buildAtomicInitInst() 611 static bool buildAtomicLoadInst(const SPIRV::IncomingCall *Call, in buildAtomicLoadInst() 652 static bool buildAtomicStoreInst(const SPIRV::IncomingCall *Call, in buildAtomicStoreInst() 677 const SPIRV::IncomingCall *Call, const SPIRV::DemangledBuiltin *Builtin, in buildAtomicCompareExchangeInst() 784 static bool buildAtomicRMWInst(const SPIRV::IncomingCall *Call, unsigned Opcode, in buildAtomicRMWInst() 842 static bool buildAtomicFloatingRMWInst(const SPIRV::IncomingCall *Call, in buildAtomicFloatingRMWInst() 875 static bool buildAtomicFlagInst(const SPIRV::IncomingCall *Call, in buildAtomicFlagInst() 912 static bool buildBarrierInst(const SPIRV::IncomingCall *Call, unsigned Opcode, in buildBarrierInst() 1008 static bool generateExtInst(const SPIRV::IncomingCall *Call, in generateExtInst() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | ExprEngineCallAndReturn.cpp | 189 static bool wasDifferentDeclUsedForInlining(CallEventRef<> Call, in wasDifferentDeclUsedForInlining() 202 const CallEvent &Call, const ProgramStateRef State, SValBuilder &SVB) { in getElementCountOfArrayBeingDestructed() 274 CallEventRef<> Call = CEMgr.getCaller(calleeCtx, state); in processCallExit() local 530 void ExprEngine::inlineCall(WorkList *WList, const CallEvent &Call, in inlineCall() 630 const CallEvent &Call) { in finishArgumentConstruction() 655 const CallEvent &Call) { in finishArgumentConstruction() 673 const CallEvent &Call) { in evalCall() 740 ProgramStateRef ExprEngine::bindReturnValue(const CallEvent &Call, in bindReturnValue() 831 void ExprEngine::conservativeEvalCall(const CallEvent &Call, NodeBuilder &Bldr, in conservativeEvalCall() 842 ExprEngine::mayInlineCallKind(const CallEvent &Call, const ExplodedNode *Pred, in mayInlineCallKind() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86WinEHState.cpp | 410 CallInst *Call = Builder.CreateCall(TargetFuncTy, PersonalityFn, Args); generateLSDAInEAXThunk() local 458 rewriteSetJmpCall(IRBuilder<> & Builder,Function & F,CallBase & Call,Value * State) rewriteSetJmpCall() argument 527 getStateForCall(DenseMap<BasicBlock *,ColorVector> & BlockColors,WinEHFuncInfo & FuncInfo,CallBase & Call) getStateForCall() argument 616 isStateStoreNeeded(EHPersonality Personality,CallBase & Call) isStateStoreNeeded() argument 667 auto *Call = dyn_cast<CallBase>(&I); addStateStores() local 734 auto *Call = dyn_cast<CallBase>(&I); addStateStores() local 754 auto *Call = dyn_cast<CallBase>(&I); addStateStores() local [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | EntryExitInstrumenter.cpp | 45 CallInst *Call = CallInst::Create( in insertCall() local 53 CallInst *Call = CallInst::Create(Fn, "", InsertionPt); in insertCall() local 72 CallInst *Call = in insertCall() local
|