/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | APSInt.h | 36 APSInt &operator=(const APSInt &RHS) { 37 APInt::operator=(RHS); 38 IsUnsigned = RHS.IsUnsigned; 42 APSInt &operator=(const APInt &RHS) { 44 APInt::operator=(RHS); 48 APSInt &operator=(uint64_t RHS) { 50 APInt::operator=(RHS); 89 const APSInt &operator%=(const APSInt &RHS) { 90 assert(IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!"); 92 *this = urem(RHS); [all …]
|
D | APInt.h | 174 const APInt &RHS, unsigned rhsWords, 190 APInt AndSlowCase(const APInt& RHS) const; 193 APInt OrSlowCase(const APInt& RHS) const; 196 APInt XorSlowCase(const APInt& RHS) const; 199 APInt& AssignSlowCase(const APInt& RHS); 202 bool EqualSlowCase(const APInt& RHS) const; 572 APInt& operator=(const APInt& RHS) { 574 if (isSingleWord() && RHS.isSingleWord()) { 575 VAL = RHS.VAL; 576 BitWidth = RHS.BitWidth; [all …]
|
/external/llvm/include/llvm/ADT/ |
D | APSInt.h | 46 APSInt &operator=(APInt RHS) { 48 APInt::operator=(std::move(RHS)); 52 APSInt &operator=(uint64_t RHS) { 54 APInt::operator=(RHS); 99 const APSInt &operator%=(const APSInt &RHS) { 100 assert(IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!"); 102 *this = urem(RHS); 104 *this = srem(RHS); 107 const APSInt &operator/=(const APSInt &RHS) { 108 assert(IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!"); [all …]
|
D | APInt.h | 180 static void divide(const APInt &LHS, unsigned lhsWords, const APInt &RHS, 196 APInt AndSlowCase(const APInt &RHS) const; 199 APInt OrSlowCase(const APInt &RHS) const; 202 APInt XorSlowCase(const APInt &RHS) const; 205 APInt &AssignSlowCase(const APInt &RHS); 208 bool EqualSlowCase(const APInt &RHS) const; 657 APInt &operator=(const APInt &RHS) { 659 if (isSingleWord() && RHS.isSingleWord()) { 660 VAL = RHS.VAL; 661 BitWidth = RHS.BitWidth; [all …]
|
D | SmallBitVector.h | 152 SmallBitVector(const SmallBitVector &RHS) { in SmallBitVector() argument 153 if (RHS.isSmall()) in SmallBitVector() 154 X = RHS.X; in SmallBitVector() 156 switchToLarge(new BitVector(*RHS.getPointer())); in SmallBitVector() 159 SmallBitVector(SmallBitVector &&RHS) : X(RHS.X) { in SmallBitVector() argument 160 RHS.X = 1; in SmallBitVector() 380 bool anyCommon(const SmallBitVector &RHS) const { in anyCommon() argument 381 if (isSmall() && RHS.isSmall()) in anyCommon() 382 return (getSmallBits() & RHS.getSmallBits()) != 0; in anyCommon() 383 if (!isSmall() && !RHS.isSmall()) in anyCommon() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | SmallPtrSet.cpp | 145 void SmallPtrSetImplBase::CopyFrom(const SmallPtrSetImplBase &RHS) { in CopyFrom() argument 146 assert(&RHS != this && "Self-copy should be handled by the caller."); in CopyFrom() 148 if (isSmall() && RHS.isSmall()) in CopyFrom() 149 assert(CurArraySize == RHS.CurArraySize && in CopyFrom() 153 if (RHS.isSmall()) { in CopyFrom() 158 } else if (CurArraySize != RHS.CurArraySize) { in CopyFrom() 160 CurArray = (const void**)safe_malloc(sizeof(void*) * RHS.CurArraySize); in CopyFrom() 163 sizeof(void*) * RHS.CurArraySize); in CopyFrom() 168 CopyHelper(RHS); in CopyFrom() 171 void SmallPtrSetImplBase::CopyHelper(const SmallPtrSetImplBase &RHS) { in CopyHelper() argument [all …]
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | SmallPtrSet.cpp | 167 void SmallPtrSetImplBase::CopyFrom(const SmallPtrSetImplBase &RHS) { in CopyFrom() argument 168 assert(&RHS != this && "Self-copy should be handled by the caller."); in CopyFrom() 170 if (isSmall() && RHS.isSmall()) in CopyFrom() 171 assert(CurArraySize == RHS.CurArraySize && in CopyFrom() 175 if (RHS.isSmall()) { in CopyFrom() 180 } else if (CurArraySize != RHS.CurArraySize) { in CopyFrom() 182 CurArray = (const void**)malloc(sizeof(void*) * RHS.CurArraySize); in CopyFrom() 185 sizeof(void*) * RHS.CurArraySize); in CopyFrom() 193 CopyHelper(RHS); in CopyFrom() 196 void SmallPtrSetImplBase::CopyHelper(const SmallPtrSetImplBase &RHS) { in CopyHelper() argument [all …]
|
/external/llvm/lib/Support/ |
D | SmallPtrSet.cpp | 166 void SmallPtrSetImplBase::CopyFrom(const SmallPtrSetImplBase &RHS) { in CopyFrom() argument 167 assert(&RHS != this && "Self-copy should be handled by the caller."); in CopyFrom() 169 if (isSmall() && RHS.isSmall()) in CopyFrom() 170 assert(CurArraySize == RHS.CurArraySize && in CopyFrom() 174 if (RHS.isSmall()) { in CopyFrom() 179 } else if (CurArraySize != RHS.CurArraySize) { in CopyFrom() 181 CurArray = (const void**)malloc(sizeof(void*) * RHS.CurArraySize); in CopyFrom() 184 sizeof(void*) * RHS.CurArraySize); in CopyFrom() 192 CopyHelper(RHS); in CopyFrom() 195 void SmallPtrSetImplBase::CopyHelper(const SmallPtrSetImplBase &RHS) { in CopyHelper() argument [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | APSInt.h | 46 APSInt &operator=(APInt RHS) { 48 APInt::operator=(std::move(RHS)); 52 APSInt &operator=(uint64_t RHS) { 54 APInt::operator=(RHS); 99 const APSInt &operator%=(const APSInt &RHS) { 100 assert(IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!"); 102 *this = urem(RHS); 104 *this = srem(RHS); 107 const APSInt &operator/=(const APSInt &RHS) { 108 assert(IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!"); [all …]
|
D | APInt.h | 192 const WordType *RHS, unsigned rhsWords, WordType *Quotient, 214 void AssignSlowCase(const APInt &RHS); 217 bool EqualSlowCase(const APInt &RHS) const LLVM_READONLY; 235 bool intersectsSlowCase(const APInt &RHS) const LLVM_READONLY; 238 bool isSubsetOfSlowCase(const APInt &RHS) const LLVM_READONLY; 247 void AndAssignSlowCase(const APInt& RHS); 250 void OrAssignSlowCase(const APInt& RHS); 253 void XorAssignSlowCase(const APInt& RHS); 257 int compare(const APInt &RHS) const LLVM_READONLY; 261 int compareSigned(const APInt &RHS) const LLVM_READONLY; [all …]
|
D | SmallBitVector.h | 158 SmallBitVector(const SmallBitVector &RHS) { in SmallBitVector() argument 159 if (RHS.isSmall()) in SmallBitVector() 160 X = RHS.X; in SmallBitVector() 162 switchToLarge(new BitVector(*RHS.getPointer())); in SmallBitVector() 165 SmallBitVector(SmallBitVector &&RHS) : X(RHS.X) { in SmallBitVector() argument 166 RHS.X = 1; in SmallBitVector() 469 bool anyCommon(const SmallBitVector &RHS) const { in anyCommon() argument 470 if (isSmall() && RHS.isSmall()) in anyCommon() 471 return (getSmallBits() & RHS.getSmallBits()) != 0; in anyCommon() 472 if (!isSmall() && !RHS.isSmall()) in anyCommon() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | AliasAnalysisSummary.h | 117 inline bool operator==(InterfaceValue LHS, InterfaceValue RHS) { 118 return LHS.Index == RHS.Index && LHS.DerefLevel == RHS.DerefLevel; 120 inline bool operator!=(InterfaceValue LHS, InterfaceValue RHS) { 121 return !(LHS == RHS); 123 inline bool operator<(InterfaceValue LHS, InterfaceValue RHS) { 124 return LHS.Index < RHS.Index || 125 (LHS.Index == RHS.Index && LHS.DerefLevel < RHS.DerefLevel); 127 inline bool operator>(InterfaceValue LHS, InterfaceValue RHS) { 128 return RHS < LHS; 130 inline bool operator<=(InterfaceValue LHS, InterfaceValue RHS) { [all …]
|
/external/llvm/lib/IR/ |
D | LLVMContextImpl.h | 64 static bool isEqual(const APInt &LHS, const APInt &RHS) { in isEqual() 65 return LHS.getBitWidth() == RHS.getBitWidth() && LHS == RHS; in isEqual() 75 static bool isEqual(const APFloat &LHS, const APFloat &RHS) { in isEqual() 76 return LHS.bitwiseIsEqual(RHS); in isEqual() 113 static bool isEqual(const KeyTy& LHS, const StructType *RHS) { in isEqual() 114 if (RHS == getEmptyKey() || RHS == getTombstoneKey()) in isEqual() 116 return LHS == KeyTy(RHS); in isEqual() 118 static bool isEqual(const StructType *LHS, const StructType *RHS) { in isEqual() 119 return LHS == RHS; in isEqual() 161 static bool isEqual(const KeyTy& LHS, const FunctionType *RHS) { in isEqual() [all …]
|
/external/libcxx/test/std/utilities/any/any.class/any.assign/ |
D | value.pass.cpp | 37 template <class LHS, class RHS> 40 assert(RHS::count == 0); in test_assign_value() 42 RHS::reset(); in test_assign_value() 45 any const rhs(RHS(2)); in test_assign_value() 48 assert(RHS::count == 1); in test_assign_value() 49 assert(RHS::copied == 0); in test_assign_value() 53 assert(RHS::copied == 1); in test_assign_value() 55 assert(RHS::count == 2); in test_assign_value() 57 assertContains<RHS>(lhs, 2); in test_assign_value() 58 assertContains<RHS>(rhs, 2); in test_assign_value() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | LLVMContextImpl.h | 79 static bool isEqual(const APInt &LHS, const APInt &RHS) { in isEqual() 80 return LHS.getBitWidth() == RHS.getBitWidth() && LHS == RHS; in isEqual() 92 static bool isEqual(const APFloat &LHS, const APFloat &RHS) { in isEqual() 93 return LHS.bitwiseIsEqual(RHS); in isEqual() 138 static bool isEqual(const KeyTy& LHS, const StructType *RHS) { in isEqual() 139 if (RHS == getEmptyKey() || RHS == getTombstoneKey()) in isEqual() 141 return LHS == KeyTy(RHS); in isEqual() 144 static bool isEqual(const StructType *LHS, const StructType *RHS) { in isEqual() 145 return LHS == RHS; in isEqual() 194 static bool isEqual(const KeyTy& LHS, const FunctionType *RHS) { in isEqual() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | NoFolder.h | 40 Instruction *CreateAdd(Constant *LHS, Constant *RHS, 42 BinaryOperator *BO = BinaryOperator::CreateAdd(LHS, RHS); 47 Instruction *CreateNSWAdd(Constant *LHS, Constant *RHS) const { in CreateNSWAdd() argument 48 return BinaryOperator::CreateNSWAdd(LHS, RHS); in CreateNSWAdd() 50 Instruction *CreateNUWAdd(Constant *LHS, Constant *RHS) const { in CreateNUWAdd() argument 51 return BinaryOperator::CreateNUWAdd(LHS, RHS); in CreateNUWAdd() 53 Instruction *CreateFAdd(Constant *LHS, Constant *RHS) const { in CreateFAdd() argument 54 return BinaryOperator::CreateFAdd(LHS, RHS); in CreateFAdd() 56 Instruction *CreateSub(Constant *LHS, Constant *RHS, 58 BinaryOperator *BO = BinaryOperator::CreateSub(LHS, RHS); [all …]
|
D | PatternMatch.h | 275 BinaryOp_match(const LHS_t &LHS, const RHS_t &RHS) : L(LHS), R(RHS) {} in BinaryOp_match() 290 template<typename LHS, typename RHS> 291 inline BinaryOp_match<LHS, RHS, Instruction::Add> 292 m_Add(const LHS &L, const RHS &R) { in m_Add() 293 return BinaryOp_match<LHS, RHS, Instruction::Add>(L, R); in m_Add() 296 template<typename LHS, typename RHS> 297 inline BinaryOp_match<LHS, RHS, Instruction::FAdd> 298 m_FAdd(const LHS &L, const RHS &R) { in m_FAdd() 299 return BinaryOp_match<LHS, RHS, Instruction::FAdd>(L, R); in m_FAdd() 302 template<typename LHS, typename RHS> [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | BranchProbability.h | 92 BranchProbability &operator+=(BranchProbability RHS) { 93 assert(N != UnknownN && RHS.N != UnknownN && 96 N = (uint64_t(N) + RHS.N > D) ? D : N + RHS.N; 100 BranchProbability &operator-=(BranchProbability RHS) { 101 assert(N != UnknownN && RHS.N != UnknownN && 104 N = N < RHS.N ? 0 : N - RHS.N; 108 BranchProbability &operator*=(BranchProbability RHS) { 109 assert(N != UnknownN && RHS.N != UnknownN && 111 N = (static_cast<uint64_t>(N) * RHS.N + D / 2) / D; 115 BranchProbability &operator*=(uint32_t RHS) { [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | NoFolder.h | 42 Instruction *CreateAdd(Constant *LHS, Constant *RHS, 44 BinaryOperator *BO = BinaryOperator::CreateAdd(LHS, RHS); 50 Instruction *CreateNSWAdd(Constant *LHS, Constant *RHS) const { in CreateNSWAdd() argument 51 return BinaryOperator::CreateNSWAdd(LHS, RHS); in CreateNSWAdd() 54 Instruction *CreateNUWAdd(Constant *LHS, Constant *RHS) const { in CreateNUWAdd() argument 55 return BinaryOperator::CreateNUWAdd(LHS, RHS); in CreateNUWAdd() 58 Instruction *CreateFAdd(Constant *LHS, Constant *RHS) const { in CreateFAdd() argument 59 return BinaryOperator::CreateFAdd(LHS, RHS); in CreateFAdd() 62 Instruction *CreateSub(Constant *LHS, Constant *RHS, 64 BinaryOperator *BO = BinaryOperator::CreateSub(LHS, RHS); [all …]
|
D | PatternMatch.h | 592 AnyBinaryOp_match(const LHS_t &LHS, const RHS_t &RHS) : L(LHS), R(RHS) {} in AnyBinaryOp_match() 603 template <typename LHS, typename RHS> 604 inline AnyBinaryOp_match<LHS, RHS> m_BinOp(const LHS &L, const RHS &R) { in m_BinOp() 605 return AnyBinaryOp_match<LHS, RHS>(L, R); in m_BinOp() 620 BinaryOp_match(const LHS_t &LHS, const RHS_t &RHS) : L(LHS), R(RHS) {} in BinaryOp_match() 638 template <typename LHS, typename RHS> 639 inline BinaryOp_match<LHS, RHS, Instruction::Add> m_Add(const LHS &L, in m_Add() 640 const RHS &R) { in m_Add() 641 return BinaryOp_match<LHS, RHS, Instruction::Add>(L, R); in m_Add() 644 template <typename LHS, typename RHS> [all …]
|
/external/llvm/include/llvm/IR/ |
D | NoFolder.h | 40 Instruction *CreateAdd(Constant *LHS, Constant *RHS, 42 BinaryOperator *BO = BinaryOperator::CreateAdd(LHS, RHS); 47 Instruction *CreateNSWAdd(Constant *LHS, Constant *RHS) const { in CreateNSWAdd() argument 48 return BinaryOperator::CreateNSWAdd(LHS, RHS); in CreateNSWAdd() 50 Instruction *CreateNUWAdd(Constant *LHS, Constant *RHS) const { in CreateNUWAdd() argument 51 return BinaryOperator::CreateNUWAdd(LHS, RHS); in CreateNUWAdd() 53 Instruction *CreateFAdd(Constant *LHS, Constant *RHS) const { in CreateFAdd() argument 54 return BinaryOperator::CreateFAdd(LHS, RHS); in CreateFAdd() 56 Instruction *CreateSub(Constant *LHS, Constant *RHS, 58 BinaryOperator *BO = BinaryOperator::CreateSub(LHS, RHS); [all …]
|
D | PatternMatch.h | 396 AnyBinaryOp_match(const LHS_t &LHS, const RHS_t &RHS) : L(LHS), R(RHS) {} in AnyBinaryOp_match() 405 template <typename LHS, typename RHS> 406 inline AnyBinaryOp_match<LHS, RHS> m_BinOp(const LHS &L, const RHS &R) { in m_BinOp() 407 return AnyBinaryOp_match<LHS, RHS>(L, R); in m_BinOp() 419 BinaryOp_match(const LHS_t &LHS, const RHS_t &RHS) : L(LHS), R(RHS) {} in BinaryOp_match() 433 template <typename LHS, typename RHS> 434 inline BinaryOp_match<LHS, RHS, Instruction::Add> m_Add(const LHS &L, in m_Add() 435 const RHS &R) { in m_Add() 436 return BinaryOp_match<LHS, RHS, Instruction::Add>(L, R); in m_Add() 439 template <typename LHS, typename RHS> [all …]
|
/external/llvm/include/llvm/Support/ |
D | BranchProbability.h | 92 BranchProbability &operator+=(BranchProbability RHS) { 93 assert(N != UnknownN && RHS.N != UnknownN && 96 N = (uint64_t(N) + RHS.N > D) ? D : N + RHS.N; 100 BranchProbability &operator-=(BranchProbability RHS) { 101 assert(N != UnknownN && RHS.N != UnknownN && 104 N = N < RHS.N ? 0 : N - RHS.N; 108 BranchProbability &operator*=(BranchProbability RHS) { 109 assert(N != UnknownN && RHS.N != UnknownN && 111 N = (static_cast<uint64_t>(N) * RHS.N + D / 2) / D; 115 BranchProbability &operator/=(uint32_t RHS) { [all …]
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | APInt.h | 184 static void divide(const APInt &LHS, unsigned lhsWords, const APInt &RHS, 200 APInt AndSlowCase(const APInt &RHS) const; 203 APInt OrSlowCase(const APInt &RHS) const; 206 APInt XorSlowCase(const APInt &RHS) const; 209 APInt &AssignSlowCase(const APInt &RHS); 212 bool EqualSlowCase(const APInt &RHS) const; 649 APInt &operator=(const APInt &RHS) { 651 if (isSingleWord() && RHS.isSingleWord()) { 652 VAL = RHS.VAL; 653 BitWidth = RHS.BitWidth; [all …]
|
/external/clang/include/clang/Basic/ |
D | ABI.h | 80 bool Less(const VirtualAdjustment &RHS) const { in Less() argument 81 return memcmp(this, &RHS, sizeof(RHS)) < 0; in Less() 90 const ReturnAdjustment &RHS) { 91 return LHS.NonVirtual == RHS.NonVirtual && LHS.Virtual.Equals(RHS.Virtual); 94 friend bool operator!=(const ReturnAdjustment &LHS, const ReturnAdjustment &RHS) { 95 return !(LHS == RHS); 99 const ReturnAdjustment &RHS) { 100 if (LHS.NonVirtual < RHS.NonVirtual) 103 return LHS.NonVirtual == RHS.NonVirtual && LHS.Virtual.Less(RHS.Virtual); 148 bool Less(const VirtualAdjustment &RHS) const { in Less() argument [all …]
|