Searched refs:State (Results 76 - 100 of 318) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dtsd_exclusive.h43 if (LIKELY(State != ThreadState::NotInitialized))
49 if (LIKELY(State == ThreadState::Initialized &&
92 State = ThreadState::Initialized;
101 static THREADLOCAL ThreadState State; member in struct:scudo::TSDRegistryExT
110 THREADLOCAL ThreadState TSDRegistryExT<Allocator>::State; member in class:scudo::TSDRegistryExT
128 TSDRegistryT::State = ThreadState::TornDown; member in class:scudo::TSDRegistryT
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DAggressiveAntiDepBreaker.cpp149 delete State;
153 assert(!State);
154 State = new AggressiveAntiDepState(TRI->getNumRegs(), BB);
157 std::vector<unsigned> &KillIndices = State->GetKillIndices();
158 std::vector<unsigned> &DefIndices = State->GetDefIndices();
166 State->UnionGroups(Reg, 0);
184 State->UnionGroups(AliasReg, 0);
192 delete State;
193 State = nullptr;
209 std::vector<unsigned> &DefIndices = State
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DDynamicTypePropagation.cpp66 ProgramStateRef &State,
116 ProgramStateRef State = removeDeadTypes(C.getState(), SR); local
119 State->get<MostSpecializedTypeArgsMap>();
124 State = State->remove<MostSpecializedTypeArgsMap>(I->first);
128 C.addTransition(State);
139 ProgramStateRef State = C.getState(); local
140 State = setDynamicTypeInfo(State, Region, Ty, /*CanBeSubClassed=*/false);
141 C.addTransition(State);
275 dynamicTypePropagationOnCasts( const CastExpr *CE, ProgramStateRef &State, CheckerContext &C) const argument
448 storeWhenMoreInformative(ProgramStateRef &State, SymbolRef Sym, const ObjCObjectPointerType *const *Current, const ObjCObjectPointerType *StaticLowerBound, const ObjCObjectPointerType *StaticUpperBound, ASTContext &C) argument
706 ProgramStateRef State = C.getState(); local
823 ProgramStateRef State = C.getState(); local
[all...]
H A DBlockInCriticalSectionChecker.cpp152 ProgramStateRef State = C.getState();
153 unsigned mutexCount = State->get<MutexCounter>();
155 State = State->set<MutexCounter>(--mutexCount);
156 C.addTransition(State);
158 State = State->set<MutexCounter>(++mutexCount);
159 C.addTransition(State);
H A DVforkChecker.cpp50 static bool isChildProcess(const ProgramStateRef State);
78 bool VforkChecker::isChildProcess(const ProgramStateRef State) { argument
79 return State->get<VforkResultRegion>() != VFORK_RESULT_INVALID;
146 ProgramStateRef State = C.getState(); local
147 if (isChildProcess(State))
184 ProgramStateRef State = C.getState(); local
185 if (isChildProcess(State)
193 ProgramStateRef State = C.getState(); local
194 if (!isChildProcess(State))
198 static_cast<const MemRegion *>(State
210 ProgramStateRef State = C.getState(); local
[all...]
H A DInvalidatedIteratorChecker.cpp69 auto State = C.getState(); local
70 const auto *Pos = getIteratorPosition(State, Val);
72 auto *N = C.generateErrorNode(State);
H A DObjCSuperDeallocChecker.cpp85 ProgramStateRef State = C.getState(); local
92 bool AlreadyCalled = State->contains<CalledSuperDealloc>(ReceiverSymbol);
118 ProgramStateRef State = C.getState();
125 State = State->add<CalledSuperDealloc>(ReceiverSymbol);
126 C.addTransition(State);
135 ProgramStateRef State = C.getState();
137 if (!State->contains<CalledSuperDealloc>(BaseSym))
201 ProgramStateRef State = C.getState(); local
208 if (State
[all...]
H A DGenericTaintChecker.cpp50 void printState(raw_ostream &Out, ProgramStateRef State, const char *NL,
259 static bool isTaintedOrPointsToTainted(const Expr *E, ProgramStateRef State, argument
261 if (isTainted(State, E, C.getLocationContext()) || isStdin(E, C))
268 return (V && isTainted(State, *V));
543 void GenericTaintChecker::printState(raw_ostream &Out, ProgramStateRef State, argument
545 printTaint(State, Out, NL, Sep);
555 ProgramStateRef State = Rule.process(CE, C); local
556 if (State) {
557 C.addTransition(State);
571 ProgramStateRef State
593 ProgramStateRef State = C.getState(); local
650 ProgramStateRef State = C.getState(); local
676 ProgramStateRef State = C.getState(); local
753 ProgramStateRef State = C.getState(); local
816 ProgramStateRef State = C.getState(); local
[all...]
H A DStdLibraryFunctionsChecker.cpp136 applyAsOutOfRange(ProgramStateRef State, const CallEvent &Call,
139 applyAsWithinRange(ProgramStateRef State, const CallEvent &Call,
142 applyAsComparesToArgument(ProgramStateRef State, const CallEvent &Call,
146 ProgramStateRef apply(ProgramStateRef State, const CallEvent &Call, argument
150 return applyAsOutOfRange(State, Call, Summary);
152 return applyAsWithinRange(State, Call, Summary);
154 return applyAsComparesToArgument(State, Call, Summary);
239 ProgramStateRef State, const CallEvent &Call,
242 ProgramStateManager &Mgr = State->getStateManager();
256 State
238 applyAsOutOfRange( ProgramStateRef State, const CallEvent &Call, const FunctionSummaryTy &Summary) const argument
266 applyAsWithinRange( ProgramStateRef State, const CallEvent &Call, const FunctionSummaryTy &Summary) const argument
317 applyAsComparesToArgument( ProgramStateRef State, const CallEvent &Call, const FunctionSummaryTy &Summary) const argument
355 ProgramStateRef State = C.getState(); local
387 ProgramStateRef State = C.getState(); local
[all...]
H A DIterator.h156 const ContainerData *getContainerData(ProgramStateRef State,
158 const IteratorPosition *getIteratorPosition(ProgramStateRef State,
160 ProgramStateRef setIteratorPosition(ProgramStateRef State, const SVal &Val,
162 ProgramStateRef advancePosition(ProgramStateRef State,
166 bool compare(ProgramStateRef State, SymbolRef Sym1, SymbolRef Sym2,
168 bool compare(ProgramStateRef State, NonLoc NL1, NonLoc NL2,
/freebsd-11-stable/contrib/llvm-project/clang/lib/Format/
H A DFormatToken.cpp74 unsigned CommaSeparatedList::formatAfterToken(LineState &State, argument
77 if (State.NextToken == nullptr || !State.NextToken->Previous)
85 State.NextToken->Previous->getPreviousNonComment();
94 Style.ColumnLimit - State.Column + State.NextToken->Previous->ColumnWidth;
109 while (State.NextToken != LBrace->MatchingParen) {
114 if (Item < Commas.size() && State.NextToken->Previous == Commas[Item]) {
115 if (!State.NextToken->isTrailingComment()) {
122 if (Column == Format->Columns || State
133 formatFromToken(LineState &State, ContinuationIndenter *Indenter, bool DryRun) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCallAndReturn.cpp433 ProgramStateRef State) {
462 State = State->enterStackFrame(Call, CalleeSFC);
465 if (ExplodedNode *N = G.getNode(Loc, State, false, &isNew)) {
485 static ProgramStateRef getInlineFailedState(ProgramStateRef State, argument
487 const void *ReplayState = State->get<ReplayWithoutInlining>();
494 return State->remove<ReplayWithoutInlining>();
525 ProgramStateRef ExprEngine::finishArgumentConstruction(ProgramStateRef State, argument
531 return State;
537 getObjectUnderConstruction(State, {
431 inlineCall(const CallEvent &Call, const Decl *D, NodeBuilder &Bldr, ExplodedNode *Pred, ProgramStateRef State) argument
553 ProgramStateRef State = Pred->getState(); local
609 ProgramStateRef State = I->getState(); local
637 bindReturnValue(const CallEvent &Call, const LocationContext *LCtx, ProgramStateRef State) argument
709 conservativeEvalCall(const CallEvent &Call, NodeBuilder &Bldr, ExplodedNode *Pred, ProgramStateRef State) argument
1042 ProgramStateRef State = Pred->getState(); local
1098 ProgramStateRef State = Pred->getState(); local
[all...]
H A DCheckerContext.cpp102 SVal RHSVal, ProgramStateRef State) {
105 ProgramStateManager &Mgr = State->getStateManager();
107 LHSVal = Mgr.getStoreManager().getBinding(State->getStore(),
114 SVal Eval = Bldr.evalBinOp(State, ComparisonOp, LHSVal, RHSVal,
119 std::tie(StTrue, StFalse) = State->assume(Eval.castAs<DefinedSVal>());
101 evalComparison(SVal LHSVal, BinaryOperatorKind ComparisonOp, SVal RHSVal, ProgramStateRef State) argument
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DFileSystem.h1281 std::shared_ptr<detail::DirIterState> State; member in class:llvm::sys::fs::directory_iterator
1288 State = std::make_shared<detail::DirIterState>();
1291 *State, path.toStringRef(path_storage), FollowSymlinks);
1297 State = std::make_shared<detail::DirIterState>();
1299 *State, de.path(), FollowSymlinks);
1307 ec = directory_iterator_increment(*State);
1311 const directory_entry &operator*() const { return State->CurrentEntry; }
1312 const directory_entry *operator->() const { return &State->CurrentEntry; }
1315 if (State == RHS.State)
1343 std::shared_ptr<detail::RecDirIterState> State; member in class:llvm::sys::fs::recursive_directory_iterator
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DCPlusPlusNameParser.cpp466 enum class State { class
475 State state = State::Beginning;
483 if (state != State::Beginning && state != State::AfterTwoColons) {
488 state = State::AfterIdentifier;
491 if (state == State::Beginning || state == State::AfterTwoColons) {
494 state = State::AfterIdentifier;
500 if (state != State
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Object/
H A DRecordStreamer.h27 enum State { NeverSeen, Global, Defined, DefinedGlobal, DefinedWeak, Used, enum in class:llvm::RecordStreamer
32 StringMap<State> Symbols;
39 State getSymbolState(const MCSymbol *Sym);
75 using const_iterator = StringMap<State>::const_iterator;
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DRangedConstraintManager.h149 ProgramStateRef assumeSym(ProgramStateRef State, SymbolRef Sym,
152 ProgramStateRef assumeSymInclusiveRange(ProgramStateRef State, SymbolRef Sym,
157 ProgramStateRef assumeSymUnsupported(ProgramStateRef State, SymbolRef Sym,
162 virtual ProgramStateRef assumeSymRel(ProgramStateRef State, SymbolRef Sym,
173 virtual ProgramStateRef assumeSymNE(ProgramStateRef State, SymbolRef Sym,
177 virtual ProgramStateRef assumeSymEQ(ProgramStateRef State, SymbolRef Sym,
181 virtual ProgramStateRef assumeSymLT(ProgramStateRef State, SymbolRef Sym,
185 virtual ProgramStateRef assumeSymGT(ProgramStateRef State, SymbolRef Sym,
189 virtual ProgramStateRef assumeSymLE(ProgramStateRef State, SymbolRef Sym,
193 virtual ProgramStateRef assumeSymGE(ProgramStateRef State, SymbolRe
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Object/
H A DWasmTraits.h27 Sig.State = wasm::WasmSignature::Empty;
32 Sig.State = wasm::WasmSignature::Tombstone;
36 uintptr_t H = hash_value(Sig.State);
/freebsd-11-stable/sys/contrib/dev/acpica/compiler/
H A Ddtio.c521 UINT32 State = DT_NORMAL_TEXT; local
542 switch (State)
547 AcpiOsPrintf ("**** EOF within comment/string %u\n", State);
570 State = DT_NORMAL_TEXT;
573 switch (State)
584 State = DT_START_COMMENT;
589 State = DT_START_QUOTED_STRING;
599 State = DT_MERGE_LINES;
652 State = DT_NORMAL_TEXT;
657 State
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObjectChecker.cpp132 static bool hasUnguardedAccess(const FieldDecl *FD, ProgramStateRef State);
218 ProgramStateRef State = C.getState(); local
219 for (const MemRegion *R : State->get<AnalyzedRegions>()) {
221 State = State->remove<AnalyzedRegions>(R);
230 ProgramStateRef State, const TypedValueRegion *const R,
232 : State(State), ObjectR(R), Opts(Opts) {
250 if (State->getStateManager().getContext().getSourceManager().isInSystemHeader(
254 if (Opts.IgnoreGuardedFields && !hasUnguardedAccess(FR->getDecl(), State))
229 FindUninitializedFields( ProgramStateRef State, const TypedValueRegion *const R, const UninitObjCheckerOptions &Opts) argument
525 hasUnguardedAccess(const FieldDecl *FD, ProgramStateRef State) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZCallingConv.h91 CCState &State) {
92 SmallVectorImpl<CCValAssign> &PendingMembers = State.getPendingLocs();
110 unsigned Reg = State.AllocateReg(SystemZ::ArgGPRs);
111 unsigned Offset = Reg ? 0 : State.AllocateStack(8, 8);
119 State.addLoc(It);
87 CC_SystemZ_I128Indirect(unsigned &ValNo, MVT &ValVT, MVT &LocVT, CCValAssign::LocInfo &LocInfo, ISD::ArgFlagsTy &ArgFlags, CCState &State) argument
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DThreadSafeModule.h31 struct State { struct in class:llvm::orc::ThreadSafeContext
32 State(std::unique_ptr<LLVMContext> Ctx) : Ctx(std::move(Ctx)) {} function in struct:llvm::orc::ThreadSafeContext::State
42 Lock(std::shared_ptr<State> S) : S(std::move(S)), L(this->S->Mutex) {}
45 std::shared_ptr<State> S;
54 : S(std::make_shared<State>(std::move(NewCtx))) {
73 std::shared_ptr<State> S;
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterpState.h19 #include "State.h"
34 class InterpState final : public State, public SourceMapper {
36 InterpState(State &Parent, Program &P, InterpStack &Stk, Context &Ctx,
90 State &Parent;
/freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/
H A DModuleManager.cpp291 void ModuleManager::returnVisitState(VisitState *State) { argument
292 assert(State->NextState == nullptr && "Visited state is in list?");
293 State->NextState = FirstVisitState;
294 FirstVisitState = State;
376 VisitState *State = allocateVisitState(); local
377 unsigned VisitNumber = State->NextVisitNumber++;
387 State->VisitNumber[M->Index] = VisitNumber;
394 if (State->VisitNumber[CurrentModule->Index] == VisitNumber)
398 assert(State->VisitNumber[CurrentModule->Index] == VisitNumber - 1);
399 State
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransProtectedScope.cpp47 } State; member in struct:__anon287::CaseInfo
49 CaseInfo() : SC(nullptr), State(St_Unchecked) {}
51 : SC(S), Range(Range), State(St_Unchecked) {}
153 if (info.State == CaseInfo::St_Unchecked)
155 assert(info.State != CaseInfo::St_Unchecked);
157 if (info.State == CaseInfo::St_Fixed) {
169 assert(info.State == CaseInfo::St_Unchecked);
171 info.State = CaseInfo::St_CannotFix;
177 info.State = CaseInfo::St_Fixed;

Completed in 387 milliseconds

1234567891011>>