Searched defs:LHS (Results 1 - 25 of 233) sorted by relevance

12345678910

/external/llvm/lib/CodeGen/
H A DMachineModuleInfoImpls.cpp27 static int SortSymbolPair(const void *LHS, const void *RHS) { argument
29 const MCSymbol *LHSS = ((const PairTy *)LHS)->first;
H A DLatencyPriorityQueue.cpp23 bool latency_sort::operator()(const SUnit *LHS, const SUnit *RHS) const { argument
27 if (LHS->isScheduleHigh && !RHS->isScheduleHigh)
29 if (!LHS->isScheduleHigh && RHS->isScheduleHigh)
32 unsigned LHSNum = LHS->NodeNum;
/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;
74 static bool isEqual(const clang::BaseSubobject &LHS, argument
76 return LHS == RHS;
/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
29 return implies(LHS, LNeg, A->left(), RNeg) &&
30 implies(LHS, LNeg, A->right(), RNeg);
39 return implies(LHS, LNeg, A->left(), RNeg) ||
40 implies(LHS, LNeg, A->right(), RNeg);
61 // to return !implies(LHS, RHS).
62 return implies(LHS, LNeg, cast<Not>(RHS)->exp(), !RNeg);
69 switch (LHS->kind()) {
75 return LNeg ? LeftAndOperator(cast<And>(LHS))
106 implies(const LExpr *LHS, const LExpr *RHS) argument
[all...]
/external/clang/test/SemaCXX/
H A Dwarn-self-assign.cpp21 #define LHS a macro
26 LHS = a;
28 LHS OP RHS;
30 #undef LHS macro
/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
77 return ConstantInt::get(CmpInst::makeCmpResultType(LHS->getType()), 0);
85 return ConstantInt::get(CmpInst::makeCmpResultType(LHS->getType()), 1);
/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;
89 static bool isEqual(const unsigned long long& LHS, 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...]
/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);
37 if (!LHS.empty())
38 Res.push_back(LHS);
H A DStringRef.cpp41 static int ascii_strncasecmp(const char *LHS, const char *RHS, size_t Length) { argument
43 unsigned char LHC = ascii_tolower(LHS[I]);
H A DTargetRegistry.cpp119 static int TargetArraySortFn(const std::pair<StringRef, const Target *> *LHS, argument
121 return LHS->first.compare(RHS->first);
/external/llvm/lib/Target/
H A DTargetLibraryInfo.cpp700 /// Compare two strings and return true if LHS is lexicographically less than
702 bool operator()(const char *LHS, StringRef RHS) const { argument
703 // Compare prefixes with strncmp. If prefixes match we know that LHS is
705 return std::strncmp(LHS, RHS.data(), RHS.size()) < 0;
709 bool operator()(StringRef LHS, const char *RHS) const { return LHS < RHS; } argument
710 bool operator()(StringRef LHS, StringRef RHS) const { return LHS < RHS; } argument
711 bool operator()(const char *LHS, const char *RHS) const { argument
712 return std::strcmp(LHS, RH
[all...]
/external/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MachORelocationInfo.cpp87 const MCExpr *LHS = MCSymbolRefExpr::Create(Sym, Ctx); variable
101 Expr = MCBinaryExpr::CreateSub(LHS, RHS, Ctx);
/external/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyLogical.h56 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
62 const LExpr *left() const { return LHS; }
63 LExpr *left() { return LHS; }
71 And(LExpr *LHS, LExpr *RHS) : BinOp(LHS, RHS, LExpr::And) {} argument
78 Or(LExpr *LHS, LExpr *RHS) : BinOp(LHS, RH 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 < LHS;
49 operator >=(FileOffset LHS, FileOffset RHS) argument
52 operator <=(FileOffset LHS, FileOffset RHS) argument
[all...]
/external/clang/include/clang/Lex/
H A DPPConditionalDirectiveRecord.h46 bool operator()(const CondDirectiveLoc &LHS, argument
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());
80 bool areInDifferentConditionalDirectiveRegion(SourceLocation LHS, argument
82 return findConditionalDirectiveRegionLoc(LHS) !=
/external/llvm/lib/MC/
H A DMCExternalSymbolizer.cpp114 const MCExpr *LHS; local
116 LHS = MCBinaryExpr::CreateSub(Add, Sub, Ctx);
118 LHS = MCUnaryExpr::CreateMinus(Sub, Ctx);
120 Expr = MCBinaryExpr::CreateAdd(LHS, Off, Ctx);
122 Expr = LHS;
/external/llvm/lib/Target/AArch64/Disassembler/
H A DAArch64ExternalSymbolizer.cpp196 const MCExpr *LHS; local
198 LHS = MCBinaryExpr::CreateSub(Add, Sub, Ctx);
200 LHS = MCUnaryExpr::CreateMinus(Sub, Ctx);
202 Expr = MCBinaryExpr::CreateAdd(LHS, Off, Ctx);
204 Expr = LHS;
/external/llvm/unittests/ADT/
H A DDenseMapTest.cpp66 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;

Completed in 468 milliseconds

12345678910