/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | Alignment.h | 46 friend bool operator==(Align Lhs, Align Rhs); 47 friend bool operator!=(Align Lhs, Align Rhs); 48 friend bool operator<=(Align Lhs, Align Rhs); 49 friend bool operator>=(Align Lhs, Align Rhs); 50 friend bool operator<(Align Lhs, Align Rhs); 51 friend bool operator>(Align Lhs, Align Rhs); 233 inline bool operator==(Align Lhs, uint64_t Rhs) { 234 ALIGN_CHECK_ISPOSITIVE(Rhs); 235 return Lhs.value() == Rhs; 237 inline bool operator!=(Align Lhs, uint64_t Rhs) { [all …]
|
/freebsd/contrib/googletest/googletest/include/gtest/ |
H A D | gtest-matchers.h | 691 template <typename D, typename Rhs, typename Op> 694 explicit ComparisonBase(const Rhs& rhs) : rhs_(rhs) {} 721 Rhs rhs_; 724 template <typename Rhs> 725 class EqMatcher : public ComparisonBase<EqMatcher<Rhs>, Rhs, std::equal_to<>> { 727 explicit EqMatcher(const Rhs& rhs) 728 : ComparisonBase<EqMatcher<Rhs>, Rhs, std::equal_to<>>(rhs) {} 732 template <typename Rhs> 734 : public ComparisonBase<NeMatcher<Rhs>, Rhs, std::not_equal_to<>> { 736 explicit NeMatcher(const Rhs& rhs) [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | Availability.h | 107 const AvailabilityInfo &Rhs); 114 const AvailabilityInfo &Rhs) { 118 std::tie(Rhs.Introduced, Rhs.Deprecated, Rhs.Obsoleted, 119 Rhs.Unavailable, Rhs.UnconditionallyDeprecated, 120 Rhs.UnconditionallyUnavailable);
|
/freebsd/contrib/llvm-project/llvm/include/llvm/InterfaceStub/ |
H A D | IFSStub.h | 75 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/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | MergeICmps.cpp | 186 BCEAtom Rhs; member 191 : Lhs(std::move(L)), Rhs(std::move(R)), SizeBits(SizeBits), CmpI(CmpI) { in BCECmp() 192 if (Rhs < Lhs) std::swap(Rhs, Lhs); in BCECmp() 209 const BCEAtom &Rhs() const { return Cmp.Rhs; } in Rhs() function in __anonde3b773f0111::BCECmpBlock 254 if (MayClobber(Cmp.Lhs.LoadI) || MayClobber(Cmp.Rhs.LoadI)) in canSinkBCECmpInst() 325 auto Rhs = visitICmpLoadOperand(CmpI->getOperand(1), BaseId); in visitICmp() local 326 if (!Rhs.BaseId) in visitICmp() 329 return BCECmp(std::move(Lhs), std::move(Rhs), in visitICmp() 379 {Result->Lhs.LoadI, Result->Rhs.LoadI, Result->CmpI, BranchI}); in visitCmpBlock() 382 if (Result->Rhs.GEP) in visitCmpBlock() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
H A D | MsgPackDocument.h | 155 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; 185 friend bool operator==(const DocNode &Lhs, const DocNode &Rhs) { [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
H A D | MachOUniversalWriter.h | 86 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/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | ScopeExit.h | 34 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()
|
H A D | GenericCycleInfo.h | 90 GenericCycle(GenericCycle &&Rhs) = delete; 91 GenericCycle &operator=(GenericCycle &&Rhs) = delete;
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ImportedFunctionsInliningStatistics.cpp | 206 const SortedNodesTy::value_type &Rhs) { in getSortedNodes() argument 207 if (Lhs->second->NumberOfInlines != Rhs->second->NumberOfInlines) in getSortedNodes() 208 return Lhs->second->NumberOfInlines > Rhs->second->NumberOfInlines; in getSortedNodes() 209 if (Lhs->second->NumberOfRealInlines != Rhs->second->NumberOfRealInlines) in getSortedNodes() 211 Rhs->second->NumberOfRealInlines; in getSortedNodes() 212 return Lhs->first() < Rhs->first(); in getSortedNodes()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | CleanupInfo.h | 38 void mergeFrom(CleanupInfo Rhs) { in mergeFrom() argument 39 ExprNeedsCleanups |= Rhs.ExprNeedsCleanups; in mergeFrom() 40 CleanupsHaveSideEffects |= Rhs.CleanupsHaveSideEffects; in mergeFrom()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | ExpandMemCmp.cpp | 121 Value *Rhs = nullptr; member 344 Value *Rhs = nullptr; in getLoadPair() local 346 Rhs = ConstantFoldLoadFromConstPtr(C, LoadSizeType, DL); in getLoadPair() 347 if (!Rhs) in getLoadPair() 348 Rhs = Builder.CreateAlignedLoad(LoadSizeType, RhsSource, RhsAlign); 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() [all …]
|
H A D | StackFrameLayoutAnalysisPass.cpp | 95 bool operator<(const SlotData &Rhs) const { in operator <() 98 std::make_tuple(!Rhs.isVarSize(), in operator <() 99 Rhs.Offset.getFixed() + Rhs.Offset.getScalable(), in operator <() 100 Rhs.Slot); in operator <()
|
H A D | CalcSpillWeights.cpp | 213 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()
|
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/ |
H A D | CheckerRegistryData.h | 126 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/contrib/llvm-project/llvm/include/llvm/MCA/HardwareUnits/ |
H A D | Scheduler.h | 32 /// Returns true if Lhs should take priority over Rhs. 36 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/contrib/llvm-project/llvm/include/llvm/MC/ |
H A D | MCSymbolXCOFF.h | 34 StringRef Lhs, Rhs; in getUnqualifiedName() local 35 std::tie(Lhs, Rhs) = Name.rsplit('['); in getUnqualifiedName() 36 assert(!Rhs.empty() && "Invalid SMC format in XCOFF symbol."); in getUnqualifiedName()
|
/freebsd/crypto/heimdal/lib/com_err/ |
H A D | parse.c | 617 #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/contrib/llvm-project/llvm/lib/FileCheck/ |
H A D | FileCheckImpl.h | 118 Expected<APInt> exprAdd(const APInt &Lhs, const APInt &Rhs, bool &Overflow); in log() 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/crypto/heimdal/lib/sl/ |
H A D | slc-gram.c | 591 #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/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | NullabilityChecker.cpp | 51 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/crypto/heimdal/appl/ftp/ftpd/ |
H A D | ftpcmd.c | 1002 #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; \
|
/freebsd/crypto/heimdal/lib/asn1/ |
H A D | asn1parse.c | 1009 #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/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/ |
H A D | PPCInstPrinter.cpp | 570 const MCExpr *Rhs = nullptr; in printTLSCall() 573 Rhs = BinExpr->getRHS(); in printTLSCall() 590 if (Rhs) { in printTLSCall() 593 Rhs->print(Tmp, &MAI); in printTLSCall() 567 const MCExpr *Rhs = nullptr; printTLSCall() local
|
/freebsd/contrib/llvm-project/clang/lib/Format/ |
H A D | UsingDeclarationsSorter.cpp | 155 const UsingDeclaration &Rhs) -> bool { in endUsingDeclarationBlock() argument 156 return compareLabels(Lhs.Label, Rhs.Label, SortUsingDeclarations) < 0; in endUsingDeclarationBlock()
|