/freebsd-13-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 | 727 SVal RHSVal = N->getState()->getSVal(RHS, Pred->getLocationContext()); local 729 if (RHSVal.isUndef()) { 730 X = RHSVal; 732 // We evaluate "RHSVal != 0" expression which result in 0 if the value is 737 svalBuilder.evalCast(RHSVal, B->getType(), RHS->getType()),
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/ubsan/ |
H A D | 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;
|
/freebsd-13-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 | 1231 const APInt &RHSVal = CI->getValue(); local 1235 if (XorRHS->getValue() == -RHSVal) { 1236 if (RHSVal.isPowerOf2()) 1237 ExtendAmt = TySizeBits - RHSVal.logBase2() - 1;
|
/freebsd-13-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-13-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-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | JumpThreading.cpp | 727 for (const auto &RHSVal : RHSVals) 728 if (RHSVal.first == InterestingVal || isa<UndefValue>(RHSVal.first)) { 731 if (!LHSKnownBBs.count(RHSVal.second)) 732 Result.emplace_back(InterestingVal, RHSVal.second);
|
/freebsd-13-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-13-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaStmt.cpp | 490 SourceLocation DotDotDotLoc, ExprResult RHSVal, 493 assert((DotDotDotLoc.isInvalid() ? RHSVal.isUnset() 494 : RHSVal.isInvalid() || RHSVal.get()) && 502 if (LHSVal.isInvalid() || RHSVal.isInvalid()) { 507 auto *CS = CaseStmt::Create(Context, LHSVal.get(), RHSVal.get(), 489 ActOnCaseStmt(SourceLocation CaseLoc, ExprResult LHSVal, SourceLocation DotDotDotLoc, ExprResult RHSVal, SourceLocation ColonLoc) argument
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SimplifyCFG.cpp | 518 Value *RHSVal; local 566 m_And(m_Value(RHSVal), m_APInt(RHSC)))) { 570 if (!setValueOnce(RHSVal)) 589 m_Or(m_Value(RHSVal), m_APInt(RHSC)))) { 593 if (!setValueOnce(RHSVal)) 620 if (match(I->getOperand(0), m_Add(m_Value(RHSVal), m_APInt(RHSC)))) { 622 CandidateVal = RHSVal;
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUISelLowering.cpp | 3051 unsigned RHSVal = RHS->getZExtValue(); local 3052 if (!RHSVal) 3066 if (VT == MVT::i32 && RHSVal == 16 && X.getValueType() == MVT::i16 && 3080 if (LZ < RHSVal) 3096 if (RHSVal < 32) 3099 SDValue ShiftAmt = DAG.getConstant(RHSVal - 32, SL, MVT::i32); 3121 unsigned RHSVal = RHS->getZExtValue(); local 3124 if (RHSVal == 32) { 3134 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-13-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | ExprConstant.cpp | 11914 const APValue &RHSVal = RHSResult.Val; 11917 if (E->isAdditiveOp() && LHSVal.isLValue() && RHSVal.isInt()) { 11919 addOrSubLValueAsInteger(Result, RHSVal.getInt(), E->getOpcode() == BO_Sub); 11925 RHSVal.isLValue() && LHSVal.isInt()) { 11926 Result = RHSVal; 11931 if (E->getOpcode() == BO_Sub && LHSVal.isLValue() && RHSVal.isLValue()) { 11934 !RHSVal.getLValueOffset().isZero()) 11937 const Expr *RHSExpr = RHSVal.getLValueBase().dyn_cast<const Expr*>(); 11953 if (!LHSVal.isInt() || !RHSVal.isInt()) 11962 RHSVal [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.cpp | 5840 ConstantSDNode *RHSVal = dyn_cast<ConstantSDNode>(RHS); local 5841 if (Opcode == AArch64ISD::CSEL && RHSVal && !RHSVal->isOne() && 5842 !RHSVal->isNullValue() && !RHSVal->isAllOnesValue()) { 5846 if (CTVal && CTVal == RHSVal && AArch64CC == AArch64CC::EQ) 5848 else if (CFVal && CFVal == RHSVal && AArch64CC == AArch64CC::NE) 5850 } else if (Opcode == AArch64ISD::CSNEG && RHSVal && RHSVal->isOne()) { 5855 if (CTVal == RHSVal 5883 ConstantFPSDNode *RHSVal = dyn_cast<ConstantFPSDNode>(RHS); local [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGBuilder.cpp | 3170 SDValue RHSVal = getValue(I.getOperand(2)); local 3255 RHSVal = getValue(RHS); 3277 Ops.push_back(SDValue(RHSVal.getNode(), RHSVal.getResNo() + i));
|