Home
last modified time | relevance | path

Searched refs:getRHS (Results 1 – 25 of 153) sorted by relevance

1234567

/external/clang/lib/StaticAnalyzer/Core/
DSymbolManager.cpp35 << 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()
DSimpleConstraintManager.cpp56 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()
/external/clang/lib/StaticAnalyzer/Checkers/
DDeadStoresChecker.cpp110 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()
299 CheckVarDecl(VD, DR, B->getRHS(), dsk, Live); in observeStmt()
DFixedAddressChecker.cpp48 SVal RV = state->getSVal(B->getRHS(), C.getLocationContext()); in checkPreStmt()
61 R->addRange(B->getRHS()->getSourceRange()); in checkPreStmt()
DMallocOverflowSecurityChecker.cpp91 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()
DTestAfterDivZeroChecker.cpp111 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()
DUndefResultChecker.cpp70 else if (state->getSVal(B->getRHS(), LCtx).isUndef()) { in checkPostStmt()
71 Ex = B->getRHS()->IgnoreParenCasts(); in checkPostStmt()
DDivZeroChecker.cpp57 if (!B->getRHS()->getType()->isScalarType()) in checkPreStmt()
60 SVal Denom = C.getState()->getSVal(B->getRHS(), C.getLocationContext()); in checkPreStmt()
DIdenticalExprChecker.cpp83 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()
DPointerSubChecker.cpp45 SVal RV = state->getSVal(B->getRHS(), LCtx); in checkPreStmt()
DUndefinedAssignmentChecker.cpp74 ex = B->getRHS(); in checkBind()
/external/swiftshader/third_party/LLVM/lib/MC/
DMCExpr.cpp97 if (const MCConstantExpr *RHSC = dyn_cast<MCConstantExpr>(BE.getRHS())) { in print()
126 if (isa<MCConstantExpr>(BE.getRHS()) || isa<MCSymbolRefExpr>(BE.getRHS())) { in print()
127 OS << *BE.getRHS(); in print()
129 OS << '(' << *BE.getRHS() << ')'; in print()
504 !ABE->getRHS()->EvaluateAsRelocatableImpl(RHSValue, Asm, Layout, in EvaluateAsRelocatableImpl()
589 const MCSection *RHS_S = BE->getRHS()->FindAssociatedSection(); in FindAssociatedSection()
/external/clang/lib/ARCMigrate/
DTransZeroOutPropsInDealloc.cpp164 isZeroingPropIvar(BOE->getRHS()); in isZeroingPropIvar()
190 return isZero(BOE->getRHS()); in isZeroingPropIvar()
211 return isZero(cast<OpaqueValueExpr>(BO->getRHS())->getSourceExpr()); in isZeroingPropIvar()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DMCExpr.cpp100 if (const MCConstantExpr *RHSC = dyn_cast<MCConstantExpr>(BE.getRHS())) { in print()
130 if (isa<MCConstantExpr>(BE.getRHS()) || isa<MCSymbolRefExpr>(BE.getRHS())) { in print()
131 BE.getRHS()->print(OS, MAI); in print()
134 BE.getRHS()->print(OS, MAI); in print()
757 !ABE->getRHS()->evaluateAsRelocatableImpl(RHSValue, Asm, Layout, Fixup, in evaluateAsRelocatableImpl()
761 if (const MCTargetExpr *R = cast<MCTargetExpr>(ABE->getRHS())) { in evaluateAsRelocatableImpl()
879 MCFragment *RHS_F = BE->getRHS()->findAssociatedFragment(); in findAssociatedFragment()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/MCTargetDesc/
DWebAssemblyWasmObjectWriter.cpp52 return IsFunctionExpr(BinOp->getLHS()) != IsFunctionExpr(BinOp->getRHS()); in IsFunctionExpr()
74 auto SectionRHS = GetFixupSection(BinOp->getRHS()); in GetFixupSection()
/external/llvm/lib/MC/
DMCExpr.cpp88 if (const MCConstantExpr *RHSC = dyn_cast<MCConstantExpr>(BE.getRHS())) { in print()
118 if (isa<MCConstantExpr>(BE.getRHS()) || isa<MCSymbolRefExpr>(BE.getRHS())) { in print()
119 BE.getRHS()->print(OS, MAI); in print()
122 BE.getRHS()->print(OS, MAI); in print()
690 !ABE->getRHS()->evaluateAsRelocatableImpl(RHSValue, Asm, Layout, Fixup, in evaluateAsRelocatableImpl()
780 MCFragment *RHS_F = BE->getRHS()->findAssociatedFragment(); in findAssociatedFragment()
/external/clang/lib/CodeGen/
DCGExprComplex.cpp813 if (E->getRHS()->getType()->isRealFloatingType()) in EmitBinOps()
814 Ops.RHS = ComplexPairTy(CGF.EmitScalarExpr(E->getRHS()), nullptr); in EmitBinOps()
816 Ops.RHS = Visit(E->getRHS()); in EmitBinOps()
842 if (E->getRHS()->getType()->isRealFloatingType()) { in EmitCompoundAssignLValue()
845 .hasSameUnqualifiedType(ComplexElementTy, E->getRHS()->getType())); in EmitCompoundAssignLValue()
846 OpInfo.RHS = ComplexPairTy(CGF.EmitScalarExpr(E->getRHS()), nullptr); in EmitCompoundAssignLValue()
849 .hasSameUnqualifiedType(OpInfo.Ty, E->getRHS()->getType())); in EmitCompoundAssignLValue()
850 OpInfo.RHS = Visit(E->getRHS()); in EmitCompoundAssignLValue()
913 E->getRHS()->getType()) && in EmitBinAssignLValue()
919 Val = Visit(E->getRHS()); in EmitBinAssignLValue()
[all …]
DCGExprAgg.cpp774 Visit(E->getRHS()); in VisitBinComma()
818 return isBlockVarRef(op->getRHS()); in isBlockVarRef()
865 E->getRHS()->getType()) in VisitBinAssign()
873 E->getRHS()->HasSideEffects(CGF.getContext())) { in VisitBinAssign()
875 EnsureDest(E->getRHS()->getType()); in VisitBinAssign()
876 Visit(E->getRHS()); in VisitBinAssign()
902 EnsureDest(E->getRHS()->getType()); in VisitBinAssign()
903 Visit(E->getRHS()); in VisitBinAssign()
918 CGF.EmitAggExpr(E->getRHS(), LHSSlot); in VisitBinAssign()
DCodeGenFunction.cpp1203 return EmitBranchOnBoolExpr(CondBOp->getRHS(), TrueBlock, FalseBlock, in EmitBranchOnBoolExpr()
1209 if (ConstantFoldsToSimpleInteger(CondBOp->getRHS(), ConstantBool) && in EmitBranchOnBoolExpr()
1221 uint64_t RHSCount = getProfileCount(CondBOp->getRHS()); in EmitBranchOnBoolExpr()
1231 setCurrentProfileCount(getProfileCount(CondBOp->getRHS())); in EmitBranchOnBoolExpr()
1235 EmitBranchOnBoolExpr(CondBOp->getRHS(), TrueBlock, FalseBlock, TrueCount); in EmitBranchOnBoolExpr()
1249 return EmitBranchOnBoolExpr(CondBOp->getRHS(), TrueBlock, FalseBlock, in EmitBranchOnBoolExpr()
1255 if (ConstantFoldsToSimpleInteger(CondBOp->getRHS(), ConstantBool) && in EmitBranchOnBoolExpr()
1269 getCurrentProfileCount() - getProfileCount(CondBOp->getRHS()); in EmitBranchOnBoolExpr()
1280 setCurrentProfileCount(getProfileCount(CondBOp->getRHS())); in EmitBranchOnBoolExpr()
1284 EmitBranchOnBoolExpr(CondBOp->getRHS(), TrueBlock, FalseBlock, RHSCount); in EmitBranchOnBoolExpr()
[all …]
DCGExprScalar.cpp952 CGF.EmitCheckTypeDescriptor(BO->getRHS()->getType())); in EmitBinOpCheck()
2084 Result.RHS = Visit(E->getRHS()); in EmitBinOps()
2104 OpInfo.RHS = Visit(E->getRHS()); in EmitCompoundAssignLValue()
2148 EmitScalarConversion(OpInfo.RHS, E->getRHS()->getType(), LHSTy, in EmitCompoundAssignLValue()
2423 Expr *indexOperand = expr->getRHS(); in emitPointerArithmetic()
2830 QualType RHSTy = E->getRHS()->getType(); in EmitCompare()
2835 Value *RHS = CGF.EmitScalarExpr(E->getRHS()); in EmitCompare()
2840 Value *RHS = Visit(E->getRHS()); in EmitCompare()
2935 RHS = CGF.EmitComplexExpr(E->getRHS()); in EmitCompare()
2941 RHS.first = Visit(E->getRHS()); in EmitCompare()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DScalarEvolutionExpressions.h265 const SCEV *getRHS() const { return RHS; } in getRHS() function
273 return getRHS()->getType(); in getType()
529 push(UDiv->getRHS()); in visitAll()
647 auto *RHS = ((SC *)this)->visit(Expr->getRHS()); in visitUDivExpr()
648 bool Changed = LHS != Expr->getLHS() || RHS != Expr->getRHS(); in visitUDivExpr()
/external/clang/include/clang/StaticAnalyzer/Checkers/
DSValExplainer.h124 << S->getRHS(); in VisitSymIntExpr()
134 " (" + Visit(S->getRHS()) + ")"; in VisitSymSymExpr()
/external/clang/lib/Analysis/
DCFG.cpp63 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/include/llvm/Analysis/
DScalarEvolutionExpressions.h254 const SCEV *getRHS() const { return RHS; } in getRHS() function
262 return getRHS()->getType(); in getType()
521 push(UDiv->getRHS()); in visitAll()
583 ((SC*)this)->visit(Expr->getRHS())); in visitUDivExpr()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/MCTargetDesc/
DARMMCExpr.cpp57 AddValueSymbols_(BE->getRHS(), Asm); in AddValueSymbols_()

1234567