/external/llvm-project/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.compare/ |
D | less_comp.pass.cpp | 33 void do_test(uintptr_t LHSVal, uintptr_t RHSVal) { in do_test() argument 35 const C RHS = C::from_address(reinterpret_cast<void*>(RHSVal)); in do_test() 36 assert((LHS < RHS) == (LHSVal < RHSVal)); in do_test() 37 assert((RHS < LHS) == (RHSVal < LHSVal)); in do_test() 38 assert((LHS > RHS) == (LHSVal > RHSVal)); in do_test() 39 assert((RHS > LHS) == (RHSVal > LHSVal)); in do_test() 40 assert((LHS <= RHS) == (LHSVal <= RHSVal)); in do_test() 41 assert((RHS <= LHS) == (RHSVal <= LHSVal)); in do_test() 42 assert((LHS >= RHS) == (LHSVal >= RHSVal)); in do_test() 43 assert((RHS >= LHS) == (RHSVal >= LHSVal)); in do_test()
|
D | equal_comp.pass.cpp | 31 void do_test(uintptr_t LHSVal, uintptr_t RHSVal) { in do_test() argument 33 const C RHS = C::from_address(reinterpret_cast<void*>(RHSVal)); in do_test() 34 const bool ExpectIsEqual = (LHSVal == RHSVal); in do_test()
|
/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/llvm-project/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.hash/ |
D | hash.pass.cpp | 33 void do_test(uintptr_t LHSVal, uintptr_t RHSVal) { in do_test() argument 35 const size_t ExpectRHS = std::hash<void*>{}(reinterpret_cast<void*>(RHSVal)); in do_test() 37 const C RHS = C::from_address(reinterpret_cast<void*>(RHSVal)); in do_test() 43 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/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-project/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/ |
D | move_convert.single.pass.cpp | 44 void checkDeleter(LHS& lhs, RHS& rhs, int LHSVal, int RHSVal) { in checkDeleter() argument 46 assert(rhs.get_deleter().state() == RHSVal); in checkDeleter() 50 void checkCtor(LHS& lhs, RHS& rhs, A* RHSVal) { in checkCtor() argument 51 assert(lhs.get() == RHSVal); in checkCtor()
|
/external/llvm-project/compiler-rt/lib/ubsan/ |
D | ubsan_handlers.cpp | 290 Value RHSVal(Data->Type, RHS); in handleDivremOverflowImpl() local 293 if (RHSVal.isMinusOne()) in handleDivremOverflowImpl() 335 Value RHSVal(Data->RHSType, RHS); in handleShiftOutOfBoundsImpl() local 338 if (RHSVal.isNegative() || in handleShiftOutOfBoundsImpl() 339 RHSVal.getPositiveIntValue() >= Data->LHSType.getIntegerBitWidth()) in handleShiftOutOfBoundsImpl() 350 if (RHSVal.isNegative()) in handleShiftOutOfBoundsImpl() 351 Diag(Loc, DL_Error, ET, "shift exponent %0 is negative") << RHSVal; in handleShiftOutOfBoundsImpl() 355 << RHSVal << Data->LHSType.getIntegerBitWidth() << Data->LHSType; in handleShiftOutOfBoundsImpl() 362 << LHSVal << RHSVal << Data->LHSType; in handleShiftOutOfBoundsImpl()
|
/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/llvm-project/clang/lib/StaticAnalyzer/Core/ |
D | CheckerContext.cpp | 102 SVal RHSVal, ProgramStateRef State) { in evalComparison() argument 114 SVal Eval = Bldr.evalBinOp(State, ComparisonOp, LHSVal, RHSVal, in evalComparison()
|
D | ExprEngineC.cpp | 729 SVal RHSVal = N->getState()->getSVal(RHS, Pred->getLocationContext()); in VisitLogicalExpr() local 731 if (RHSVal.isUndef()) { in VisitLogicalExpr() 732 X = RHSVal; in VisitLogicalExpr() 739 svalBuilder.evalCast(RHSVal, B->getType(), RHS->getType()), in VisitLogicalExpr()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 300 Value *RHSVal = FirstInst->getOperand(1); in FoldPHIArgBinOpIntoPHI() local 303 Type *RHSType = RHSVal->getType(); in FoldPHIArgBinOpIntoPHI() 322 if (I->getOperand(1) != RHSVal) RHSVal = nullptr; in FoldPHIArgBinOpIntoPHI() 329 if (!LHSVal && !RHSVal) in FoldPHIArgBinOpIntoPHI() 345 if (!RHSVal) { in FoldPHIArgBinOpIntoPHI() 350 RHSVal = NewRHS; in FoldPHIArgBinOpIntoPHI() 370 LHSVal, RHSVal); in FoldPHIArgBinOpIntoPHI() 377 BinaryOperator::Create(BinOp->getOpcode(), LHSVal, RHSVal); in FoldPHIArgBinOpIntoPHI()
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 386 Value *RHSVal = FirstInst->getOperand(1); in foldPHIArgBinOpIntoPHI() local 389 Type *RHSType = RHSVal->getType(); in foldPHIArgBinOpIntoPHI() 408 if (I->getOperand(1) != RHSVal) RHSVal = nullptr; in foldPHIArgBinOpIntoPHI() 415 if (!LHSVal && !RHSVal) in foldPHIArgBinOpIntoPHI() 431 if (!RHSVal) { in foldPHIArgBinOpIntoPHI() 436 RHSVal = NewRHS; in foldPHIArgBinOpIntoPHI() 456 LHSVal, RHSVal); in foldPHIArgBinOpIntoPHI() 463 BinaryOperator::Create(BinOp->getOpcode(), LHSVal, RHSVal); in foldPHIArgBinOpIntoPHI()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | PointerArithChecker.cpp | 328 SVal RHSVal = C.getSVal(Rhs); in checkPreStmt() local 329 if (State->isNull(RHSVal).isConstrainedTrue()) in checkPreStmt()
|
/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/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/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-10.0/llvm/lib/Transforms/Scalar/ |
D | JumpThreading.cpp | 718 for (const auto &RHSVal : RHSVals) in ComputeValueKnownInPredecessorsImpl() local 719 if (RHSVal.first == InterestingVal || isa<UndefValue>(RHSVal.first)) { in ComputeValueKnownInPredecessorsImpl() 722 if (!LHSKnownBBs.count(RHSVal.second)) in ComputeValueKnownInPredecessorsImpl() 723 Result.emplace_back(InterestingVal, RHSVal.second); in ComputeValueKnownInPredecessorsImpl()
|
/external/llvm-project/llvm/include/llvm/TableGen/ |
D | Record.h | 1907 unsigned LHSVal, RHSVal; in operator() local 1911 bool RHSFailed = RHSPart.second.getAsInteger(10, RHSVal); (void)RHSFailed; in operator() 1914 if (LHSVal != RHSVal) in operator() 1915 return LHSVal < RHSVal; in operator()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/TableGen/ |
D | Record.h | 1848 unsigned LHSVal, RHSVal; in operator() local 1852 bool RHSFailed = RHSPart.second.getAsInteger(10, RHSVal); (void)RHSFailed; in operator() 1855 if (LHSVal != RHSVal) in operator() 1856 return LHSVal < RHSVal; in operator()
|