/external/clang/lib/StaticAnalyzer/Checkers/ |
D | DivZeroChecker.cpp | 41 if (!B->getRHS()->getType()->isIntegerType() || in checkPreStmt() 42 !B->getRHS()->getType()->isScalarType()) in checkPreStmt() 45 SVal Denom = C.getState()->getSVal(B->getRHS()); in checkPreStmt()
|
D | FixedAddressChecker.cpp | 49 SVal RV = state->getSVal(B->getRHS()); in checkPreStmt() 61 R->addRange(B->getRHS()->getSourceRange()); in checkPreStmt()
|
D | DeadStoresChecker.cpp | 166 Expr* RHS = B->getRHS()->IgnoreParenCasts(); in isIncrement() 178 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getRHS()->IgnoreParenCasts()))) in isIncrement() 206 if (B->getRHS()->isNullPointerConstant(Ctx, in ObserveStmt() 211 Expr* RHS = B->getRHS()->IgnoreParenCasts(); in ObserveStmt() 223 CheckVarDecl(VD, DR, B->getRHS(), dsk, AD, Live); in ObserveStmt()
|
D | UndefResultChecker.cpp | 57 else if (state->getSVal(B->getRHS()).isUndef()) { in checkPostStmt() 58 Ex = B->getRHS()->IgnoreParenCasts(); in checkPostStmt()
|
D | IdempotentOperationChecker.cpp | 131 const Expr *RHS = B->getRHS(); in checkPreStmt() 419 const Expr *RHS = i->first->getRHS(); in checkEndAnalysis() 420 report->addRange(i->first->getRHS()->getSourceRange()); in checkEndAnalysis() 672 return CanVary(B->getRHS(), AC) in CanVary()
|
D | PointerArithChecker.cpp | 41 SVal RV = state->getSVal(B->getRHS()); in checkPreStmt()
|
D | PointerSubChecker.cpp | 44 SVal RV = state->getSVal(B->getRHS()); in checkPreStmt()
|
D | UndefinedAssignmentChecker.cpp | 65 ex = B->getRHS(); in checkBind()
|
/external/llvm/lib/MC/ |
D | MCExpr.cpp | 98 if (const MCConstantExpr *RHSC = dyn_cast<MCConstantExpr>(BE.getRHS())) { in print() 127 if (isa<MCConstantExpr>(BE.getRHS()) || isa<MCSymbolRefExpr>(BE.getRHS())) { in print() 128 OS << *BE.getRHS(); in print() 130 OS << '(' << *BE.getRHS() << ')'; in print() 505 !ABE->getRHS()->EvaluateAsRelocatableImpl(RHSValue, Asm, Layout, in EvaluateAsRelocatableImpl() 590 const MCSection *RHS_S = BE->getRHS()->FindAssociatedSection(); in FindAssociatedSection()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | SimpleConstraintManager.cpp | 190 return assumeSymRel(state, SE->getLHS(), op, SE->getRHS()); in assumeAux() 243 Adjustment = SE->getRHS(); in assumeSymRel() 246 Adjustment = -SE->getRHS(); in assumeSymRel()
|
D | SymbolManager.cpp | 56 os << ' ' << getRHS().getZExtValue(); in dumpToStream() 57 if (getRHS().isUnsigned()) os << 'U'; in dumpToStream() 65 getRHS()->dumpToStream(os); in dumpToStream()
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 2136 if (!Base->getType()->isPointerType()) Base = B->getRHS(); in EvalAddr() 2156 if (C->getRHS()->getType()->isVoidType()) in EvalAddr() 2159 return EvalAddr(C->getRHS(), refVars); in EvalAddr() 2298 return EvalVal(C->getRHS(), refVars); in EvalVal() 2605 return GetExprRange(C, BO->getRHS(), MaxWidth); in GetExprRange() 2616 GetExprRange(C, BO->getRHS(), MaxWidth)); in GetExprRange() 2642 if (BO->getRHS()->isIntegerConstantExpr(shift, C) && in GetExprRange() 2656 return GetExprRange(C, BO->getRHS(), MaxWidth); in GetExprRange() 2673 if (BO->getRHS()->isIntegerConstantExpr(divisor, C)) { in GetExprRange() 2683 IntRange R = GetExprRange(C, BO->getRHS(), opWidth); in GetExprRange() [all …]
|
/external/clang/lib/ARCMigrate/ |
D | TransZeroOutPropsInDealloc.cpp | 146 isZeroingPropIvar(BOE->getRHS()); in isZeroingPropIvar() 183 Expr *RHS = BOE->getRHS(); in isZeroingPropIvar()
|
/external/clang/lib/Analysis/ |
D | ReachableCode.cpp | 68 R2 = BO->getRHS()->getSourceRange(); in GetUnreachableLoc() 79 R2 = CAO->getRHS()->getSourceRange(); in GetUnreachableLoc() 96 R2 = ASE->getRHS()->getSourceRange(); in GetUnreachableLoc()
|
/external/clang/lib/CodeGen/ |
D | CodeGenFunction.cpp | 524 return EmitBranchOnBoolExpr(CondBOp->getRHS(), TrueBlock, FalseBlock); in EmitBranchOnBoolExpr() 529 if (ConstantFoldsToSimpleInteger(CondBOp->getRHS(), ConstantBool) && in EmitBranchOnBoolExpr() 545 EmitBranchOnBoolExpr(CondBOp->getRHS(), TrueBlock, FalseBlock); in EmitBranchOnBoolExpr() 558 return EmitBranchOnBoolExpr(CondBOp->getRHS(), TrueBlock, FalseBlock); in EmitBranchOnBoolExpr() 563 if (ConstantFoldsToSimpleInteger(CondBOp->getRHS(), ConstantBool) && in EmitBranchOnBoolExpr() 579 EmitBranchOnBoolExpr(CondBOp->getRHS(), TrueBlock, FalseBlock); in EmitBranchOnBoolExpr() 611 EmitBranchOnBoolExpr(CondOp->getRHS(), TrueBlock, FalseBlock); in EmitBranchOnBoolExpr()
|
D | CGExprAgg.cpp | 393 Visit(E->getRHS()); in VisitBinComma() 418 E->getRHS()->getType()) in VisitBinAssign() 424 E->getRHS()->HasSideEffects(CGF.getContext())) { in VisitBinAssign() 427 LValue RHS = CGF.EmitLValue(E->getRHS()); in VisitBinAssign() 446 Src = CGF.EmitReferenceBindingToExpr(E->getRHS(), 0); in VisitBinAssign() 448 AggValueSlot Slot = EnsureSlot(E->getRHS()->getType()); in VisitBinAssign() 449 CGF.EmitAggExpr(E->getRHS(), Slot); in VisitBinAssign() 461 CGF.EmitAggExpr(E->getRHS(), LHSSlot, false); in VisitBinAssign()
|
D | CGExprComplex.cpp | 573 Ops.RHS = Visit(E->getRHS()); in EmitBinOps() 597 E->getRHS()->getType())); in EmitCompoundAssignLValue() 598 OpInfo.RHS = Visit(E->getRHS()); in EmitCompoundAssignLValue() 645 E->getRHS()->getType()) && in EmitBinAssignLValue() 651 Val = Visit(E->getRHS()); in EmitBinAssignLValue() 683 return Visit(E->getRHS()); in VisitBinComma()
|
D | CGExprScalar.cpp | 1602 Result.RHS = Visit(E->getRHS()); in EmitBinOps() 1628 OpInfo.RHS = Visit(E->getRHS()); in EmitCompoundAssignLValue() 1851 Expr *indexOperand = expr->getRHS(); in emitPointerArithmetic() 2116 Value *RHS = CGF.EmitScalarExpr(E->getRHS()); in EmitCompare() 2121 Value *RHS = Visit(E->getRHS()); in EmitCompare() 2208 CodeGenFunction::ComplexPairTy RHS = CGF.EmitComplexExpr(E->getRHS()); in EmitCompare() 2255 RHS = Visit(E->getRHS()); in VisitBinAssign() 2265 RHS = Visit(E->getRHS()); in VisitBinAssign() 2306 Value *RHSCond = CGF.EvaluateExprAsBool(E->getRHS()); in VisitBinLAnd() 2312 if (!CGF.ContainsLabel(E->getRHS())) in VisitBinLAnd() [all …]
|
/external/llvm/lib/Target/ARM/ |
D | ARMMCExpr.cpp | 57 AddValueSymbols_(BE->getRHS(), Asm); in AddValueSymbols_()
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 309 { return Visit(E->getLHS()) || Visit(E->getRHS()); } in VisitArraySubscriptExpr() 316 { return Visit(E->getLHS()) || Visit(E->getRHS()); } in VisitBinaryOperator() 622 const Expr *IExp = E->getRHS(); in VisitBinaryOperator() 1317 if (!Visit(E->getRHS())) in VisitBinaryOperator() 1339 if (HandleConversionToBool(E->getRHS(), rhsResult, Info)) { in VisitBinaryOperator() 1346 if (HandleConversionToBool(E->getRHS(), rhsResult, Info)) { in VisitBinaryOperator() 1364 QualType RHSTy = E->getRHS()->getType(); in VisitBinaryOperator() 1373 if (!EvaluateComplex(E->getRHS(), RHS, Info)) in VisitBinaryOperator() 1412 if (!EvaluateFloat(E->getRHS(), RHS, Info)) in VisitBinaryOperator() 1448 if (!EvaluatePointer(E->getRHS(), RHSValue, Info)) in VisitBinaryOperator() [all …]
|
D | StmtPrinter.cpp | 153 if (Node->getRHS()) { in VisitCaseStmt() 155 PrintExpr(Node->getRHS()); in VisitCaseStmt() 808 PrintExpr(Node->getRHS()); in VisitArraySubscriptExpr() 873 PrintExpr(Node->getRHS()); in VisitBinaryOperator() 878 PrintExpr(Node->getRHS()); in VisitCompoundAssignOperator() 885 PrintExpr(Node->getRHS()); in VisitConditionalOperator() 912 PrintExpr(Node->getRHS()); in VisitChooseExpr()
|
D | Expr.cpp | 78 BO->getRHS()->isKnownToHaveBooleanValue(); in isKnownToHaveBooleanValue() 82 return BO->getRHS()->isKnownToHaveBooleanValue(); in isKnownToHaveBooleanValue() 778 CEE = BO->getRHS()->IgnoreParenCasts(); in getCalleeDecl() 1473 dyn_cast<IntegerLiteral>(BO->getRHS()->IgnoreParens())) in isUnusedResultAWarning() 1476 return BO->getRHS()->isUnusedResultAWarning(Loc, R1, R2, Ctx); in isUnusedResultAWarning() 1481 !BO->getRHS()->isUnusedResultAWarning(Loc, R1, R2, Ctx)) in isUnusedResultAWarning() 1489 R2 = BO->getRHS()->getSourceRange(); in isUnusedResultAWarning() 1501 if (!Exp->getRHS()->isUnusedResultAWarning(Loc, R1, R2, Ctx)) in isUnusedResultAWarning() 1525 R2 = cast<ArraySubscriptExpr>(this)->getRHS()->getSourceRange(); in isUnusedResultAWarning() 1711 QualType type = op->getRHS()->getType()->castAs<MemberPointerType>() in findBoundMemberType() [all …]
|
D | ParentMap.cpp | 100 return BE->getOpcode()!=BO_Comma ||DirectChild==BE->getRHS(); in isConsumedExpr()
|
/external/clang/include/clang/AST/ |
D | Expr.h | 1815 Expr *getRHS() { return cast<Expr>(SubExprs[RHS]); } in getRHS() function 1816 const Expr *getRHS() const { return cast<Expr>(SubExprs[RHS]); } in getRHS() function 1820 return cast<Expr>(getRHS()->getType()->isIntegerType() ? getLHS():getRHS()); in getBase() 1824 return cast<Expr>(getRHS()->getType()->isIntegerType() ? getLHS():getRHS()); in getBase() 1828 return cast<Expr>(getRHS()->getType()->isIntegerType() ? getRHS():getLHS()); in getIdx() 1832 return cast<Expr>(getRHS()->getType()->isIntegerType() ? getRHS():getLHS()); in getIdx() 2653 Expr *getRHS() const { return cast<Expr>(SubExprs[RHS]); } in getRHS() function 2657 return SourceRange(getLHS()->getLocStart(), getRHS()->getLocEnd()); in getSourceRange() 2878 Expr *getRHS() const { return cast<Expr>(SubExprs[RHS]); } in getRHS() function 2881 return SourceRange(getCond()->getLocStart(), getRHS()->getLocEnd()); in getSourceRange() [all …]
|
/external/llvm/include/llvm/Analysis/ |
D | ScalarEvolutionExpressions.h | 264 const SCEV *getRHS() const { return RHS; } in getRHS() function 272 return getRHS()->getType(); in getType()
|