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

1234567891011>>

/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Edit/
H A DFileOffset.h37 friend bool operator==(FileOffset LHS, FileOffset RHS) { argument
38 return LHS.FID == RHS.FID && LHS.Offs == RHS.Offs;
40 friend bool operator!=(FileOffset LHS, FileOffset RHS) { argument
41 return !(LHS == RHS);
43 friend bool operator<(FileOffset LHS, FileOffset RHS) { argument
44 if (LHS.FID != RHS.FID)
45 return LHS.FID < RHS.FID;
46 return LHS.Offs < RHS.Offs;
48 friend bool operator>(FileOffset LHS, FileOffset RHS) { argument
53 operator >=(FileOffset LHS, FileOffset RHS) argument
56 operator <=(FileOffset LHS, FileOffset RHS) argument
[all...]
/freebsd-10-stable/contrib/llvm/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 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;
388 bool anyCommon(const SmallBitVector &RHS) const {
389 if (isSmall() && RHS.isSmall())
390 return (getSmallBits() & RHS
415 operator &=(const SmallBitVector &RHS) argument
430 reset(const SmallBitVector &RHS) argument
463 operator |=(const SmallBitVector &RHS) argument
477 operator ^=(const SmallBitVector &RHS) argument
492 operator =(const SmallBitVector &RHS) argument
510 operator =(SmallBitVector &&RHS) argument
519 swap(SmallBitVector &RHS) argument
578 operator &(const SmallBitVector &LHS, const SmallBitVector &RHS) argument
585 operator |(const SmallBitVector &LHS, const SmallBitVector &RHS) argument
592 operator ^(const SmallBitVector &LHS, const SmallBitVector &RHS) argument
603 swap(llvm::SmallBitVector &LHS, llvm::SmallBitVector &RHS) argument
[all...]
H A DAPInt.h180 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;
647 /// \returns *this after assignment of RHS.
648 APInt &operator=(const APInt &RHS) {
650 if (isSingleWord() && RHS.isSingleWord()) {
651 VAL = RHS
[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 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;
342 bool anyCommon(const BitVector &RHS) cons
[all...]
/freebsd-10-stable/contrib/llvm/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 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 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 DBlockFrequency.h66 bool operator<(const BlockFrequency &RHS) const {
67 return Frequency < RHS.Frequency;
70 bool operator<=(const BlockFrequency &RHS) const {
71 return Frequency <= RHS.Frequency;
74 bool operator>(const BlockFrequency &RHS) const {
75 return Frequency > RHS.Frequency;
78 bool operator>=(const BlockFrequency &RHS) const {
79 return Frequency >= RHS.Frequency;
H A DPatternMatch.h378 BinaryOp_match(const LHS_t &LHS, const RHS_t &RHS) : L(LHS), R(RHS) {} argument
393 template<typename LHS, typename RHS>
394 inline BinaryOp_match<LHS, RHS, Instruction::Add>
395 m_Add(const LHS &L, const RHS &R) {
396 return BinaryOp_match<LHS, RHS, Instruction::Add>(L, R);
399 template<typename LHS, typename RHS>
400 inline BinaryOp_match<LHS, RHS, Instruction::FAdd>
401 m_FAdd(const LHS &L, const RHS &R) {
402 return BinaryOp_match<LHS, RHS, Instructio
509 BinOp2_match(const LHS_t &LHS, const RHS_t &RHS) argument
576 CmpClass_match(PredicateTy &Pred, const LHS_t &LHS, const RHS_t &RHS) argument
614 SelectClass_match(const Cond_t &Cond, const LHS_t &LHS, const RHS_t &RHS) argument
728 matchIfNot(Value *LHS, Value *RHS) argument
755 matchIfNeg(Value *LHS, Value *RHS) argument
781 matchIfFNeg(Value *LHS, Value *RHS) argument
851 MaxMin_match(const LHS_t &LHS, const RHS_t &RHS) argument
868 Value *RHS = Cmp->getOperand(1); local
[all...]
H A DValueHandle.h73 ValueHandleBase(HandleBaseKind Kind, const ValueHandleBase &RHS) argument
74 : PrevPair(0, Kind), Next(0), VP(RHS.VP) {
76 AddToExistingUseList(RHS.getPrevPtr());
83 Value *operator=(Value *RHS) { argument
84 if (VP.getPointer() == RHS) return RHS;
86 VP.setPointer(RHS);
88 return RHS;
91 Value *operator=(const ValueHandleBase &RHS) { argument
92 if (VP.getPointer() == RHS
149 WeakVH(const WeakVH &RHS) argument
152 operator =(Value *RHS) argument
155 operator =(const ValueHandleBase &RHS) argument
215 AssertingVH(const AssertingVH &RHS) argument
225 operator =(ValueTy *RHS) argument
229 operator =(const AssertingVH<ValueTy> &RHS) argument
251 isEqual(const AssertingVH<T> &LHS, const AssertingVH<T> &RHS) argument
316 TrackingVH(const TrackingVH &RHS) argument
322 operator =(ValueTy *RHS) argument
326 operator =(const TrackingVH<ValueTy> &RHS) argument
344 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; }
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Sema/
H A DWeak.h38 bool operator==(WeakInfo RHS) const {
39 return alias == RHS.getAlias() && loc == RHS.getLocation();
41 bool operator!=(WeakInfo RHS) const { return !(*this == RHS); }
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Basic/
H A DABI.h76 bool Less(const VirtualAdjustment &RHS) const {
77 return memcmp(this, &RHS, sizeof(RHS)) < 0;
86 const ReturnAdjustment &RHS) {
87 return LHS.NonVirtual == RHS.NonVirtual && LHS.Virtual.Equals(RHS.Virtual);
90 friend bool operator!=(const ReturnAdjustment &LHS, const ReturnAdjustment &RHS) { argument
91 return !(LHS == RHS);
95 const ReturnAdjustment &RHS) {
96 if (LHS.NonVirtual < RHS
85 operator ==(const ReturnAdjustment &LHS, const ReturnAdjustment &RHS) argument
94 operator <(const ReturnAdjustment &LHS, const ReturnAdjustment &RHS) argument
153 operator ==(const ThisAdjustment &LHS, const ThisAdjustment &RHS) argument
158 operator !=(const ThisAdjustment &LHS, const ThisAdjustment &RHS) argument
162 operator <(const ThisAdjustment &LHS, const ThisAdjustment &RHS) argument
195 operator ==(const ThunkInfo &LHS, const ThunkInfo &RHS) argument
[all...]
/freebsd-10-stable/contrib/llvm/lib/Support/
H A DSmallPtrSet.cpp191 void SmallPtrSetImpl::CopyFrom(const SmallPtrSetImpl &RHS) {
192 if (isSmall() && RHS.isSmall())
193 assert(CurArraySize == RHS.CurArraySize &&
197 if (RHS.isSmall()) {
202 } else if (CurArraySize != RHS.CurArraySize) {
204 CurArray = (const void**)malloc(sizeof(void*) * RHS.CurArraySize);
207 sizeof(void*) * RHS.CurArraySize);
216 CurArraySize = RHS.CurArraySize;
219 memcpy(CurArray, RHS.CurArray, sizeof(void*)*CurArraySize);
221 NumElements = RHS
[all...]
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Lex/
H A DPPConditionalDirectiveRecord.h47 const CondDirectiveLoc &RHS) {
48 return SM.isBeforeInTranslationUnit(LHS.getLoc(), RHS.getLoc());
50 bool operator()(const CondDirectiveLoc &LHS, SourceLocation RHS) { argument
51 return SM.isBeforeInTranslationUnit(LHS.getLoc(), RHS);
53 bool operator()(SourceLocation LHS, const CondDirectiveLoc &RHS) { argument
54 return SM.isBeforeInTranslationUnit(LHS, RHS.getLoc());
81 SourceLocation RHS) const {
83 findConditionalDirectiveRegionLoc(RHS);
46 operator ()(const CondDirectiveLoc &LHS, const CondDirectiveLoc &RHS) argument
/freebsd-10-stable/contrib/llvm/include/llvm/CodeGen/
H A DScheduleDFS.h45 bool operator<(ILPValue RHS) const {
46 return (uint64_t)InstrCount * RHS.Length
47 < (uint64_t)Length * RHS.InstrCount;
49 bool operator>(ILPValue RHS) const {
50 return RHS < *this;
52 bool operator<=(ILPValue RHS) const {
53 return (uint64_t)InstrCount * RHS.Length
54 <= (uint64_t)Length * RHS.InstrCount;
56 bool operator>=(ILPValue RHS) const {
57 return RHS <
[all...]
/freebsd-10-stable/contrib/llvm/include/llvm/MC/
H A DMCExpr.h385 const MCExpr *LHS, *RHS; member in class:llvm::MCBinaryExpr
388 : MCExpr(MCExpr::Binary), Op(_Op), LHS(_LHS), RHS(_RHS) {}
395 const MCExpr *RHS, MCContext &Ctx);
396 static const MCBinaryExpr *CreateAdd(const MCExpr *LHS, const MCExpr *RHS, argument
398 return Create(Add, LHS, RHS, Ctx);
400 static const MCBinaryExpr *CreateAnd(const MCExpr *LHS, const MCExpr *RHS, argument
402 return Create(And, LHS, RHS, Ctx);
404 static const MCBinaryExpr *CreateDiv(const MCExpr *LHS, const MCExpr *RHS, argument
406 return Create(Div, LHS, RHS, Ctx);
408 static const MCBinaryExpr *CreateEQ(const MCExpr *LHS, const MCExpr *RHS, argument
412 CreateGT(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
416 CreateGTE(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
420 CreateLAnd(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
424 CreateLOr(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
428 CreateLT(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
432 CreateLTE(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
436 CreateMod(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
440 CreateMul(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
444 CreateNE(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
448 CreateOr(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
452 CreateShl(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
456 CreateShr(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
460 CreateSub(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
464 CreateXor(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
[all...]
/freebsd-10-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DBlockCounter.cpp32 bool operator==(const CountKey &RHS) const {
33 return (CallSite == RHS.CallSite) && (BlockID == RHS.BlockID);
36 bool operator<(const CountKey &RHS) const {
37 return (CallSite == RHS.CallSite) ? (BlockID < RHS.BlockID)
38 : (CallSite < RHS.CallSite);
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Rewrite/Core/
H A DRewriteRope.h81 void operator=(const RopePiece &RHS) { argument
82 if (StrData != RHS.StrData) {
85 StrData = RHS.StrData;
89 StartOffs = RHS.StartOffs;
90 EndOffs = RHS.EndOffs;
130 bool operator==(const RopePieceBTreeIterator &RHS) const {
131 return CurPiece == RHS.CurPiece && CurChar == RHS.CurChar;
133 bool operator!=(const RopePieceBTreeIterator &RHS) const {
134 return !operator==(RHS);
194 RewriteRope(const RewriteRope &RHS) argument
[all...]
/freebsd-10-stable/contrib/llvm/include/llvm/Object/
H A DYAML.h65 friend bool operator==(const BinaryRef &LHS, const BinaryRef &RHS);
95 inline bool operator==(const BinaryRef &LHS, const BinaryRef &RHS) { argument
97 if (LHS.Data.empty() && RHS.Data.empty())
100 return LHS.DataIsHexString == RHS.DataIsHexString && LHS.Data == RHS.Data;
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/AST/
H A DBaseSubobject.h46 friend bool operator==(const BaseSubobject &LHS, const BaseSubobject &RHS) { argument
47 return LHS.Base == RHS.Base && LHS.BaseOffset == RHS.BaseOffset;
75 const clang::BaseSubobject &RHS) {
76 return LHS == RHS;
74 isEqual(const clang::BaseSubobject &LHS, const clang::BaseSubobject &RHS) argument

Completed in 161 milliseconds

1234567891011>>