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

1234567891011

/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/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.h53 static bool isEqual(clang::QualType LHS, clang::QualType RHS) { argument
54 return LHS == RHS;
73 static bool isEqual(clang::CanQualType LHS, clang::CanQualType RHS) { argument
74 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
/external/clang/lib/Analysis/
H A DThreadSafetyLogical.cpp19 // to keep track of whether LHS and RHS are negated.
20 static bool implies(const LExpr *LHS, bool LNeg, const LExpr *RHS, bool RNeg) { argument
25 return implies(A->left(), LNeg, RHS, RNeg) &&
26 implies(A->right(), LNeg, RHS, RNeg);
35 return implies(A->left(), LNeg, RHS, RNeg) ||
36 implies(A->right(), LNeg, RHS, RNeg);
44 switch (RHS->kind()) {
50 return RNeg ? RightOrOperator(cast<And>(RHS))
51 : RightAndOperator(cast<And>(RHS));
57 return RNeg ? RightAndOperator(cast<Or>(RHS))
106 implies(const LExpr *LHS, const LExpr *RHS) argument
[all...]
/external/clang/test/SemaCXX/
H A Dwarn-self-assign.cpp22 #define RHS a macro
27 a = RHS;
28 LHS OP RHS; local
31 #undef RHS macro
H A Dunused.cpp11 APSInt &operator=(const APSInt &RHS);
14 APSInt& APSInt::operator=(const APSInt &RHS) { argument
15 APInt::operator=(RHS);
/external/llvm/include/llvm/MC/
H A DMCTargetOptions.h36 inline bool operator==(const MCTargetOptions &LHS, const MCTargetOptions &RHS) { argument
37 #define ARE_EQUAL(X) LHS.X == RHS.X
50 inline bool operator!=(const MCTargetOptions &LHS, const MCTargetOptions &RHS) { argument
51 return !(LHS == RHS);
H A DYAML.h49 friend bool operator==(const BinaryRef &LHS, const BinaryRef &RHS);
79 inline bool operator==(const BinaryRef &LHS, const BinaryRef &RHS) { argument
81 if (LHS.Data.empty() && RHS.Data.empty())
84 return LHS.DataIsHexString == RHS.DataIsHexString && LHS.Data == RHS.Data;
H A DMachineLocation.h77 inline bool operator!=(const MachineLocation &LHS, const MachineLocation &RHS) { argument
78 return !(LHS == RHS);
/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.h73 bool operator==(const SparseBitVectorElement &RHS) const {
74 if (ElementIndex != RHS.ElementIndex)
77 if (Bits[i] != RHS.Bits[i])
82 bool operator!=(const SparseBitVectorElement &RHS) const {
83 return !(*this == RHS);
184 // Union this element with RHS and return true if this one changed.
185 bool unionWith(const SparseBitVectorElement &RHS) {
190 Bits[i] |= RHS.Bits[i];
197 // Return true if we have any bits in common with RHS
198 bool intersects(const SparseBitVectorElement &RHS) cons
438 SparseBitVectorIterator(const SparseBitVector<ElementSize> *RHS, bool end = false) argument
[all...]
/external/llvm/include/llvm/IR/
H A DDebugLoc.h119 static bool isEqual(DebugLoc LHS, DebugLoc RHS) { return LHS == RHS; } argument
/external/llvm/include/llvm/Support/
H A DLineIterator.h70 friend bool operator==(const line_iterator &LHS, const line_iterator &RHS) { argument
71 return LHS.Buffer == RHS.Buffer &&
72 LHS.CurrentLine.begin() == RHS.CurrentLine.begin();
75 friend bool operator!=(const line_iterator &LHS, const line_iterator &RHS) { argument
76 return !(LHS == RHS);
/external/llvm/include/llvm/Transforms/Utils/
H A DValueMapper.h65 static inline RemapFlags operator|(RemapFlags LHS, RemapFlags RHS) { argument
66 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 DStringRef.cpp41 static int ascii_strncasecmp(const char *LHS, const char *RHS, size_t Length) { argument
44 unsigned char RHC = ascii_tolower(RHS[I]);
52 int StringRef::compare_lower(StringRef RHS) const {
53 if (int Res = ascii_strncasecmp(Data, RHS.Data, min(Length, RHS.Length)))
55 if (Length == RHS.Length)
57 return Length < RHS.Length ? -1 : 1;
73 int StringRef::compare_numeric(StringRef RHS) const {
74 for (size_t I = 0, E = min(Length, RHS.Length); I != E; ++I) {
76 if (ascii_isdigit(Data[I]) && ascii_isdigit(RHS
[all...]
H A DTargetRegistry.cpp120 const std::pair<StringRef, const Target *> *RHS) {
121 return LHS->first.compare(RHS->first);
119 TargetArraySortFn(const std::pair<StringRef, const Target *> *LHS, const std::pair<StringRef, const Target *> *RHS) argument
/external/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MachORelocationInfo.cpp99 const MCExpr *RHS = MCSymbolRefExpr::Create(RSym, Ctx); variable
101 Expr = MCBinaryExpr::CreateSub(LHS, RHS, Ctx);
/external/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyLogical.h32 /// \brief Logical implication. Returns true if the LExpr implies RHS, i.e. if
33 /// the LExpr holds, then RHS must hold. For example, (A & B) implies A.
34 inline bool implies(const LExpr *RHS) const;
56 LExpr *LHS, *RHS; member in class:clang::threadSafety::lexpr::BinOp
59 BinOp(LExpr *LHS, LExpr *RHS, Opcode Code) : LExpr(Code), LHS(LHS), RHS(RHS) {} argument
65 const LExpr *right() const { return RHS; }
66 LExpr *right() { return RHS; }
71 And(LExpr *LHS, LExpr *RHS) argument
78 Or(LExpr *LHS, LExpr *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 return std::tie(LHS.FID, LHS.Offs) < std::tie(RHS.FID, RHS.Offs);
46 friend bool operator>(FileOffset LHS, FileOffset RHS) { argument
47 return RHS < LH
49 operator >=(FileOffset LHS, FileOffset RHS) argument
52 operator <=(FileOffset LHS, FileOffset RHS) argument
[all...]
/external/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
/external/llvm/lib/IR/
H A DUse.cpp17 void Use::swap(Use &RHS) { argument
18 if (Val == RHS.Val)
25 if (RHS.Val) {
26 RHS.removeFromList();
27 Val = RHS.Val;
34 RHS.Val = OldVal;
35 RHS.Val->addUse(RHS);
37 RHS.Val = nullptr;
/external/llvm/unittests/ADT/
H A DDenseMapTest.cpp55 bool operator==(const CtorTester &RHS) const { return Value == RHS.Value; }
66 static bool isEqual(const CtorTester &LHS, const CtorTester &RHS) {
67 return LHS == RHS;
329 static bool isEqual(const unsigned& LHS, const unsigned& RHS) { argument
330 return LHS == RHS;
332 static bool isEqual(const char* LHS, const unsigned& RHS) { argument
333 return (unsigned)(LHS[0] - 'a') == RHS;
365 static bool isEqual(const unsigned& LHS, const unsigned& RHS) { argument
366 return LHS == RHS;
[all...]

Completed in 568 milliseconds

1234567891011