Searched refs:Lhs (Results 1 - 25 of 29) sorted by relevance

12

/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);
148 inline bool isAligned(Align Lhs, uint64_t SizeInBytes) {
149 return SizeInBytes % Lhs.value() == 0;
153 inline bool isAddrAligned(Align Lhs, const void *Addr) {
154 return isAligned(Lhs, reinterpret_cas
332 operator *(MaybeAlign Lhs, uint64_t Rhs) argument
337 operator /(Align Lhs, uint64_t Divisor) argument
344 operator /(MaybeAlign Lhs, uint64_t Divisor) 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/MC/
H A DMCSymbolXCOFF.h29 StringRef Lhs, Rhs; local
30 std::tie(Lhs, Rhs) = Name.rsplit('[');
32 return Lhs;
/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;
43 int computeRank(const InstRef &Lhs) const {
44 return Lhs.getSourceIndex() - Lhs.getInstruction()->getNumUsers();
51 bool compare(const InstRef &Lhs, const InstRef &Rhs) const override {
52 int LhsRank = computeRank(Lhs);
58 return Lhs.getSourceIndex() < Rhs.getSourceIndex();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DImportedFunctionsInliningStatistics.cpp192 llvm::sort(SortedNodes, [&](const SortedNodesTy::value_type &Lhs,
194 if (Lhs->second->NumberOfInlines != Rhs->second->NumberOfInlines)
195 return Lhs->second->NumberOfInlines > Rhs->second->NumberOfInlines;
196 if (Lhs->second->NumberOfRealInlines != Rhs->second->NumberOfRealInlines)
197 return Lhs->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
155 if (Lhs.KindAndDoc != Rhs.KindAndDoc) {
156 if (Lhs.isEmpty())
158 return (unsigned)Lhs.getKind() < (unsigned)Rhs.getKind();
160 switch (Lhs.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
180 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/lib/Transforms/Scalar/
H A DMergeICmps.cpp210 const BCEAtom &Lhs() const { return Lhs_; } function in class:__anon4690::BCECmpBlock
340 auto Lhs = visitICmpLoadOperand(CmpI->getOperand(0), BaseId); local
341 if (!Lhs.BaseId)
347 return BCECmpBlock(std::move(Lhs), std::move(Rhs),
398 << " bits between " << Comparison.Lhs().BaseId << " + "
399 << Comparison.Lhs().Offset << " and "
424 return First.Lhs().BaseId == Second.Lhs().BaseId &&
426 First.Lhs().Offset + First.SizeBits() / 8 == Second.Lhs()
621 Value *const Lhs = Builder.Insert(FirstCmp.Lhs().GEP->clone()); local
[all...]
H A DLowerMatrixIntrinsics.cpp1301 const MatrixTy &Lhs = getMatrix(MatMul->getArgOperand(0), LShape, Builder); local
1313 emitMatrixMultiply(Result, Lhs, Rhs, AllowContract, Builder, false);
1384 Value *Lhs = Inst->getOperand(0);
1391 MatrixTy A = getMatrix(Lhs, Shape, Builder);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandMemCmp.cpp109 Value *Lhs = nullptr; member in struct:__anon3459::MemCmpExpansion::LoadPair
294 Value *Lhs = nullptr; local
296 Lhs = ConstantFoldLoadFromConstPtr(C, LoadSizeType, DL);
297 if (!Lhs)
298 Lhs = Builder.CreateAlignedLoad(LoadSizeType, LhsSource, LhsAlign);
310 Lhs = Builder.CreateCall(Bswap, Lhs);
316 Lhs = Builder.CreateZExt(Lhs, CmpSizeType);
319 return {Lhs, Rh
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DPointerArithChecker.cpp323 const Expr *Lhs = BOp->getLHS(); local
327 if (Rhs->getType()->isIntegerType() && Lhs->getType()->isPointerType()) {
331 reportPointerArithMisuse(Lhs, C, !BOp->isAdditiveOp());
334 if (Lhs->getType()->isIntegerType() && Rhs->getType()->isPointerType()) {
335 SVal LHSVal = C.getSVal(Lhs);
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/contrib/llvm-project/clang/lib/CrossTU/
H A DCrossTranslationUnit.cpp61 bool hasEqualKnownFields(const llvm::Triple &Lhs, const llvm::Triple &Rhs) { argument
63 if (Lhs.getArch() != Triple::UnknownArch &&
64 Rhs.getArch() != Triple::UnknownArch && Lhs.getArch() != Rhs.getArch())
66 if (Lhs.getSubArch() != Triple::NoSubArch &&
68 Lhs.getSubArch() != Rhs.getSubArch())
70 if (Lhs.getVendor() != Triple::UnknownVendor &&
72 Lhs.getVendor() != Rhs.getVendor())
74 if (!Lhs.isOSUnknown() && !Rhs.isOSUnknown() &&
75 Lhs.getOS() != Rhs.getOS())
77 if (Lhs
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/
H A DFileCheckImpl.h151 Expected<ExpressionValue> operator+(const ExpressionValue &Lhs,
153 Expected<ExpressionValue> operator-(const ExpressionValue &Lhs,
155 Expected<ExpressionValue> operator*(const ExpressionValue &Lhs,
157 Expected<ExpressionValue> operator/(const ExpressionValue &Lhs,
159 Expected<ExpressionValue> max(const ExpressionValue &Lhs,
161 Expected<ExpressionValue> min(const ExpressionValue &Lhs,
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/
H A DCheckerRegistryData.h167 bool operator()(const T &Lhs, const T &Rhs) { argument
168 return Lhs.FullName < Rhs.FullName;
/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.cpp189 MachineOperand Lhs(LHSMO);
198 .add(Lhs)
/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 { argument
438 if (Lhs->OriginalOffset == Rhs->OriginalOffset)
439 return Lhs < Rhs;
440 return Lhs->OriginalOffset < Rhs->OriginalOffset;
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ADT/
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/clang/lib/StaticAnalyzer/Core/
H A DProgramState.cpp373 ConditionTruthVal ProgramState::areEqual(SVal Lhs, SVal Rhs) const { argument
374 return stateMgr->getSValBuilder().areEqual(this, Lhs, Rhs);
H A DSimpleSValBuilder.cpp447 BinaryOperator::Opcode Op, NonLoc Lhs,
464 SymbolRef LSym = Lhs.getAsSymbol();
446 tryRearrange(ProgramStateRef State, BinaryOperator::Opcode Op, NonLoc Lhs, NonLoc Rhs, QualType ResultTy) argument
/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; });
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRISelDAGToDAG.cpp480 SDValue Lhs = N->getOperand(0); local
482 SDNode *Mul = CurDAG->getMachineNode(MachineOp, DL, MVT::Glue, Lhs, Rhs);
/freebsd-13-stable/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeGenSchedule.cpp368 [&](const OpcodeMapPair &Lhs, const OpcodeMapPair &Rhs) {
369 unsigned LhsIdx = Opcode2Index[Lhs.first];
374 auto LessThan = [](const APInt &Lhs, const APInt &Rhs) {
375 unsigned LhsCountPopulation = Lhs.countPopulation();
379 (Lhs.countLeadingZeros() > Rhs.countLeadingZeros())));
/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
1071 template <typename Lhs>
1072 operator Matcher<Lhs>() const {
1073 return MakeMatcher(new Impl<Lhs>(rhs_));
1077 template <typename Lhs>
1078 class Impl : public MatcherInterface<Lhs> {
1082 Lhs lhs, MatchResultListener* /* listener */) const {
4332 // Creates a monomorphic matcher that matches anything with type Lhs
4344 template <typename Lhs, typenam
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/utils/TableGen/
H A DClangDiagnosticsEmitter.cpp1606 [](const RecordIndexElement &Lhs, const RecordIndexElement &Rhs) {
1607 return Lhs.Name < Rhs.Name;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/LTO/
H A DLTO.cpp170 [](const ImportMapIteratorTy &Lhs, const ImportMapIteratorTy &Rhs)
171 -> bool { return Lhs->getKey() < Rhs->getKey(); });

Completed in 336 milliseconds

12