/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | CheckerContext.cpp | 102 SVal RHSVal, ProgramStateRef State) { 114 SVal Eval = Bldr.evalBinOp(State, ComparisonOp, LHSVal, RHSVal, 101 evalComparison(SVal LHSVal, BinaryOperatorKind ComparisonOp, SVal RHSVal, ProgramStateRef State) argument
|
H A D | ExprEngineC.cpp | 715 SVal RHSVal = N->getState()->getSVal(RHS, Pred->getLocationContext()); local 717 if (RHSVal.isUndef()) { 718 X = RHSVal; 720 // We evaluate "RHSVal != 0" expression which result in 0 if the value is 725 svalBuilder.evalCast(RHSVal, B->getType(), RHS->getType()),
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/ubsan/ |
H A D | ubsan_handlers.cpp | 247 Value RHSVal(Data->Type, RHS); 250 if (RHSVal.isMinusOne()) 292 Value RHSVal(Data->RHSType, RHS); 295 if (RHSVal.isNegative() || 296 RHSVal.getPositiveIntValue() >= Data->LHSType.getIntegerBitWidth()) 307 if (RHSVal.isNegative()) 308 Diag(Loc, DL_Error, ET, "shift exponent %0 is negative") << RHSVal; 312 << RHSVal << Data->LHSType.getIntegerBitWidth() << Data->LHSType; 319 << LHSVal << RHSVal << Data->LHSType;
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombinePHI.cpp | 300 Value *RHSVal = FirstInst->getOperand(1); local 303 Type *RHSType = RHSVal->getType(); 322 if (I->getOperand(1) != RHSVal) RHSVal = nullptr; 329 if (!LHSVal && !RHSVal) 345 if (!RHSVal) { 350 RHSVal = NewRHS; 370 LHSVal, RHSVal); 377 BinaryOperator::Create(BinOp->getOpcode(), LHSVal, RHSVal);
|
H A D | InstCombineAddSub.cpp | 1235 const APInt &RHSVal = CI->getValue(); local 1239 if (XorRHS->getValue() == -RHSVal) { 1240 if (RHSVal.isPowerOf2()) 1241 ExtendAmt = TySizeBits - RHSVal.logBase2() - 1;
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | PointerArithChecker.cpp | 328 SVal RHSVal = C.getSVal(Rhs); local 329 if (State->isNull(RHSVal).isConstrainedTrue())
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/TableGen/ |
H A D | Record.h | 1848 unsigned LHSVal, RHSVal; local 1852 bool RHSFailed = RHSPart.second.getAsInteger(10, RHSVal); (void)RHSFailed; 1855 if (LHSVal != RHSVal) 1856 return LHSVal < RHSVal;
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | JumpThreading.cpp | 718 for (const auto &RHSVal : RHSVals) 719 if (RHSVal.first == InterestingVal || isa<UndefValue>(RHSVal.first)) { 722 if (!LHSKnownBBs.count(RHSVal.second)) 723 Result.emplace_back(InterestingVal, RHSVal.second);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/AsmParser/ |
H A D | PPCAsmParser.cpp | 77 int64_t RHSVal = EvaluateCRExpr(BE->getRHS()); local 80 if (LHSVal < 0 || RHSVal < 0) 85 case MCBinaryExpr::Add: Res = LHSVal + RHSVal; break; 86 case MCBinaryExpr::Mul: Res = LHSVal * RHSVal; break;
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaStmt.cpp | 475 SourceLocation DotDotDotLoc, ExprResult RHSVal, 478 assert((DotDotDotLoc.isInvalid() ? RHSVal.isUnset() 479 : RHSVal.isInvalid() || RHSVal.get()) && 487 if (LHSVal.isInvalid() || RHSVal.isInvalid()) { 492 auto *CS = CaseStmt::Create(Context, LHSVal.get(), RHSVal.get(), 474 ActOnCaseStmt(SourceLocation CaseLoc, ExprResult LHSVal, SourceLocation DotDotDotLoc, ExprResult RHSVal, SourceLocation ColonLoc) argument
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SimplifyCFG.cpp | 500 Value *RHSVal; local 548 m_And(m_Value(RHSVal), m_APInt(RHSC)))) { 552 if (!setValueOnce(RHSVal)) 571 m_Or(m_Value(RHSVal), m_APInt(RHSC)))) { 575 if (!setValueOnce(RHSVal)) 602 if (match(I->getOperand(0), m_Add(m_Value(RHSVal), m_APInt(RHSC)))) { 604 CandidateVal = RHSVal;
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUISelLowering.cpp | 3054 unsigned RHSVal = RHS->getZExtValue(); local 3055 if (!RHSVal) 3069 if (VT == MVT::i32 && RHSVal == 16 && X.getValueType() == MVT::i16 && 3083 if (LZ < RHSVal) 3099 if (RHSVal < 32) 3102 SDValue ShiftAmt = DAG.getConstant(RHSVal - 32, SL, MVT::i32); 3124 unsigned RHSVal = RHS->getZExtValue(); local 3127 if (RHSVal == 32) { 3137 if (RHSVal == 63) {
|
H A D | AMDGPUISelDAGToDAG.cpp | 107 uint32_t LHSVal, RHSVal; local 109 getConstantValue(N->getOperand(1), RHSVal)) { 112 (-LHSVal & 0xffff) | (-RHSVal << 16) : 113 (LHSVal & 0xffff) | (RHSVal << 16);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.cpp | 5416 ConstantSDNode *RHSVal = dyn_cast<ConstantSDNode>(RHS); local 5417 if (Opcode == AArch64ISD::CSEL && RHSVal && !RHSVal->isOne() && 5418 !RHSVal->isNullValue() && !RHSVal->isAllOnesValue()) { 5422 if (CTVal && CTVal == RHSVal && AArch64CC == AArch64CC::EQ) 5424 else if (CFVal && CFVal == RHSVal && AArch64CC == AArch64CC::NE) 5426 } else if (Opcode == AArch64ISD::CSNEG && RHSVal && RHSVal->isOne()) { 5431 if (CTVal == RHSVal 5459 ConstantFPSDNode *RHSVal = dyn_cast<ConstantFPSDNode>(RHS); local [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | ExprConstant.cpp | 11573 const APValue &RHSVal = RHSResult.Val; 11576 if (E->isAdditiveOp() && LHSVal.isLValue() && RHSVal.isInt()) { 11578 addOrSubLValueAsInteger(Result, RHSVal.getInt(), E->getOpcode() == BO_Sub); 11584 RHSVal.isLValue() && LHSVal.isInt()) { 11585 Result = RHSVal; 11590 if (E->getOpcode() == BO_Sub && LHSVal.isLValue() && RHSVal.isLValue()) { 11593 !RHSVal.getLValueOffset().isZero()) 11596 const Expr *RHSExpr = RHSVal.getLValueBase().dyn_cast<const Expr*>(); 11612 if (!LHSVal.isInt() || !RHSVal.isInt()) 11621 RHSVal [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGBuilder.cpp | 3298 SDValue RHSVal = getValue(I.getOperand(2)); local 3383 RHSVal = getValue(RHS); 3405 Ops.push_back(SDValue(RHSVal.getNode(), RHSVal.getResNo() + i));
|