/external/llvm/lib/CodeGen/ |
H A D | MachineModuleInfoImpls.cpp | 27 static int SortSymbolPair(const void *LHS, const void *RHS) { argument 29 const MCSymbol *LHSS = ((const PairTy *)LHS)->first;
|
H A D | LatencyPriorityQueue.cpp | 22 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 D | TypeOrdering.h | 51 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 D | BaseSubobject.h | 46 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 D | GlobalDecl.h | 71 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 D | CharUnits.h | 205 static bool isEqual(const clang::CharUnits &LHS, argument 207 return LHS == RHS;
|
/external/clang/test/SemaCXX/ |
H A D | warn-self-assign.cpp | 18 #define LHS a macro 23 LHS = a; 25 LHS OP RHS; 27 #undef LHS macro
|
/external/llvm/lib/Transforms/Utils/ |
H A D | CmpInstAnalysis.cpp | 72 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 D | DenseMapInfo.h | 27 //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 D | ArrayRef.h | 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);
|
/external/llvm/include/llvm/Transforms/Utils/ |
H A D | ValueMapper.h | 52 static inline RemapFlags operator|(RemapFlags LHS, RemapFlags RHS) { argument 53 return RemapFlags(unsigned(LHS)|unsigned(RHS));
|
/external/llvm/lib/Support/ |
H A D | DeltaAlgorithm.cpp | 32 changeset_ty LHS, RHS; local 36 ((idx < N) ? LHS : RHS).insert(*it); 37 if (!LHS.empty()) 38 Res.push_back(LHS);
|
H A D | Statistic.cpp | 88 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 D | TargetRegistry.cpp | 97 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 D | DenseMapTest.cpp | 188 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 D | ABI.h | 50 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 D | FileOffset.h | 37 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 D | DWARFContext.cpp | 119 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 D | DAGISelEmitter.cpp | 61 // 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 D | SimpleConstraintManager.cpp | 212 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 D | PHITransAddr.cpp | 262 // 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 D | ExprEngine.h | 414 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 D | ArgList.cpp | 239 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 D | PPExpressions.cpp | 56 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 D | PreprocessingRecord.cpp | 180 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);
|