Searched refs:RHS (Results 1 - 25 of 209) sorted by relevance

123456789

/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/ADT/
H A DAPSInt.h36 APSInt &operator=(const APSInt &RHS) { argument
37 APInt::operator=(RHS);
38 IsUnsigned = RHS.IsUnsigned;
42 APSInt &operator=(const APInt &RHS) { argument
44 APInt::operator=(RHS);
48 APSInt &operator=(uint64_t RHS) { argument
50 APInt::operator=(RHS);
89 const APSInt &operator%=(const APSInt &RHS) { argument
90 assert(IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!");
92 *this = urem(RHS);
97 operator /=(const APSInt &RHS) argument
180 operator +=(const APSInt& RHS) argument
185 operator -=(const APSInt& RHS) argument
190 operator *=(const APSInt& RHS) argument
195 operator &=(const APSInt& RHS) argument
200 operator |=(const APSInt& RHS) argument
205 operator ^=(const APSInt& RHS) argument
[all...]
H A DAPInt.h176 const APInt &RHS, unsigned rhsWords,
192 APInt AndSlowCase(const APInt& RHS) const;
195 APInt OrSlowCase(const APInt& RHS) const;
198 APInt XorSlowCase(const APInt& RHS) const;
201 APInt& AssignSlowCase(const APInt& RHS);
204 bool EqualSlowCase(const APInt& RHS) const;
591 /// @returns *this after assignment of RHS.
593 APInt& operator=(const APInt& RHS) {
595 if (isSingleWord() && RHS.isSingleWord()) {
596 VAL = RHS
[all...]
H A DSmallBitVector.h149 SmallBitVector(const SmallBitVector &RHS) { argument
150 if (RHS.isSmall())
151 X = RHS.X;
153 switchToLarge(new BitVector(*RHS.getPointer()));
157 SmallBitVector(SmallBitVector &&RHS) : X(RHS.X) { argument
158 RHS.X = 1;
358 bool anyCommon(const SmallBitVector &RHS) const {
359 if (isSmall() && RHS.isSmall())
360 return (getSmallBits() & RHS
385 operator &=(const SmallBitVector &RHS) argument
399 operator |=(const SmallBitVector &RHS) argument
413 operator ^=(const SmallBitVector &RHS) argument
428 operator =(const SmallBitVector &RHS) argument
446 operator =(SmallBitVector &&RHS) argument
455 swap(SmallBitVector &RHS) argument
514 operator &(const SmallBitVector &LHS, const SmallBitVector &RHS) argument
521 operator |(const SmallBitVector &LHS, const SmallBitVector &RHS) argument
528 operator ^(const SmallBitVector &LHS, const SmallBitVector &RHS) argument
539 swap(llvm::SmallBitVector &LHS, llvm::SmallBitVector &RHS) argument
[all...]
H A DBitVector.h89 BitVector(const BitVector &RHS) : Size(RHS.size()) { argument
96 Capacity = NumBitWords(RHS.size());
98 std::memcpy(Bits, RHS.Bits, Capacity * sizeof(BitWord));
102 BitVector(BitVector &&RHS) argument
103 : Bits(RHS.Bits), Size(RHS.Size), Capacity(RHS.Capacity) {
104 RHS.Bits = 0;
279 bool anyCommon(const BitVector &RHS) cons
[all...]
H A DDenseMapInfo.h27 //static bool isEqual(const T &LHS, const T &RHS);
47 static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; } argument
55 static bool isEqual(const char &LHS, const char &RHS) { argument
56 return LHS == RHS;
65 static bool isEqual(const unsigned& LHS, const unsigned& RHS) { argument
66 return LHS == RHS;
77 static bool isEqual(const unsigned long& LHS, const unsigned long& RHS) { argument
78 return LHS == RHS;
90 const unsigned long long& RHS) {
89 isEqual(const unsigned long long& LHS, const unsigned long long& RHS) argument
100 isEqual(const int& LHS, const int& RHS) argument
114 isEqual(const long& LHS, const long& RHS) argument
126 isEqual(const long long& LHS, const long long& RHS) argument
160 isEqual(const Pair &LHS, const Pair &RHS) argument
[all...]
H A DSmallString.h38 SmallString(const SmallString &RHS) : SmallVector<char, InternalLen>(RHS) {} argument
60 void assign(StringRef RHS) { argument
62 SmallVectorImpl<char>::append(RHS.begin(), RHS.end());
66 void assign(const SmallVectorImpl<char> &RHS) { argument
68 SmallVectorImpl<char>::append(RHS.begin(), RHS.end());
87 void append(StringRef RHS) { argument
88 SmallVectorImpl<char>::append(RHS
92 append(const SmallVectorImpl<char> &RHS) argument
283 operator =(StringRef RHS) argument
288 operator +=(StringRef RHS) argument
[all...]
H A DPointerIntPair.h119 bool operator==(const PointerIntPair &RHS) const {return Value == RHS.Value;}
120 bool operator!=(const PointerIntPair &RHS) const {return Value != RHS.Value;}
121 bool operator<(const PointerIntPair &RHS) const {return Value < RHS.Value;}
122 bool operator>(const PointerIntPair &RHS) const {return Value > RHS.Value;}
123 bool operator<=(const PointerIntPair &RHS) const {return Value <= RHS
[all...]
H A DStringRef.h130 bool equals(StringRef RHS) const {
131 return (Length == RHS.Length &&
132 compareMemory(Data, RHS.Data, RHS.Length) == 0);
136 bool equals_lower(StringRef RHS) const {
137 return Length == RHS.Length && compare_lower(RHS) == 0;
141 /// is lexicographically less than, equal to, or greater than the \p RHS.
142 int compare(StringRef RHS) const {
144 if (int Res = compareMemory(Data, RHS
[all...]
H A DSmallVector.h434 void swap(SmallVectorImpl &RHS);
668 SmallVectorImpl &operator=(const SmallVectorImpl &RHS);
671 SmallVectorImpl &operator=(SmallVectorImpl &&RHS);
674 bool operator==(const SmallVectorImpl &RHS) const {
675 if (this->size() != RHS.size()) return false;
676 return std::equal(this->begin(), this->end(), RHS.begin());
678 bool operator!=(const SmallVectorImpl &RHS) const {
679 return !(*this == RHS);
682 bool operator<(const SmallVectorImpl &RHS) const {
684 RHS
704 swap(SmallVectorImpl<T> &RHS) argument
743 operator =(const SmallVectorImpl<T> &RHS) argument
792 operator =(SmallVectorImpl<T> &&RHS) argument
891 SmallVector(const SmallVector &RHS) argument
896 operator =(const SmallVector &RHS) argument
902 SmallVector(SmallVector &&RHS) argument
907 operator =(SmallVector &&RHS) argument
926 swap(llvm::SmallVectorImpl<T> &LHS, llvm::SmallVectorImpl<T> &RHS) argument
933 swap(llvm::SmallVector<T, N> &LHS, llvm::SmallVector<T, N> &RHS) argument
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/Support/
H A DBranchProbability.h53 bool operator==(BranchProbability RHS) const {
54 return (uint64_t)N * RHS.D == (uint64_t)D * RHS.N;
56 bool operator!=(BranchProbability RHS) const {
57 return !(*this == RHS);
59 bool operator<(BranchProbability RHS) const {
60 return (uint64_t)N * RHS.D < (uint64_t)D * RHS.N;
62 bool operator>(BranchProbability RHS) const {
63 return RHS < *thi
[all...]
H A DBlockFrequency.h42 bool operator<(const BlockFrequency &RHS) const {
43 return Frequency < RHS.Frequency;
46 bool operator<=(const BlockFrequency &RHS) const {
47 return Frequency <= RHS.Frequency;
50 bool operator>(const BlockFrequency &RHS) const {
51 return Frequency > RHS.Frequency;
54 bool operator>=(const BlockFrequency &RHS) const {
55 return Frequency >= RHS.Frequency;
H A DNoFolder.h40 Instruction *CreateAdd(Constant *LHS, Constant *RHS, argument
42 BinaryOperator *BO = BinaryOperator::CreateAdd(LHS, RHS);
47 Instruction *CreateNSWAdd(Constant *LHS, Constant *RHS) const {
48 return BinaryOperator::CreateNSWAdd(LHS, RHS);
50 Instruction *CreateNUWAdd(Constant *LHS, Constant *RHS) const {
51 return BinaryOperator::CreateNUWAdd(LHS, RHS);
53 Instruction *CreateFAdd(Constant *LHS, Constant *RHS) const {
54 return BinaryOperator::CreateFAdd(LHS, RHS);
56 Instruction *CreateSub(Constant *LHS, Constant *RHS, argument
58 BinaryOperator *BO = BinaryOperator::CreateSub(LHS, RHS);
72 CreateMul(Constant *LHS, Constant *RHS, bool HasNUW = false, bool HasNSW = false) const argument
88 CreateUDiv(Constant *LHS, Constant *RHS, bool isExact = false) const argument
97 CreateSDiv(Constant *LHS, Constant *RHS, bool isExact = false) const argument
118 CreateShl(Constant *LHS, Constant *RHS, bool HasNUW = false, bool HasNSW = false) const argument
125 CreateLShr(Constant *LHS, Constant *RHS, bool isExact = false) const argument
131 CreateAShr(Constant *LHS, Constant *RHS, bool isExact = false) const argument
[all...]
H A DPatternMatch.h297 BinaryOp_match(const LHS_t &LHS, const RHS_t &RHS) : L(LHS), R(RHS) {} argument
312 template<typename LHS, typename RHS>
313 inline BinaryOp_match<LHS, RHS, Instruction::Add>
314 m_Add(const LHS &L, const RHS &R) {
315 return BinaryOp_match<LHS, RHS, Instruction::Add>(L, R);
318 template<typename LHS, typename RHS>
319 inline BinaryOp_match<LHS, RHS, Instruction::FAdd>
320 m_FAdd(const LHS &L, const RHS &R) {
321 return BinaryOp_match<LHS, RHS, Instructio
428 BinOp2_match(const LHS_t &LHS, const RHS_t &RHS) argument
495 CmpClass_match(PredicateTy &Pred, const LHS_t &LHS, const RHS_t &RHS) argument
533 SelectClass_match(const Cond_t &Cond, const LHS_t &LHS, const RHS_t &RHS) argument
634 matchIfNot(Value *LHS, Value *RHS) argument
661 matchIfNeg(Value *LHS, Value *RHS) argument
687 matchIfFNeg(Value *LHS, Value *RHS) argument
738 MaxMin_match(const LHS_t &LHS, const RHS_t &RHS) argument
755 Value *RHS = Cmp->getOperand(1); local
[all...]
H A DConstantFolder.h34 Constant *CreateAdd(Constant *LHS, Constant *RHS, argument
36 return ConstantExpr::getAdd(LHS, RHS, HasNUW, HasNSW);
38 Constant *CreateFAdd(Constant *LHS, Constant *RHS) const {
39 return ConstantExpr::getFAdd(LHS, RHS);
41 Constant *CreateSub(Constant *LHS, Constant *RHS, argument
43 return ConstantExpr::getSub(LHS, RHS, HasNUW, HasNSW);
45 Constant *CreateFSub(Constant *LHS, Constant *RHS) const {
46 return ConstantExpr::getFSub(LHS, RHS);
48 Constant *CreateMul(Constant *LHS, Constant *RHS, argument
50 return ConstantExpr::getMul(LHS, RHS, HasNU
55 CreateUDiv(Constant *LHS, Constant *RHS, bool isExact = false) const argument
59 CreateSDiv(Constant *LHS, Constant *RHS, bool isExact = false) const argument
75 CreateShl(Constant *LHS, Constant *RHS, bool HasNUW = false, bool HasNSW = false) const argument
79 CreateLShr(Constant *LHS, Constant *RHS, bool isExact = false) const argument
83 CreateAShr(Constant *LHS, Constant *RHS, bool isExact = false) const argument
[all...]
H A DTargetFolder.h50 Constant *CreateAdd(Constant *LHS, Constant *RHS, argument
52 return Fold(ConstantExpr::getAdd(LHS, RHS, HasNUW, HasNSW));
54 Constant *CreateFAdd(Constant *LHS, Constant *RHS) const {
55 return Fold(ConstantExpr::getFAdd(LHS, RHS));
57 Constant *CreateSub(Constant *LHS, Constant *RHS, argument
59 return Fold(ConstantExpr::getSub(LHS, RHS, HasNUW, HasNSW));
61 Constant *CreateFSub(Constant *LHS, Constant *RHS) const {
62 return Fold(ConstantExpr::getFSub(LHS, RHS));
64 Constant *CreateMul(Constant *LHS, Constant *RHS, argument
66 return Fold(ConstantExpr::getMul(LHS, RHS, HasNU
71 CreateUDiv(Constant *LHS, Constant *RHS, bool isExact = false) const argument
74 CreateSDiv(Constant *LHS, Constant *RHS, bool isExact = false) const argument
89 CreateShl(Constant *LHS, Constant *RHS, bool HasNUW = false, bool HasNSW = false) const argument
93 CreateLShr(Constant *LHS, Constant *RHS, bool isExact = false) const argument
96 CreateAShr(Constant *LHS, Constant *RHS, bool isExact = false) const argument
[all...]
H A DValueHandle.h72 ValueHandleBase(HandleBaseKind Kind, const ValueHandleBase &RHS) argument
73 : PrevPair(0, Kind), Next(0), VP(RHS.VP) {
75 AddToExistingUseList(RHS.getPrevPtr());
82 Value *operator=(Value *RHS) { argument
83 if (VP.getPointer() == RHS) return RHS;
85 VP.setPointer(RHS);
87 return RHS;
90 Value *operator=(const ValueHandleBase &RHS) { argument
91 if (VP.getPointer() == RHS
148 WeakVH(const WeakVH &RHS) argument
151 operator =(Value *RHS) argument
154 operator =(const ValueHandleBase &RHS) argument
216 AssertingVH(const AssertingVH &RHS) argument
226 operator =(ValueTy *RHS) argument
230 operator =(const AssertingVH<ValueTy> &RHS) argument
264 isEqual(const AssertingVH<T> &LHS, const AssertingVH<T> &RHS) argument
329 TrackingVH(const TrackingVH &RHS) argument
335 operator =(ValueTy *RHS) argument
339 operator =(const TrackingVH<ValueTy> &RHS) argument
368 CallbackVH(const CallbackVH &RHS) argument
[all...]
H A DSMLoc.h30 bool operator==(const SMLoc &RHS) const { return RHS.Ptr == Ptr; }
31 bool operator!=(const SMLoc &RHS) const { return RHS.Ptr != Ptr; }
H A DIntegersSubset.h42 bool operator op (const APInt& RHS) const { \
43 return getAPIntValue().func(RHS); \
54 IntItem operator op (const APInt& RHS) const { \
55 APInt res = getAPIntValue() op RHS; \
61 IntItem& operator op (const APInt& RHS) {\
63 res op RHS; \
89 RetTy operator op (IntTy RHS) const { \
90 return (*this) op APInt(getAPIntValue().getBitWidth(), RHS); \
113 // <<= is implemented for unsigned RHS, but not implemented for APInt RHS
145 operator <<=(unsigned RHS) argument
147 res <<= RHS; local
192 IntRange(const self &RHS) argument
236 LessBySize(const self &LHS, const self &RHS) argument
328 IntegersSubsetGeneric(const self& RHS) argument
332 operator =(const self& RHS) argument
503 IntegersSubset(const IntegersSubset& RHS) argument
[all...]
H A DTimer.h59 void operator+=(const TimeRecord &RHS) { argument
60 WallTime += RHS.WallTime;
61 UserTime += RHS.UserTime;
62 SystemTime += RHS.SystemTime;
63 MemUsed += RHS.MemUsed;
65 void operator-=(const TimeRecord &RHS) { argument
66 WallTime -= RHS.WallTime;
67 UserTime -= RHS.UserTime;
68 SystemTime -= RHS.SystemTime;
69 MemUsed -= RHS
95 Timer(const Timer &RHS) argument
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/CodeGen/
H A DScheduleDAGILP.h39 bool operator<(ILPValue RHS) const {
40 return (uint64_t)InstrCount * RHS.Cycles
41 < (uint64_t)Cycles * RHS.InstrCount;
43 bool operator>(ILPValue RHS) const {
44 return RHS < *this;
46 bool operator<=(ILPValue RHS) const {
47 return (uint64_t)InstrCount * RHS.Cycles
48 <= (uint64_t)Cycles * RHS.InstrCount;
50 bool operator>=(ILPValue RHS) const {
51 return RHS <
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/lib/Support/
H A DSmallPtrSet.cpp199 void SmallPtrSetImpl::CopyFrom(const SmallPtrSetImpl &RHS) {
200 if (isSmall() && RHS.isSmall())
201 assert(CurArraySize == RHS.CurArraySize &&
205 if (RHS.isSmall()) {
210 } else if (CurArraySize != RHS.CurArraySize) {
212 CurArray = (const void**)malloc(sizeof(void*) * (RHS.CurArraySize+1));
214 CurArray = (const void**)realloc(CurArray, sizeof(void*)*(RHS.CurArraySize+1));
219 CurArraySize = RHS.CurArraySize;
222 memcpy(CurArray, RHS.CurArray, sizeof(void*)*(CurArraySize+1));
224 NumElements = RHS
[all...]
/macosx-10.10.1/objc4-646/runtime/
H A Dllvm-DenseMapInfo.h29 //static bool isEqual(const T &LHS, const T &RHS);
46 static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; } argument
61 static bool isEqual(const DisguisedPtr<T> &LHS, const DisguisedPtr<T> &RHS) { argument
62 return LHS == RHS;
77 static bool isEqual(const char* const &LHS, const char* const &RHS) { argument
78 return 0 == strcmp(LHS, RHS);
87 static bool isEqual(const char &LHS, const char &RHS) { argument
88 return LHS == RHS;
97 static bool isEqual(const unsigned& LHS, const unsigned& RHS) { argument
109 isEqual(const unsigned long& LHS, const unsigned long& RHS) argument
121 isEqual(const unsigned long long& LHS, const unsigned long long& RHS) argument
132 isEqual(const int& LHS, const int& RHS) argument
146 isEqual(const long& LHS, const long& RHS) argument
158 isEqual(const long long& LHS, const long long& RHS) argument
192 isEqual(const Pair &LHS, const Pair &RHS) argument
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/MC/
H A DMCExpr.h338 const MCExpr *LHS, *RHS; member in class:llvm::MCBinaryExpr
341 : MCExpr(MCExpr::Binary), Op(_Op), LHS(_LHS), RHS(_RHS) {}
348 const MCExpr *RHS, MCContext &Ctx);
349 static const MCBinaryExpr *CreateAdd(const MCExpr *LHS, const MCExpr *RHS, argument
351 return Create(Add, LHS, RHS, Ctx);
353 static const MCBinaryExpr *CreateAnd(const MCExpr *LHS, const MCExpr *RHS, argument
355 return Create(And, LHS, RHS, Ctx);
357 static const MCBinaryExpr *CreateDiv(const MCExpr *LHS, const MCExpr *RHS, argument
359 return Create(Div, LHS, RHS, Ctx);
361 static const MCBinaryExpr *CreateEQ(const MCExpr *LHS, const MCExpr *RHS, argument
365 CreateGT(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
369 CreateGTE(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
373 CreateLAnd(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
377 CreateLOr(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
381 CreateLT(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
385 CreateLTE(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
389 CreateMod(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
393 CreateMul(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
397 CreateNE(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
401 CreateOr(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
405 CreateShl(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
409 CreateShr(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
413 CreateSub(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
417 CreateXor(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/DebugInfo/
H A DDIContext.h48 bool operator==(const DILineInfo &RHS) const {
49 return Line == RHS.Line && Column == RHS.Column &&
50 FileName.equals(RHS.FileName) &&
51 FunctionName.equals(RHS.FunctionName);
53 bool operator!=(const DILineInfo &RHS) const {
54 return !(*this == RHS);
/macosx-10.10.1/llvmCore-3425.0.34/unittests/Support/
H A DIntegersSubsetTest.cpp27 bool operator < (const APInt& RHS) const { return ult(RHS); }
28 bool operator > (const APInt& RHS) const { return ugt(RHS); }
29 bool operator <= (const APInt& RHS) const { return ule(RHS); }
30 bool operator >= (const APInt& RHS) const { return uge(RHS); }
189 const unsigned_ranges RHS,
208 Ranges.push_back(Range(Int(RHS[
186 TestDiff( const unsigned_ranges LHS, unsigned LSize, const unsigned_ranges RHS, unsigned RSize, const unsigned_ranges ExcludeRes, unsigned ExcludeResSize, const unsigned_ranges IntersectRes, unsigned IntersectResSize ) argument
257 unsigned_ranges RHS = { { 3, 14 } }; local
266 unsigned_ranges RHS = { { 0, 4 }, { 13, 17 } }; local
275 unsigned_ranges RHS = { { 1, 5 }, { 10, 12 }, { 15, 16 } }; local
285 unsigned_ranges RHS = { { 0, 5 } }; local
294 unsigned_ranges RHS = { { 7, 8 } }; local
303 unsigned_ranges RHS = { { 1, 4 } }; local
312 unsigned_ranges RHS = { { 0, 5 }, { 6, 9 } }; local
321 unsigned_ranges RHS = { { 4, 4 } }; local
[all...]

Completed in 417 milliseconds

123456789