Searched refs:Rhs (Results 1 - 25 of 36) sorted by relevance

12

/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DCleanupInfo.h38 void mergeFrom(CleanupInfo Rhs) { argument
39 ExprNeedsCleanups |= Rhs.ExprNeedsCleanups;
40 CleanupsHaveSideEffects |= Rhs.CleanupsHaveSideEffects;
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DAlignment.h46 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);
257 /// Comparisons between Align and scalars. Rhs must be positive.
258 inline bool operator==(Align Lhs, uint64_t Rhs) {
259 ALIGN_CHECK_ISPOSITIVE(Rhs);
260 return Lhs.value() == Rhs;
332 operator *(MaybeAlign Lhs, uint64_t Rhs) argument
350 max(MaybeAlign Lhs, Align Rhs) argument
354 max(Align Lhs, MaybeAlign Rhs) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A DScopeExit.h33 scope_exit(scope_exit &&Rhs) argument
34 : ExitFunction(std::move(Rhs.ExitFunction)), Engaged(Rhs.Engaged) {
35 Rhs.release();
H A DStringRef.h74 static int compareMemory(const char *Lhs, const char *Rhs, size_t Length) { argument
76 return ::memcmp(Lhs,Rhs,Length);
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCSymbolXCOFF.h29 StringRef Lhs, Rhs; local
30 std::tie(Lhs, Rhs) = Name.rsplit('[');
31 assert(!Rhs.empty() && "Invalid SMC format in XCOFF symbol.");
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DImportedFunctionsInliningStatistics.cpp193 const SortedNodesTy::value_type &Rhs) {
194 if (Lhs->second->NumberOfInlines != Rhs->second->NumberOfInlines)
195 return Lhs->second->NumberOfInlines > Rhs->second->NumberOfInlines;
196 if (Lhs->second->NumberOfRealInlines != Rhs->second->NumberOfRealInlines)
198 Rhs->second->NumberOfRealInlines;
199 return Lhs->first() < Rhs->first();
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMsgPackDocument.h150 friend bool operator<(const DocNode &Lhs, const DocNode &Rhs) { argument
153 if (Rhs.isEmpty())
155 if (Lhs.KindAndDoc != Rhs.KindAndDoc) {
158 return (unsigned)Lhs.getKind() < (unsigned)Rhs.getKind();
162 return Lhs.Int < Rhs.Int;
164 return Lhs.UInt < Rhs.UInt;
168 return Lhs.Bool < Rhs.Bool;
170 return Lhs.Float < Rhs.Float;
173 return Lhs.Raw < Rhs.Raw;
180 friend bool operator==(const DocNode &Lhs, const DocNode &Rhs) { argument
185 operator !=(const DocNode &Lhs, const DocNode &Rhs) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/MCA/HardwareUnits/
H A DScheduler.h32 /// 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 {
53 int RhsRank = computeRank(Rhs);
58 return Lhs.getSourceIndex() < Rhs.getSourceIndex();
/freebsd-13-stable/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) { argument
168 return Lhs.FullName < Rhs.FullName;
/freebsd-13-stable/crypto/heimdal/lib/com_err/
H A Dparse.c617 #define YYRHSLOC(Rhs, K) ((Rhs)[K])
619 # define YYLLOC_DEFAULT(Current, Rhs, N) \
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-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMergeICmps.cpp211 const BCEAtom &Rhs() const { return Rhs_; } function in class:__anon4690::BCECmpBlock
343 auto Rhs = visitICmpLoadOperand(CmpI->getOperand(1), BaseId);
344 if (!Rhs.BaseId)
347 return BCECmpBlock(std::move(Lhs), std::move(Rhs),
400 << Comparison.Rhs().BaseId << " + "
401 << Comparison.Rhs().Offset << "\n");
425 First.Rhs().BaseId == Second.Rhs().BaseId &&
427 First.Rhs().Offset + First.SizeBits() / 8 == Second.Rhs()
622 Value *const Rhs = Builder.Insert(FirstCmp.Rhs().GEP->clone()); local
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandMemCmp.cpp110 Value *Rhs = nullptr; member in struct:__anon3459::MemCmpExpansion::LoadPair
300 Value *Rhs = nullptr; local
302 Rhs = ConstantFoldLoadFromConstPtr(C, LoadSizeType, DL);
303 if (!Rhs)
304 Rhs = Builder.CreateAlignedLoad(LoadSizeType, RhsSource, RhsAlign);
311 Rhs = Builder.CreateCall(Bswap, Rhs);
317 Rhs = Builder.CreateZExt(Rhs, CmpSizeType);
319 return {Lhs, Rhs};
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DPointerArithChecker.cpp324 const Expr *Rhs = BOp->getRHS(); local
327 if (Rhs->getType()->isIntegerType() && Lhs->getType()->isPointerType()) {
328 SVal RHSVal = C.getSVal(Rhs);
334 if (Lhs->getType()->isIntegerType() && Rhs->getType()->isPointerType()) {
338 reportPointerArithMisuse(Rhs, C);
H A DNullabilityChecker.cpp49 Nullability getMostNullable(Nullability Lhs, Nullability Rhs) { argument
51 std::min(static_cast<char>(Lhs), static_cast<char>(Rhs)));
228 bool operator==(NullabilityState Lhs, NullabilityState Rhs) { argument
229 return Lhs.getValue() == Rhs.getValue() &&
230 Lhs.getNullabilitySource() == Rhs.getNullabilitySource();
/freebsd-13-stable/crypto/heimdal/lib/asn1/
H A Dasn1parse.c1009 #define YYRHSLOC(Rhs, K) ((Rhs)[K])
1011 # define YYLLOC_DEFAULT(Current, Rhs, N) \
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-13-stable/contrib/llvm-project/clang/lib/CrossTU/
H A DCrossTranslationUnit.cpp61 bool hasEqualKnownFields(const llvm::Triple &Lhs, const llvm::Triple &Rhs) { argument
64 Rhs.getArch() != Triple::UnknownArch && Lhs.getArch() != Rhs.getArch())
67 Rhs.getSubArch() != Triple::NoSubArch &&
68 Lhs.getSubArch() != Rhs.getSubArch())
71 Rhs.getVendor() != Triple::UnknownVendor &&
72 Lhs.getVendor() != Rhs.getVendor())
74 if (!Lhs.isOSUnknown() && !Rhs.isOSUnknown() &&
75 Lhs.getOS() != Rhs.getOS())
78 Rhs
[all...]
/freebsd-13-stable/contrib/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h706 // latter calls bool operator==(const Lhs& lhs, const Rhs& rhs) in the end
707 // which might be undefined even when Rhs is implicitly convertible to Lhs
1065 // The following template definition assumes that the Rhs parameter is
1067 template <typename D, typename Rhs, typename Op>
1070 explicit ComparisonBase(const Rhs& rhs) : rhs_(rhs) {}
1080 explicit Impl(const Rhs& rhs) : rhs_(rhs) {}
1094 Rhs rhs_;
1097 Rhs rhs_;
1101 template <typename Rhs>
1102 class EqMatcher : public ComparisonBase<EqMatcher<Rhs>, Rh
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/
H A DFileCheckImpl.h152 const ExpressionValue &Rhs);
154 const ExpressionValue &Rhs);
156 const ExpressionValue &Rhs);
158 const ExpressionValue &Rhs);
160 const ExpressionValue &Rhs);
162 const ExpressionValue &Rhs);
/freebsd-13-stable/crypto/heimdal/lib/sl/
H A Dslc-gram.c591 #define YYRHSLOC(Rhs, K) ((Rhs)[K])
593 # define YYLLOC_DEFAULT(Current, Rhs, N) \
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-13-stable/crypto/heimdal/appl/ftp/ftpd/
H A Dftpcmd.c1002 #define YYRHSLOC(Rhs, K) ((Rhs)[K])
1004 # define YYLLOC_DEFAULT(Current, Rhs, N) \
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-13-stable/contrib/llvm-project/llvm/lib/MCA/HardwareUnits/
H A DRegisterFile.cpp381 sort(Writes, [](const WriteRef &Lhs, const WriteRef &Rhs) {
382 return Lhs.getWriteState() < Rhs.getWriteState();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZShortenInst.cpp190 MachineOperand Rhs(RHSMO);
199 .add(Rhs);
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/ELF/
H A DObject.h369 bool operator()(const SectionBase *Lhs, const SectionBase *Rhs) const;
434 bool operator()(const SectionBase *Lhs, const SectionBase *Rhs) const {
438 if (Lhs->OriginalOffset == Rhs->OriginalOffset)
439 return Lhs < Rhs;
440 return Lhs->OriginalOffset < Rhs->OriginalOffset;
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DProgramState.cpp373 ConditionTruthVal ProgramState::areEqual(SVal Lhs, SVal Rhs) const {
374 return stateMgr->getSValBuilder().areEqual(this, Lhs, Rhs);
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-mca/Views/
H A DBottleneckAnalysis.cpp277 [](const DGNode &Lhs, const DGNode &Rhs) { return Lhs.Cost < Rhs.Cost; });

Completed in 132 milliseconds

12