Home
last modified time | relevance | path

Searched refs:Rhs (Results 1 – 25 of 54) sorted by relevance

123

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DAlignment.h235 return Lhs.value() == Rhs;
251 return Lhs.value() < Rhs;
255 return Lhs.value() > Rhs;
295 inline bool operator==(MaybeAlign Lhs, Align Rhs) { return Lhs && *Lhs == Rhs; }
296 inline bool operator!=(MaybeAlign Lhs, Align Rhs) { return !(Lhs == Rhs); }
297 inline bool operator==(Align Lhs, MaybeAlign Rhs) { return Rhs == Lhs; }
298 inline bool operator!=(Align Lhs, MaybeAlign Rhs) { return !(Rhs == Lhs); }
301 return (Lhs && Rhs && (*Lhs == *Rhs)) || (!Lhs && !Rhs);
303 inline bool operator!=(MaybeAlign Lhs, MaybeAlign Rhs) { return !(Lhs == Rhs); }
307 inline bool operator==(std::nullopt_t, MaybeAlign Rhs) { return !bool(Rhs); }
[all …]
/freebsd-14.2/contrib/googletest/googletest/include/gtest/
H A Dgtest-matchers.h721 Rhs rhs_;
728 : ComparisonBase<EqMatcher<Rhs>, Rhs, std::equal_to<>>(rhs) {}
745 : ComparisonBase<LtMatcher<Rhs>, Rhs, std::less<>>(rhs) {}
753 : ComparisonBase<GtMatcher<Rhs>, Rhs, std::greater<>>(rhs) {}
759 : public ComparisonBase<LeMatcher<Rhs>, Rhs, std::less_equal<>> {
762 : ComparisonBase<LeMatcher<Rhs>, Rhs, std::less_equal<>>(rhs) {}
892 inline internal::GeMatcher<Rhs> Ge(Rhs x) {
898 inline internal::GtMatcher<Rhs> Gt(Rhs x) {
904 inline internal::LeMatcher<Rhs> Le(Rhs x) {
910 inline internal::LtMatcher<Rhs> Lt(Rhs x) {
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/ExtractAPI/
H A DAvailabilityInfo.h57 const AvailabilityInfo &Rhs);
64 const AvailabilityInfo &Rhs) {
68 std::tie(Rhs.Introduced, Rhs.Deprecated, Rhs.Obsoleted,
69 Rhs.UnconditionallyDeprecated,
70 Rhs.UnconditionallyUnavailable);
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/InterfaceStub/
H A DIFSStub.h75 inline bool operator==(const IFSTarget &Lhs, const IFSTarget &Rhs) {
76 if (Lhs.Arch != Rhs.Arch || Lhs.BitWidth != Rhs.BitWidth ||
77 Lhs.Endianness != Rhs.Endianness ||
78 Lhs.ObjectFormat != Rhs.ObjectFormat || Lhs.Triple != Rhs.Triple)
83 inline bool operator!=(const IFSTarget &Lhs, const IFSTarget &Rhs) {
84 return !(Lhs == Rhs);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMergeICmps.cpp186 BCEAtom Rhs; member
192 if (Rhs < Lhs) std::swap(Rhs, Lhs); in BCECmp()
209 const BCEAtom &Rhs() const { return Cmp.Rhs; } in Rhs() function in __anon9202c2f50111::BCECmpBlock
326 if (!Rhs.BaseId) in visitICmp()
382 if (Result->Rhs.GEP) in visitCmpBlock()
426 First.Rhs().BaseId == Second.Rhs().BaseId && in areContiguous()
428 First.Rhs().Offset + First.SizeBits() / 8 == Second.Rhs().Offset; in areContiguous()
618 Value *Lhs, *Rhs; in mergeComparisons() local
624 Rhs = Builder.Insert(FirstCmp.Rhs().GEP->clone()); in mergeComparisons()
626 Rhs = FirstCmp.Rhs().LoadI->getPointerOperand(); in mergeComparisons()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMsgPackDocument.h155 friend bool operator<(const DocNode &Lhs, const DocNode &Rhs) {
158 if (Rhs.isEmpty())
160 if (Lhs.KindAndDoc != Rhs.KindAndDoc) {
163 return (unsigned)Lhs.getKind() < (unsigned)Rhs.getKind();
167 return Lhs.Int < Rhs.Int;
169 return Lhs.UInt < Rhs.UInt;
173 return Lhs.Bool < Rhs.Bool;
175 return Lhs.Float < Rhs.Float;
178 return Lhs.Raw < Rhs.Raw;
186 return !(Lhs < Rhs) && !(Rhs < Lhs);
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Object/
H A DMachOUniversalWriter.h86 friend bool operator<(const Slice &Lhs, const Slice &Rhs) {
87 if (Lhs.CPUType == Rhs.CPUType)
88 return Lhs.CPUSubType < Rhs.CPUSubType;
93 if (Rhs.CPUType == MachO::CPU_TYPE_ARM64)
96 return Lhs.P2Alignment < Rhs.P2Alignment;
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DScopeExit.h34 scope_exit(scope_exit &&Rhs) in scope_exit() argument
35 : ExitFunction(std::move(Rhs.ExitFunction)), Engaged(Rhs.Engaged) { in scope_exit()
36 Rhs.release(); in scope_exit()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DCleanupInfo.h38 void mergeFrom(CleanupInfo Rhs) { in mergeFrom() argument
39 ExprNeedsCleanups |= Rhs.ExprNeedsCleanups; in mergeFrom()
40 CleanupsHaveSideEffects |= Rhs.CleanupsHaveSideEffects; in mergeFrom()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DImportedFunctionsInliningStatistics.cpp207 const SortedNodesTy::value_type &Rhs) { in getSortedNodes() argument
208 if (Lhs->second->NumberOfInlines != Rhs->second->NumberOfInlines) in getSortedNodes()
209 return Lhs->second->NumberOfInlines > Rhs->second->NumberOfInlines; in getSortedNodes()
210 if (Lhs->second->NumberOfRealInlines != Rhs->second->NumberOfRealInlines) in getSortedNodes()
212 Rhs->second->NumberOfRealInlines; in getSortedNodes()
213 return Lhs->first() < Rhs->first(); in getSortedNodes()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/
H A DCheckerRegistryData.h126 bool operator==(const CheckerInfo &Rhs) const {
127 return FullName == Rhs.FullName;
152 bool operator==(const PackageInfo &Rhs) const {
153 return FullName == Rhs.FullName;
167 bool operator()(const T &Lhs, const T &Rhs) { in operator()
168 return Lhs.FullName < Rhs.FullName; in operator()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandMemCmp.cpp121 Value *Rhs = nullptr; member
344 Value *Rhs = nullptr; in getLoadPair() local
347 if (!Rhs) in getLoadPair()
353 Rhs = Builder.CreateZExt(Rhs, BSwapSizeType); in getLoadPair()
361 Rhs = Builder.CreateCall(Bswap, Rhs); in getLoadPair()
367 Rhs = Builder.CreateZExt(Rhs, CmpSizeType); in getLoadPair()
369 return {Lhs, Rhs}; in getLoadPair()
383 Value *Diff = Builder.CreateSub(Loads.Lhs, Loads.Rhs); in emitLoadCompareByteBlock()
444 Diff = Builder.CreateXor(Loads.Lhs, Loads.Rhs); in getCompareLoadPairs()
449 Cmp = Builder.CreateICmpNE(Loads.Lhs, Loads.Rhs); in getCompareLoadPairs()
[all …]
H A DCalcSpillWeights.cpp213 bool operator<(const CopyHint &Rhs) const { in weightCalcHelper()
215 if (Reg.isPhysical() != Rhs.Reg.isPhysical()) in weightCalcHelper()
217 if (Weight != Rhs.Weight) in weightCalcHelper()
218 return (Weight > Rhs.Weight); in weightCalcHelper()
219 return Reg.id() < Rhs.Reg.id(); // Tie-breaker. in weightCalcHelper()
H A DStackFrameLayoutAnalysisPass.cpp80 bool operator<(const SlotData &Rhs) const { return Offset > Rhs.Offset; } in operator <()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCSymbolXCOFF.h31 StringRef Lhs, Rhs; in getUnqualifiedName() local
32 std::tie(Lhs, Rhs) = Name.rsplit('['); in getUnqualifiedName()
33 assert(!Rhs.empty() && "Invalid SMC format in XCOFF symbol."); in getUnqualifiedName()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DFunctionId.h48 static int compareMemory(const char *Lhs, const char *Rhs, uint64_t Length) { in compareMemory() argument
49 if (Lhs == Rhs) in compareMemory()
53 if (!Rhs) in compareMemory()
55 return ::memcmp(Lhs, Rhs, (size_t)Length); in compareMemory()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MCA/HardwareUnits/
H A DScheduler.h36 virtual bool compare(const InstRef &Lhs, const InstRef &Rhs) const = 0;
51 bool compare(const InstRef &Lhs, const InstRef &Rhs) const override { in compare() argument
53 int RhsRank = computeRank(Rhs); in compare()
58 return Lhs.getSourceIndex() < Rhs.getSourceIndex(); in compare()
/freebsd-14.2/contrib/llvm-project/clang/lib/CrossTU/
H A DCrossTranslationUnit.cpp64 Rhs.getArch() != Triple::UnknownArch && Lhs.getArch() != Rhs.getArch()) in hasEqualKnownFields()
67 Rhs.getSubArch() != Triple::NoSubArch && in hasEqualKnownFields()
68 Lhs.getSubArch() != Rhs.getSubArch()) in hasEqualKnownFields()
71 Rhs.getVendor() != Triple::UnknownVendor && in hasEqualKnownFields()
72 Lhs.getVendor() != Rhs.getVendor()) in hasEqualKnownFields()
74 if (!Lhs.isOSUnknown() && !Rhs.isOSUnknown() && in hasEqualKnownFields()
75 Lhs.getOS() != Rhs.getOS()) in hasEqualKnownFields()
78 Rhs.getEnvironment() != Triple::UnknownEnvironment && in hasEqualKnownFields()
79 Lhs.getEnvironment() != Rhs.getEnvironment()) in hasEqualKnownFields()
82 Rhs.getObjectFormat() != Triple::UnknownObjectFormat && in hasEqualKnownFields()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DPointerArithChecker.cpp318 const Expr *Rhs = BOp->getRHS(); in checkPreStmt() local
321 if (Rhs->getType()->isIntegerType() && Lhs->getType()->isPointerType()) { in checkPreStmt()
322 SVal RHSVal = C.getSVal(Rhs); in checkPreStmt()
328 if (Lhs->getType()->isIntegerType() && Rhs->getType()->isPointerType()) { in checkPreStmt()
332 reportPointerArithMisuse(Rhs, C); in checkPreStmt()
H A DNullabilityChecker.cpp51 Nullability getMostNullable(Nullability Lhs, Nullability Rhs) { in getMostNullable() argument
53 std::min(static_cast<char>(Lhs), static_cast<char>(Rhs))); in getMostNullable()
234 bool operator==(NullabilityState Lhs, NullabilityState Rhs) { in operator ==() argument
235 return Lhs.getValue() == Rhs.getValue() && in operator ==()
236 Lhs.getNullabilitySource() == Rhs.getNullabilitySource(); in operator ==()
263 const ConstrainedPropertyVal &Rhs) { in operator ==() argument
264 return Lhs.Value == Rhs.Value && in operator ==()
265 Lhs.isConstrainedNonnull == Rhs.isConstrainedNonnull; in operator ==()
/freebsd-14.2/crypto/heimdal/lib/com_err/
H A Dparse.c617 #define YYRHSLOC(Rhs, K) ((Rhs)[K]) argument
619 # define YYLLOC_DEFAULT(Current, Rhs, N) \ argument
623 (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \
624 (Current).first_column = YYRHSLOC (Rhs, 1).first_column; \
625 (Current).last_line = YYRHSLOC (Rhs, N).last_line; \
626 (Current).last_column = YYRHSLOC (Rhs, N).last_column; \
631 YYRHSLOC (Rhs, 0).last_line; \
633 YYRHSLOC (Rhs, 0).last_column; \
/freebsd-14.2/contrib/llvm-project/llvm/lib/FileCheck/
H A DFileCheckImpl.h118 Expected<APInt> exprAdd(const APInt &Lhs, const APInt &Rhs, bool &Overflow);
119 Expected<APInt> exprSub(const APInt &Lhs, const APInt &Rhs, bool &Overflow);
120 Expected<APInt> exprMul(const APInt &Lhs, const APInt &Rhs, bool &Overflow);
121 Expected<APInt> exprDiv(const APInt &Lhs, const APInt &Rhs, bool &Overflow);
122 Expected<APInt> exprMax(const APInt &Lhs, const APInt &Rhs, bool &Overflow);
123 Expected<APInt> exprMin(const APInt &Lhs, const APInt &Rhs, bool &Overflow);
/freebsd-14.2/crypto/heimdal/lib/sl/
H A Dslc-gram.c591 #define YYRHSLOC(Rhs, K) ((Rhs)[K]) argument
593 # define YYLLOC_DEFAULT(Current, Rhs, N) \ argument
597 (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \
598 (Current).first_column = YYRHSLOC (Rhs, 1).first_column; \
599 (Current).last_line = YYRHSLOC (Rhs, N).last_line; \
600 (Current).last_column = YYRHSLOC (Rhs, N).last_column; \
605 YYRHSLOC (Rhs, 0).last_line; \
607 YYRHSLOC (Rhs, 0).last_column; \
/freebsd-14.2/crypto/heimdal/lib/asn1/
H A Dasn1parse.c1009 #define YYRHSLOC(Rhs, K) ((Rhs)[K]) argument
1011 # define YYLLOC_DEFAULT(Current, Rhs, N) \ argument
1015 (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \
1016 (Current).first_column = YYRHSLOC (Rhs, 1).first_column; \
1017 (Current).last_line = YYRHSLOC (Rhs, N).last_line; \
1018 (Current).last_column = YYRHSLOC (Rhs, N).last_column; \
1023 YYRHSLOC (Rhs, 0).last_line; \
1025 YYRHSLOC (Rhs, 0).last_column; \
/freebsd-14.2/crypto/heimdal/appl/ftp/ftpd/
H A Dftpcmd.c1002 #define YYRHSLOC(Rhs, K) ((Rhs)[K]) argument
1004 # define YYLLOC_DEFAULT(Current, Rhs, N) \ argument
1008 (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \
1009 (Current).first_column = YYRHSLOC (Rhs, 1).first_column; \
1010 (Current).last_line = YYRHSLOC (Rhs, N).last_line; \
1011 (Current).last_column = YYRHSLOC (Rhs, N).last_column; \
1016 YYRHSLOC (Rhs, 0).last_line; \
1018 YYRHSLOC (Rhs, 0).last_column; \

123