Searched refs:LHS (Results 1 - 25 of 317) sorted by relevance

1234567891011>>

/freebsd-11.0-release/contrib/llvm/tools/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...]
/freebsd-11.0-release/contrib/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;
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...]
/freebsd-11.0-release/contrib/llvm/tools/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...]
/freebsd-11.0-release/contrib/llvm/include/llvm/IR/
H A DNoFolder.h40 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 DConstantFolder.h34 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 DPatternMatch.h396 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
1297 auto LHS = m_AShr(m_Value(OpL), m_SpecificInt(ShiftWidth)); local
[all...]
H A DIRBuilder.h753 Value *LHS, Value *RHS,
756 BinaryOperator *BO = Insert(BinaryOperator::Create(Opc, LHS, RHS), Name);
774 Value *CreateAdd(Value *LHS, Value *RHS, const Twine &Name = "", argument
776 if (Constant *LC = dyn_cast<Constant>(LHS))
779 return CreateInsertNUWNSWBinOp(Instruction::Add, LHS, RHS, Name,
782 Value *CreateNSWAdd(Value *LHS, Value *RHS, const Twine &Name = "") { argument
783 return CreateAdd(LHS, RHS, Name, false, true);
785 Value *CreateNUWAdd(Value *LHS, Value *RHS, const Twine &Name = "") { argument
786 return CreateAdd(LHS, RHS, Name, true, false);
788 Value *CreateFAdd(Value *LHS, Valu argument
752 CreateInsertNUWNSWBinOp(BinaryOperator::BinaryOps Opc, Value *LHS, Value *RHS, const Twine &Name, bool HasNUW, bool HasNSW) argument
796 CreateSub(Value *LHS, Value *RHS, const Twine &Name = �, bool HasNUW = false, bool HasNSW = false) argument
804 CreateNSWSub(Value *LHS, Value *RHS, const Twine &Name = �) argument
807 CreateNUWSub(Value *LHS, Value *RHS, const Twine &Name = �) argument
810 CreateFSub(Value *LHS, Value *RHS, const Twine &Name = �, MDNode *FPMathTag = nullptr) argument
818 CreateMul(Value *LHS, Value *RHS, const Twine &Name = �, bool HasNUW = false, bool HasNSW = false) argument
826 CreateNSWMul(Value *LHS, Value *RHS, const Twine &Name = �) argument
829 CreateNUWMul(Value *LHS, Value *RHS, const Twine &Name = �) argument
832 CreateFMul(Value *LHS, Value *RHS, const Twine &Name = �, MDNode *FPMathTag = nullptr) argument
840 CreateUDiv(Value *LHS, Value *RHS, const Twine &Name = �, bool isExact = false) argument
849 CreateExactUDiv(Value *LHS, Value *RHS, const Twine &Name = �) argument
852 CreateSDiv(Value *LHS, Value *RHS, const Twine &Name = �, bool isExact = false) argument
861 CreateExactSDiv(Value *LHS, Value *RHS, const Twine &Name = �) argument
864 CreateFDiv(Value *LHS, Value *RHS, const Twine &Name = �, MDNode *FPMathTag = nullptr) argument
872 CreateURem(Value *LHS, Value *RHS, const Twine &Name = �) argument
878 CreateSRem(Value *LHS, Value *RHS, const Twine &Name = �) argument
884 CreateFRem(Value *LHS, Value *RHS, const Twine &Name = �, MDNode *FPMathTag = nullptr) argument
893 CreateShl(Value *LHS, Value *RHS, const Twine &Name = �, bool HasNUW = false, bool HasNSW = false) argument
901 CreateShl(Value *LHS, const APInt &RHS, const Twine &Name = �, bool HasNUW = false, bool HasNSW = false) argument
906 CreateShl(Value *LHS, uint64_t RHS, const Twine &Name = �, bool HasNUW = false, bool HasNSW = false) argument
912 CreateLShr(Value *LHS, Value *RHS, const Twine &Name = �, bool isExact = false) argument
921 CreateLShr(Value *LHS, const APInt &RHS, const Twine &Name = �, bool isExact = false) argument
925 CreateLShr(Value *LHS, uint64_t RHS, const Twine &Name = �, bool isExact = false) argument
930 CreateAShr(Value *LHS, Value *RHS, const Twine &Name = �, bool isExact = false) argument
939 CreateAShr(Value *LHS, const APInt &RHS, const Twine &Name = �, bool isExact = false) argument
943 CreateAShr(Value *LHS, uint64_t RHS, const Twine &Name = �, bool isExact = false) argument
948 CreateAnd(Value *LHS, Value *RHS, const Twine &Name = �) argument
957 CreateAnd(Value *LHS, const APInt &RHS, const Twine &Name = �) argument
960 CreateAnd(Value *LHS, uint64_t RHS, const Twine &Name = �) argument
964 CreateOr(Value *LHS, Value *RHS, const Twine &Name = �) argument
973 CreateOr(Value *LHS, const APInt &RHS, const Twine &Name = �) argument
976 CreateOr(Value *LHS, uint64_t RHS, const Twine &Name = �) argument
980 CreateXor(Value *LHS, Value *RHS, const Twine &Name = �) argument
986 CreateXor(Value *LHS, const APInt &RHS, const Twine &Name = �) argument
989 CreateXor(Value *LHS, uint64_t RHS, const Twine &Name = �) argument
993 CreateBinOp(Instruction::BinaryOps Opc, Value *LHS, Value *RHS, const Twine &Name = �, MDNode *FPMathTag = nullptr) argument
1428 CreateICmpEQ(Value *LHS, Value *RHS, const Twine &Name = �) argument
1431 CreateICmpNE(Value *LHS, Value *RHS, const Twine &Name = �) argument
1434 CreateICmpUGT(Value *LHS, Value *RHS, const Twine &Name = �) argument
1437 CreateICmpUGE(Value *LHS, Value *RHS, const Twine &Name = �) argument
1440 CreateICmpULT(Value *LHS, Value *RHS, const Twine &Name = �) argument
1443 CreateICmpULE(Value *LHS, Value *RHS, const Twine &Name = �) argument
1446 CreateICmpSGT(Value *LHS, Value *RHS, const Twine &Name = �) argument
1449 CreateICmpSGE(Value *LHS, Value *RHS, const Twine &Name = �) argument
1452 CreateICmpSLT(Value *LHS, Value *RHS, const Twine &Name = �) argument
1455 CreateICmpSLE(Value *LHS, Value *RHS, const Twine &Name = �) argument
1459 CreateFCmpOEQ(Value *LHS, Value *RHS, const Twine &Name = �, MDNode *FPMathTag = nullptr) argument
1463 CreateFCmpOGT(Value *LHS, Value *RHS, const Twine &Name = �, MDNode *FPMathTag = nullptr) argument
1467 CreateFCmpOGE(Value *LHS, Value *RHS, const Twine &Name = �, MDNode *FPMathTag = nullptr) argument
1471 CreateFCmpOLT(Value *LHS, Value *RHS, const Twine &Name = �, MDNode *FPMathTag = nullptr) argument
1475 CreateFCmpOLE(Value *LHS, Value *RHS, const Twine &Name = �, MDNode *FPMathTag = nullptr) argument
1479 CreateFCmpONE(Value *LHS, Value *RHS, const Twine &Name = �, MDNode *FPMathTag = nullptr) argument
1483 CreateFCmpORD(Value *LHS, Value *RHS, const Twine &Name = �, MDNode *FPMathTag = nullptr) argument
1487 CreateFCmpUNO(Value *LHS, Value *RHS, const Twine &Name = �, MDNode *FPMathTag = nullptr) argument
1491 CreateFCmpUEQ(Value *LHS, Value *RHS, const Twine &Name = �, MDNode *FPMathTag = nullptr) argument
1495 CreateFCmpUGT(Value *LHS, Value *RHS, const Twine &Name = �, MDNode *FPMathTag = nullptr) argument
1499 CreateFCmpUGE(Value *LHS, Value *RHS, const Twine &Name = �, MDNode *FPMathTag = nullptr) argument
1503 CreateFCmpULT(Value *LHS, Value *RHS, const Twine &Name = �, MDNode *FPMathTag = nullptr) argument
1507 CreateFCmpULE(Value *LHS, Value *RHS, const Twine &Name = �, MDNode *FPMathTag = nullptr) argument
1511 CreateFCmpUNE(Value *LHS, Value *RHS, const Twine &Name = �, MDNode *FPMathTag = nullptr) argument
1516 CreateICmp(CmpInst::Predicate P, Value *LHS, Value *RHS, const Twine &Name = �) argument
1523 CreateFCmp(CmpInst::Predicate P, Value *LHS, Value *RHS, const Twine &Name = �, MDNode *FPMathTag = nullptr) argument
1674 CreatePtrDiff(Value *LHS, Value *RHS, const Twine &Name = �) argument
[all...]
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Basic/
H A DABI.h89 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...]
/freebsd-11.0-release/contrib/llvm/include/llvm/ADT/
H A DTwine.h150 /// LHS - The prefix in the concatenation, which may be uninitialized for
152 Child LHS; member in class:llvm::Twine
169 explicit Twine(const Twine &LHS, const Twine &RHS) argument
171 this->LHS.twine = &LHS;
177 explicit Twine(Child LHS, NodeKind LHSKind, Child RHS, NodeKind RHSKind) argument
178 : LHS(LHS), RHS(RHS), LHSKind(LHSKind), RHSKind(RHSKind) {
222 // The RHS cannot be non-empty if the LHS is empty.
228 !LHS
358 Twine(const char *LHS, const StringRef &RHS) argument
366 Twine(const StringRef &LHS, const char *RHS) argument
385 Child LHS, RHS; local
514 operator +(const Twine &LHS, const Twine &RHS) argument
521 operator +(const char *LHS, const StringRef &RHS) argument
528 operator +(const StringRef &LHS, const char *RHS) argument
[all...]
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;
92 static bool isEqual(const unsigned long long& LHS, 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...]
/freebsd-11.0-release/contrib/llvm/include/llvm/Analysis/
H A DTargetFolder.h50 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...]
/freebsd-11.0-release/contrib/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 DMCExpr.h440 const MCExpr *LHS, *RHS; member in class:llvm::MCBinaryExpr
442 MCBinaryExpr(Opcode Op, const MCExpr *LHS, const MCExpr *RHS) argument
443 : MCExpr(MCExpr::Binary), Op(Op), LHS(LHS), RHS(RHS) {}
449 static const MCBinaryExpr *create(Opcode Op, const MCExpr *LHS,
451 static const MCBinaryExpr *createAdd(const MCExpr *LHS, const MCExpr *RHS, argument
453 return create(Add, LHS, RHS, Ctx);
455 static const MCBinaryExpr *createAnd(const MCExpr *LHS, const MCExpr *RHS, argument
457 return create(And, LHS, RHS, Ctx);
459 static const MCBinaryExpr *createDiv(const MCExpr *LHS, cons argument
463 createEQ(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
467 createGT(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
471 createGTE(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
475 createLAnd(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
479 createLOr(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
483 createLT(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
487 createLTE(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
491 createMod(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
495 createMul(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
499 createNE(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
503 createOr(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
507 createShl(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
511 createAShr(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
515 createLShr(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
519 createSub(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
523 createXor(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
[all...]
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;
/freebsd-11.0-release/contrib/llvm/tools/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...]
/freebsd-11.0-release/contrib/llvm/tools/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) !=
/freebsd-11.0-release/contrib/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);
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/AST/
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 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;
/freebsd-11.0-release/contrib/llvm/include/llvm/CodeGen/
H A DMachineMemOperand.h212 friend bool operator==(const MachineMemOperand &LHS, argument
214 return LHS.getValue() == RHS.getValue() &&
215 LHS.getPseudoValue() == RHS.getPseudoValue() &&
216 LHS.getSize() == RHS.getSize() &&
217 LHS.getOffset() == RHS.getOffset() &&
218 LHS.getFlags() == RHS.getFlags() &&
219 LHS.getAAInfo() == RHS.getAAInfo() &&
220 LHS.getRanges() == RHS.getRanges() &&
221 LHS.getAlignment() == RHS.getAlignment() &&
222 LHS
225 operator !=(const MachineMemOperand &LHS, const MachineMemOperand &RHS) argument
[all...]
/freebsd-11.0-release/contrib/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;
/freebsd-11.0-release/contrib/llvm/include/llvm/Transforms/Utils/
H A DCmpInstAnalysis.h56 Value *getICmpValue(bool Sign, unsigned Code, Value *LHS, Value *RHS,
/freebsd-11.0-release/contrib/llvm/lib/Transforms/Scalar/
H A DNaryReassociate.cpp142 // Given GEP's I-th index = LHS + RHS, see whether &Base[..][LHS][..] or
145 unsigned I, Value *LHS,
151 // A helper function for tryReassociateBinaryOp. LHS and RHS are explicitly
153 Instruction *tryReassociateBinaryOp(Value *LHS, Value *RHS,
155 // Rewrites I to (LHS op RHS) if LHS is computed already.
156 Instruction *tryReassociatedBinaryOp(const SCEV *LHS, Value *RHS,
162 // Gets SCEV for (LHS op RHS).
163 const SCEV *getBinarySCEV(BinaryOperator *I, const SCEV *LHS,
400 tryReassociateGEPAtIndex( GetElementPtrInst *GEP, unsigned I, Value *LHS, Value *RHS, Type *IndexedType) argument
472 Value *LHS = I->getOperand(0), *RHS = I->getOperand(1); local
480 tryReassociateBinaryOp(Value *LHS, Value *RHS, BinaryOperator *I) argument
509 auto *LHS = findClosestMatchingDominator(LHSExpr, I); local
541 getBinarySCEV(BinaryOperator *I, const SCEV *LHS, const SCEV *RHS) argument
[all...]
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Lex/
H A DPPExpressions.cpp57 static bool EvaluateDirectiveSubExpr(PPValue &LHS, unsigned MinPrec,
451 /// PeekTok, and whose precedence is PeekPrec. This returns the result in LHS.
456 static bool EvaluateDirectiveSubExpr(PPValue &LHS, unsigned MinPrec, argument
463 << LHS.getRange();
481 if (Operator == tok::ampamp && LHS.Val == 0)
483 else if (Operator == tok::pipepipe && LHS.Val != 0)
485 else if (Operator == tok::question && LHS.Val == 0)
494 PPValue RHS(LHS.getBitWidth());
516 // the LHS of the '?'. The grammar rule is:
537 llvm::APSInt Res(LHS
[all...]
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Tooling/Core/
H A DReplacement.cpp88 bool operator<(const Replacement &LHS, const Replacement &RHS) { argument
89 if (LHS.getOffset() != RHS.getOffset())
90 return LHS.getOffset() < RHS.getOffset();
95 if (LHS.getLength() != RHS.getLength())
96 return LHS.getLength() > RHS.getLength();
98 if (LHS.getFilePath() != RHS.getFilePath())
99 return LHS.getFilePath() < RHS.getFilePath();
100 return LHS.getReplacementText() < RHS.getReplacementText();
103 bool operator==(const Replacement &LHS, const Replacement &RHS) { argument
104 return LHS
[all...]

Completed in 314 milliseconds

1234567891011>>