/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | UndefBranchChecker.cpp | 39 const Expr *FindExpr(const Expr *Ex) { in FindExpr() 40 if (!MatchesCriteria(Ex)) in FindExpr() 43 for (const Stmt *SubStmt : Ex->children()) in FindExpr() 48 return Ex; in FindExpr() 51 bool MatchesCriteria(const Expr *Ex) { in MatchesCriteria() 52 return St->getSVal(Ex, LCtx).isUndef(); in MatchesCriteria() 90 const Expr *Ex = cast<Expr>(Condition); in checkBranchCondition() local 96 if (PS->getStmt() == Ex) in checkBranchCondition() 100 Ex = FindIt.FindExpr(Ex); in checkBranchCondition() 104 bugreporter::trackExpressionValue(N, Ex, *R); in checkBranchCondition() [all …]
|
H A D | UndefResultChecker.cpp | 38 static bool isArrayIndexOutOfBounds(CheckerContext &C, const Expr *Ex) { in isArrayIndexOutOfBounds() argument 41 if (!isa<ArraySubscriptExpr>(Ex)) in isArrayIndexOutOfBounds() 44 SVal Loc = C.getSVal(Ex); in isArrayIndexOutOfBounds() 79 const Expr *Ex = nullptr; in checkPostStmt() local 83 Ex = B->getLHS()->IgnoreParenCasts(); in checkPostStmt() 87 Ex = B->getRHS()->IgnoreParenCasts(); in checkPostStmt() 91 if (Ex) { in checkPostStmt() 95 if (isArrayIndexOutOfBounds(C, Ex)) in checkPostStmt() 104 if (Ex) { in checkPostStmt() 105 report->addRange(Ex->getSourceRange()); in checkPostStmt() [all …]
|
H A D | ObjCAtSyncChecker.cpp | 41 const Expr *Ex = S->getSynchExpr(); in checkPreStmt() local 43 SVal V = C.getSVal(Ex); in checkPreStmt() 50 bugreporter::trackExpressionValue(N, Ex, *report); in checkPreStmt() 70 bugreporter::trackExpressionValue(N, Ex, *report); in checkPreStmt()
|
H A D | DereferenceChecker.cpp | 52 const Expr *Ex, const ProgramState *state, 63 const Expr *Ex, in AddDerefSource() argument 67 Ex = Ex->IgnoreParenLValueCasts(); in AddDerefSource() 68 switch (Ex->getStmtClass()) { in AddDerefSource() 72 const DeclRefExpr *DR = cast<DeclRefExpr>(Ex); in AddDerefSource() 81 const MemberExpr *ME = cast<MemberExpr>(Ex); in AddDerefSource() 89 const ObjCIvarRefExpr *IV = cast<ObjCIvarRefExpr>(Ex); in AddDerefSource()
|
H A D | DeadStoresChecker.cpp | 104 LookThroughTransitiveAssignmentsAndCommaOperators(const Expr *Ex) { in LookThroughTransitiveAssignmentsAndCommaOperators() argument 105 while (Ex) { in LookThroughTransitiveAssignmentsAndCommaOperators() 106 Ex = Ex->IgnoreParenCasts(); in LookThroughTransitiveAssignmentsAndCommaOperators() 107 const BinaryOperator *BO = dyn_cast<BinaryOperator>(Ex); in LookThroughTransitiveAssignmentsAndCommaOperators() 112 Ex = BO->getRHS(); in LookThroughTransitiveAssignmentsAndCommaOperators() 117 return Ex; in LookThroughTransitiveAssignmentsAndCommaOperators() 265 void CheckVarDecl(const VarDecl *VD, const Expr *Ex, const Expr *Val, in CheckVarDecl() argument 281 PathDiagnosticLocation::createBegin(Ex, BR.getSourceManager(), AC); in CheckVarDecl() 366 const Expr *Ex = U->getSubExpr()->IgnoreParenCasts(); in observeStmt() local 368 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Ex)) in observeStmt()
|
H A D | UndefCapturedBlockVarChecker.cpp | 81 if (const Expr *Ex = FindBlockDeclRefExpr(BE->getBody(), VD)) in checkPostStmt() local 82 R->addRange(Ex->getSourceRange()); in checkPostStmt()
|
H A D | ObjCUnusedIVarsChecker.cpp | 37 if (const ObjCIvarRefExpr *Ex = dyn_cast<ObjCIvarRefExpr>(S)) { in Scan() local 38 const ObjCIvarDecl *D = Ex->getDecl(); in Scan()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | ExprEngineC.cpp | 266 SVal OrigV = state->getSVal(Ex, LCtx); in handleLValueBitCast() 300 QualType ExTy = Ex->getType(); in VisitCast() 337 SVal V = state->getSVal(Ex, LCtx); in VisitCast() 344 SVal V = state->getSVal(Ex, LCtx); in VisitCast() 842 B.generateNode(Ex, Pred, state->BindExpr(Ex, LCtx, V, true)); in VisitGuardedExpr() 875 QualType T = Ex->getTypeOfArgument(); in VisitUnaryExprOrTypeTraitExpr() 878 if (Ex->getKind() == UETT_SizeOf) { in VisitUnaryExprOrTypeTraitExpr() 898 Ex, N->getLocationContext(), in VisitUnaryExprOrTypeTraitExpr() 900 Bldr.generateNode(Ex, N, state); in VisitUnaryExprOrTypeTraitExpr() 1008 SVal V = state->getSVal(Ex, LCtx); in VisitUnaryOperator() [all …]
|
H A D | ExprEngineObjC.cpp | 21 void ExprEngine::VisitLvalObjCIvarRefExpr(const ObjCIvarRefExpr *Ex, in VisitLvalObjCIvarRefExpr() argument 26 SVal baseVal = state->getSVal(Ex->getBase(), LCtx); in VisitLvalObjCIvarRefExpr() 27 SVal location = state->getLValue(Ex->getDecl(), baseVal); in VisitLvalObjCIvarRefExpr() 31 Bldr.generateNode(Ex, Pred, state->BindExpr(Ex, LCtx, location)); in VisitLvalObjCIvarRefExpr() 35 getCheckerManager().runCheckersForPostStmt(Dst, dstIvar, Ex, *this); in VisitLvalObjCIvarRefExpr()
|
H A D | ExplodedGraph.cpp | 50 bool ExplodedGraph::isInterestingLValueExpr(const Expr *Ex) { in isInterestingLValueExpr() argument 51 if (!Ex->isLValue()) in isInterestingLValueExpr() 53 return isa<DeclRefExpr, MemberExpr, ObjCIvarRefExpr, ArraySubscriptExpr>(Ex); in isInterestingLValueExpr() 122 const Expr *Ex = dyn_cast<Expr>(progPoint.castAs<PostStmt>().getStmt()); in shouldCollect() local 123 if (!Ex) in shouldCollect() 129 if (isInterestingLValueExpr(Ex)) in shouldCollect() 137 if (!PM.isConsumedExpr(Ex)) in shouldCollect()
|
H A D | ExprEngine.cpp | 2576 if (!Ex) in RecoverCastedSymbol() 2594 Ex = CE->getSubExpr(); in RecoverCastedSymbol() 2598 QualType T = Ex->getType(); in RecoverCastedSymbol() 2604 return state->getSVal(Ex, LCtx); in RecoverCastedSymbol() 2637 Condition = Ex->IgnoreParens(); in ResolveCondition() 3106 Bldr.generateNode(Ex, Pred, state->BindExpr(Ex, LCtx, V), nullptr, in VisitCommonDeclRefExpr() 3111 assert(!Ex->isGLValue()); in VisitCommonDeclRefExpr() 3113 Bldr.generateNode(Ex, Pred, state->BindExpr(Ex, LCtx, V)); in VisitCommonDeclRefExpr() 3118 Bldr.generateNode(Ex, Pred, state->BindExpr(Ex, LCtx, V), nullptr, in VisitCommonDeclRefExpr() 3178 Bldr.generateNode(Ex, Pred, state->BindExpr(Ex, LCtx, V), nullptr, in VisitCommonDeclRefExpr() [all …]
|
H A D | MemRegion.cpp | 258 ID.AddPointer(Ex); in ProfileRegion() 264 ProfileRegion(ID, Ex, Cnt, superRegion); in Profile() 395 Expr const *Ex, in ProfileRegion() argument 397 ID.AddPointer(Ex); in ProfileRegion() 402 ProfileRegion(ID, Ex, getSuperRegion()); in Profile() 416 ProfileRegion(ID, Ex, ExD, getSuperRegion()); in Profile() 508 << "S" << Ex->getID(getContext()) << '}'; in dumpToStream() 518 << "S" << Ex->getID(getContext()) << '}'; in dumpToStream() 1221 Ex, VD, getStackLocalsRegion(SFC)); in getCXXLifetimeExtendedObjectRegion() 1226 const Expr *Ex, const ValueDecl *VD) { in getCXXStaticLifetimeExtendedObjectRegion() argument [all …]
|
H A D | BugReporterVisitors.cpp | 2140 Ex = Ex->IgnoreParenCasts(); in peelOffOuterExpr() 2141 if (const auto *FE = dyn_cast<FullExpr>(Ex)) in peelOffOuterExpr() 2143 if (const auto *OVE = dyn_cast<OpaqueValueExpr>(Ex)) in peelOffOuterExpr() 2178 if (auto *BO = dyn_cast<BinaryOperator>(Ex)) in peelOffOuterExpr() 2182 if (auto *UO = dyn_cast<UnaryOperator>(Ex)) { in peelOffOuterExpr() 2199 return Ex; in peelOffOuterExpr() 2949 const Expr *OriginalExpr = Ex; in patternMatch() 2950 Ex = Ex->IgnoreParenCasts(); in patternMatch() 2953 FloatingLiteral>(Ex)) { in patternMatch() 2970 if (const auto *DR = dyn_cast<DeclRefExpr>(Ex)) { in patternMatch() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | ReachableCode.cpp | 36 static bool isEnumConstant(const Expr *Ex) { in isEnumConstant() argument 44 Ex = Ex->IgnoreParenCasts(); in isTrivialExpression() 45 return isa<IntegerLiteral>(Ex) || isa<StringLiteral>(Ex) || in isTrivialExpression() 46 isa<CXXBoolLiteralExpr>(Ex) || isa<ObjCBoolLiteralExpr>(Ex) || in isTrivialExpression() 47 isa<CharacterLiteral>(Ex) || in isTrivialExpression() 48 isEnumConstant(Ex); in isTrivialExpression() 196 if (const auto *Ex = dyn_cast<Expr>(S)) in isConfigurationValue() local 197 S = Ex->IgnoreImplicit(); in isConfigurationValue() 200 S = Ex->IgnoreCasts(); in isConfigurationValue() 209 S = Ex->IgnoreCasts(); in isConfigurationValue() [all …]
|
H A D | UninitializedValues.cpp | 251 while (Ex) { in stripCasts() 252 Ex = Ex->IgnoreParenNoopCasts(C); in stripCasts() 253 if (const auto *CE = dyn_cast<CastExpr>(Ex)) { in stripCasts() 255 Ex = CE->getSubExpr(); in stripCasts() 261 return Ex; in stripCasts() 453 const auto *UO = dyn_cast<UnaryOperator>(Ex); in VisitCallExpr() 455 Ex = UO->getSubExpr(); in VisitCallExpr() 456 classify(Ex, Ignore); in VisitCallExpr() 808 const Expr *Ex = stripCasts(C, O); in VisitGCCAsmStmt() local 813 Ex = stripCasts(C, UO->getSubExpr()); in VisitGCCAsmStmt() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonConstExtenders.cpp | 304 return Rs == Ex.Rs && S == Ex.S && Neg == Ex.Neg; in operator ==() 310 if (Rs != Ex.Rs) in operator <() 312 if (S != Ex.S) in operator <() 462 : Ex(E), HRI(I) {} in PrintExpr() 471 OS << printReg(P.Ex.Rs.Reg, &P.HRI, P.Ex.Rs.Sub); in operator <<() 1540 if (Ex.Rs.isSlot()) { in insertInitializer() 1549 if (Ex.trivial()) { in insertInitializer() 1554 if (Ex.Neg) { in insertInitializer() 1582 if (Ex.Neg) in insertInitializer() 1771 const ExtExpr &Ex = ExtI.second; (void)Ex; in replaceInstrExpr() local [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | MemRegion.h | 480 const Expr *Ex; variable 483 : SubRegion(superRegion, AllocaRegionKind), Cnt(cnt), Ex(ex) { in AllocaRegion() 484 assert(Ex); in AllocaRegion() 492 const Expr *getExpr() const { return Ex; } in getExpr() 1236 Expr const *Ex; variable 1239 : TypedValueRegion(sReg, CXXTempObjectRegionKind), Ex(E) { in CXXTempObjectRegion() 1249 const Expr *getExpr() const { return Ex; } in getExpr() 1254 QualType getValueType() const override { return Ex->getType(); } in getValueType() 1270 Expr const *Ex; variable 1287 const Expr *getExpr() const { return Ex; } in getExpr() [all …]
|
H A D | ExprEngine.h | 449 void VisitArrayInitLoopExpr(const ArrayInitLoopExpr *Ex, ExplodedNode *Pred, 453 void VisitArraySubscriptExpr(const ArraySubscriptExpr *Ex, 483 void VisitCast(const CastExpr *CastE, const Expr *Ex, ExplodedNode *Pred, 499 void VisitGuardedExpr(const Expr *Ex, const Expr *L, const Expr *R, 538 void VisitOffsetOfExpr(const OffsetOfExpr *Ex, ExplodedNode *Pred, 542 void VisitUnaryExprOrTypeTraitExpr(const UnaryExprOrTypeTraitExpr *Ex, 594 const Expr *Ex); 599 ProgramStateRef handleLValueBitCast(ProgramStateRef state, const Expr *Ex,
|
H A D | ProgramState.h | 376 SVal getSValAsScalarOrLoc(const Stmt *Ex, const LocationContext *LCtx) const; 805 inline SVal ProgramState::getSVal(const Stmt *Ex, in getSVal() argument 807 return Env.getSVal(EnvironmentEntry(Ex, LCtx), in getSVal() 814 if (const Expr *Ex = dyn_cast<Expr>(S)) { in getSValAsScalarOrLoc() local 815 QualType T = Ex->getType(); in getSValAsScalarOrLoc() 816 if (Ex->isGLValue() || Loc::isLocType(T) || in getSValAsScalarOrLoc()
|
/freebsd/usr.bin/vi/catalog/ |
H A D | zh_CN.UTF-8.base | 85 092 "Ex 命令失败:等待中的命令已丢弃" 86 093 "Ex 命令失败:键映射已丢弃"
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
H A D | RuntimeDyldMachO.h | 39 EHFrameRelatedSections(SID EH, SID T, SID Ex) in EHFrameRelatedSections() 40 : EHFrameSID(EH), TextSID(T), ExceptTabSID(Ex) {} in EHFrameRelatedSections()
|
/freebsd/contrib/llvm-project/llvm/lib/Object/ |
H A D | WasmObjectFile.cpp | 1300 wasm::WasmExport Ex; in parseExportSection() local 1301 Ex.Name = readString(Ctx); in parseExportSection() 1302 Ex.Kind = readUint8(Ctx); in parseExportSection() 1303 Ex.Index = readVaruint32(Ctx); in parseExportSection() 1308 Info.Name = Ex.Name; in parseExportSection() 1310 switch (Ex.Kind) { in parseExportSection() 1315 getDefinedFunction(Ex.Index).ExportName = Ex.Name; in parseExportSection() 1317 Info.ElementIndex = Ex.Index; in parseExportSection() 1348 Info.ElementIndex = Ex.Index; in parseExportSection() 1354 Info.ElementIndex = Ex.Index; in parseExportSection() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/pinctrl/ |
H A D | sunplus,sp7021-pinctrl.yaml | 24 Ex 1 (SPI-NOR flash): 29 Ex 2 (UART_0): 33 Ex 3 (eMMC): 45 Ex 1 (UART channel 1): 55 Ex 2 (I2C channel 0):
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
H A D | RetainCountChecker.cpp | 229 const Expr *Ex) const { in processObjCLiterals() 232 for (const Stmt *Child : Ex->children()) { in processObjCLiterals() 249 state->getSVal(Ex, pred->getLocationContext()).getAsSymbol()) { in processObjCLiterals() 250 QualType ResultTy = Ex->getType(); in processObjCLiterals() 270 void RetainCountChecker::checkPostStmt(const ObjCBoxedExpr *Ex, in checkPostStmt() argument 275 if (SymbolRef Sym = Pred->getSVal(Ex).getAsSymbol()) { in checkPostStmt() 276 QualType ResultTy = Ex->getType(); in checkPostStmt() 690 const Expr *Ex = CallOrMsg.getOriginExpr(); in checkSummary() local 691 assert(Ex); in checkSummary() 692 ResultTy = GetReturnType(Ex, C.getASTContext()); in checkSummary()
|
/freebsd/contrib/nvi/ |
H A D | README | 12 ex ............ Ex source code. 14 man ........... Ex/vi documentation.
|