Home
last modified time | relevance | path

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

12345678910>>...29

/freebsd-13.1/contrib/llvm-project/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 DKnownBits.cpp36 APInt RHSKnownUnion = RHS.Zero | RHS.One; in computeForAddCarry()
66 std::swap(RHS.Zero, RHS.One); in computeForAddSub()
125 return RHS; in umax()
172 if (RHS.isConstant() && RHS.getConstant().ult(BitWidth)) { in shl()
225 if (RHS.isConstant() && RHS.getConstant().ult(BitWidth)) { in lshr()
278 if (RHS.isConstant() && RHS.getConstant().ult(BitWidth)) { in ashr()
536 if (RHS.isConstant() && RHS.getConstant().isPowerOf2()) { in urem()
557 if (RHS.isConstant() && RHS.getConstant().isPowerOf2()) { in srem()
587 One &= RHS.One; in operator &=()
601 APInt Z = (Zero & RHS.Zero) | (One & RHS.One); in operator ^=()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DInstructionCost.h100 propagateState(RHS);
118 propagateState(RHS);
140 if ((Value > 0 && RHS.Value > 0) || (Value < 0 && RHS.Value < 0))
158 Value /= RHS.Value;
204 return !(*this < RHS) && !(RHS < *this);
214 bool operator!=(const CostType RHS) const { return !(*this == RHS); }
216 bool operator>(const InstructionCost &RHS) const { return RHS < *this; }
255 LHS2 += RHS;
262 LHS2 -= RHS;
269 LHS2 *= RHS;
[all …]
H A DBranchProbability.h95 N = (uint64_t(N) + RHS.N > D) ? D : N + RHS.N;
103 N = N < RHS.N ? 0 : N - RHS.N;
117 N = (uint64_t(N) * RHS > D) ? D : N * RHS;
124 N = (static_cast<uint64_t>(N) * D + RHS.N / 2) / RHS.N;
132 N /= RHS;
138 Prob += RHS;
144 Prob -= RHS;
150 Prob *= RHS;
156 Prob *= RHS;
162 Prob /= RHS;
[all …]
H A DTypeSize.h76 C *= RHS;
82 return Copy += RHS;
87 return Copy -= RHS;
92 return Copy *= RHS;
194 LHS.Value *= RHS;
200 return Copy += RHS;
222 return Value == RHS.Value && UnivariateDim == RHS.UnivariateDim;
467 return RHS * LHS;
470 return RHS * LHS;
473 return RHS * LHS;
[all …]
H A DKnownBits.h290 return KnownBits(LHS.Zero & RHS.Zero, LHS.One & RHS.One); in commonBits()
379 KnownBits &operator&=(const KnownBits &RHS);
403 LHS &= RHS;
408 RHS &= LHS;
409 return std::move(RHS);
413 LHS |= RHS;
418 RHS |= LHS;
419 return std::move(RHS);
423 LHS ^= RHS;
428 RHS ^= LHS;
[all …]
H A DSMTAPI.h67 friend bool operator==(SMTSort const &LHS, SMTSort const &RHS) {
68 return LHS.equal_to(RHS);
114 friend bool operator==(SMTExpr const &LHS, SMTExpr const &RHS) {
115 return LHS.equal_to(RHS);
280 const SMTExprRef &RHS) = 0;
285 const SMTExprRef &RHS,
291 const SMTExprRef &RHS) = 0;
296 const SMTExprRef &RHS) = 0;
301 const SMTExprRef &RHS,
316 const SMTExprRef &RHS,
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPSInt.h114 *this = urem(RHS);
116 *this = srem(RHS);
122 *this = udiv(RHS);
129 return IsUnsigned ? APSInt(urem(RHS), true) : APSInt(srem(RHS), false);
133 return IsUnsigned ? APSInt(udiv(RHS), true) : APSInt(sdiv(RHS), false);
149 return IsUnsigned ? ult(RHS) : slt(RHS);
153 return IsUnsigned ? ugt(RHS) : sgt(RHS);
157 return IsUnsigned ? ule(RHS) : sle(RHS);
161 return IsUnsigned ? uge(RHS) : sge(RHS);
165 return eq(RHS);
[all …]
H A DSmallBitVector.h154 if (RHS.isSmall()) in SmallBitVector()
155 X = RHS.X; in SmallBitVector()
160 SmallBitVector(SmallBitVector &&RHS) : X(RHS.X) { in SmallBitVector() argument
161 RHS.X = 1; in SmallBitVector()
603 X = RHS.X;
611 X = RHS.X;
620 swap(RHS);
697 Result &= RHS;
704 Result |= RHS;
711 Result ^= RHS;
[all …]
H A DAPInt.h1251 bool ule(uint64_t RHS) const { return !ugt(RHS); }
1267 bool sle(uint64_t RHS) const { return !sgt(RHS); }
1275 bool ugt(const APInt &RHS) const { return !ule(RHS); }
1321 bool uge(uint64_t RHS) const { return !ult(RHS); }
1337 bool sge(int64_t RHS) const { return !slt(RHS); }
2053 a &= RHS;
2073 a |= RHS;
2093 a ^= RHS;
2123 a += RHS;
2144 a -= RHS;
[all …]
H A DSparseBitVector.h78 return !(*this == RHS);
432 return AtEnd == RHS.AtEnd && RHS.BitNumber == BitNumber;
457 if (this == &RHS)
558 if (this == &RHS)
588 if (this == &RHS)
637 if (this == &RHS) { in intersectWithComplement()
774 Result &= RHS; in contains()
824 return LHS |= *RHS;
842 return LHS &= *RHS;
852 Result |= RHS;
[all …]
H A DAPFloat.h625 if (this != &RHS) {
743 Storage(const Storage &RHS) { in Storage() argument
755 Storage(Storage &&RHS) { in Storage() argument
770 IEEE = RHS.IEEE;
773 Double = RHS.Double;
774 } else if (this != &RHS) {
776 new (this) Storage(RHS);
788 } else if (this != &RHS) {
1150 bool operator==(const APFloat &RHS) const { return compare(RHS) == cmpEqual; }
1152 bool operator!=(const APFloat &RHS) const { return compare(RHS) != cmpEqual; }
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DAliasAnalysisSummary.h120 return LHS.Index == RHS.Index && LHS.DerefLevel == RHS.DerefLevel;
127 (LHS.Index == RHS.Index && LHS.DerefLevel < RHS.DerefLevel);
130 return RHS < LHS;
133 return !(RHS < LHS);
148 return LHS + RHS; in addOffset()
159 return LHS.From == RHS.From && LHS.To == RHS.To && LHS.Offset == RHS.Offset;
176 return RHS < LHS;
210 return LHS.Val == RHS.Val && LHS.DerefLevel == RHS.DerefLevel;
217 (LHS.Val == RHS.Val && LHS.DerefLevel < RHS.DerefLevel);
220 return RHS < LHS;
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/APINotes/
H A DTypes.h87 if (RHS.Unavailable) {
117 LHS.SwiftPrivate == RHS.SwiftPrivate && LHS.SwiftName == RHS.SwiftName;
122 return !(LHS == RHS);
189 return !(LHS == RHS);
296 return !(LHS == RHS);
336 Type = RHS.Type;
347 LHS.Nullable == RHS.Nullable && LHS.Type == RHS.Type;
351 return !(LHS == RHS);
408 return !(LHS == RHS);
478 return !(LHS == RHS);
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Remarks/
H A DRemark.h119 if (!LHS && !RHS)
121 if (!LHS && RHS)
123 if (LHS && !RHS)
125 return *LHS < *RHS;
140 std::make_tuple(RHS.SourceFilePath, RHS.SourceLine, RHS.SourceColumn);
144 return LHS.Key == RHS.Key && LHS.Val == RHS.Val && LHS.Loc == RHS.Loc;
153 std::make_tuple(RHS.Key, RHS.Val, RHS.Loc);
159 LHS.FunctionName == RHS.FunctionName && LHS.Loc == RHS.Loc &&
160 LHS.Hotness == RHS.Hotness && LHS.Args == RHS.Args;
170 std::make_tuple(RHS.RemarkType, RHS.PassName, RHS.RemarkName,
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DLLVMContextImpl.h117 if (RHS == getEmptyKey() || RHS == getTombstoneKey()) in isEqual()
173 if (RHS == getEmptyKey() || RHS == getTombstoneKey()) in isEqual()
272 return Line == RHS->getLine() && Column == RHS->getColumn() &&
418 return Tag == RHS->getTag() && Name == RHS->getRawName() &&
453 return Tag == RHS->getTag() && Name == RHS->getRawName() &&
493 return Tag == RHS->getTag() && Name == RHS->getRawName() &&
546 return Tag == RHS->getTag() && Name == RHS->getRawName() &&
603 return Tag == RHS->getTag() && Name == RHS->getRawName() &&
641 return Flags == RHS->getFlags() && CC == RHS->getCC() &&
1256 if (RHS == getEmptyKey() || RHS == getTombstoneKey())
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DThunk.h63 return memcmp(this, &RHS, sizeof(RHS)) < 0; in Less()
73 return LHS.NonVirtual == RHS.NonVirtual && LHS.Virtual.Equals(RHS.Virtual);
78 return !(LHS == RHS);
83 if (LHS.NonVirtual < RHS.NonVirtual)
86 return LHS.NonVirtual == RHS.NonVirtual && LHS.Virtual.Less(RHS.Virtual);
130 return memcmp(this, &RHS, sizeof(RHS)) < 0; in Less()
139 return LHS.NonVirtual == RHS.NonVirtual && LHS.Virtual.Equals(RHS.Virtual);
143 return !(LHS == RHS);
150 return LHS.NonVirtual == RHS.NonVirtual && LHS.Virtual.Less(RHS.Virtual);
177 return LHS.This == RHS.This && LHS.Return == RHS.Return &&
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DMatrixBuilder.h44 RHS = B.CreateVectorSplat( in splatScalarOperandIfNeeded()
54 return {LHS, RHS}; in splatScalarOperandIfNeeded()
166 RHS = B.CreateVectorSplat( in CreateAdd()
180 ? B.CreateFAdd(LHS, RHS) in CreateAdd()
181 : B.CreateAdd(LHS, RHS); in CreateAdd()
191 RHS = B.CreateVectorSplat( in CreateSub()
212 std::tie(LHS, RHS) = splatScalarOperandIfNeeded(LHS, RHS); in CreateScalarMultiply()
214 return B.CreateFMul(LHS, RHS); in CreateScalarMultiply()
215 return B.CreateMul(LHS, RHS); in CreateScalarMultiply()
224 RHS = in CreateScalarDiv()
[all …]
H A DValueHandle.h40 : ValueHandleBase(RHS.PrevPair.getInt(), RHS) {} in ValueHandleBase()
70 if (getValPtr() == RHS)
71 return RHS;
74 setValPtr(RHS);
77 return RHS;
82 return RHS.getValPtr();
148 WeakVH(const WeakVH &RHS) in WeakVH() argument
286 AssertingVH(const AssertingVH &RHS) : ValueHandleBase(Assert, RHS) {}
298 setValPtr(RHS);
368 setValPtr(RHS);
[all …]
H A DNoFolder.h54 return BinaryOperator::CreateFAdd(LHS, RHS); in CreateFAdd()
67 return BinaryOperator::CreateFSub(LHS, RHS); in CreateFSub()
80 return BinaryOperator::CreateFMul(LHS, RHS); in CreateFMul()
98 return BinaryOperator::CreateFDiv(LHS, RHS); in CreateFDiv()
102 return BinaryOperator::CreateURem(LHS, RHS); in CreateURem()
106 return BinaryOperator::CreateSRem(LHS, RHS); in CreateSRem()
136 return BinaryOperator::CreateAnd(LHS, RHS); in CreateAnd()
140 return BinaryOperator::CreateOr(LHS, RHS); in CreateOr()
144 return BinaryOperator::CreateXor(LHS, RHS); in CreateXor()
275 return new ICmpInst(P, LHS, RHS); in CreateICmp()
[all …]
H A DConstantFolder.h44 return ConstantExpr::getFAdd(LHS, RHS); in CreateFAdd()
53 return ConstantExpr::getFSub(LHS, RHS); in CreateFSub()
62 return ConstantExpr::getFMul(LHS, RHS); in CreateFMul()
76 return ConstantExpr::getFDiv(LHS, RHS); in CreateFDiv()
80 return ConstantExpr::getURem(LHS, RHS); in CreateURem()
84 return ConstantExpr::getSRem(LHS, RHS); in CreateSRem()
88 return ConstantExpr::getFRem(LHS, RHS); in CreateFRem()
107 return ConstantExpr::getAnd(LHS, RHS); in CreateAnd()
111 return ConstantExpr::getOr(LHS, RHS); in CreateOr()
115 return ConstantExpr::getXor(LHS, RHS); in CreateXor()
[all …]
H A DPatternMatch.h941 AnyBinaryOp_match(const LHS_t &LHS, const RHS_t &RHS) : L(LHS), R(RHS) {} in AnyBinaryOp_match()
953 inline AnyBinaryOp_match<LHS, RHS> m_BinOp(const LHS &L, const RHS &R) { in m_BinOp()
989 BinaryOp_match(const LHS_t &LHS, const RHS_t &RHS) : L(LHS), R(RHS) {} in BinaryOp_match()
1068 template <typename RHS>
1070 m_FNegNSZ(const RHS &X) { in m_FNegNSZ()
1165 : L(LHS), R(RHS) {} in OverflowingBinaryOp_match()
1257 BinOpPred_match(const LHS_t &LHS, const RHS_t &RHS) : L(LHS), R(RHS) {} in BinOpPred_match()
1765 MaxMin_match(const LHS_t &LHS, const RHS_t &RHS) : L(LHS), R(RHS) {} in MaxMin_match()
2213 inline AnyBinaryOp_match<LHS, RHS, true> m_c_BinOp(const LHS &L, const RHS &R) {
2358 auto Signum = m_Or(LHS, RHS);
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DMIPatternMatch.h242 BinaryOp_match(const LHS_P &LHS, const RHS_P &RHS) : L(LHS), R(RHS) {}
283 template <typename LHS, typename RHS>
289 template <typename LHS, typename RHS>
295 template <typename LHS, typename RHS>
297 m_GAdd(const LHS &L, const RHS &R) {
301 template <typename LHS, typename RHS>
315 m_GMul(const LHS &L, const RHS &R) {
339 m_GAnd(const LHS &L, const RHS &R) {
345 m_GXor(const LHS &L, const RHS &R) {
357 m_GShl(const LHS &L, const RHS &R) {
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetFolder.h49 Constant *CreateAdd(Constant *LHS, Constant *RHS,
54 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()
79 return Fold(ConstantExpr::getFDiv(LHS, RHS)); in CreateFDiv()
82 return Fold(ConstantExpr::getURem(LHS, RHS)); in CreateURem()
85 return Fold(ConstantExpr::getSRem(LHS, RHS)); in CreateSRem()
88 return Fold(ConstantExpr::getFRem(LHS, RHS)); in CreateFRem()
103 return Fold(ConstantExpr::getAnd(LHS, RHS)); in CreateAnd()
106 return Fold(ConstantExpr::getOr(LHS, RHS)); in CreateOr()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-cov/
H A DCoverageSummaryInfo.h39 Covered += RHS.Covered;
40 NumRegions += RHS.NumRegions;
80 Covered += RHS.Covered;
81 NumLines += RHS.NumLines;
85 void merge(const LineCoverageInfo &RHS) { in merge() argument
121 Covered += RHS.Covered;
122 NumBranches += RHS.NumBranches;
160 Executed += RHS.Executed;
161 NumFunctions += RHS.NumFunctions;
231 RegionCoverage += RHS.RegionCoverage;
[all …]

12345678910>>...29