Searched defs:RHS (Results 1 - 25 of 196) sorted by relevance

12345678

/external/clang/test/Index/
H A Dcxx-operator-overload.cpp5 Cls operator +(const Cls &RHS);
13 Cls Cls::operator +(const Cls &RHS) { while (1) {} } argument
/external/clang/test/SemaCXX/
H A Dunused.cpp9 APSInt &operator=(const APSInt &RHS);
12 APSInt& APSInt::operator=(const APSInt &RHS) { argument
13 APInt::operator=(RHS);
H A Dwarn-self-assign.cpp19 #define RHS a macro
24 a = RHS;
25 LHS OP RHS; local
28 #undef RHS macro
/external/llvm/lib/CodeGen/
H A DMachineModuleInfoImpls.cpp27 static int SortSymbolPair(const void *LHS, const void *RHS) { argument
30 const MCSymbol *RHSS = ((const PairTy *)RHS)->first;
/external/clang/include/clang/AST/
H A DTypeOrdering.h51 static bool isEqual(clang::QualType LHS, clang::QualType RHS) { argument
52 return LHS == RHS;
71 static bool isEqual(clang::CanQualType LHS, clang::CanQualType RHS) { argument
72 return LHS == RHS;
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
H A DDeclContextInternals.h43 StoredDeclsList(const StoredDeclsList &RHS) : Data(RHS.Data) { argument
44 if (DeclsTy *RHSVec = RHS.getAsVector())
54 StoredDeclsList &operator=(const StoredDeclsList &RHS) { argument
57 Data = RHS.Data;
58 if (DeclsTy *RHSVec = RHS.getAsVector())
H A DGlobalDecl.h71 friend bool operator==(const GlobalDecl &LHS, const GlobalDecl &RHS) { argument
72 return LHS.Value == RHS.Value;
110 clang::GlobalDecl RHS) {
111 return LHS == RHS;
109 isEqual(clang::GlobalDecl LHS, clang::GlobalDecl RHS) argument
/external/llvm/include/llvm/Support/
H A DSMLoc.h27 SMLoc(const SMLoc &RHS) : Ptr(RHS.Ptr) {} argument
31 bool operator==(const SMLoc &RHS) const { return RHS.Ptr == Ptr; }
32 bool operator!=(const SMLoc &RHS) const { return RHS.Ptr != Ptr; }
/external/llvm/lib/Transforms/Utils/
H A DCmpInstAnalysis.cpp72 Value *llvm::getICmpValue(bool Sign, unsigned Code, Value *LHS, Value *RHS, argument
/external/llvm/include/llvm/ADT/
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 DSparseBitVector.h72 bool operator==(const SparseBitVectorElement &RHS) const {
73 if (ElementIndex != RHS.ElementIndex)
76 if (Bits[i] != RHS.Bits[i])
81 bool operator!=(const SparseBitVectorElement &RHS) const {
82 return !(*this == RHS);
183 // Union this element with RHS and return true if this one changed.
184 bool unionWith(const SparseBitVectorElement &RHS) {
189 Bits[i] |= RHS.Bits[i];
196 // Return true if we have any bits in common with RHS
197 bool intersects(const SparseBitVectorElement &RHS) cons
421 SparseBitVectorIterator(const SparseBitVector<ElementSize> *RHS, bool end = false) argument
[all...]
H A DOwningPtr.h66 void swap(OwningPtr &RHS) { argument
67 T *Tmp = RHS.Ptr;
68 RHS.Ptr = Ptr;
119 void swap(OwningArrayPtr &RHS) { argument
120 T *Tmp = RHS.Ptr;
121 RHS.Ptr = Ptr;
H A DTinyPtrVector.h31 TinyPtrVector(const TinyPtrVector &RHS) : Val(RHS.Val) { argument
H A DArrayRef.h103 bool equals(ArrayRef RHS) const {
104 if (Length != RHS.Length)
107 if (Data[i] != RHS.Data[i])
282 inline bool operator==(ArrayRef<T> LHS, ArrayRef<T> RHS) { argument
283 return LHS.equals(RHS);
287 inline bool operator!=(ArrayRef<T> LHS, ArrayRef<T> RHS) { argument
288 return !(LHS == RHS);
H A DPackedVector.h129 bool operator==(const PackedVector &RHS) const {
130 return Bits == RHS.Bits;
133 bool operator!=(const PackedVector &RHS) const {
134 return Bits != RHS.Bits;
137 const PackedVector &operator=(const PackedVector &RHS) { argument
138 Bits = RHS.Bits;
142 PackedVector &operator|=(const PackedVector &RHS) { argument
143 Bits |= RHS.Bits;
147 void swap(PackedVector &RHS) { argument
148 Bits.swap(RHS
[all...]
/external/llvm/include/llvm/Transforms/Utils/
H A DValueMapper.h52 static inline RemapFlags operator|(RemapFlags LHS, RemapFlags RHS) { argument
53 return RemapFlags(unsigned(LHS)|unsigned(RHS));
/external/llvm/lib/Support/
H A DDeltaAlgorithm.cpp32 changeset_ty LHS, RHS; local
36 ((idx < N) ? LHS : RHS).insert(*it);
39 if (!RHS.empty())
40 Res.push_back(RHS);
H A DTargetRegistry.cpp97 static int TargetArraySortFn(const void *LHS, const void *RHS) { argument
99 return ((const pair_ty*)LHS)->first.compare(((const pair_ty*)RHS)->first);
/external/llvm/lib/VMCore/
H A DUse.cpp23 void Use::swap(Use &RHS) { argument
25 Value *V2(RHS.Val);
32 RHS.removeFromList();
40 RHS.Val = V1;
41 V1->addUse(RHS);
43 RHS.Val = 0;
/external/llvm/unittests/ADT/
H A DDenseMapTest.cpp188 static bool isEqual(const unsigned& LHS, const unsigned& RHS) { argument
189 return LHS == RHS;
191 static bool isEqual(const char* LHS, const unsigned& RHS) { argument
192 return (unsigned)(LHS[0] - 'a') == RHS;
/external/clang/include/clang/Basic/
H A DABI.h51 const ReturnAdjustment &RHS) {
52 return LHS.NonVirtual == RHS.NonVirtual &&
53 LHS.VBaseOffsetOffset == RHS.VBaseOffsetOffset;
57 const ReturnAdjustment &RHS) {
58 if (LHS.NonVirtual < RHS.NonVirtual)
61 return LHS.NonVirtual == RHS.NonVirtual &&
62 LHS.VBaseOffsetOffset < RHS.VBaseOffsetOffset;
81 const ThisAdjustment &RHS) {
82 return LHS.NonVirtual == RHS.NonVirtual &&
83 LHS.VCallOffsetOffset == RHS
50 operator ==(const ReturnAdjustment &LHS, const ReturnAdjustment &RHS) argument
56 operator <(const ReturnAdjustment &LHS, const ReturnAdjustment &RHS) argument
80 operator ==(const ThisAdjustment &LHS, const ThisAdjustment &RHS) argument
86 operator <(const ThisAdjustment &LHS, const ThisAdjustment &RHS) argument
110 operator ==(const ThunkInfo &LHS, const ThunkInfo &RHS) argument
114 operator <(const ThunkInfo &LHS, const ThunkInfo &RHS) argument
[all...]
/external/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...]
/external/llvm/utils/TableGen/
H A DDAGISelEmitter.cpp61 // PatternSortingPredicate - return true if we prefer to match LHS before RHS.
68 bool operator()(const PatternToMatch *LHS, const PatternToMatch *RHS) { argument
70 const TreePatternNode *RHSSrc = RHS->getSrcPattern();
86 unsigned RHSSize = RHS->getPatternComplexity(CGP);
92 unsigned RHSCost = getResultPatternCost(RHS->getDstPattern(), CGP);
97 unsigned RHSPatSize = getResultPatternSize(RHS->getDstPattern(), CGP);
103 assert(LHS == RHS || LHS->ID != RHS->ID);
104 return LHS->ID < RHS->ID;
/external/clang/lib/ARCMigrate/
H A DTransZeroOutPropsInDealloc.cpp69 // Remove the setter message if RHS is null
71 Expr *RHS = ME->getArg(0); local
73 RHS->isNullPointerConstant(Ctx,

Completed in 1665 milliseconds

12345678