Home
last modified time | relevance | path

Searched refs:RHS (Results 1 – 25 of 600) sorted by relevance

12345678910>>...24

/freebsd-12.1/contrib/llvm/lib/Support/
H A DSmallPtrSet.cpp153 if (RHS.isSmall()) { in CopyFrom()
168 CopyHelper(RHS); in CopyFrom()
176 std::copy(RHS.CurArray, RHS.EndPointer(), CurArray); in CopyHelper()
193 if (RHS.isSmall()) { in MoveHelper()
196 std::copy(RHS.CurArray, RHS.CurArray + RHS.NumNonEmpty, CurArray); in MoveHelper()
199 RHS.CurArray = RHS.SmallArray; in MoveHelper()
209 assert(RHS.CurArray == RHS.SmallArray); in MoveHelper()
231 assert(RHS.CurArray == RHS.SmallArray); in swap()
232 std::copy(RHS.CurArray, RHS.CurArray + RHS.NumNonEmpty, this->SmallArray); in swap()
251 RHS.CurArray = RHS.SmallArray; in swap()
[all …]
H A DAPInt.cpp146 if (this == &RHS) in AssignSlowCase()
205 U.VAL += RHS; in operator +=()
225 U.VAL -= RHS; in operator -=()
264 U.VAL *= RHS; in operator *=()
279 return U.VAL < RHS.U.VAL ? -1 : U.VAL > RHS.U.VAL; in compare()
1572 if (RHS == 1) in udiv()
1604 if (RHS < 0) in sdiv()
1608 if (RHS < 0) in sdiv()
1664 if (RHS == 1) in urem()
1696 if (RHS < 0) in srem()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/ADT/
H A DAPSInt.h102 *this = urem(RHS);
104 *this = srem(RHS);
110 *this = udiv(RHS);
112 *this = sdiv(RHS);
117 return IsUnsigned ? APSInt(urem(RHS), true) : APSInt(srem(RHS), false);
121 return IsUnsigned ? APSInt(udiv(RHS), true) : APSInt(sdiv(RHS), false);
137 return IsUnsigned ? ult(RHS) : slt(RHS);
141 return IsUnsigned ? ugt(RHS) : sgt(RHS);
145 return IsUnsigned ? ule(RHS) : sle(RHS);
149 return IsUnsigned ? uge(RHS) : sge(RHS);
[all …]
H A DSmallBitVector.h155 if (RHS.isSmall()) in SmallBitVector()
156 X = RHS.X; in SmallBitVector()
161 SmallBitVector(SmallBitVector &&RHS) : X(RHS.X) { in SmallBitVector() argument
162 RHS.X = 1; in SmallBitVector()
604 X = RHS.X;
612 X = RHS.X;
621 swap(RHS);
685 Result &= RHS;
692 Result |= RHS;
699 Result ^= RHS;
[all …]
H A DAPInt.h1231 bool ule(uint64_t RHS) const { return !ugt(RHS); } in ule() argument
1247 bool sle(uint64_t RHS) const { return !sgt(RHS); } in sle() argument
1255 bool ugt(const APInt &RHS) const { return !ule(RHS); } in ugt() argument
1301 bool uge(uint64_t RHS) const { return !ult(RHS); } in uge() argument
1317 bool sge(int64_t RHS) const { return !slt(RHS); } in sge() argument
1990 a &= RHS;
2010 a |= RHS;
2030 a ^= RHS;
2060 a += RHS;
2081 a -= RHS;
[all …]
H A DSparseBitVector.h79 return !(*this == RHS);
433 return AtEnd == RHS.AtEnd && RHS.BitNumber == BitNumber;
458 if (this == &RHS)
559 if (this == &RHS)
589 if (this == &RHS)
638 if (this == &RHS) { in intersectWithComplement()
775 Result &= RHS; in contains()
825 return LHS |= *RHS;
843 return LHS &= *RHS;
853 Result |= RHS;
[all …]
H A DDenseMapInfo.h56 static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; }
66 return LHS == RHS;
77 return LHS == RHS;
88 return LHS == RHS;
102 return LHS == RHS;
117 return LHS == RHS;
136 return LHS == RHS;
153 return LHS == RHS;
168 return LHS == RHS;
233 return LHS == RHS;
[all …]
H A DSmallString.h58 void assign(StringRef RHS) { in assign() argument
60 SmallVectorImpl<char>::append(RHS.begin(), RHS.end()); in assign()
66 SmallVectorImpl<char>::append(RHS.begin(), RHS.end()); in assign()
84 void append(StringRef RHS) { in append() argument
85 SmallVectorImpl<char>::append(RHS.begin(), RHS.end()); in append()
90 SmallVectorImpl<char>::append(RHS.begin(), RHS.end()); in append()
100 return str().equals(RHS); in equals()
105 return str().equals_lower(RHS); in equals_lower()
111 return str().compare(RHS); in compare()
282 return *this += RHS;
[all …]
H A DAPFloat.h597 if (this != &RHS) {
716 Storage(const Storage &RHS) { in Storage() argument
728 Storage(Storage &&RHS) { in Storage() argument
743 IEEE = RHS.IEEE;
746 Double = RHS.Double;
747 } else if (this != &RHS) {
749 new (this) Storage(RHS);
757 IEEE = std::move(RHS.IEEE);
761 } else if (this != &RHS) {
846 APFloat(APFloat &&RHS) = default;
[all …]
H A DSmallVector.h673 RHS.begin(), RHS.end());
695 if (NumShared > RHS.size()) NumShared = RHS.size(); in swap()
703 RHS.set_size(RHS.size() + EltDiff); in swap()
710 this->destroy_range(RHS.begin()+NumShared, RHS.end()); in swap()
752 std::copy(RHS.begin(), RHS.begin()+CurSize, this->begin());
756 this->uninitialized_copy(RHS.begin()+CurSize, RHS.end(),
788 NewEnd = std::move(RHS.begin(), RHS.end(), NewEnd);
795 RHS.clear();
812 std::move(RHS.begin(), RHS.begin()+CurSize, this->begin());
816 this->uninitialized_move(RHS.begin()+CurSize, RHS.end(),
[all …]
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DAliasAnalysisSummary.h118 return LHS.Index == RHS.Index && LHS.DerefLevel == RHS.DerefLevel;
125 (LHS.Index == RHS.Index && LHS.DerefLevel < RHS.DerefLevel);
128 return RHS < LHS;
131 return !(RHS < LHS);
146 return LHS + RHS; in addOffset()
157 return LHS.From == RHS.From && LHS.To == RHS.To && LHS.Offset == RHS.Offset;
174 return RHS < LHS;
207 return LHS.Val == RHS.Val && LHS.DerefLevel == RHS.DerefLevel;
214 (LHS.Val == RHS.Val && LHS.DerefLevel < RHS.DerefLevel);
217 return RHS < LHS;
[all …]
/freebsd-12.1/contrib/llvm/lib/IR/
H A DLLVMContextImpl.h80 return LHS.getBitWidth() == RHS.getBitWidth() && LHS == RHS; in isEqual()
139 if (RHS == getEmptyKey() || RHS == getTombstoneKey()) in isEqual()
195 if (RHS == getEmptyKey() || RHS == getTombstoneKey()) in isEqual()
294 return Line == RHS->getLine() && Column == RHS->getColumn() &&
393 return Tag == RHS->getTag() && Name == RHS->getRawName() &&
437 return Tag == RHS->getTag() && Name == RHS->getRawName() &&
490 return Tag == RHS->getTag() && Name == RHS->getRawName() &&
537 return Tag == RHS->getTag() && Name == RHS->getRawName() &&
572 return Flags == RHS->getFlags() && CC == RHS->getCC() &&
1132 if (RHS == getEmptyKey() || RHS == getTombstoneKey())
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DBranchProbability.h96 N = (uint64_t(N) + RHS.N > D) ? D : N + RHS.N;
104 N = N < RHS.N ? 0 : N - RHS.N;
118 N = (uint64_t(N) * RHS > D) ? D : N * RHS;
126 N /= RHS;
132 return Prob += RHS;
137 return Prob -= RHS;
142 return Prob *= RHS;
147 return Prob *= RHS;
155 bool operator==(BranchProbability RHS) const { return N == RHS.N; }
156 bool operator!=(BranchProbability RHS) const { return !(*this == RHS); }
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DNoFolder.h51 return BinaryOperator::CreateNSWAdd(LHS, RHS); in CreateNSWAdd()
59 return BinaryOperator::CreateFAdd(LHS, RHS); in CreateFAdd()
79 return BinaryOperator::CreateFSub(LHS, RHS); in CreateFSub()
99 return BinaryOperator::CreateFMul(LHS, RHS); in CreateFMul()
125 return BinaryOperator::CreateFDiv(LHS, RHS); in CreateFDiv()
129 return BinaryOperator::CreateURem(LHS, RHS); in CreateURem()
163 return BinaryOperator::CreateAnd(LHS, RHS); in CreateAnd()
167 return BinaryOperator::CreateOr(LHS, RHS); in CreateOr()
171 return BinaryOperator::CreateXor(LHS, RHS); in CreateXor()
298 return new ICmpInst(P, LHS, RHS); in CreateICmp()
[all …]
H A DPatternMatch.h595 AnyBinaryOp_match(const LHS_t &LHS, const RHS_t &RHS) : L(LHS), R(RHS) {} in AnyBinaryOp_match()
606 template <typename LHS, typename RHS>
607 inline AnyBinaryOp_match<LHS, RHS> m_BinOp(const LHS &L, const RHS &R) { in m_BinOp()
623 BinaryOp_match(const LHS_t &LHS, const RHS_t &RHS) : L(LHS), R(RHS) {} in BinaryOp_match()
694 template <typename RHS>
696 m_FNegNSZ(const RHS &X) { in m_FNegNSZ()
791 : L(LHS), R(RHS) {} in OverflowingBinaryOp_match()
883 BinOpPred_match(const LHS_t &LHS, const RHS_t &RHS) : L(LHS), R(RHS) {} in BinOpPred_match()
1265 MaxMin_match(const LHS_t &LHS, const RHS_t &RHS) : L(LHS), R(RHS) {} in MaxMin_match()
1613 inline AnyBinaryOp_match<LHS, RHS, true> m_c_BinOp(const LHS &L, const RHS &R) {
[all …]
H A DConstantFolder.h42 return ConstantExpr::getFAdd(LHS, RHS); in CreateFAdd()
51 return ConstantExpr::getFSub(LHS, RHS); in CreateFSub()
60 return ConstantExpr::getFMul(LHS, RHS); in CreateFMul()
74 return ConstantExpr::getFDiv(LHS, RHS); in CreateFDiv()
78 return ConstantExpr::getURem(LHS, RHS); in CreateURem()
82 return ConstantExpr::getSRem(LHS, RHS); in CreateSRem()
86 return ConstantExpr::getFRem(LHS, RHS); in CreateFRem()
105 return ConstantExpr::getAnd(LHS, RHS); in CreateAnd()
109 return ConstantExpr::getOr(LHS, RHS); in CreateOr()
113 return ConstantExpr::getXor(LHS, RHS); in CreateXor()
[all …]
H A DValueHandle.h41 : ValueHandleBase(RHS.PrevPair.getInt(), RHS) {} in ValueHandleBase()
71 if (getValPtr() == RHS)
72 return RHS;
75 setValPtr(RHS);
78 return RHS;
83 return RHS.getValPtr();
145 WeakVH(const WeakVH &RHS) in WeakVH() argument
264 AssertingVH(const AssertingVH &RHS) : ValueHandleBase(Assert, RHS) {}
275 setValPtr(RHS);
374 setValPtr(RHS);
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DABI.h81 return memcmp(this, &RHS, sizeof(RHS)) < 0; in Less()
91 return LHS.NonVirtual == RHS.NonVirtual && LHS.Virtual.Equals(RHS.Virtual);
95 return !(LHS == RHS);
100 if (LHS.NonVirtual < RHS.NonVirtual)
103 return LHS.NonVirtual == RHS.NonVirtual && LHS.Virtual.Less(RHS.Virtual);
149 return memcmp(this, &RHS, sizeof(RHS)) < 0; in Less()
159 return LHS.NonVirtual == RHS.NonVirtual && LHS.Virtual.Equals(RHS.Virtual);
163 return !(LHS == RHS);
171 return LHS.NonVirtual == RHS.NonVirtual && LHS.Virtual.Less(RHS.Virtual);
200 return LHS.This == RHS.This && LHS.Return == RHS.Return &&
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DTargetFolder.h54 return Fold(ConstantExpr::getFAdd(LHS, RHS)); in CreateFAdd()
61 return Fold(ConstantExpr::getFSub(LHS, RHS)); in CreateFSub()
68 return Fold(ConstantExpr::getFMul(LHS, RHS)); in CreateFMul()
77 return Fold(ConstantExpr::getFDiv(LHS, RHS)); in CreateFDiv()
80 return Fold(ConstantExpr::getURem(LHS, RHS)); in CreateURem()
83 return Fold(ConstantExpr::getSRem(LHS, RHS)); in CreateSRem()
99 return Fold(ConstantExpr::getAnd(LHS, RHS)); in CreateAnd()
102 return Fold(ConstantExpr::getOr(LHS, RHS)); in CreateOr()
105 return Fold(ConstantExpr::getXor(LHS, RHS)); in CreateXor()
226 Constant *RHS) const { in CreateICmp() argument
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTSolver.h81 virtual SMTExprRef mkBVAdd(const SMTExprRef &LHS, const SMTExprRef &RHS) = 0;
84 virtual SMTExprRef mkBVSub(const SMTExprRef &LHS, const SMTExprRef &RHS) = 0;
87 virtual SMTExprRef mkBVMul(const SMTExprRef &LHS, const SMTExprRef &RHS) = 0;
102 virtual SMTExprRef mkBVShl(const SMTExprRef &LHS, const SMTExprRef &RHS) = 0;
117 virtual SMTExprRef mkBVXor(const SMTExprRef &LHS, const SMTExprRef &RHS) = 0;
120 virtual SMTExprRef mkBVOr(const SMTExprRef &LHS, const SMTExprRef &RHS) = 0;
123 virtual SMTExprRef mkBVAnd(const SMTExprRef &LHS, const SMTExprRef &RHS) = 0;
156 virtual SMTExprRef mkAnd(const SMTExprRef &LHS, const SMTExprRef &RHS) = 0;
159 virtual SMTExprRef mkOr(const SMTExprRef &LHS, const SMTExprRef &RHS) = 0;
177 const SMTExprRef &RHS) = 0;
[all …]
H A DSMTConv.h125 return isSigned ? Solver->mkBVSlt(LHS, RHS) : Solver->mkBVUlt(LHS, RHS); in fromBinOp()
174 switch (RHS) { in fromFloatSpecialBinOp()
390 SMTExprRef RHS = in getSymBinExpr() local
593 RHS = fromCast(Solver, RHS, LTy, LBitWidth, RTy, RBitWidth); in doTypeConversion()
650 RHS = (*doCast)(Solver, RHS, NewTy, NewBitWidth, RTy, RBitWidth); in doIntTypeConversion()
667 RHS = (*doCast)(Solver, RHS, LTy, LBitWidth, RTy, RBitWidth); in doIntTypeConversion()
677 RHS = (*doCast)(Solver, RHS, LTy, LBitWidth, RTy, RBitWidth); in doIntTypeConversion()
688 RHS = (doCast)(Solver, RHS, LTy, LBitWidth, RTy, RBitWidth); in doIntTypeConversion()
701 RHS = (*doCast)(Solver, RHS, LTy, LBitWidth, RTy, RBitWidth); in doIntTypeConversion()
727 RHS = (*doCast)(Solver, RHS, LTy, LBitWidth, RTy, RBitWidth); in doFloatTypeConversion()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/MC/
H A DMCExpr.h447 const MCExpr *LHS, *RHS; variable
451 : MCExpr(MCExpr::Binary, Loc), Op(Op), LHS(LHS), RHS(RHS) {} in MCExpr()
463 return create(Add, LHS, RHS, Ctx); in createAdd()
468 return create(And, LHS, RHS, Ctx); in createAnd()
473 return create(Div, LHS, RHS, Ctx); in createDiv()
478 return create(EQ, LHS, RHS, Ctx); in createEQ()
483 return create(GT, LHS, RHS, Ctx); in createGT()
488 return create(GTE, LHS, RHS, Ctx); in createGTE()
503 return create(LT, LHS, RHS, Ctx); in createLT()
523 return create(NE, LHS, RHS, Ctx); in createNE()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Edit/
H A DFileOffset.h38 friend bool operator==(FileOffset LHS, FileOffset RHS) {
39 return LHS.FID == RHS.FID && LHS.Offs == RHS.Offs;
42 friend bool operator!=(FileOffset LHS, FileOffset RHS) {
43 return !(LHS == RHS);
46 friend bool operator<(FileOffset LHS, FileOffset RHS) {
47 return std::tie(LHS.FID, LHS.Offs) < std::tie(RHS.FID, RHS.Offs);
50 friend bool operator>(FileOffset LHS, FileOffset RHS) {
51 return RHS < LHS;
54 friend bool operator>=(FileOffset LHS, FileOffset RHS) {
55 return !(LHS < RHS);
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DThreadSafetyLogical.cpp25 return implies(A->left(), LNeg, RHS, RNeg) && in implies()
26 implies(A->right(), LNeg, RHS, RNeg); in implies()
35 return implies(A->left(), LNeg, RHS, RNeg) || in implies()
36 implies(A->right(), LNeg, RHS, RNeg); in implies()
44 switch (RHS->kind()) { in implies()
50 return RNeg ? RightOrOperator(cast<And>(RHS)) in implies()
51 : RightAndOperator(cast<And>(RHS)); in implies()
57 return RNeg ? RightAndOperator(cast<Or>(RHS)) in implies()
58 : RightOrOperator(cast<Or>(RHS)); in implies()
106 bool implies(const LExpr *LHS, const LExpr *RHS) { in implies() argument
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFAddressRange.h38 bool intersects(const DWARFAddressRange &RHS) const { in intersects()
39 assert(valid() && RHS.valid()); in intersects()
41 if (LowPC == HighPC || RHS.LowPC == RHS.HighPC) in intersects()
43 return LowPC < RHS.HighPC && RHS.LowPC < HighPC; in intersects()
47 bool contains(const DWARFAddressRange &RHS) const { in contains()
48 assert(valid() && RHS.valid()); in contains()
49 return LowPC <= RHS.LowPC && RHS.HighPC <= HighPC; in contains()
57 const DWARFAddressRange &RHS) {
58 return std::tie(LHS.LowPC, LHS.HighPC) < std::tie(RHS.LowPC, RHS.HighPC);

12345678910>>...24