Searched refs:St (Results 1 - 25 of 39) sorted by relevance

12

/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DUndefBranchChecker.cpp30 ProgramStateRef St; member in struct:__anon3428::UndefBranchChecker::FindUndefExpr
34 : St(std::move(S)), LCtx(L) {}
49 return St->getSVal(Ex, LCtx).isUndef();
89 ProgramStateRef St = N->getState(); local
93 St = PrevN->getState();
95 FindUndefExpr FindIt(St, Ctx.getLocationContext());
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DSMLoc.h54 SMRange(SMLoc St, SMLoc En) : Start(St), End(En) { argument
/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmtAttr.cpp24 static Attr *handleFallThroughAttr(Sema &S, Stmt *St, const ParsedAttr &A, argument
27 if (!isa<NullStmt>(St)) {
29 << Attr.getSpelling() << St->getBeginLoc();
30 if (isa<SwitchCase>(St)) {
53 static Attr *handleSuppressAttr(Sema &S, Stmt *St, const ParsedAttr &A, argument
76 static Attr *handleLoopHintAttr(Sema &S, Stmt *St, const ParsedAttr &A, argument
89 if (St->getStmtClass() != Stmt::DoStmtClass &&
90 St->getStmtClass() != Stmt::ForStmtClass &&
91 St->getStmtClass() != Stmt::CXXForRangeStmtClass &&
92 St
280 handleOpenCLUnrollHint(Sema &S, Stmt *St, const ParsedAttr &A, SourceRange Range) argument
321 ProcessStmtAttribute(Sema &S, Stmt *St, const ParsedAttr &A, SourceRange Range) argument
[all...]
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DRangeConstraintManager.cpp311 RangeSet getSymLTRange(ProgramStateRef St, SymbolRef Sym,
314 RangeSet getSymGTRange(ProgramStateRef St, SymbolRef Sym,
317 RangeSet getSymLERange(ProgramStateRef St, SymbolRef Sym,
323 RangeSet getSymGERange(ProgramStateRef St, SymbolRef Sym,
406 const llvm::APSInt *RangeConstraintManager::getSymVal(ProgramStateRef St, argument
408 const ConstraintRangeTy::data_type *T = St->get<ConstraintRange>(Sym);
554 RangeConstraintManager::assumeSymNE(ProgramStateRef St, SymbolRef Sym, argument
560 return St;
569 RangeSet New = getRange(St, Sym).Intersect(getBasicVals(), F, Upper, Lower);
570 return New.isEmpty() ? nullptr : St
574 assumeSymEQ(ProgramStateRef St, SymbolRef Sym, const llvm::APSInt &Int, const llvm::APSInt &Adjustment) argument
588 getSymLTRange(ProgramStateRef St, SymbolRef Sym, const llvm::APSInt &Int, const llvm::APSInt &Adjustment) argument
617 assumeSymLT(ProgramStateRef St, SymbolRef Sym, const llvm::APSInt &Int, const llvm::APSInt &Adjustment) argument
624 getSymGTRange(ProgramStateRef St, SymbolRef Sym, const llvm::APSInt &Int, const llvm::APSInt &Adjustment) argument
653 assumeSymGT(ProgramStateRef St, SymbolRef Sym, const llvm::APSInt &Int, const llvm::APSInt &Adjustment) argument
660 getSymGERange(ProgramStateRef St, SymbolRef Sym, const llvm::APSInt &Int, const llvm::APSInt &Adjustment) argument
689 assumeSymGE(ProgramStateRef St, SymbolRef Sym, const llvm::APSInt &Int, const llvm::APSInt &Adjustment) argument
724 getSymLERange(ProgramStateRef St, SymbolRef Sym, const llvm::APSInt &Int, const llvm::APSInt &Adjustment) argument
[all...]
H A DCoreEngine.cpp649 ProgramStateRef St,
654 St, IsSink, &IsNew);
668 ProgramStateRef St) {
672 St, false, &IsNew);
682 SwitchNodeBuilder::generateDefaultCaseNode(ProgramStateRef St, argument
696 St, IsSink, &IsNew);
648 generateNode(const iterator &I, ProgramStateRef St, bool IsSink) argument
667 generateCaseStmtNode(const iterator &I, ProgramStateRef St) argument
H A DProgramState.cpp504 ProgramStateRef ProgramStateManager::addGDM(ProgramStateRef St, void *Key, void *Data){ argument
505 ProgramState::GenericDataMap M1 = St->getGDM();
509 return St;
511 ProgramState NewSt = *St;
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerIOPosix.cpp28 struct stat St; local
29 if (stat(Path.c_str(), &St))
31 return S_ISREG(St.st_mode);
35 struct stat St; local
36 if (stat(Path.c_str(), &St))
38 return S_ISDIR(St.st_mode);
42 struct stat St; local
43 if (stat(Path.c_str(), &St))
45 return St.st_size;
H A DFuzzerIO.cpp27 struct stat St; local
28 if (stat(Path.c_str(), &St))
30 return St.st_mtime;
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCallEvent.h463 AnyFunctionCall(const Expr *E, ProgramStateRef St, argument
465 : CallEvent(E, St, LCtx) {}
466 AnyFunctionCall(const Decl *D, ProgramStateRef St, argument
468 : CallEvent(D, St, LCtx) {}
500 SimpleFunctionCall(const CallExpr *CE, ProgramStateRef St, argument
502 : AnyFunctionCall(CE, St, LCtx) {}
536 BlockCall(const CallExpr *CE, ProgramStateRef St, argument
538 : CallEvent(CE, St, LCtx) {}
640 CXXInstanceCall(const CallExpr *CE, ProgramStateRef St, argument
642 : AnyFunctionCall(CE, St, LCt
643 CXXInstanceCall(const FunctionDecl *D, ProgramStateRef St, const LocationContext *LCtx) argument
678 CXXMemberCall(const CXXMemberCallExpr *CE, ProgramStateRef St, const LocationContext *LCtx) argument
719 CXXMemberOperatorCall(const CXXOperatorCallExpr *CE, ProgramStateRef St, const LocationContext *LCtx) argument
781 CXXDestructorCall(const CXXDestructorDecl *DD, const Stmt *Trigger, const MemRegion *Target, bool IsBaseDestructor, ProgramStateRef St, const LocationContext *LCtx) argument
828 CXXConstructorCall(const CXXConstructExpr *CE, const MemRegion *Target, ProgramStateRef St, const LocationContext *LCtx) argument
876 CXXAllocatorCall(const CXXNewExpr *E, ProgramStateRef St, const LocationContext *LCtx) argument
944 ObjCMethodCall(const ObjCMessageExpr *Msg, ProgramStateRef St, const LocationContext *LCtx) argument
1169 create(Arg A, ProgramStateRef St, const LocationContext *LCtx) argument
1176 create(Arg1 A1, Arg2 A2, ProgramStateRef St, const LocationContext *LCtx) argument
1183 create(Arg1 A1, Arg2 A2, Arg3 A3, ProgramStateRef St, const LocationContext *LCtx) argument
1192 create(Arg1 A1, Arg2 A2, Arg3 A3, Arg4 A4, ProgramStateRef St, const LocationContext *LCtx) argument
[all...]
H A DCoreEngine.h409 ProgramStateRef St,
414 return NodeBuilder::generateNode(L, St, Pred);
419 ProgramStateRef St,
424 return NodeBuilder::generateSink(L, St, Pred);
407 generateNode(const Stmt *S, ExplodedNode *Pred, ProgramStateRef St, const ProgramPointTag *tag = nullptr, ProgramPoint::Kind K = ProgramPoint::PostStmtKind) argument
417 generateSink(const Stmt *S, ExplodedNode *Pred, ProgramStateRef St, const ProgramPointTag *tag = nullptr, ProgramPoint::Kind K = ProgramPoint::PostStmtKind) argument
H A DExprEngine.h645 // FIXME: Comment on the meaning of the arguments, when 'St' may not
653 ProgramStateRef St,
661 ExplodedNode *Pred, ProgramStateRef St, SVal TargetLV, SVal Val,
696 ProgramStateRef St,
705 ProgramStateRef St,
H A DProgramState.h537 removeDeadBindingsFromEnvironmentAndStore(ProgramStateRef St,
548 ProgramStateRef addGDM(ProgramStateRef St, void *Key, void *Data);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64SelectionDAGInfo.cpp86 SDValue St = DAG.getMemIntrinsicNode( local
92 OutChains.push_back(St);
98 SDValue St = DAG.getMemIntrinsicNode( local
104 OutChains.push_back(St);
141 SDNode *St = DAG.getMachineNode( local
144 DAG.setNodeMemRefs(cast<MachineSDNode>(St), {BaseMemOperand});
145 return SDValue(St, 2);
H A DAArch64ISelDAGToDAG.cpp1348 SDNode *St = CurDAG->getMachineNode(Opc, dl, N->getValueType(0), Ops); local
1352 CurDAG->setNodeMemRefs(cast<MachineSDNode>(St), {MemOp});
1354 ReplaceNode(N, St);
1373 SDNode *St = CurDAG->getMachineNode(Opc, dl, ResTys, Ops); local
1375 ReplaceNode(N, St);
1527 SDNode *St = CurDAG->getMachineNode(Opc, dl, MVT::Other, Ops); local
1531 CurDAG->setNodeMemRefs(cast<MachineSDNode>(St), {MemOp});
1533 ReplaceNode(N, St);
1561 SDNode *St = CurDAG->getMachineNode(Opc, dl, ResTys, Ops); local
1565 CurDAG->setNodeMemRefs(cast<MachineSDNode>(St), {MemO
3172 SDNode *St = CurDAG->getMachineNode(Op, DL, MVT::i32, MVT::Other, Ops); local
[all...]
/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DVarBypassDetector.cpp138 const Stmt *St = S.first; local
140 if (const GotoStmt *GS = dyn_cast<GotoStmt>(St)) {
143 } else if (const SwitchStmt *SS = dyn_cast<SwitchStmt>(St)) {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopVersioningLICM.cpp367 StoreInst *St = dyn_cast<StoreInst>(I); local
368 if (!St || !St->isSimple()) {
373 Value *Ptr = St->getPointerOperand();
H A DGVNHoist.cpp983 } else if (auto *St = dyn_cast<StoreInst>(Repl)) {
984 Gep = dyn_cast<GetElementPtrInst>(St->getPointerOperand());
985 Val = dyn_cast<Instruction>(St->getValueOperand());
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeTypesGeneric.cpp459 StoreSDNode *St = cast<StoreSDNode>(N); local
460 assert(!St->isAtomic() && "Atomics can not be split");
461 EVT ValueVT = St->getValue().getValueType();
463 SDValue Chain = St->getChain();
464 SDValue Ptr = St->getBasePtr();
465 unsigned Alignment = St->getAlignment();
466 AAMDNodes AAInfo = St->getAAInfo();
472 GetExpandedOp(St->getValue(), Lo, Hi);
477 Lo = DAG.getStore(Chain, dl, Lo, Ptr, St->getPointerInfo(), Alignment,
478 St
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DGCRootLowering.cpp208 Value *St = new StoreInst(CI->getArgOperand(0), local
210 CI->replaceAllUsesWith(St);
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.cpp568 auto makeNotOwnedParameter = [&](ProgramStateRef St) {
569 return setRefBinding(St, Pointee,
572 auto makeOwnedParameter = [&](ProgramStateRef St) {
573 return setRefBinding(St, Pointee,
702 for (ProgramStateRef St : Out) {
704 C.addTransition(St, C.getPredecessor(), &DeallocSentTag);
706 C.addTransition(St);
859 void RetainCountChecker::processNonLeakError(ProgramStateRef St, argument
870 if (const RefVal *RV = getRefBinding(St, Sym))
874 ExplodedNode *N = C.generateErrorNode(St);
[all...]
H A DRetainCountChecker.h341 void processNonLeakError(ProgramStateRef St, SourceRange ErrorRange,
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DLoopAccessAnalysis.cpp1875 auto *St = dyn_cast<StoreInst>(&I); local
1876 if (!St) {
1877 recordAnalysis("CantVectorizeInstruction", St)
1882 if (!St->isSimple() && !IsAnnotatedParallel) {
1883 recordAnalysis("NonSimpleStore", St)
1890 Stores.push_back(St);
1891 DepChecker->addAccess(St);
1893 collectStridedAccess(St);
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-xray/
H A Dxray-graph.cpp328 std::string St; local
329 raw_string_ostream S{St};
/freebsd-12-stable/contrib/llvm-project/clang/lib/Analysis/
H A DConsumed.cpp922 ConsumedState St = PInfo.getAsState(StateMap); local
924 if (St != consumed::CS_None) {
925 StateMap->setState(Var, St);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUnrollAndJam.cpp600 } else if (auto *St = dyn_cast<StoreInst>(&I)) {
601 if (!St->isSimple())

Completed in 339 milliseconds

12