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

1234567

/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.cpp22 bool latency_sort::operator()(const SUnit *LHS, const SUnit *RHS) const { argument
26 if (LHS->isScheduleHigh && !RHS->isScheduleHigh)
28 if (!LHS->isScheduleHigh && RHS->isScheduleHigh)
31 unsigned LHSNum = LHS->NodeNum;
/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;
74 static bool isEqual(const clang::BaseSubobject &LHS, argument
76 return LHS == RHS;
H A DGlobalDecl.h71 friend bool operator==(const GlobalDecl &LHS, const GlobalDecl &RHS) { argument
72 return LHS.Value == RHS.Value;
109 static bool isEqual(clang::GlobalDecl LHS, argument
111 return LHS == RHS;
H A DCharUnits.h205 static bool isEqual(const clang::CharUnits &LHS, argument
207 return LHS == RHS;
/external/clang/test/SemaCXX/
H A Dwarn-self-assign.cpp18 #define LHS a macro
23 LHS = a;
25 LHS OP RHS;
27 #undef LHS macro
/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...]
H A DArrayRef.h282 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);
/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);
37 if (!LHS.empty())
38 Res.push_back(LHS);
H A DStatistic.cpp88 bool operator()(const Statistic *LHS, const Statistic *RHS) const { argument
89 int Cmp = std::strcmp(LHS->getName(), RHS->getName());
93 return std::strcmp(LHS->getDesc(), RHS->getDesc()) < 0;
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/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.h50 friend bool operator==(const ReturnAdjustment &LHS, argument
52 return LHS.NonVirtual == RHS.NonVirtual &&
53 LHS.VBaseOffsetOffset == RHS.VBaseOffsetOffset;
56 friend bool operator<(const ReturnAdjustment &LHS, argument
58 if (LHS.NonVirtual < RHS.NonVirtual)
61 return LHS.NonVirtual == RHS.NonVirtual &&
62 LHS.VBaseOffsetOffset < RHS.VBaseOffsetOffset;
80 friend bool operator==(const ThisAdjustment &LHS, argument
82 return LHS.NonVirtual == RHS.NonVirtual &&
83 LHS
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, FileOffse argument
53 operator >=(FileOffset LHS, FileOffset RHS) argument
56 operator <=(FileOffset LHS, FileOffset RHS) argument
[all...]
/external/llvm/lib/DebugInfo/
H A DDWARFContext.cpp119 bool operator()(const DWARFCompileUnit &LHS, argument
121 return LHS.getOffset() < RHS.getOffset();
123 bool operator()(const DWARFCompileUnit &LHS, uint32_t RHS) const { argument
124 return LHS.getOffset() < RHS;
126 bool operator()(uint32_t LHS, const DWARFCompileUnit &RHS) const { argument
127 return LHS < RHS.getOffset();
/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
69 const TreePatternNode *LHSSrc = LHS->getSrcPattern();
85 unsigned LHSSize = LHS->getPatternComplexity(CGP);
87 if (LHSSize > RHSSize) return true; // LHS -> bigger -> less cost
91 unsigned LHSCost = getResultPatternCost(LHS->getDstPattern(), CGP);
96 unsigned LHSPatSize = getResultPatternSize(LHS->getDstPattern(), CGP);
103 assert(LHS == RHS || LHS->ID != RHS->ID);
104 return LHS
[all...]
/external/clang/lib/StaticAnalyzer/Core/
H A DSimpleConstraintManager.cpp212 static llvm::APSInt computeAdjustment(const SymExpr *LHS, argument
217 // First check if the LHS is a simple symbol reference.
218 if (isa<SymbolData>(LHS))
222 const SymIntExpr *SE = dyn_cast<SymIntExpr>(LHS);
243 const SymExpr *LHS,
256 SymbolRef Sym = LHS;
257 llvm::APSInt Adjustment = computeAdjustment(LHS, Sym);
242 assumeSymRel(ProgramStateRef state, const SymExpr *LHS, BinaryOperator::Opcode op, const llvm::APSInt& Int) argument
/external/llvm/lib/Analysis/
H A DPHITransAddr.cpp262 // PHI translate the LHS.
267 Value *LHS = PHITranslateSubExpr(Inst->getOperand(0), CurBB, PredBB, DT); local
268 if (LHS == 0) return 0;
270 // If the PHI translated LHS is an add of a constant, fold the immediates.
271 if (BinaryOperator *BOp = dyn_cast<BinaryOperator>(LHS))
274 LHS = BOp->getOperand(0);
278 // If the old 'LHS' was an input, add the new 'LHS' as an input.
281 AddAsInput(LHS);
286 if (Value *Res = SimplifyAddInst(LHS, RH
[all...]
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExprEngine.h414 SVal LHS, SVal RHS, QualType T) {
415 return svalBuilder.evalBinOp(ST, Op, LHS, RHS, T);
413 evalBinOp(ProgramStateRef ST, BinaryOperator::Opcode Op, SVal LHS, SVal RHS, QualType T) argument
/external/clang/lib/Driver/
H A DArgList.cpp239 StringRef LHS,
242 if (Cur.size() == LHS.size() + RHS.size() &&
243 Cur.startswith(LHS) && Cur.endswith(RHS))
246 return MakeArgString(LHS + RHS);
238 GetOrMakeJoinedArgString(unsigned Index, StringRef LHS, StringRef RHS) const argument
/external/clang/lib/Lex/
H A DPPExpressions.cpp56 static bool EvaluateDirectiveSubExpr(PPValue &LHS, unsigned MinPrec,
434 /// PeekTok, and whose precedence is PeekPrec. This returns the result in LHS.
439 static bool EvaluateDirectiveSubExpr(PPValue &LHS, unsigned MinPrec, argument
446 << LHS.getRange();
464 if (Operator == tok::ampamp && LHS.Val == 0)
466 else if (Operator == tok::pipepipe && LHS.Val != 0)
468 else if (Operator == tok::question && LHS.Val == 0)
477 PPValue RHS(LHS.getBitWidth());
499 // the LHS of the '?'. The grammar rule is:
520 llvm::APSInt Res(LHS
[all...]
H A DPreprocessingRecord.cpp180 SourceLocation LHS = getLoc(L); local
182 return SM.isBeforeInTranslationUnit(LHS, RHS);
186 SourceLocation LHS = getLoc(L); local
187 return SM.isBeforeInTranslationUnit(LHS, RHS);
190 bool operator()(SourceLocation LHS, PreprocessedEntity *R) const { argument
192 return SM.isBeforeInTranslationUnit(LHS, RHS);

Completed in 466 milliseconds

1234567