/external/clang/lib/StaticAnalyzer/Core/ |
D | SymbolManager.cpp | 35 << getRHS().getZExtValue(); in dumpToStream() 36 if (getRHS().isUnsigned()) in dumpToStream() 47 getRHS()->dumpToStream(os); in dumpToStream() 57 getRHS()->dumpToStream(os); in dumpToStream() 131 itr.push_back(cast<IntSymExpr>(SE)->getRHS()); in expand() 136 itr.push_back(x->getRHS()); in expand() 483 KnownLive = isLive(cast<IntSymExpr>(sym)->getRHS()); in isLive() 487 isLive(cast<SymSymExpr>(sym)->getRHS()); in isLive()
|
D | SimpleConstraintManager.cpp | 56 assert(Loc::isLocType(SSE->getRHS()->getType())); in canReasonAbout() 148 return assumeSymRel(state, SE->getLHS(), op, SE->getRHS()); in assumeAux() 164 assert(Loc::isLocType(SSE->getRHS()->getType())); in assumeAux() 166 SymbolRef Subtraction = SymMgr.getSymSymExpr(SSE->getRHS(), BO_Sub, in assumeAux() 235 Adjustment = APSIntType(Adjustment).convert(SE->getRHS()); in computeAdjustment()
|
D | CheckerHelpers.cpp | 84 RHS = Assign->getRHS(); in parseAssignment()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | FixedAddressChecker.cpp | 48 SVal RV = state->getSVal(B->getRHS(), C.getLocationContext()); in checkPreStmt() 61 R->addRange(B->getRHS()->getSourceRange()); in checkPreStmt()
|
D | DeadStoresChecker.cpp | 110 Ex = BO->getRHS(); in LookThroughTransitiveAssignmentsAndCommaOperators() 114 Ex = BO->getRHS(); in LookThroughTransitiveAssignmentsAndCommaOperators() 239 const Expr *RHS = B->getRHS()->IgnoreParenCasts(); in isIncrement() 251 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getRHS()->IgnoreParenCasts()))) in isIncrement() 277 LookThroughTransitiveAssignmentsAndCommaOperators(B->getRHS()); in observeStmt() 297 CheckVarDecl(VD, DR, B->getRHS(), dsk, Live); in observeStmt()
|
D | UndefResultChecker.cpp | 70 else if (state->getSVal(B->getRHS(), LCtx).isUndef()) { in checkPostStmt() 71 Ex = B->getRHS()->IgnoreParenCasts(); in checkPostStmt()
|
D | DivZeroChecker.cpp | 57 if (!B->getRHS()->getType()->isScalarType()) in checkPreStmt() 60 SVal Denom = C.getState()->getSVal(B->getRHS(), C.getLocationContext()); in checkPreStmt()
|
D | TestAfterDivZeroChecker.cpp | 111 E = BO->getRHS(); in REGISTER_SET_WITH_PROGRAMSTATE() 208 SVal S = C.getSVal(B->getRHS()); in checkPreStmt() 219 const IntegerLiteral *IntLiteral = dyn_cast<IntegerLiteral>(B->getRHS()); in checkBranchCondition() 229 SVal Val = C.getSVal(LRHS ? B->getLHS() : B->getRHS()); in checkBranchCondition()
|
D | MallocOverflowSecurityChecker.cpp | 91 const Expr *rhs = binop->getRHS(); in CheckMallocArgument() 183 const Expr *rhs = AssignEx->getRHS(); in CheckAssignmentExpr() 193 const Expr *denom = BOp->getRHS()->IgnoreParenImpCasts(); in CheckAssignmentExpr() 228 const Expr * rhs = E->getRHS(); in VisitBinaryOperator()
|
D | IdenticalExprChecker.cpp | 83 const Expr *RHS = B->getRHS(); in checkBitwiseOrLogicalOp() 92 if (isIdenticalStmt(AC->getASTContext(), RHS, B2->getRHS())) { in checkBitwiseOrLogicalOp() 94 Sr[1] = B2->getRHS()->getSourceRange(); in checkBitwiseOrLogicalOp() 224 const Expr *RHS = B->getRHS()->IgnoreParenImpCasts(); in checkComparisonOp() 254 if (isIdenticalStmt(AC->getASTContext(), B->getLHS(), B->getRHS())) { in checkComparisonOp()
|
D | PointerArithChecker.cpp | 42 SVal RV = state->getSVal(B->getRHS(), LCtx); in checkPreStmt()
|
D | PointerSubChecker.cpp | 45 SVal RV = state->getSVal(B->getRHS(), LCtx); in checkPreStmt()
|
D | UndefinedAssignmentChecker.cpp | 74 ex = B->getRHS(); in checkBind()
|
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
D | MipsMCExpr.cpp | 35 if (!isa<MCConstantExpr>(BE->getRHS())) in isSupportedBinaryExpr() 40 && isa<MCSymbolRefExpr>(BE->getRHS())); in isSupportedBinaryExpr()
|
/external/clang/lib/ARCMigrate/ |
D | TransZeroOutPropsInDealloc.cpp | 164 isZeroingPropIvar(BOE->getRHS()); in isZeroingPropIvar() 190 return isZero(BOE->getRHS()); in isZeroingPropIvar() 211 return isZero(cast<OpaqueValueExpr>(BO->getRHS())->getSourceExpr()); in isZeroingPropIvar()
|
/external/llvm/lib/MC/ |
D | MCExpr.cpp | 87 if (const MCConstantExpr *RHSC = dyn_cast<MCConstantExpr>(BE.getRHS())) { in print() 117 if (isa<MCConstantExpr>(BE.getRHS()) || isa<MCSymbolRefExpr>(BE.getRHS())) { in print() 118 BE.getRHS()->print(OS, MAI); in print() 121 BE.getRHS()->print(OS, MAI); in print() 712 !ABE->getRHS()->evaluateAsRelocatableImpl(RHSValue, Asm, Layout, Fixup, in evaluateAsRelocatableImpl() 801 MCFragment *RHS_F = BE->getRHS()->findAssociatedFragment(); in findAssociatedFragment()
|
/external/clang/lib/CodeGen/ |
D | CGExprComplex.cpp | 812 if (E->getRHS()->getType()->isRealFloatingType()) in EmitBinOps() 813 Ops.RHS = ComplexPairTy(CGF.EmitScalarExpr(E->getRHS()), nullptr); in EmitBinOps() 815 Ops.RHS = Visit(E->getRHS()); in EmitBinOps() 841 if (E->getRHS()->getType()->isRealFloatingType()) { in EmitCompoundAssignLValue() 844 .hasSameUnqualifiedType(ComplexElementTy, E->getRHS()->getType())); in EmitCompoundAssignLValue() 845 OpInfo.RHS = ComplexPairTy(CGF.EmitScalarExpr(E->getRHS()), nullptr); in EmitCompoundAssignLValue() 848 .hasSameUnqualifiedType(OpInfo.Ty, E->getRHS()->getType())); in EmitCompoundAssignLValue() 849 OpInfo.RHS = Visit(E->getRHS()); in EmitCompoundAssignLValue() 912 E->getRHS()->getType()) && in EmitBinAssignLValue() 918 Val = Visit(E->getRHS()); in EmitBinAssignLValue() [all …]
|
D | CGExprAgg.cpp | 772 Visit(E->getRHS()); in VisitBinComma() 816 return isBlockVarRef(op->getRHS()); in isBlockVarRef() 863 E->getRHS()->getType()) in VisitBinAssign() 871 E->getRHS()->HasSideEffects(CGF.getContext())) { in VisitBinAssign() 873 EnsureDest(E->getRHS()->getType()); in VisitBinAssign() 874 Visit(E->getRHS()); in VisitBinAssign() 900 EnsureDest(E->getRHS()->getType()); in VisitBinAssign() 901 Visit(E->getRHS()); in VisitBinAssign() 916 CGF.EmitAggExpr(E->getRHS(), LHSSlot); in VisitBinAssign()
|
D | CodeGenFunction.cpp | 1131 return EmitBranchOnBoolExpr(CondBOp->getRHS(), TrueBlock, FalseBlock, in EmitBranchOnBoolExpr() 1137 if (ConstantFoldsToSimpleInteger(CondBOp->getRHS(), ConstantBool) && in EmitBranchOnBoolExpr() 1149 uint64_t RHSCount = getProfileCount(CondBOp->getRHS()); in EmitBranchOnBoolExpr() 1159 setCurrentProfileCount(getProfileCount(CondBOp->getRHS())); in EmitBranchOnBoolExpr() 1163 EmitBranchOnBoolExpr(CondBOp->getRHS(), TrueBlock, FalseBlock, TrueCount); in EmitBranchOnBoolExpr() 1177 return EmitBranchOnBoolExpr(CondBOp->getRHS(), TrueBlock, FalseBlock, in EmitBranchOnBoolExpr() 1183 if (ConstantFoldsToSimpleInteger(CondBOp->getRHS(), ConstantBool) && in EmitBranchOnBoolExpr() 1197 getCurrentProfileCount() - getProfileCount(CondBOp->getRHS()); in EmitBranchOnBoolExpr() 1208 setCurrentProfileCount(getProfileCount(CondBOp->getRHS())); in EmitBranchOnBoolExpr() 1212 EmitBranchOnBoolExpr(CondBOp->getRHS(), TrueBlock, FalseBlock, RHSCount); in EmitBranchOnBoolExpr() [all …]
|
D | CGExprScalar.cpp | 951 CGF.EmitCheckTypeDescriptor(BO->getRHS()->getType())); in EmitBinOpCheck() 2097 Result.RHS = Visit(E->getRHS()); in EmitBinOps() 2117 OpInfo.RHS = Visit(E->getRHS()); in EmitCompoundAssignLValue() 2161 EmitScalarConversion(OpInfo.RHS, E->getRHS()->getType(), LHSTy, in EmitCompoundAssignLValue() 2436 Expr *indexOperand = expr->getRHS(); in emitPointerArithmetic() 2843 QualType RHSTy = E->getRHS()->getType(); in EmitCompare() 2848 Value *RHS = CGF.EmitScalarExpr(E->getRHS()); in EmitCompare() 2853 Value *RHS = Visit(E->getRHS()); in EmitCompare() 2948 RHS = CGF.EmitComplexExpr(E->getRHS()); in EmitCompare() 2954 RHS.first = Visit(E->getRHS()); in EmitCompare() [all …]
|
/external/llvm/include/llvm/Analysis/ |
D | ScalarEvolutionExpressions.h | 262 const SCEV *getRHS() const { return RHS; } in getRHS() function 270 return getRHS()->getType(); in getType() 538 push(UDiv->getRHS()); in visitAll() 600 ((SC*)this)->visit(Expr->getRHS())); in visitUDivExpr()
|
/external/clang/lib/Analysis/ |
D | CFG.cpp | 63 const Expr *Constant = tryTransformToIntOrEnumConstant(B->getRHS()); in tryNormalizeBinaryOperator() 76 MaybeDecl = B->getRHS(); in tryNormalizeBinaryOperator() 646 const Expr *RHSExpr = B->getRHS()->IgnoreParens(); in checkIncorrectRelationalOperator() 685 const Expr *RHSExpr = B->getRHS()->IgnoreParens(); in checkIncorrectEqualityOperator() 702 const Expr *RHSExpr2 = BitOp->getRHS()->IgnoreParens(); in checkIncorrectEqualityOperator() 763 dyn_cast<BinaryOperator>(B->getRHS()->IgnoreParens()); in checkIncorrectLogicOperator() 896 if (Bop->getRHS()->EvaluateAsInt(IntVal, *Context)) { in tryEvaluateBool() 921 TryResult RHS = tryEvaluateBool(Bop->getRHS()); in evaluateAsBooleanConditionNoCache() 929 TryResult RHS = tryEvaluateBool(Bop->getRHS()); in evaluateAsBooleanConditionNoCache() 1674 Expr *RHS = B->getRHS()->IgnoreParens(); in VisitLogicalOperator() [all …]
|
/external/llvm/lib/Target/XCore/InstPrinter/ |
D | XCoreInstPrinter.cpp | 55 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(BE->getRHS()); in printExpr()
|
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
D | AArch64MCExpr.cpp | 115 fixELFSymbolsInTLSFixupsImpl(BE->getRHS(), Asm); in fixELFSymbolsInTLSFixupsImpl()
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 5406 const Expr *RHS = BO->getRHS()->IgnoreParenCasts(); in ignoreLiteralAdditions() 5549 const Expr *R = BE->getRHS()->IgnoreParenCasts(); in CheckStrncatArguments() 5760 if (!Base->getType()->isPointerType()) Base = B->getRHS(); in EvalAddr() 5781 if (C->getRHS()->getType()->isVoidType()) in EvalAddr() 5784 return EvalAddr(C->getRHS(), refVars, ParentDecl); in EvalAddr() 5950 if (C->getRHS()->getType()->isVoidType()) in EvalVal() 5953 return EvalVal(C->getRHS(), refVars, ParentDecl); in EvalVal() 6301 return GetExprRange(C, BO->getRHS(), MaxWidth); in GetExprRange() 6312 GetExprRange(C, BO->getRHS(), MaxWidth)); in GetExprRange() 6338 if (BO->getRHS()->isIntegerConstantExpr(shift, C) && in GetExprRange() [all …]
|