/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 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/llvm/include/llvm/ExecutionEngine/ |
H A D | JITSymbolFlags.h | 28 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; 36 return LHS; 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 [all...] |
/external/clang/lib/Analysis/ |
H A D | ThreadSafetyLogical.cpp | 19 // 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/llvm/include/llvm/IR/ |
H A D | NoFolder.h | 40 Instruction *CreateAdd(Constant *LHS, Constant *RHS, argument 42 BinaryOperator *BO = BinaryOperator::CreateAdd(LHS, RHS); 47 Instruction *CreateNSWAdd(Constant *LHS, Constant *RHS) const { argument 48 return BinaryOperator::CreateNSWAdd(LHS, RHS); 50 Instruction *CreateNUWAdd(Constant *LHS, Constant *RHS) const { argument 51 return BinaryOperator::CreateNUWAdd(LHS, RHS); 53 Instruction *CreateFAdd(Constant *LHS, Constant *RHS) const { argument 54 return BinaryOperator::CreateFAdd(LHS, RHS); 56 Instruction *CreateSub(Constant *LHS, Constant *RHS, argument 58 BinaryOperator *BO = BinaryOperator::CreateSub(LHS, RH 63 CreateNSWSub(Constant *LHS, Constant *RHS) const argument 66 CreateNUWSub(Constant *LHS, Constant *RHS) const argument 69 CreateFSub(Constant *LHS, Constant *RHS) const argument 72 CreateMul(Constant *LHS, Constant *RHS, bool HasNUW = false, bool HasNSW = false) const argument 79 CreateNSWMul(Constant *LHS, Constant *RHS) const argument 82 CreateNUWMul(Constant *LHS, Constant *RHS) const argument 85 CreateFMul(Constant *LHS, Constant *RHS) const argument 88 CreateUDiv(Constant *LHS, Constant *RHS, bool isExact = false) const argument 94 CreateExactUDiv(Constant *LHS, Constant *RHS) const argument 97 CreateSDiv(Constant *LHS, Constant *RHS, bool isExact = false) const argument 103 CreateExactSDiv(Constant *LHS, Constant *RHS) const argument 106 CreateFDiv(Constant *LHS, Constant *RHS) const argument 109 CreateURem(Constant *LHS, Constant *RHS) const argument 112 CreateSRem(Constant *LHS, Constant *RHS) const argument 115 CreateFRem(Constant *LHS, Constant *RHS) const argument 118 CreateShl(Constant *LHS, Constant *RHS, bool HasNUW = false, bool HasNSW = false) const argument 125 CreateLShr(Constant *LHS, Constant *RHS, bool isExact = false) const argument 131 CreateAShr(Constant *LHS, Constant *RHS, bool isExact = false) const argument 137 CreateAnd(Constant *LHS, Constant *RHS) const argument 140 CreateOr(Constant *LHS, Constant *RHS) const argument 143 CreateXor(Constant *LHS, Constant *RHS) const argument 147 CreateBinOp(Instruction::BinaryOps Opc, Constant *LHS, Constant *RHS) const argument 254 CreateICmp(CmpInst::Predicate P, Constant *LHS, Constant *RHS) const argument 258 CreateFCmp(CmpInst::Predicate P, Constant *LHS, Constant *RHS) const argument [all...] |
H A D | ConstantFolder.h | 34 Constant *CreateAdd(Constant *LHS, Constant *RHS, argument 36 return ConstantExpr::getAdd(LHS, RHS, HasNUW, HasNSW); 38 Constant *CreateFAdd(Constant *LHS, Constant *RHS) const { argument 39 return ConstantExpr::getFAdd(LHS, RHS); 41 Constant *CreateSub(Constant *LHS, Constant *RHS, argument 43 return ConstantExpr::getSub(LHS, RHS, HasNUW, HasNSW); 45 Constant *CreateFSub(Constant *LHS, Constant *RHS) const { argument 46 return ConstantExpr::getFSub(LHS, RHS); 48 Constant *CreateMul(Constant *LHS, Constant *RHS, argument 50 return ConstantExpr::getMul(LHS, RH 52 CreateFMul(Constant *LHS, Constant *RHS) const argument 55 CreateUDiv(Constant *LHS, Constant *RHS, bool isExact = false) const argument 59 CreateSDiv(Constant *LHS, Constant *RHS, bool isExact = false) const argument 63 CreateFDiv(Constant *LHS, Constant *RHS) const argument 66 CreateURem(Constant *LHS, Constant *RHS) const argument 69 CreateSRem(Constant *LHS, Constant *RHS) const argument 72 CreateFRem(Constant *LHS, Constant *RHS) const argument 75 CreateShl(Constant *LHS, Constant *RHS, bool HasNUW = false, bool HasNSW = false) const argument 79 CreateLShr(Constant *LHS, Constant *RHS, bool isExact = false) const argument 83 CreateAShr(Constant *LHS, Constant *RHS, bool isExact = false) const argument 87 CreateAnd(Constant *LHS, Constant *RHS) const argument 90 CreateOr(Constant *LHS, Constant *RHS) const argument 93 CreateXor(Constant *LHS, Constant *RHS) const argument 97 CreateBinOp(Instruction::BinaryOps Opc, Constant *LHS, Constant *RHS) const argument 201 CreateICmp(CmpInst::Predicate P, Constant *LHS, Constant *RHS) const argument 205 CreateFCmp(CmpInst::Predicate P, Constant *LHS, Constant *RHS) const argument [all...] |
H A D | PatternMatch.h | 396 AnyBinaryOp_match(const LHS_t &LHS, const RHS_t &RHS) : L(LHS), R(RHS) {} argument 405 template <typename LHS, typename RHS> 406 inline AnyBinaryOp_match<LHS, RHS> m_BinOp(const LHS &L, const RHS &R) { 407 return AnyBinaryOp_match<LHS, RHS>(L, R); 419 BinaryOp_match(const LHS_t &LHS, const RHS_t &RHS) : L(LHS), R(RHS) {} argument 433 template <typename LHS, typename RHS> 434 inline BinaryOp_match<LHS, RH 547 OverflowingBinaryOp_match(const LHS_t &LHS, const RHS_t &RHS) argument 640 BinOp2_match(const LHS_t &LHS, const RHS_t &RHS) argument 705 CmpClass_match(PredicateTy &Pred, const LHS_t &LHS, const RHS_t &RHS) argument 746 SelectClass_match(const Cond_t &Cond, const LHS_t &LHS, const RHS_t &RHS) argument 836 not_match(const LHS_t &LHS) argument 846 matchIfNot(Value *LHS, Value *RHS) argument 859 neg_match(const LHS_t &LHS) argument 869 matchIfNeg(Value *LHS, Value *RHS) argument 882 fneg_match(const LHS_t &LHS) argument 892 matchIfFNeg(Value *LHS, Value *RHS) argument 955 MaxMin_match(const LHS_t &LHS, const RHS_t &RHS) argument 969 Value *LHS = Cmp->getOperand(0); local [all...] |
H A D | IRBuilder.h | 674 Value *LHS, Value *RHS, 677 BinaryOperator *BO = Insert(BinaryOperator::Create(Opc, LHS, RHS), Name); 694 Value *CreateAdd(Value *LHS, Value *RHS, const Twine &Name = "", argument 696 if (Constant *LC = dyn_cast<Constant>(LHS)) 699 return CreateInsertNUWNSWBinOp(Instruction::Add, LHS, RHS, Name, 702 Value *CreateNSWAdd(Value *LHS, Value *RHS, const Twine &Name = "") { argument 703 return CreateAdd(LHS, RHS, Name, false, true); 705 Value *CreateNUWAdd(Value *LHS, Value *RHS, const Twine &Name = "") { argument 706 return CreateAdd(LHS, RHS, Name, true, false); 708 Value *CreateFAdd(Value *LHS, Valu argument 673 CreateInsertNUWNSWBinOp(BinaryOperator::BinaryOps Opc, Value *LHS, Value *RHS, const Twine &Name, bool HasNUW, bool HasNSW) argument 716 CreateSub(Value *LHS, Value *RHS, const Twine &Name = �, bool HasNUW = false, bool HasNSW = false) argument 724 CreateNSWSub(Value *LHS, Value *RHS, const Twine &Name = �) argument 727 CreateNUWSub(Value *LHS, Value *RHS, const Twine &Name = �) argument 730 CreateFSub(Value *LHS, Value *RHS, const Twine &Name = �, MDNode *FPMathTag = nullptr) argument 738 CreateMul(Value *LHS, Value *RHS, const Twine &Name = �, bool HasNUW = false, bool HasNSW = false) argument 746 CreateNSWMul(Value *LHS, Value *RHS, const Twine &Name = �) argument 749 CreateNUWMul(Value *LHS, Value *RHS, const Twine &Name = �) argument 752 CreateFMul(Value *LHS, Value *RHS, const Twine &Name = �, MDNode *FPMathTag = nullptr) argument 760 CreateUDiv(Value *LHS, Value *RHS, const Twine &Name = �, bool isExact = false) argument 769 CreateExactUDiv(Value *LHS, Value *RHS, const Twine &Name = �) argument 772 CreateSDiv(Value *LHS, Value *RHS, const Twine &Name = �, bool isExact = false) argument 781 CreateExactSDiv(Value *LHS, Value *RHS, const Twine &Name = �) argument 784 CreateFDiv(Value *LHS, Value *RHS, const Twine &Name = �, MDNode *FPMathTag = nullptr) argument 792 CreateURem(Value *LHS, Value *RHS, const Twine &Name = �) argument 798 CreateSRem(Value *LHS, Value *RHS, const Twine &Name = �) argument 804 CreateFRem(Value *LHS, Value *RHS, const Twine &Name = �, MDNode *FPMathTag = nullptr) argument 813 CreateShl(Value *LHS, Value *RHS, const Twine &Name = �, bool HasNUW = false, bool HasNSW = false) argument 821 CreateShl(Value *LHS, const APInt &RHS, const Twine &Name = �, bool HasNUW = false, bool HasNSW = false) argument 826 CreateShl(Value *LHS, uint64_t RHS, const Twine &Name = �, bool HasNUW = false, bool HasNSW = false) argument 832 CreateLShr(Value *LHS, Value *RHS, const Twine &Name = �, bool isExact = false) argument 841 CreateLShr(Value *LHS, const APInt &RHS, const Twine &Name = �, bool isExact = false) argument 845 CreateLShr(Value *LHS, uint64_t RHS, const Twine &Name = �, bool isExact = false) argument 850 CreateAShr(Value *LHS, Value *RHS, const Twine &Name = �, bool isExact = false) argument 859 CreateAShr(Value *LHS, const APInt &RHS, const Twine &Name = �, bool isExact = false) argument 863 CreateAShr(Value *LHS, uint64_t RHS, const Twine &Name = �, bool isExact = false) argument 868 CreateAnd(Value *LHS, Value *RHS, const Twine &Name = �) argument 877 CreateAnd(Value *LHS, const APInt &RHS, const Twine &Name = �) argument 880 CreateAnd(Value *LHS, uint64_t RHS, const Twine &Name = �) argument 884 CreateOr(Value *LHS, Value *RHS, const Twine &Name = �) argument 893 CreateOr(Value *LHS, const APInt &RHS, const Twine &Name = �) argument 896 CreateOr(Value *LHS, uint64_t RHS, const Twine &Name = �) argument 900 CreateXor(Value *LHS, Value *RHS, const Twine &Name = �) argument 906 CreateXor(Value *LHS, const APInt &RHS, const Twine &Name = �) argument 909 CreateXor(Value *LHS, uint64_t RHS, const Twine &Name = �) argument 913 CreateBinOp(Instruction::BinaryOps Opc, Value *LHS, Value *RHS, const Twine &Name = �, MDNode *FPMathTag = nullptr) argument 1340 CreateICmpEQ(Value *LHS, Value *RHS, const Twine &Name = �) argument 1343 CreateICmpNE(Value *LHS, Value *RHS, const Twine &Name = �) argument 1346 CreateICmpUGT(Value *LHS, Value *RHS, const Twine &Name = �) argument 1349 CreateICmpUGE(Value *LHS, Value *RHS, const Twine &Name = �) argument 1352 CreateICmpULT(Value *LHS, Value *RHS, const Twine &Name = �) argument 1355 CreateICmpULE(Value *LHS, Value *RHS, const Twine &Name = �) argument 1358 CreateICmpSGT(Value *LHS, Value *RHS, const Twine &Name = �) argument 1361 CreateICmpSGE(Value *LHS, Value *RHS, const Twine &Name = �) argument 1364 CreateICmpSLT(Value *LHS, Value *RHS, const Twine &Name = �) argument 1367 CreateICmpSLE(Value *LHS, Value *RHS, const Twine &Name = �) argument 1371 CreateFCmpOEQ(Value *LHS, Value *RHS, const Twine &Name = �) argument 1374 CreateFCmpOGT(Value *LHS, Value *RHS, const Twine &Name = �) argument 1377 CreateFCmpOGE(Value *LHS, Value *RHS, const Twine &Name = �) argument 1380 CreateFCmpOLT(Value *LHS, Value *RHS, const Twine &Name = �) argument 1383 CreateFCmpOLE(Value *LHS, Value *RHS, const Twine &Name = �) argument 1386 CreateFCmpONE(Value *LHS, Value *RHS, const Twine &Name = �) argument 1389 CreateFCmpORD(Value *LHS, Value *RHS, const Twine &Name = �) argument 1392 CreateFCmpUNO(Value *LHS, Value *RHS, const Twine &Name = �) argument 1395 CreateFCmpUEQ(Value *LHS, Value *RHS, const Twine &Name = �) argument 1398 CreateFCmpUGT(Value *LHS, Value *RHS, const Twine &Name = �) argument 1401 CreateFCmpUGE(Value *LHS, Value *RHS, const Twine &Name = �) argument 1404 CreateFCmpULT(Value *LHS, Value *RHS, const Twine &Name = �) argument 1407 CreateFCmpULE(Value *LHS, Value *RHS, const Twine &Name = �) argument 1410 CreateFCmpUNE(Value *LHS, Value *RHS, const Twine &Name = �) argument 1414 CreateICmp(CmpInst::Predicate P, Value *LHS, Value *RHS, const Twine &Name = �) argument 1421 CreateFCmp(CmpInst::Predicate P, Value *LHS, Value *RHS, const Twine &Name = �) argument 1563 CreatePtrDiff(Value *LHS, Value *RHS, const Twine &Name = �) argument [all...] |
/external/clang/include/clang/Basic/ |
H A D | ABI.h | 89 friend bool operator==(const ReturnAdjustment &LHS, argument 91 return LHS.NonVirtual == RHS.NonVirtual && LHS.Virtual.Equals(RHS.Virtual); 94 friend bool operator!=(const ReturnAdjustment &LHS, const ReturnAdjustment &RHS) { argument 95 return !(LHS == RHS); 98 friend bool operator<(const ReturnAdjustment &LHS, argument 100 if (LHS.NonVirtual < RHS.NonVirtual) 103 return LHS.NonVirtual == RHS.NonVirtual && LHS.Virtual.Less(RHS.Virtual); 157 friend bool operator==(const ThisAdjustment &LHS, argument 162 operator !=(const ThisAdjustment &LHS, const ThisAdjustment &RHS) argument 166 operator <(const ThisAdjustment &LHS, const ThisAdjustment &RHS) argument 199 operator ==(const ThunkInfo &LHS, const ThunkInfo &RHS) argument [all...] |
/external/llvm/include/llvm/ADT/ |
H A D | Twine.h | 152 /// LHS - The prefix in the concatenation, which may be uninitialized for 154 Child LHS; member in class:llvm::Twine 171 explicit Twine(const Twine &LHS, const Twine &RHS) argument 173 this->LHS.twine = &LHS; 179 explicit Twine(Child LHS, NodeKind LHSKind, Child RHS, NodeKind RHSKind) argument 180 : LHS(LHS), RHS(RHS), LHSKind(LHSKind), RHSKind(RHSKind) { 224 // The RHS cannot be non-empty if the LHS is empty. 230 !LHS 360 Twine(const char *LHS, const StringRef &RHS) argument 368 Twine(const StringRef &LHS, const char *RHS) argument 387 Child LHS, RHS; local 516 operator +(const Twine &LHS, const Twine &RHS) argument 523 operator +(const char *LHS, const StringRef &RHS) argument 530 operator +(const StringRef &LHS, const char *RHS) argument [all...] |
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...] |
/external/llvm/include/llvm/Analysis/ |
H A D | TargetFolder.h | 50 Constant *CreateAdd(Constant *LHS, Constant *RHS, argument 52 return Fold(ConstantExpr::getAdd(LHS, RHS, HasNUW, HasNSW)); 54 Constant *CreateFAdd(Constant *LHS, Constant *RHS) const { argument 55 return Fold(ConstantExpr::getFAdd(LHS, RHS)); 57 Constant *CreateSub(Constant *LHS, Constant *RHS, argument 59 return Fold(ConstantExpr::getSub(LHS, RHS, HasNUW, HasNSW)); 61 Constant *CreateFSub(Constant *LHS, Constant *RHS) const { argument 62 return Fold(ConstantExpr::getFSub(LHS, RHS)); 64 Constant *CreateMul(Constant *LHS, Constant *RHS, argument 66 return Fold(ConstantExpr::getMul(LHS, RH 68 CreateFMul(Constant *LHS, Constant *RHS) const argument 71 CreateUDiv(Constant *LHS, Constant *RHS, bool isExact = false) const argument 74 CreateSDiv(Constant *LHS, Constant *RHS, bool isExact = false) const argument 77 CreateFDiv(Constant *LHS, Constant *RHS) const argument 80 CreateURem(Constant *LHS, Constant *RHS) const argument 83 CreateSRem(Constant *LHS, Constant *RHS) const argument 86 CreateFRem(Constant *LHS, Constant *RHS) const argument 89 CreateShl(Constant *LHS, Constant *RHS, bool HasNUW = false, bool HasNSW = false) const argument 93 CreateLShr(Constant *LHS, Constant *RHS, bool isExact = false) const argument 96 CreateAShr(Constant *LHS, Constant *RHS, bool isExact = false) const argument 99 CreateAnd(Constant *LHS, Constant *RHS) const argument 102 CreateOr(Constant *LHS, Constant *RHS) const argument 105 CreateXor(Constant *LHS, Constant *RHS) const argument 109 CreateBinOp(Instruction::BinaryOps Opc, Constant *LHS, Constant *RHS) const argument 226 CreateICmp(CmpInst::Predicate P, Constant *LHS, Constant *RHS) const argument 230 CreateFCmp(CmpInst::Predicate P, Constant *LHS, Constant *RHS) const argument [all...] |
/external/clang/test/SemaCXX/ |
H A D | warn-self-assign.cpp | 21 #define LHS a macro 26 LHS = a; 28 LHS OP RHS; 30 #undef LHS macro
|
/external/llvm/include/llvm/MC/ |
H A D | MCTargetOptions.h | 46 inline bool operator==(const MCTargetOptions &LHS, const MCTargetOptions &RHS) { argument 47 #define ARE_EQUAL(X) LHS.X == RHS.X 62 inline bool operator!=(const MCTargetOptions &LHS, const MCTargetOptions &RHS) { argument 63 return !(LHS == RHS);
|
H A D | MCExpr.h | 423 const MCExpr *LHS, *RHS; member in class:llvm::MCBinaryExpr 425 MCBinaryExpr(Opcode Op, const MCExpr *LHS, const MCExpr *RHS) argument 426 : MCExpr(MCExpr::Binary), Op(Op), LHS(LHS), RHS(RHS) {} 432 static const MCBinaryExpr *Create(Opcode Op, const MCExpr *LHS, 434 static const MCBinaryExpr *CreateAdd(const MCExpr *LHS, const MCExpr *RHS, argument 436 return Create(Add, LHS, RHS, Ctx); 438 static const MCBinaryExpr *CreateAnd(const MCExpr *LHS, const MCExpr *RHS, argument 440 return Create(And, LHS, RHS, Ctx); 442 static const MCBinaryExpr *CreateDiv(const MCExpr *LHS, cons argument 446 CreateEQ(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument 450 CreateGT(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument 454 CreateGTE(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument 458 CreateLAnd(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument 462 CreateLOr(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument 466 CreateLT(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument 470 CreateLTE(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument 474 CreateMod(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument 478 CreateMul(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument 482 CreateNE(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument 486 CreateOr(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument 490 CreateShl(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument 494 CreateShr(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument 498 CreateSub(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument 502 CreateXor(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument [all...] |
H A D | YAML.h | 49 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/clang/include/clang/Analysis/Analyses/ |
H A D | ThreadSafetyLogical.h | 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 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/Lex/ |
H A D | PPConditionalDirectiveRecord.h | 46 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/clang/include/clang/AST/ |
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 | TypeOrdering.h | 53 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;
|
/external/llvm/include/llvm/Support/ |
H A D | LineIterator.h | 73 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/include/llvm/CodeGen/ |
H A D | MachineMemOperand.h | 203 friend bool operator==(const MachineMemOperand &LHS, argument 205 return LHS.getValue() == RHS.getValue() && 206 LHS.getPseudoValue() == RHS.getPseudoValue() && 207 LHS.getSize() == RHS.getSize() && 208 LHS.getOffset() == RHS.getOffset() && 209 LHS.getFlags() == RHS.getFlags() && 210 LHS.getAAInfo() == RHS.getAAInfo() && 211 LHS.getRanges() == RHS.getRanges() && 212 LHS.getAlignment() == RHS.getAlignment() && 213 LHS 216 operator !=(const MachineMemOperand &LHS, const MachineMemOperand &RHS) argument [all...] |
/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;
|
/external/clang/lib/Tooling/Core/ |
H A D | Replacement.cpp | 87 bool operator<(const Replacement &LHS, const Replacement &RHS) { argument 88 if (LHS.getOffset() != RHS.getOffset()) 89 return LHS.getOffset() < RHS.getOffset(); 90 if (LHS.getLength() != RHS.getLength()) 91 return LHS.getLength() < RHS.getLength(); 92 if (LHS.getFilePath() != RHS.getFilePath()) 93 return LHS.getFilePath() < RHS.getFilePath(); 94 return LHS.getReplacementText() < RHS.getReplacementText(); 97 bool operator==(const Replacement &LHS, const Replacement &RHS) { argument 98 return LHS [all...] |
/external/llvm/lib/Transforms/Scalar/ |
H A D | NaryReassociate.cpp | 125 // A helper function for tryReassociateAdd. LHS and RHS are explicitly passed. 126 Instruction *tryReassociateAdd(Value *LHS, Value *RHS, Instruction *I); 127 // Rewrites I to LHS + RHS if LHS is computed already. 128 Instruction *tryReassociatedAdd(const SCEV *LHS, Value *RHS, Instruction *I); 202 Value *LHS = I->getOperand(0), *RHS = I->getOperand(1); local 203 if (auto *NewI = tryReassociateAdd(LHS, RHS, I)) 205 if (auto *NewI = tryReassociateAdd(RHS, LHS, I)) 210 Instruction *NaryReassociate::tryReassociateAdd(Value *LHS, Value *RHS, argument 214 if (LHS 243 Instruction *LHS = LHSCandidates.back(); local [all...] |
/external/llvm/include/llvm/Transforms/Utils/ |
H A D | CmpInstAnalysis.h | 56 Value *getICmpValue(bool Sign, unsigned Code, Value *LHS, Value *RHS,
|