Searched refs:getRHS (Results 1 - 25 of 136) sorted by relevance

123456

/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DUndefResultChecker.cpp62 B->getRHS(), C.getASTContext().getIntWidth(B->getLHS()->getType()));
70 const llvm::APSInt *RHS = SB.getKnownValue(State, C.getSVal(B->getRHS()));
105 else if (C.getSVal(B->getRHS()).isUndef()) {
106 Ex = B->getRHS()->IgnoreParenCasts();
120 C.isNegative(B->getRHS())) {
125 Ex = B->getRHS();
134 Ex = B->getRHS();
138 SB.getKnownValue(C.getState(), C.getSVal(B->getRHS()));
160 SB.getKnownValue(State, C.getSVal(B->getRHS()));
H A DFixedAddressChecker.cpp46 SVal RV = C.getSVal(B->getRHS());
60 R->addRange(B->getRHS()->getSourceRange());
H A DDivZeroChecker.cpp39 return BE->getRHS();
66 if (!B->getRHS()->getType()->isScalarType())
69 SVal Denom = C.getSVal(B->getRHS());
H A DPointerSubChecker.cpp42 SVal RV = C.getSVal(B->getRHS());
H A DDeadStoresChecker.cpp110 Ex = BO->getRHS();
114 Ex = BO->getRHS();
298 const Expr *RHS = B->getRHS()->IgnoreParenCasts();
310 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getRHS()->IgnoreParenCasts())))
336 LookThroughTransitiveAssignmentsAndCommaOperators(B->getRHS());
358 CheckVarDecl(VD, DR, B->getRHS(), dsk, Live);
H A DMallocOverflowSecurityChecker.cpp90 const Expr *rhs = binop->getRHS();
182 const Expr *rhs = AssignEx->getRHS();
192 const Expr *denom = BOp->getRHS()->IgnoreParenImpCasts();
230 const Expr * rhs = E->getRHS();
H A DTestAfterDivZeroChecker.cpp108 E = BO->getRHS();
205 SVal S = C.getSVal(B->getRHS());
216 const IntegerLiteral *IntLiteral = dyn_cast<IntegerLiteral>(B->getRHS());
226 SVal Val = C.getSVal(LRHS ? B->getLHS() : B->getRHS());
H A DUndefinedAssignmentChecker.cpp83 ex = B->getRHS();
H A DIdenticalExprChecker.cpp82 const Expr *RHS = B->getRHS();
91 if (isIdenticalStmt(AC->getASTContext(), RHS, B2->getRHS())) {
93 Sr[1] = B2->getRHS()->getSourceRange();
223 const Expr *RHS = B->getRHS()->IgnoreParenImpCasts();
253 if (isIdenticalStmt(AC->getASTContext(), B->getLHS(), B->getRHS())) {
H A DCStringSyntaxChecker.cpp134 const Expr *R = BE->getRHS();
192 if ((IL = dyn_cast<IntegerLiteral>(BE->getRHS()->IgnoreParenImpCasts()))) {
H A DExprInspectionChecker.cpp364 std::to_string(S->getRHS().getLimitedValue()) +
365 (S->getRHS().isUnsigned() ? "U" : ""))
374 if (Optional<std::string> Str2 = Visit(S->getRHS()))
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DRangedConstraintManager.cpp39 return assumeSymRel(State, SIE->getLHS(), op, SIE->getRHS());
55 Loc::isLocType(SSE->getRHS()->getType())) {
58 SymMgr.getSymSymExpr(SSE->getRHS(), BO_Sub, SSE->getLHS(), DiffTy);
191 Adjustment = APSIntType(Adjustment).convert(SE->getRHS());
H A DSymbolManager.cpp46 if (getRHS().isUnsigned())
47 os << getRHS().getZExtValue();
49 os << getRHS().getSExtValue();
50 if (getRHS().isUnsigned())
64 getRHS()->dumpToStream(os);
74 getRHS()->dumpToStream(os);
155 itr.push_back(cast<IntSymExpr>(SE)->getRHS());
160 itr.push_back(x->getRHS());
493 KnownLive = isLive(cast<IntSymExpr>(sym)->getRHS());
497 isLive(cast<SymSymExpr>(sym)->getRHS());
[all...]
H A DCheckerHelpers.cpp87 RHS = Assign->getRHS();
H A DSimpleSValBuilder.cpp361 (SymInt->getRHS()) :
362 (-SymInt->getRHS()));
709 symIntExpr->getRHS(), resultTy);
728 const llvm::APSInt &first = IntType.convert(symIntExpr->getRHS());
1296 RHS = SVB.makeIntLocVal(S->getRHS());
1298 RHS = SVB.makeIntVal(S->getRHS());
1315 Loc::isLocType(S->getRHS()->getType()))
1319 SVal RHS = Visit(S->getRHS());
1320 if (isUnchanged(S->getLHS(), LHS) && isUnchanged(S->getRHS(), RHS))
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaConcept.h107 NormalizedConstraint(C, Other.getRHS())},
136 NormalizedConstraint &getRHS() const { function in struct:clang::NormalizedConstraint
137 assert(!isAtomic() && "getRHS called on atomic constraint.");
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyWasmObjectWriter.cpp55 auto SectionRHS = getFixupSection(BinOp->getRHS());
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/XCore/MCTargetDesc/
H A DXCoreInstPrinter.cpp57 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(BE->getRHS());
/freebsd-11-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransZeroOutPropsInDealloc.cpp163 isZeroingPropIvar(BOE->getRHS());
189 return isZero(BOE->getRHS());
210 return isZero(cast<OpaqueValueExpr>(BO->getRHS())->getSourceExpr());
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaConcept.cpp44 CheckConstraintExpression(BinOp->getRHS(), NextToken,
128 return calculateConstraintSatisfaction(S, BO->getRHS(), Satisfaction,
498 diagnoseWellFormedUnsatisfiedConstraintExpr(S, BO->getRHS(),
506 diagnoseWellFormedUnsatisfiedConstraintExpr(S, BO->getRHS(), First);
514 BO->getRHS()->EvaluateAsBooleanCondition(RHSSatisfied, S.Context);
516 diagnoseWellFormedUnsatisfiedConstraintExpr(S, BO->getRHS(),
526 BO->getRHS()->getType()->isIntegerType()) {
530 BO->getRHS()->EvaluateAsInt(SimplifiedRHS, S.Context);
646 return substituteParameterMappings(S, N.getRHS(), Concept, TemplateArgs,
733 auto RHS = fromConstraintExpr(S, D, BO->getRHS());
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConstraintManager.h172 RHS = &SIE->getRHS();
175 RHS = getSymVal(State, ISE->getRHS());
179 RHS = LHS ? getSymVal(State, SSM->getRHS()) : nullptr;
281 return canReasonAbout(SVB.makeSymbolVal(ISE->getRHS()));
285 canReasonAbout(SVB.makeSymbolVal(SSE->getRHS()));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCExpr.cpp51 fixELFSymbolsInTLSFixupsImpl(be->getRHS(), Asm);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MCExpr.cpp124 fixELFSymbolsInTLSFixupsImpl(BE->getRHS(), Asm);
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/
H A DSValExplainer.h124 << S->getRHS();
134 " (" + Visit(S->getRHS()) + ")";
/freebsd-11-stable/contrib/llvm-project/llvm/lib/MC/
H A DMCExpr.cpp105 if (const MCConstantExpr *RHSC = dyn_cast<MCConstantExpr>(BE.getRHS())) {
135 if (isa<MCConstantExpr>(BE.getRHS()) || isa<MCSymbolRefExpr>(BE.getRHS())) {
136 BE.getRHS()->print(OS, MAI);
139 BE.getRHS()->print(OS, MAI);
788 !ABE->getRHS()->evaluateAsRelocatableImpl(RHSValue, Asm, Layout, Fixup,
792 if (const MCTargetExpr *R = cast<MCTargetExpr>(ABE->getRHS())) {
910 MCFragment *RHS_F = BE->getRHS()->findAssociatedFragment();

Completed in 213 milliseconds

123456