/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | SmallPtrSet.cpp | 144 void SmallPtrSetImplBase::CopyFrom(const SmallPtrSetImplBase &RHS) { 145 assert(&RHS != this && "Self-copy should be handled by the caller."); 147 if (isSmall() && RHS.isSmall()) 148 assert(CurArraySize == RHS.CurArraySize && 152 if (RHS.isSmall()) { 157 } else if (CurArraySize != RHS.CurArraySize) { 159 CurArray = (const void**)safe_malloc(sizeof(void*) * RHS.CurArraySize); 162 sizeof(void*) * RHS.CurArraySize); 167 CopyHelper(RHS); 170 void SmallPtrSetImplBase::CopyHelper(const SmallPtrSetImplBase &RHS) { [all...] |
H A D | APInt.cpp | 143 void APInt::AssignSlowCase(const APInt& RHS) { in AssignSlowCase() argument 145 if (this == &RHS) in AssignSlowCase() 149 reallocate(RHS.getBitWidth()); in AssignSlowCase() 153 U.VAL = RHS.U.VAL; in AssignSlowCase() 155 memcpy(U.pVal, RHS.U.pVal, getNumWords() * APINT_WORD_SIZE); in AssignSlowCase() 190 /// Adds the RHS APInt to this APInt. 191 /// @returns this, after addition of RHS. 193 APInt& APInt::operator+=(const APInt& RHS) { in operator +=() argument 194 assert(BitWidth == RHS.BitWidth && "Bit widths must be the same"); in operator +=() 196 U.VAL += RHS in operator +=() 202 operator +=(uint64_t RHS) operator +=() argument 213 operator -=(const APInt& RHS) operator -=() argument 222 operator -=(uint64_t RHS) operator -=() argument 243 AndAssignSlowCase(const APInt& RHS) AndAssignSlowCase() argument 247 OrAssignSlowCase(const APInt& RHS) OrAssignSlowCase() argument 251 XorAssignSlowCase(const APInt& RHS) XorAssignSlowCase() argument 255 operator *=(const APInt& RHS) operator *=() argument 261 operator *=(uint64_t RHS) operator *=() argument [all...] |
H A D | KnownBits.cpp | 19 const KnownBits &LHS, const KnownBits &RHS, in computeForAddCarry() 24 APInt PossibleSumZero = LHS.getMaxValue() + RHS.getMaxValue() + !CarryZero; in computeForAddCarry() 25 APInt PossibleSumOne = LHS.getMinValue() + RHS.getMinValue() + CarryOne; in computeForAddCarry() 28 APInt CarryKnownZero = ~(PossibleSumZero ^ LHS.Zero ^ RHS.Zero); in computeForAddCarry() 29 APInt CarryKnownOne = PossibleSumOne ^ LHS.One ^ RHS.One; in computeForAddCarry() 33 APInt RHSKnownUnion = RHS.Zero | RHS.One; in computeForAddCarry() 48 const KnownBits &LHS, const KnownBits &RHS, const KnownBits &Carry) { in computeForAddCarry() 51 LHS, RHS, Carry.Zero.getBoolValue(), Carry.One.getBoolValue()); in computeForAddCarry() 55 const KnownBits &LHS, KnownBits RHS) { in computeForAddSub() 18 computeForAddCarry( const KnownBits &LHS, const KnownBits &RHS, bool CarryZero, bool CarryOne) computeForAddCarry() argument 47 computeForAddCarry( const KnownBits &LHS, const KnownBits &RHS, const KnownBits &Carry) computeForAddCarry() argument 54 computeForAddSub(bool Add, bool NSW, const KnownBits &LHS, KnownBits RHS) computeForAddSub() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
H A D | TypeSize.h | 32 ElementCount operator*(unsigned RHS) { in operator *() argument 33 return { Min * RHS, Scalable }; in operator *() 35 ElementCount operator/(unsigned RHS) { in operator /() argument 36 return { Min / RHS, Scalable }; in operator /() 39 bool operator==(const ElementCount& RHS) const { in operator ==() 40 return Min == RHS.Min && Scalable == RHS.Scalable; in operator ==() 42 bool operator!=(const ElementCount& RHS) const { in operator !=() 43 return !(*this == RHS); in operator !=() 70 friend bool operator==(const TypeSize &LHS, const TypeSize &RHS) { in operator ==() argument 75 operator !=(const TypeSize &LHS, const TypeSize &RHS) operator !=() argument 88 operator <(const TypeSize &LHS, const TypeSize &RHS) operator <() argument 95 operator >(const TypeSize &LHS, const TypeSize &RHS) operator >() argument 99 operator <=(const TypeSize &LHS, const TypeSize &RHS) operator <=() argument 103 operator >=(const TypeSize &LHS, const TypeSize& RHS) operator >=() argument 113 operator *(const unsigned LHS, const TypeSize &RHS) operator *() argument 168 operator *(const uint64_t LHS, const TypeSize &RHS) operator *() argument 172 operator *(const int LHS, const TypeSize &RHS) operator *() argument 176 operator *(const int64_t LHS, const TypeSize &RHS) operator *() argument [all...] |
H A D | BranchProbability.h | 91 BranchProbability &operator+=(BranchProbability RHS) { in operator +=() argument 92 assert(N != UnknownN && RHS.N != UnknownN && in operator +=() 95 N = (uint64_t(N) + RHS.N > D) ? D : N + RHS.N; in operator +=() 99 BranchProbability &operator-=(BranchProbability RHS) { in operator -=() argument 100 assert(N != UnknownN && RHS.N != UnknownN && in operator -=() 103 N = N < RHS.N ? 0 : N - RHS.N; in operator -=() 107 BranchProbability &operator*=(BranchProbability RHS) { 108 assert(N != UnknownN && RHS 121 operator /=(BranchProbability RHS) operator /=() argument 128 operator /=(uint32_t RHS) operator /=() argument [all...] |
H A D | SMTAPI.h | 67 friend bool operator==(SMTSort const &LHS, SMTSort const &RHS) { in operator ==() argument 68 return LHS.equal_to(RHS); in operator ==() 114 friend bool operator==(SMTExpr const &LHS, SMTExpr const &RHS) { in operator ==() argument 115 return LHS.equal_to(RHS); in operator ==() 184 virtual SMTExprRef mkBVAdd(const SMTExprRef &LHS, const SMTExprRef &RHS) = 0; 187 virtual SMTExprRef mkBVSub(const SMTExprRef &LHS, const SMTExprRef &RHS) = 0; 190 virtual SMTExprRef mkBVMul(const SMTExprRef &LHS, const SMTExprRef &RHS) = 0; 193 virtual SMTExprRef mkBVSRem(const SMTExprRef &LHS, const SMTExprRef &RHS) = 0; 196 virtual SMTExprRef mkBVURem(const SMTExprRef &LHS, const SMTExprRef &RHS) = 0; 199 virtual SMTExprRef mkBVSDiv(const SMTExprRef &LHS, const SMTExprRef &RHS) [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
H A D | SmallPtrSet.cpp | 167 void SmallPtrSetImplBase::CopyFrom(const SmallPtrSetImplBase &RHS) { 168 assert(&RHS != this && "Self-copy should be handled by the caller."); 170 if (isSmall() && RHS.isSmall()) 171 assert(CurArraySize == RHS.CurArraySize && 175 if (RHS.isSmall()) { 180 } else if (CurArraySize != RHS.CurArraySize) { 182 CurArray = (const void**)malloc(sizeof(void*) * RHS.CurArraySize); 185 sizeof(void*) * RHS.CurArraySize); 193 CopyHelper(RHS); 196 void SmallPtrSetImplBase::CopyHelper(const SmallPtrSetImplBase &RHS) { [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
H A D | AliasAnalysisSummary.h | 116 inline bool operator==(InterfaceValue LHS, InterfaceValue RHS) { in operator ==() argument 117 return LHS.Index == RHS.Index && LHS.DerefLevel == RHS.DerefLevel; in operator ==() 119 inline bool operator!=(InterfaceValue LHS, InterfaceValue RHS) { in operator !=() argument 120 return !(LHS == RHS); in operator !=() 122 inline bool operator<(InterfaceValue LHS, InterfaceValue RHS) { in operator <() argument 123 return LHS.Index < RHS.Index || in operator <() 124 (LHS.Index == RHS.Index && LHS.DerefLevel < RHS.DerefLevel); in operator <() 126 inline bool operator>(InterfaceValue LHS, InterfaceValue RHS) { in operator >() argument 129 operator <=(InterfaceValue LHS, InterfaceValue RHS) operator <=() argument 132 operator >=(InterfaceValue LHS, InterfaceValue RHS) operator >=() argument 141 addOffset(int64_t LHS, int64_t RHS) addOffset() argument 155 operator ==(ExternalRelation LHS, ExternalRelation RHS) operator ==() argument 158 operator !=(ExternalRelation LHS, ExternalRelation RHS) operator !=() argument 161 operator <(ExternalRelation LHS, ExternalRelation RHS) operator <() argument 172 operator >(ExternalRelation LHS, ExternalRelation RHS) operator >() argument 175 operator <=(ExternalRelation LHS, ExternalRelation RHS) operator <=() argument 178 operator >=(ExternalRelation LHS, ExternalRelation RHS) operator >=() argument 206 operator ==(InstantiatedValue LHS, InstantiatedValue RHS) operator ==() argument 209 operator !=(InstantiatedValue LHS, InstantiatedValue RHS) operator !=() argument 212 operator <(InstantiatedValue LHS, InstantiatedValue RHS) operator <() argument 216 operator >(InstantiatedValue LHS, InstantiatedValue RHS) operator >() argument 219 operator <=(InstantiatedValue LHS, InstantiatedValue RHS) operator <=() argument 222 operator >=(InstantiatedValue LHS, InstantiatedValue RHS) operator >=() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
H A D | APSInt.h | 63 APSInt &operator=(APInt RHS) { in operator =() argument 65 APInt::operator=(std::move(RHS)); in operator =() 69 APSInt &operator=(uint64_t RHS) { in operator =() argument 71 APInt::operator=(RHS); in operator =() 116 const APSInt &operator%=(const APSInt &RHS) { in operator %=() argument 117 assert(IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!"); in operator %=() 119 *this = urem(RHS); in operator %=() 121 *this = srem(RHS); in operator %=() 124 const APSInt &operator/=(const APSInt &RHS) { in operator /=() argument 125 assert(IsUnsigned == RHS in operator /=() 223 operator +=(const APSInt& RHS) operator +=() argument 228 operator -=(const APSInt& RHS) operator -=() argument 233 operator *=(const APSInt& RHS) operator *=() argument 238 operator &=(const APSInt& RHS) operator &=() argument 243 operator |=(const APSInt& RHS) operator |=() argument 248 operator ^=(const APSInt& RHS) operator ^=() argument [all...] |
H A D | SmallBitVector.h | 153 SmallBitVector(const SmallBitVector &RHS) { in SmallBitVector() argument 154 if (RHS.isSmall()) in SmallBitVector() 155 X = RHS.X; in SmallBitVector() 157 switchToLarge(new BitVector(*RHS.getPointer())); in SmallBitVector() 160 SmallBitVector(SmallBitVector &&RHS) : X(RHS.X) { in SmallBitVector() argument 161 RHS.X = 1; in SmallBitVector() 473 bool anyCommon(const SmallBitVector &RHS) const { in anyCommon() 474 if (isSmall() && RHS.isSmall()) in anyCommon() 475 return (getSmallBits() & RHS in anyCommon() 508 operator &=(const SmallBitVector &RHS) operator &=() argument 525 reset(const SmallBitVector &RHS) reset() argument 557 operator |=(const SmallBitVector &RHS) operator |=() argument 570 operator ^=(const SmallBitVector &RHS) operator ^=() argument 600 operator =(const SmallBitVector &RHS) operator =() argument 617 operator =(SmallBitVector &&RHS) operator =() argument 625 swap(SmallBitVector &RHS) swap() argument 682 operator &(const SmallBitVector &LHS, const SmallBitVector &RHS) operator &() argument 689 operator |(const SmallBitVector &LHS, const SmallBitVector &RHS) operator |() argument 696 operator ^(const SmallBitVector &LHS, const SmallBitVector &RHS) operator ^() argument 708 swap(llvm::SmallBitVector &LHS, llvm::SmallBitVector &RHS) swap() argument [all...] |
H A D | SparseBitVector.h | 68 bool operator==(const SparseBitVectorElement &RHS) const { in operator ==() 69 if (ElementIndex != RHS.ElementIndex) in operator ==() 72 if (Bits[i] != RHS.Bits[i]) in operator ==() 77 bool operator!=(const SparseBitVectorElement &RHS) const { in operator !=() 78 return !(*this == RHS); in operator !=() 170 // Union this element with RHS and return true if this one changed. 171 bool unionWith(const SparseBitVectorElement &RHS) { 176 Bits[i] |= RHS.Bits[i]; 183 // Return true if we have any bits in common with RHS 184 bool intersects(const SparseBitVectorElement &RHS) cons 396 SparseBitVectorIterator(const SparseBitVector<ElementSize> *RHS, bool end = false) SparseBitVectorIterator() argument [all...] |
H A 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); 256 /// to, or greater than RHS. 257 int compare(const APInt &RHS) cons 751 operator =(const APInt &RHS) operator =() argument 791 operator =(uint64_t RHS) operator =() argument 808 operator &=(const APInt &RHS) operator &=() argument 822 operator &=(uint64_t RHS) operator &=() argument 838 operator |=(const APInt &RHS) operator |=() argument 852 operator |=(uint64_t RHS) operator |=() argument 868 operator ^=(const APInt &RHS) operator ^=() argument 882 operator ^=(uint64_t RHS) operator ^=() argument [all...] |
H A D | DenseMapInfo.h | 33 //static bool isEqual(const T &LHS, const T &RHS); 56 static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; } in isEqual() 65 static bool isEqual(const char &LHS, const char &RHS) { in isEqual() 66 return LHS == RHS; in isEqual() 76 static bool isEqual(const unsigned char &LHS, const unsigned char &RHS) { in isEqual() 77 return LHS == RHS; in isEqual() 87 static bool isEqual(const unsigned short &LHS, const unsigned short &RHS) { in isEqual() 88 return LHS == RHS; in isEqual() 98 static bool isEqual(const unsigned& LHS, const unsigned& RHS) { in isEqual() [all...] |
H A D | SmallString.h | 57 void assign(StringRef RHS) { in assign() argument 59 SmallVectorImpl<char>::append(RHS.begin(), RHS.end()); in assign() 63 void assign(const SmallVectorImpl<char> &RHS) { in assign() argument 65 SmallVectorImpl<char>::append(RHS.begin(), RHS.end()); in assign() 83 void append(StringRef RHS) { in append() argument 84 SmallVectorImpl<char>::append(RHS.begin(), RHS.end()); in append() 88 void append(const SmallVectorImpl<char> &RHS) { in append() argument 279 operator =(StringRef RHS) operator =() argument 284 operator +=(StringRef RHS) operator +=() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Remarks/ |
H A D | Remark.h | 115 bool operator<(const Optional<T> &LHS, const Optional<T> &RHS) { in operator <() argument 119 if (!LHS && !RHS) in operator <() 121 if (!LHS && RHS) in operator <() 123 if (LHS && !RHS) in operator <() 125 return *LHS < *RHS; in operator <() 128 inline bool operator==(const RemarkLocation &LHS, const RemarkLocation &RHS) { in operator ==() argument 129 return LHS.SourceFilePath == RHS.SourceFilePath && in operator ==() 130 LHS.SourceLine == RHS.SourceLine && in operator ==() 131 LHS.SourceColumn == RHS.SourceColumn; in operator ==() 134 inline bool operator!=(const RemarkLocation &LHS, const RemarkLocation &RHS) { in operator !=() argument 138 operator <(const RemarkLocation &LHS, const RemarkLocation &RHS) operator <() argument 143 operator ==(const Argument &LHS, const Argument &RHS) operator ==() argument 147 operator !=(const Argument &LHS, const Argument &RHS) operator !=() argument 151 operator <(const Argument &LHS, const Argument &RHS) operator <() argument 156 operator ==(const Remark &LHS, const Remark &RHS) operator ==() argument 163 operator !=(const Remark &LHS, const Remark &RHS) operator !=() argument 167 operator <(const Remark &LHS, const Remark &RHS) operator <() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
H A 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; 648 /// \returns *this after assignment of RHS. 649 APInt &operator=(const APInt &RHS) { 651 if (isSingleWord() && RHS.isSingleWord()) { 652 VAL = RHS [all...] |
H A D | BitVector.h | 93 BitVector(const BitVector &RHS) : Size(RHS.size()) { in BitVector() argument 100 Capacity = NumBitWords(RHS.size()); in BitVector() 102 std::memcpy(Bits, RHS.Bits, Capacity * sizeof(BitWord)); in BitVector() 105 BitVector(BitVector &&RHS) in BitVector() argument 106 : Bits(RHS.Bits), Size(RHS.Size), Capacity(RHS.Capacity) { in BitVector() 107 RHS.Bits = nullptr; in BitVector() 108 RHS in BitVector() [all...] |
H A D | APFloat.h | 260 IEEEFloat operator+(const IEEEFloat &RHS) const { in operator +() 262 Result.add(RHS, rmNearestTiesToEven); in operator +() 268 IEEEFloat operator-(const IEEEFloat &RHS) const { in operator -() 270 Result.subtract(RHS, rmNearestTiesToEven); in operator -() 276 IEEEFloat operator*(const IEEEFloat &RHS) const { in operator *() 278 Result.multiply(RHS, rmNearestTiesToEven); in operator *() 284 IEEEFloat operator/(const IEEEFloat &RHS) const { in operator /() 286 Result.divide(RHS, rmNearestTiesToEven); in operator /() 608 opStatus addWithSpecial(const DoubleAPFloat &LHS, const DoubleAPFloat &RHS, 617 DoubleAPFloat(const DoubleAPFloat &RHS); 622 operator =(DoubleAPFloat &&RHS) operator =() argument 695 Storage(const Storage &RHS) Storage() argument 707 Storage(Storage &&RHS) Storage() argument 719 operator =(const Storage &RHS) operator =() argument 733 operator =(Storage &&RHS) operator =() argument 825 APFloat(const APFloat &RHS) = default; global() member in llvm::APFloat 826 APFloat(APFloat &&RHS) = default; global() member in llvm::APFloat 925 add(const APFloat &RHS, roundingMode RM) add() argument 932 subtract(const APFloat &RHS, roundingMode RM) subtract() argument 939 multiply(const APFloat &RHS, roundingMode RM) multiply() argument 942 divide(const APFloat &RHS, roundingMode RM) divide() argument 945 remainder(const APFloat &RHS) remainder() argument 948 mod(const APFloat &RHS) mod() argument 977 copySign(const APFloat &RHS) copySign() argument 1052 APFloat &operator=(const APFloat &RHS) = default; global() member in llvm::APFloat 1053 APFloat &operator=(APFloat &&RHS) = default; global() member in llvm::APFloat [all...] |
H A D | DenseMapInfo.h | 30 //static bool isEqual(const T &LHS, const T &RHS); 50 static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; } in isEqual() 58 static bool isEqual(const char &LHS, const char &RHS) { in isEqual() 59 return LHS == RHS; in isEqual() 68 static bool isEqual(const unsigned& LHS, const unsigned& RHS) { in isEqual() 69 return LHS == RHS; in isEqual() 80 static bool isEqual(const unsigned long& LHS, const unsigned long& RHS) { in isEqual() 81 return LHS == RHS; in isEqual() 93 const unsigned long long& RHS) { in isEqual() [all...] |
H A D | SmallString.h | 58 void assign(StringRef RHS) { in assign() argument 60 SmallVectorImpl<char>::append(RHS.begin(), RHS.end()); in assign() 64 void assign(const SmallVectorImpl<char> &RHS) { in assign() argument 66 SmallVectorImpl<char>::append(RHS.begin(), RHS.end()); in assign() 84 void append(StringRef RHS) { in append() argument 85 SmallVectorImpl<char>::append(RHS.begin(), RHS.end()); in append() 89 void append(const SmallVectorImpl<char> &RHS) { in append() argument 280 operator =(StringRef RHS) operator =() argument 285 operator +=(StringRef RHS) operator +=() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
H A 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() 220 compareOps(const NodeTy *RHS, unsigned Offset = 0) const compareOps() argument 233 compareOps(ArrayRef<T> Ops, const MDNode *RHS, unsigned Offset) compareOps() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
H A D | NoFolder.h | 41 Instruction *CreateAdd(Constant *LHS, Constant *RHS, in CreateAdd() argument 43 BinaryOperator *BO = BinaryOperator::CreateAdd(LHS, RHS); in CreateAdd() 49 Instruction *CreateNSWAdd(Constant *LHS, Constant *RHS) const { in CreateNSWAdd() 50 return BinaryOperator::CreateNSWAdd(LHS, RHS); in CreateNSWAdd() 53 Instruction *CreateNUWAdd(Constant *LHS, Constant *RHS) const { in CreateNUWAdd() 54 return BinaryOperator::CreateNUWAdd(LHS, RHS); in CreateNUWAdd() 57 Instruction *CreateFAdd(Constant *LHS, Constant *RHS) const { in CreateFAdd() 58 return BinaryOperator::CreateFAdd(LHS, RHS); in CreateFAdd() 61 Instruction *CreateSub(Constant *LHS, Constant *RHS, in CreateSub() argument 63 BinaryOperator *BO = BinaryOperator::CreateSub(LHS, RHS); in CreateSub() 81 CreateMul(Constant *LHS, Constant *RHS, bool HasNUW = false, bool HasNSW = false) const CreateMul() argument 101 CreateUDiv(Constant *LHS, Constant *RHS, bool isExact = false) const CreateUDiv() argument 112 CreateSDiv(Constant *LHS, Constant *RHS, bool isExact = false) const CreateSDiv() argument 139 CreateShl(Constant *LHS, Constant *RHS, bool HasNUW = false, bool HasNSW = false) const CreateShl() argument 147 CreateLShr(Constant *LHS, Constant *RHS, bool isExact = false) const CreateLShr() argument 154 CreateAShr(Constant *LHS, Constant *RHS, bool isExact = false) const CreateAShr() argument [all...] |
H A D | PatternMatch.h | 737 AnyBinaryOp_match(const LHS_t &LHS, const RHS_t &RHS) : L(LHS), R(RHS) {} in AnyBinaryOp_match() 748 template <typename LHS, typename RHS> 749 inline AnyBinaryOp_match<LHS, RHS> m_BinOp(const LHS &L, const RHS &R) { in m_BinOp() 750 return AnyBinaryOp_match<LHS, RHS>(L, R); in m_BinOp() 765 BinaryOp_match(const LHS_t &LHS, const RHS_t &RHS) : L(LHS), R(RHS) {} in BinaryOp_match() 783 template <typename LHS, typename RHS> 784 inline BinaryOp_match<LHS, RHS, Instructio 1483 Value *RHS = Cmp->getOperand(1); match() local 1969 auto RHS = m_LShr(m_Neg(m_Value(OpR)), m_SpecificInt(ShiftWidth)); match() local [all...] |
H A D | ConstantFolder.h | 35 Constant *CreateAdd(Constant *LHS, Constant *RHS, in CreateAdd() argument 37 return ConstantExpr::getAdd(LHS, RHS, HasNUW, HasNSW); in CreateAdd() 40 Constant *CreateFAdd(Constant *LHS, Constant *RHS) const { in CreateFAdd() 41 return ConstantExpr::getFAdd(LHS, RHS); in CreateFAdd() 44 Constant *CreateSub(Constant *LHS, Constant *RHS, in CreateSub() argument 46 return ConstantExpr::getSub(LHS, RHS, HasNUW, HasNSW); in CreateSub() 49 Constant *CreateFSub(Constant *LHS, Constant *RHS) const { in CreateFSub() 50 return ConstantExpr::getFSub(LHS, RHS); in CreateFSub() 53 Constant *CreateMul(Constant *LHS, Constant *RHS, in CreateMul() argument 55 return ConstantExpr::getMul(LHS, RHS, HasNU in CreateMul() 62 CreateUDiv(Constant *LHS, Constant *RHS, bool isExact = false) const CreateUDiv() argument 67 CreateSDiv(Constant *LHS, Constant *RHS, bool isExact = false) const CreateSDiv() argument 88 CreateShl(Constant *LHS, Constant *RHS, bool HasNUW = false, bool HasNSW = false) const CreateShl() argument 93 CreateLShr(Constant *LHS, Constant *RHS, bool isExact = false) const CreateLShr() argument 98 CreateAShr(Constant *LHS, Constant *RHS, bool isExact = false) const CreateAShr() argument [all...] |
H A D | ValueHandle.h | 39 ValueHandleBase(const ValueHandleBase &RHS) in ValueHandleBase() argument 40 : ValueHandleBase(RHS.PrevPair.getInt(), RHS) {} in ValueHandleBase() 42 ValueHandleBase(HandleBaseKind Kind, const ValueHandleBase &RHS) in ValueHandleBase() argument 43 : PrevPair(nullptr, Kind), Val(RHS.getValPtr()) { in ValueHandleBase() 45 AddToExistingUseList(RHS.getPrevPtr()); in ValueHandleBase() 69 Value *operator=(Value *RHS) { in operator =() argument 70 if (getValPtr() == RHS) in operator =() 71 return RHS; in operator =() 74 setValPtr(RHS); in operator =() 80 operator =(const ValueHandleBase &RHS) operator =() argument 144 WeakVH(const WeakVH &RHS) WeakVH() argument 147 WeakVH &operator=(const WeakVH &RHS) = default; global() member in llvm::WeakVH 149 operator =(Value *RHS) operator =() argument 152 operator =(const ValueHandleBase &RHS) operator =() argument 204 WeakTrackingVH(const WeakTrackingVH &RHS) WeakTrackingVH() argument 207 WeakTrackingVH &operator=(const WeakTrackingVH &RHS) = default; global() member in llvm::WeakTrackingVH 209 operator =(Value *RHS) operator =() argument 212 operator =(const ValueHandleBase &RHS) operator =() argument 282 AssertingVH(const AssertingVH &RHS) AssertingVH() argument 293 operator =(ValueTy *RHS) operator =() argument 297 operator =(const AssertingVH<ValueTy> &RHS) operator =() argument 383 operator =(ValueTy *RHS) operator =() argument 513 PoisoningVH(const PoisoningVH &RHS) PoisoningVH() argument 521 operator =(const PoisoningVH &RHS) operator =() argument [all...] |