/external/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.compare/ |
D | less_comp.pass.cpp | 34 void do_test(uintptr_t LHSVal, uintptr_t RHSVal) { in do_test() argument 36 const C RHS = C::from_address(reinterpret_cast<void*>(RHSVal)); in do_test() 37 assert((LHS < RHS) == (LHSVal < RHSVal)); in do_test() 38 assert((RHS < LHS) == (RHSVal < LHSVal)); in do_test() 39 assert((LHS > RHS) == (LHSVal > RHSVal)); in do_test() 40 assert((RHS > LHS) == (RHSVal > LHSVal)); in do_test() 41 assert((LHS <= RHS) == (LHSVal <= RHSVal)); in do_test() 42 assert((RHS <= LHS) == (RHSVal <= LHSVal)); in do_test() 43 assert((LHS >= RHS) == (LHSVal >= RHSVal)); in do_test() 44 assert((RHS >= LHS) == (RHSVal >= LHSVal)); in do_test()
|
D | equal_comp.pass.cpp | 32 void do_test(uintptr_t LHSVal, uintptr_t RHSVal) { in do_test() argument 34 const C RHS = C::from_address(reinterpret_cast<void*>(RHSVal)); in do_test() 35 const bool ExpectIsEqual = (LHSVal == RHSVal); in do_test()
|
/external/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.hash/ |
D | hash.pass.cpp | 34 void do_test(uintptr_t LHSVal, uintptr_t RHSVal) { in do_test() argument 36 const size_t ExpectRHS = std::hash<void*>{}(reinterpret_cast<void*>(RHSVal)); in do_test() 38 const C RHS = C::from_address(reinterpret_cast<void*>(RHSVal)); in do_test() 44 assert((h(LHS) == h(RHS)) == (LHSVal == RHSVal)); in do_test()
|
/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/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 29 Value *RHSVal = FirstInst->getOperand(1); in FoldPHIArgBinOpIntoPHI() local 32 Type *RHSType = RHSVal->getType(); in FoldPHIArgBinOpIntoPHI() 67 if (I->getOperand(1) != RHSVal) RHSVal = 0; in FoldPHIArgBinOpIntoPHI() 74 if (!LHSVal && !RHSVal) in FoldPHIArgBinOpIntoPHI() 90 if (RHSVal == 0) { in FoldPHIArgBinOpIntoPHI() 95 RHSVal = NewRHS; in FoldPHIArgBinOpIntoPHI() 115 LHSVal, RHSVal); in FoldPHIArgBinOpIntoPHI() 122 BinaryOperator::Create(BinOp->getOpcode(), LHSVal, RHSVal); in FoldPHIArgBinOpIntoPHI()
|
D | InstCombineSimplifyDemanded.cpp | 527 const APInt &RHSVal = RHS->getValue(); in SimplifyDemandedUseBits() local 528 APInt CarryBits((~LHSKnownZero + RHSVal) ^ (~LHSKnownZero ^ RHSVal)); in SimplifyDemandedUseBits() 534 KnownOne = ((LHSKnownZero & RHSVal) | in SimplifyDemandedUseBits() 535 (LHSKnownOne & ~RHSVal)) & ~CarryBits; in SimplifyDemandedUseBits() 539 KnownZero = LHSKnownZero & ~RHSVal & ~CarryBits; in SimplifyDemandedUseBits()
|
D | InstCombineAddSub.cpp | 117 const APInt &RHSVal = CI->getValue(); in visitAdd() local 121 if (XorRHS->getValue() == -RHSVal) { in visitAdd() 122 if (RHSVal.isPowerOf2()) in visitAdd() 123 ExtendAmt = TySizeBits - RHSVal.logBase2() - 1; in visitAdd()
|
/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/ |
D | move_convert.single.pass.cpp | 45 void checkDeleter(LHS& lhs, RHS& rhs, int LHSVal, int RHSVal) { in checkDeleter() argument 47 assert(rhs.get_deleter().state() == RHSVal); in checkDeleter() 51 void checkCtor(LHS& lhs, RHS& rhs, A* RHSVal) { in checkCtor() argument 52 assert(lhs.get() == RHSVal); in checkCtor()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 33 Value *RHSVal = FirstInst->getOperand(1); in FoldPHIArgBinOpIntoPHI() local 36 Type *RHSType = RHSVal->getType(); in FoldPHIArgBinOpIntoPHI() 55 if (I->getOperand(1) != RHSVal) RHSVal = nullptr; in FoldPHIArgBinOpIntoPHI() 62 if (!LHSVal && !RHSVal) in FoldPHIArgBinOpIntoPHI() 78 if (!RHSVal) { in FoldPHIArgBinOpIntoPHI() 83 RHSVal = NewRHS; in FoldPHIArgBinOpIntoPHI() 103 LHSVal, RHSVal); in FoldPHIArgBinOpIntoPHI() 110 BinaryOperator::Create(BinOp->getOpcode(), LHSVal, RHSVal); in FoldPHIArgBinOpIntoPHI()
|
D | InstCombineAddSub.cpp | 1064 const APInt &RHSVal = CI->getValue(); in visitAdd() local 1068 if (XorRHS->getValue() == -RHSVal) { in visitAdd() 1069 if (RHSVal.isPowerOf2()) in visitAdd() 1070 ExtendAmt = TySizeBits - RHSVal.logBase2() - 1; in visitAdd()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 289 Value *RHSVal = FirstInst->getOperand(1); in FoldPHIArgBinOpIntoPHI() local 292 Type *RHSType = RHSVal->getType(); in FoldPHIArgBinOpIntoPHI() 311 if (I->getOperand(1) != RHSVal) RHSVal = nullptr; in FoldPHIArgBinOpIntoPHI() 318 if (!LHSVal && !RHSVal) in FoldPHIArgBinOpIntoPHI() 334 if (!RHSVal) { in FoldPHIArgBinOpIntoPHI() 339 RHSVal = NewRHS; in FoldPHIArgBinOpIntoPHI() 359 LHSVal, RHSVal); in FoldPHIArgBinOpIntoPHI() 366 BinaryOperator::Create(BinOp->getOpcode(), LHSVal, RHSVal); in FoldPHIArgBinOpIntoPHI()
|
D | InstCombineAddSub.cpp | 1156 const APInt &RHSVal = CI->getValue(); in visitAdd() local 1160 if (XorRHS->getValue() == -RHSVal) { in visitAdd() 1161 if (RHSVal.isPowerOf2()) in visitAdd() 1162 ExtendAmt = TySizeBits - RHSVal.logBase2() - 1; in visitAdd()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngineC.cpp | 594 SVal RHSVal = N->getState()->getSVal(RHS, Pred->getLocationContext()); in VisitLogicalExpr() local 596 if (RHSVal.isUndef()) { in VisitLogicalExpr() 597 X = RHSVal; in VisitLogicalExpr() 599 DefinedOrUnknownSVal DefinedRHS = RHSVal.castAs<DefinedOrUnknownSVal>(); in VisitLogicalExpr() 606 X = getSValBuilder().evalCast(RHSVal, B->getType(), RHS->getType()); in VisitLogicalExpr()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | PointerArithChecker.cpp | 328 SVal RHSVal = State->getSVal(Rhs, C.getLocationContext()); in checkPreStmt() local 329 if (State->isNull(RHSVal).isConstrainedTrue()) in checkPreStmt()
|
/external/llvm/lib/Transforms/Scalar/ |
D | JumpThreading.cpp | 495 for (const auto &RHSVal : RHSVals) in ComputeValueKnownInPredecessors() local 496 if (RHSVal.first == InterestingVal || isa<UndefValue>(RHSVal.first)) { in ComputeValueKnownInPredecessors() 499 if (!LHSKnownBBs.count(RHSVal.second)) in ComputeValueKnownInPredecessors() 500 Result.emplace_back(InterestingVal, RHSVal.second); in ComputeValueKnownInPredecessors()
|
/external/llvm/include/llvm/TableGen/ |
D | Record.h | 1646 unsigned LHSVal, RHSVal; in operator() local 1650 bool RHSFailed = RHSPart.second.getAsInteger(10, RHSVal); (void)RHSFailed; in operator() 1653 if (LHSVal != RHSVal) in operator() 1654 return LHSVal < RHSVal; in operator()
|
/external/clang/lib/Sema/ |
D | SemaStmt.cpp | 377 SourceLocation DotDotDotLoc, Expr *RHSVal, in ActOnCaseStmt() argument 414 if (RHSVal && !RHSVal->isTypeDependent() && !RHSVal->isValueDependent()) { in ActOnCaseStmt() 415 RHSVal = VerifyIntegerConstantExpression(RHSVal).get(); in ActOnCaseStmt() 425 auto RHS = RHSVal ? ActOnFinishFullExpr(RHSVal, RHSVal->getExprLoc(), false, in ActOnCaseStmt()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/TableGen/ |
D | Record.h | 1752 unsigned LHSVal, RHSVal; in operator() local 1756 bool RHSFailed = RHSPart.second.getAsInteger(10, RHSVal); (void)RHSFailed; in operator() 1759 if (LHSVal != RHSVal) in operator() 1760 return LHSVal < RHSVal; in operator()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | JumpThreading.cpp | 698 for (const auto &RHSVal : RHSVals) in ComputeValueKnownInPredecessors() local 699 if (RHSVal.first == InterestingVal || isa<UndefValue>(RHSVal.first)) { in ComputeValueKnownInPredecessors() 702 if (!LHSKnownBBs.count(RHSVal.second)) in ComputeValueKnownInPredecessors() 703 Result.emplace_back(InterestingVal, RHSVal.second); in ComputeValueKnownInPredecessors()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/AsmParser/ |
D | PPCAsmParser.cpp | 240 int64_t RHSVal = EvaluateCRExpr(BE->getRHS()); in EvaluateCRExpr() local 243 if (LHSVal < 0 || RHSVal < 0) in EvaluateCRExpr() 248 case MCBinaryExpr::Add: Res = LHSVal + RHSVal; break; in EvaluateCRExpr() 249 case MCBinaryExpr::Mul: Res = LHSVal * RHSVal; break; in EvaluateCRExpr()
|
/external/llvm/lib/Target/PowerPC/AsmParser/ |
D | PPCAsmParser.cpp | 220 int64_t RHSVal = EvaluateCRExpr(BE->getRHS()); in EvaluateCRExpr() local 223 if (LHSVal < 0 || RHSVal < 0) in EvaluateCRExpr() 228 case MCBinaryExpr::Add: Res = LHSVal + RHSVal; break; in EvaluateCRExpr() 229 case MCBinaryExpr::Mul: Res = LHSVal * RHSVal; break; in EvaluateCRExpr()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelLowering.cpp | 2896 unsigned RHSVal = RHS->getZExtValue(); in performShlCombine() local 2897 if (!RHSVal) in performShlCombine() 2911 if (VT == MVT::i32 && RHSVal == 16 && X.getValueType() == MVT::i16 && in performShlCombine() 2926 if (LZ < RHSVal) in performShlCombine() 2942 if (RHSVal < 32) in performShlCombine() 2945 SDValue ShiftAmt = DAG.getConstant(RHSVal - 32, SL, MVT::i32); in performShlCombine() 2967 unsigned RHSVal = RHS->getZExtValue(); in performSraCombine() local 2970 if (RHSVal == 32) { in performSraCombine() 2980 if (RHSVal == 63) { in performSraCombine()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 485 Value *RHSVal; in matchInstruction() local 533 m_And(m_Value(RHSVal), m_APInt(RHSC)))) { in matchInstruction() 537 if (!setValueOnce(RHSVal)) in matchInstruction() 556 m_Or(m_Value(RHSVal), m_APInt(RHSC)))) { in matchInstruction() 560 if (!setValueOnce(RHSVal)) in matchInstruction() 587 if (match(I->getOperand(0), m_Add(m_Value(RHSVal), m_APInt(RHSC)))) { in matchInstruction() 589 CandidateVal = RHSVal; in matchInstruction()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 444 Value *RHSVal; in matchInstruction() local 493 m_And(m_Value(RHSVal), m_APInt(RHSC)))) { in matchInstruction() 497 if (!setValueOnce(RHSVal)) in matchInstruction() 516 m_Or(m_Value(RHSVal), m_APInt(RHSC)))) { in matchInstruction() 520 if (!setValueOnce(RHSVal)) in matchInstruction() 547 if (match(I->getOperand(0), m_Add(m_Value(RHSVal), m_APInt(RHSC)))) { in matchInstruction() 549 CandidateVal = RHSVal; in matchInstruction()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelLowering.cpp | 2346 unsigned RHSVal = RHS->getZExtValue(); in performShlCombine() local 2347 if (RHSVal < 32) in performShlCombine() 2355 SDValue ShiftAmt = DAG.getConstant(RHSVal - 32, SL, MVT::i32); in performShlCombine() 2377 unsigned RHSVal = RHS->getZExtValue(); in performSraCombine() local 2380 if (RHSVal == 32) { in performSraCombine() 2390 if (RHSVal == 63) { in performSraCombine()
|