/external/compiler-rt/lib/ubsan/ |
D | ubsan_handlers.cc | 180 Value RHSVal(Data->Type, RHS); in handleDivremOverflowImpl() local 183 if (RHSVal.isMinusOne()) in handleDivremOverflowImpl() 224 Value RHSVal(Data->RHSType, RHS); in handleShiftOutOfBoundsImpl() local 227 if (RHSVal.isNegative() || in handleShiftOutOfBoundsImpl() 228 RHSVal.getPositiveIntValue() >= Data->LHSType.getIntegerBitWidth()) in handleShiftOutOfBoundsImpl() 239 if (RHSVal.isNegative()) in handleShiftOutOfBoundsImpl() 240 Diag(Loc, DL_Error, "shift exponent %0 is negative") << RHSVal; in handleShiftOutOfBoundsImpl() 243 << RHSVal << Data->LHSType.getIntegerBitWidth() << Data->LHSType; in handleShiftOutOfBoundsImpl() 250 << LHSVal << RHSVal << Data->LHSType; in handleShiftOutOfBoundsImpl()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 30 Value *RHSVal = FirstInst->getOperand(1); in FoldPHIArgBinOpIntoPHI() local 33 Type *RHSType = RHSVal->getType(); in FoldPHIArgBinOpIntoPHI() 68 if (I->getOperand(1) != RHSVal) RHSVal = nullptr; in FoldPHIArgBinOpIntoPHI() 75 if (!LHSVal && !RHSVal) in FoldPHIArgBinOpIntoPHI() 91 if (!RHSVal) { in FoldPHIArgBinOpIntoPHI() 96 RHSVal = NewRHS; in FoldPHIArgBinOpIntoPHI() 116 LHSVal, RHSVal); in FoldPHIArgBinOpIntoPHI() 123 BinaryOperator::Create(BinOp->getOpcode(), LHSVal, RHSVal); in FoldPHIArgBinOpIntoPHI()
|
D | InstCombineAddSub.cpp | 1084 const APInt &RHSVal = CI->getValue(); in visitAdd() local 1088 if (XorRHS->getValue() == -RHSVal) { in visitAdd() 1089 if (RHSVal.isPowerOf2()) in visitAdd() 1090 ExtendAmt = TySizeBits - RHSVal.logBase2() - 1; in visitAdd()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngineC.cpp | 583 SVal RHSVal = N->getState()->getSVal(RHS, Pred->getLocationContext()); in VisitLogicalExpr() local 585 if (RHSVal.isUndef()) { in VisitLogicalExpr() 586 X = RHSVal; in VisitLogicalExpr() 588 DefinedOrUnknownSVal DefinedRHS = RHSVal.castAs<DefinedOrUnknownSVal>(); in VisitLogicalExpr() 595 X = getSValBuilder().evalCast(RHSVal, B->getType(), RHS->getType()); in VisitLogicalExpr()
|
/external/llvm/include/llvm/TableGen/ |
D | Record.h | 1564 unsigned LHSVal, RHSVal; in operator() local 1568 bool RHSFailed = RHSPart.second.getAsInteger(10, RHSVal); (void)RHSFailed; in operator() 1571 if (LHSVal != RHSVal) in operator() 1572 return LHSVal < RHSVal; in operator()
|
/external/clang/lib/Sema/ |
D | SemaStmt.cpp | 376 SourceLocation DotDotDotLoc, Expr *RHSVal, in ActOnCaseStmt() argument 413 if (RHSVal && !RHSVal->isTypeDependent() && !RHSVal->isValueDependent()) { in ActOnCaseStmt() 414 RHSVal = VerifyIntegerConstantExpression(RHSVal).get(); in ActOnCaseStmt() 424 auto RHS = RHSVal ? ActOnFinishFullExpr(RHSVal, RHSVal->getExprLoc(), false, in ActOnCaseStmt()
|
/external/llvm/lib/Target/PowerPC/AsmParser/ |
D | PPCAsmParser.cpp | 222 int64_t RHSVal = EvaluateCRExpr(BE->getRHS()); in EvaluateCRExpr() local 225 if (LHSVal < 0 || RHSVal < 0) in EvaluateCRExpr() 230 case MCBinaryExpr::Add: Res = LHSVal + RHSVal; break; in EvaluateCRExpr() 231 case MCBinaryExpr::Mul: Res = LHSVal * RHSVal; break; in EvaluateCRExpr()
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 7083 const APValue &RHSVal = RHSResult.Val; in VisitBinOp() local 7086 if (E->isAdditiveOp() && LHSVal.isLValue() && RHSVal.isInt()) { in VisitBinOp() 7089 CharUnits::fromQuantity(RHSVal.getInt().getZExtValue()); in VisitBinOp() 7099 RHSVal.isLValue() && LHSVal.isInt()) { in VisitBinOp() 7100 Result = RHSVal; in VisitBinOp() 7106 if (E->getOpcode() == BO_Sub && LHSVal.isLValue() && RHSVal.isLValue()) { in VisitBinOp() 7109 !RHSVal.getLValueOffset().isZero()) in VisitBinOp() 7112 const Expr *RHSExpr = RHSVal.getLValueBase().dyn_cast<const Expr*>(); in VisitBinOp() 7128 if (!LHSVal.isInt() || !RHSVal.isInt()) in VisitBinOp() 7137 RHSVal.getInt(), Value)) in VisitBinOp()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 416 Value *RHSVal; in matchInstruction() local 424 m_And(m_Value(RHSVal), m_ConstantInt(RHSC)))) { in matchInstruction() 428 if(!setValueOnce(RHSVal)) in matchInstruction() 455 if(match(I->getOperand(0), m_Add(m_Value(RHSVal), m_ConstantInt(RHSC)))) { in matchInstruction() 457 CandidateVal = RHSVal; in matchInstruction()
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 3073 const APInt &RHSVal = CI->getValue(); in SimplifyICmpInst() local 3074 if (((LHSKnownZero & RHSVal) != 0) || ((LHSKnownOne & ~RHSVal) != 0)) in SimplifyICmpInst()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 2446 SDValue RHSVal = getValue(I.getOperand(2)); in visitSelect() local 2524 RHSVal = getValue(RHS); in visitSelect() 2532 Ops.push_back(SDValue(RHSVal.getNode(), RHSVal.getResNo() + i)); in visitSelect() 5550 SDValue RHSVal = getMemCmpLoad(RHS, LoadVT, LoadTy, *this); in visitMemCmpCall() local 5552 SDValue Res = DAG.getSetCC(getCurSDLoc(), MVT::i1, LHSVal, RHSVal, in visitMemCmpCall()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 3302 SourceLocation DotDotDotLoc, Expr *RHSVal,
|