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

1234567891011>>

/external/clang/lib/StaticAnalyzer/Core/
H A DCheckerHelpers.cpp79 const Expr *RHS = 0; local
84 RHS = Assign->getRHS();
92 RHS = VD->getAnyInitializer();
95 return std::make_pair(VD, RHS);
/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/include/llvm/Transforms/InstCombine/
H A DInstCombine.h36 InstCombinePass &operator=(InstCombinePass &&RHS) { argument
37 Worklist = std::move(RHS.Worklist);
/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.h48 inline bool operator==(const MCTargetOptions &LHS, const MCTargetOptions &RHS) { argument
49 #define ARE_EQUAL(X) LHS.X == RHS.X
66 inline bool operator!=(const MCTargetOptions &LHS, const MCTargetOptions &RHS) { argument
67 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;
/external/llvm/lib/Transforms/Utils/
H A DCmpInstAnalysis.cpp72 Value *llvm::getICmpValue(bool Sign, unsigned Code, Value *LHS, Value *RHS, argument
/external/llvm/unittests/ADT/
H A DDenseSetTest.cpp37 static bool isEqual(const unsigned& LHS, const unsigned& RHS) { argument
38 return LHS == RHS;
40 static bool isEqual(const char* LHS, const unsigned& RHS) { argument
41 return (unsigned)(LHS[0] - 'a') == RHS;
/external/llvm/unittests/Analysis/
H A DValueTrackingTest.cpp54 Value *LHS, *RHS; local
56 SelectPatternResult R = matchSelectPattern(A, LHS, RHS, &CastOp);
/external/llvm/include/llvm/ADT/
H A DDenseMapInfo.h30 //static bool isEqual(const T &LHS, const T &RHS);
50 static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; } argument
58 static bool isEqual(const char &LHS, const char &RHS) { argument
59 return LHS == RHS;
68 static bool isEqual(const unsigned& LHS, const unsigned& RHS) { argument
69 return LHS == RHS;
80 static bool isEqual(const unsigned long& LHS, const unsigned long& RHS) { argument
81 return LHS == RHS;
93 const unsigned long long& RHS) {
92 isEqual(const unsigned long long& LHS, const unsigned long long& RHS) argument
103 isEqual(const int& LHS, const int& RHS) argument
117 isEqual(const long& LHS, const long& RHS) argument
129 isEqual(const long long& LHS, const long long& RHS) argument
163 isEqual(const Pair &LHS, const Pair &RHS) argument
185 isEqual(StringRef LHS, StringRef RHS) argument
210 isEqual(ArrayRef<T> LHS, ArrayRef<T> 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);
163 // Union this element with RHS and return true if this one changed.
164 bool unionWith(const SparseBitVectorElement &RHS) {
169 Bits[i] |= RHS.Bits[i];
176 // Return true if we have any bits in common with RHS
177 bool intersects(const SparseBitVectorElement &RHS) cons
420 SparseBitVectorIterator(const SparseBitVector<ElementSize> *RHS, bool end = false) argument
[all...]
/external/llvm/include/llvm/Support/
H A DLineIterator.h73 friend bool operator==(const line_iterator &LHS, const line_iterator &RHS) { argument
74 return LHS.Buffer == RHS.Buffer &&
75 LHS.CurrentLine.begin() == RHS.CurrentLine.begin();
78 friend bool operator!=(const line_iterator &LHS, const line_iterator &RHS) { argument
79 return !(LHS == 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, std::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 = std::min(Length, RHS.Length); I != E; ++I) {
76 if (ascii_isdigit(Data[I]) && ascii_isdigit(RHS
[all...]
/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/include/llvm/Analysis/
H A DMemoryLocation.h136 static bool isEqual(const MemoryLocation &LHS, const MemoryLocation &RHS) { argument
137 return LHS == RHS;
/external/llvm/include/llvm/ExecutionEngine/
H A DJITSymbolFlags.h28 inline JITSymbolFlags operator|(JITSymbolFlags LHS, JITSymbolFlags RHS) { argument
31 static_cast<UT>(LHS) | static_cast<UT>(RHS));
34 inline JITSymbolFlags& operator |=(JITSymbolFlags &LHS, JITSymbolFlags RHS) { argument
35 LHS = LHS | RHS;
39 inline JITSymbolFlags operator&(JITSymbolFlags LHS, JITSymbolFlags RHS) { argument
42 static_cast<UT>(LHS) & static_cast<UT>(RHS));
45 inline JITSymbolFlags& operator &=(JITSymbolFlags &LHS, JITSymbolFlags RHS) { argument
46 LHS = LHS & RHS;
/external/llvm/include/llvm/MC/MCParser/
H A DMCParsedAsmOperand.h38 MCParsedAsmOperand(const MCParsedAsmOperand &RHS) = default; member in class:llvm::MCParsedAsmOperand

Completed in 610 milliseconds

1234567891011>>