HomeSort by: relevance | last modified time | path
    Searched refs:RHSVal (Results 1 - 17 of 17) sorted by relevancy

  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
CheckerContext.cpp 102 SVal RHSVal, ProgramStateRef State) {
114 SVal Eval = Bldr.evalBinOp(State, ComparisonOp, LHSVal, RHSVal,
ExprEngineC.cpp 732 SVal RHSVal = N->getState()->getSVal(RHS, Pred->getLocationContext());
734 if (RHSVal.isUndef()) {
735 X = RHSVal;
737 // We evaluate "RHSVal != 0" expression which result in 0 if the value is
742 svalBuilder.evalCast(RHSVal, B->getType(), RHS->getType()),
  /src/sys/external/bsd/compiler_rt/dist/lib/ubsan/
ubsan_handlers.cc 192 Value RHSVal(Data->Type, RHS);
195 if (RHSVal.isMinusOne())
237 Value RHSVal(Data->RHSType, RHS);
240 if (RHSVal.isNegative() ||
241 RHSVal.getPositiveIntValue() >= Data->LHSType.getIntegerBitWidth())
252 if (RHSVal.isNegative())
253 Diag(Loc, DL_Error, ET, "shift exponent %0 is negative") << RHSVal;
257 << RHSVal << Data->LHSType.getIntegerBitWidth() << Data->LHSType;
264 << LHSVal << RHSVal << Data->LHSType;
  /src/external/gpl3/gcc/dist/libsanitizer/ubsan/
ubsan_handlers.cpp 290 Value RHSVal(Data->Type, RHS);
293 if (RHSVal.isMinusOne())
335 Value RHSVal(Data->RHSType, RHS);
338 if (RHSVal.isNegative() ||
339 RHSVal.getPositiveIntValue() >= Data->LHSType.getIntegerBitWidth())
350 if (RHSVal.isNegative())
351 Diag(Loc, DL_Error, ET, "shift exponent %0 is negative") << RHSVal;
355 << RHSVal << Data->LHSType.getIntegerBitWidth() << Data->LHSType;
362 << LHSVal << RHSVal << Data->LHSType;
  /src/external/gpl3/gcc.old/dist/libsanitizer/ubsan/
ubsan_handlers.cpp 290 Value RHSVal(Data->Type, RHS);
293 if (RHSVal.isMinusOne())
335 Value RHSVal(Data->RHSType, RHS);
338 if (RHSVal.isNegative() ||
339 RHSVal.getPositiveIntValue() >= Data->LHSType.getIntegerBitWidth())
350 if (RHSVal.isNegative())
351 Diag(Loc, DL_Error, ET, "shift exponent %0 is negative") << RHSVal;
355 << RHSVal << Data->LHSType.getIntegerBitWidth() << Data->LHSType;
362 << LHSVal << RHSVal << Data->LHSType;
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombinePHI.cpp 386 Value *RHSVal = FirstInst->getOperand(1);
389 Type *RHSType = RHSVal->getType();
408 if (I->getOperand(1) != RHSVal) RHSVal = nullptr;
415 if (!LHSVal && !RHSVal)
431 if (!RHSVal) {
436 RHSVal = NewRHS;
456 LHSVal, RHSVal);
463 BinaryOperator::Create(BinOp->getOpcode(), LHSVal, RHSVal);
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
PointerArithChecker.cpp 328 SVal RHSVal = C.getSVal(Rhs);
329 if (State->isNull(RHSVal).isConstrainedTrue())
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
JumpThreading.cpp 770 for (const auto &RHSVal : RHSVals)
771 if (RHSVal.first == InterestingVal || isa<UndefValue>(RHSVal.first)) {
774 if (!LHSKnownBBs.count(RHSVal.second))
775 Result.emplace_back(InterestingVal, RHSVal.second);
  /src/external/apache2/llvm/dist/llvm/include/llvm/TableGen/
Record.h 1978 unsigned LHSVal, RHSVal;
1982 bool RHSFailed = RHSPart.second.getAsInteger(10, RHSVal); (void)RHSFailed;
1985 if (LHSVal != RHSVal)
1986 return LHSVal < RHSVal;
  /src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/AsmParser/
PPCAsmParser.cpp 76 int64_t RHSVal = EvaluateCRExpr(BE->getRHS());
79 if (LHSVal < 0 || RHSVal < 0)
84 case MCBinaryExpr::Add: Res = LHSVal + RHSVal; break;
85 case MCBinaryExpr::Mul: Res = LHSVal * RHSVal; break;
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
AMDGPUISelLowering.cpp 3056 unsigned RHSVal = RHS->getZExtValue();
3057 if (!RHSVal)
3071 if (VT == MVT::i32 && RHSVal == 16 && X.getValueType() == MVT::i16 &&
3085 if (LZ < RHSVal)
3101 if (RHSVal < 32)
3104 SDValue ShiftAmt = DAG.getConstant(RHSVal - 32, SL, MVT::i32);
3126 unsigned RHSVal = RHS->getZExtValue();
3129 if (RHSVal == 32) {
3139 if (RHSVal == 63) {
AMDGPUISelDAGToDAG.cpp 80 uint32_t LHSVal, RHSVal;
82 getConstantValue(N->getOperand(1), RHSVal)) {
85 (-LHSVal & 0xffff) | (-RHSVal << 16) :
86 (LHSVal & 0xffff) | (RHSVal << 16);
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaStmt.cpp 494 SourceLocation DotDotDotLoc, ExprResult RHSVal,
497 assert((DotDotDotLoc.isInvalid() ? RHSVal.isUnset()
498 : RHSVal.isInvalid() || RHSVal.get()) &&
506 if (LHSVal.isInvalid() || RHSVal.isInvalid()) {
511 auto *CS = CaseStmt::Create(Context, LHSVal.get(), RHSVal.get(),
1604 llvm::APSInt RhsVal = SrcExpr->EvaluateKnownConstInt(Context);
1605 AdjustAPSInt(RhsVal, DstWidth, DstIsSigned);
1612 if (!IsValueInFlagEnum(ED, RhsVal, true))
1635 while (EI != EIend && EI->first < RhsVal)
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/AST/
ExprConstant.cpp 12375 const APValue &RHSVal = RHSResult.Val;
12378 if (E->isAdditiveOp() && LHSVal.isLValue() && RHSVal.isInt()) {
12380 addOrSubLValueAsInteger(Result, RHSVal.getInt(), E->getOpcode() == BO_Sub);
12386 RHSVal.isLValue() && LHSVal.isInt()) {
12387 Result = RHSVal;
12392 if (E->getOpcode() == BO_Sub && LHSVal.isLValue() && RHSVal.isLValue()) {
12395 !RHSVal.getLValueOffset().isZero())
12398 const Expr *RHSExpr = RHSVal.getLValueBase().dyn_cast<const Expr*>();
12414 if (!LHSVal.isInt() || !RHSVal.isInt())
12423 RHSVal.getInt(), Value)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
SimplifyCFG.cpp 528 Value *RHSVal;
576 m_And(m_Value(RHSVal), m_APInt(RHSC)))) {
580 if (!setValueOnce(RHSVal))
599 m_Or(m_Value(RHSVal), m_APInt(RHSC)))) {
603 if (!setValueOnce(RHSVal))
630 if (match(I->getOperand(0), m_Add(m_Value(RHSVal), m_APInt(RHSC)))) {
632 CandidateVal = RHSVal;
  /src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
AArch64ISelLowering.cpp 7093 ConstantSDNode *RHSVal = dyn_cast<ConstantSDNode>(RHS);
7094 if (Opcode == AArch64ISD::CSEL && RHSVal && !RHSVal->isOne() &&
7095 !RHSVal->isNullValue() && !RHSVal->isAllOnesValue()) {
7099 if (CTVal && CTVal == RHSVal && AArch64CC == AArch64CC::EQ)
7101 else if (CFVal && CFVal == RHSVal && AArch64CC == AArch64CC::NE)
7103 } else if (Opcode == AArch64ISD::CSNEG && RHSVal && RHSVal->isOne()) {
7108 if (CTVal == RHSVal && AArch64CC == AArch64CC::EQ)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
SelectionDAGBuilder.cpp 3253 SDValue RHSVal = getValue(I.getOperand(2));
3344 RHSVal = getValue(RHS);
3369 Ops.push_back(SDValue(RHSVal.getNode(), RHSVal.getResNo() + i));

Completed in 137 milliseconds