/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/ |
H A D | BaseSubobject.h | 48 friend bool operator==(const BaseSubobject &LHS, const BaseSubobject &RHS) { argument 49 return LHS.Base == RHS.Base && LHS.BaseOffset == RHS.BaseOffset; 78 const clang::BaseSubobject &RHS) { 79 return LHS == RHS; 77 isEqual(const clang::BaseSubobject &LHS, const clang::BaseSubobject &RHS) argument
|
H A D | TypeOrdering.h | 52 static bool isEqual(clang::QualType LHS, clang::QualType RHS) { argument 53 return LHS == RHS; 72 static bool isEqual(clang::CanQualType LHS, clang::CanQualType RHS) { argument 73 return LHS == RHS;
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | SmallVector.h | 380 void swap(SmallVectorImpl &RHS); 649 SmallVectorImpl &operator=(const SmallVectorImpl &RHS); 651 SmallVectorImpl &operator=(SmallVectorImpl &&RHS); 653 bool operator==(const SmallVectorImpl &RHS) const { 654 if (this->size() != RHS.size()) return false; 655 return std::equal(this->begin(), this->end(), RHS.begin()); 657 bool operator!=(const SmallVectorImpl &RHS) const { 658 return !(*this == RHS); 661 bool operator<(const SmallVectorImpl &RHS) const { 663 RHS 668 swap(SmallVectorImpl<T> &RHS) argument 707 operator =(const SmallVectorImpl<T> &RHS) argument 755 operator =(SmallVectorImpl<T> &&RHS) argument 869 SmallVector(const SmallVector &RHS) argument 874 operator =(const SmallVector &RHS) argument 879 SmallVector(SmallVector &&RHS) argument 884 SmallVector(SmallVectorImpl<T> &&RHS) argument 889 operator =(SmallVector &&RHS) argument 894 operator =(SmallVectorImpl<T> &&RHS) argument 928 swap(llvm::SmallVectorImpl<T> &LHS, llvm::SmallVectorImpl<T> &RHS) argument 935 swap(llvm::SmallVector<T, N> &LHS, llvm::SmallVector<T, N> &RHS) argument [all...] |
H A D | Twine.h | 158 /// RHS - The suffix in the concatenation, which may be uninitialized for 160 Child RHS = {0}; member in class:llvm::Twine 174 explicit Twine(const Twine &LHS, const Twine &RHS) argument 177 this->RHS.twine = &RHS; 182 explicit Twine(Child LHS, NodeKind LHSKind, Child RHS, NodeKind RHSKind) argument 183 : LHS(LHS), RHS(RHS), LHSKind(LHSKind), RHSKind(RHSKind) { 215 // Nullary twines always have Empty on the RHS. 219 // Null should never appear on the RHS 357 Twine(const char *LHS, const StringRef &RHS) argument 365 Twine(const StringRef &LHS, const char *RHS) argument 388 Child LHS, RHS; local 517 operator +(const Twine &LHS, const Twine &RHS) argument 524 operator +(const char *LHS, const StringRef &RHS) argument 531 operator +(const StringRef &LHS, const char *RHS) argument 535 operator <<(raw_ostream &OS, const Twine &RHS) argument [all...] |
H A D | BitmaskEnum.h | 105 E operator|(E LHS, E RHS) { argument 106 return static_cast<E>(Underlying(LHS) | Underlying(RHS)); 111 E operator&(E LHS, E RHS) { argument 112 return static_cast<E>(Underlying(LHS) & Underlying(RHS)); 117 E operator^(E LHS, E RHS) { argument 118 return static_cast<E>(Underlying(LHS) ^ Underlying(RHS)); 126 E &operator|=(E &LHS, E RHS) { argument 127 LHS = LHS | RHS; 133 E &operator&=(E &LHS, E RHS) { argument 134 LHS = LHS & RHS; 140 operator ^=(E &LHS, E RHS) argument [all...] |
H A D | CachedHashString.h | 63 const CachedHashStringRef &RHS) { 64 return LHS.hash() == RHS.hash() && 65 DenseMapInfo<StringRef>::isEqual(LHS.val(), RHS.val()); 145 friend void swap(CachedHashString &LHS, CachedHashString &RHS) { argument 147 swap(LHS.P, RHS.P); 148 swap(LHS.Size, RHS.Size); 149 swap(LHS.Hash, RHS.Hash); 168 const CachedHashString &RHS) { 169 if (LHS.hash() != RHS.hash()) 172 return RHS 62 isEqual(const CachedHashStringRef &LHS, const CachedHashStringRef &RHS) argument 167 isEqual(const CachedHashString &LHS, const CachedHashString &RHS) argument [all...] |
H A D | APFloat.h | 599 opStatus addWithSpecial(const DoubleAPFloat &LHS, const DoubleAPFloat &RHS, 608 DoubleAPFloat(const DoubleAPFloat &RHS); 609 DoubleAPFloat(DoubleAPFloat &&RHS); 611 DoubleAPFloat &operator=(const DoubleAPFloat &RHS); 613 DoubleAPFloat &operator=(DoubleAPFloat &&RHS) { argument 614 if (this != &RHS) { 616 new (this) DoubleAPFloat(std::move(RHS)); 628 opStatus add(const DoubleAPFloat &RHS, roundingMode RM); 629 opStatus subtract(const DoubleAPFloat &RHS, roundingMode RM); 630 opStatus multiply(const DoubleAPFloat &RHS, roundingMod 733 Storage(const Storage &RHS) argument 745 Storage(Storage &&RHS) argument 757 operator =(const Storage &RHS) argument 771 operator =(Storage &&RHS) argument 865 APFloat(const APFloat &RHS) = default; member in class:llvm::APFloat 866 APFloat(APFloat &&RHS) = default; member in class:llvm::APFloat 961 add(const APFloat &RHS, roundingMode RM) argument 970 subtract(const APFloat &RHS, roundingMode RM) argument 979 multiply(const APFloat &RHS, roundingMode RM) argument 988 divide(const APFloat &RHS, roundingMode RM) argument 997 remainder(const APFloat &RHS) argument 1006 mod(const APFloat &RHS) argument 1075 copySign(const APFloat &RHS) argument 1184 APFloat &operator=(const APFloat &RHS) = default; member in class:llvm::APFloat 1185 APFloat &operator=(APFloat &&RHS) = default; member in class:llvm::APFloat [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ObjectYAML/ |
H A D | YAML.h | 64 friend bool operator==(const BinaryRef &LHS, const BinaryRef &RHS); 98 inline bool operator==(const BinaryRef &LHS, const BinaryRef &RHS) { argument 100 if (LHS.Data.empty() && RHS.Data.empty()) 103 return LHS.DataIsHexString == RHS.DataIsHexString && LHS.Data == RHS.Data;
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | ValueLattice.h | 270 /// Updates this object to approximate both this object and RHS. Returns 272 bool mergeIn(const ValueLatticeElement &RHS, const DataLayout &DL) { argument 273 if (RHS.isUnknown() || isOverdefined()) 275 if (RHS.isOverdefined()) { 281 assert(!RHS.isUnknown()); 282 if (RHS.isUndef()) 284 if (RHS.isConstant()) 285 return markConstant(RHS.getConstant()); 286 if (RHS.isConstantRange() && RHS [all...] |
H A D | InstructionSimplify.h | 126 Value *SimplifyAddInst(Value *LHS, Value *RHS, bool isNSW, bool isNUW, 130 Value *SimplifySubInst(Value *LHS, Value *RHS, bool isNSW, bool isNUW, 134 Value *SimplifyFAddInst(Value *LHS, Value *RHS, FastMathFlags FMF, 138 Value *SimplifyFSubInst(Value *LHS, Value *RHS, FastMathFlags FMF, 142 Value *SimplifyFMulInst(Value *LHS, Value *RHS, FastMathFlags FMF, 149 Value *SimplifyFMAFMul(Value *LHS, Value *RHS, FastMathFlags FMF, 153 Value *SimplifyMulInst(Value *LHS, Value *RHS, const SimplifyQuery &Q); 156 Value *SimplifySDivInst(Value *LHS, Value *RHS, const SimplifyQuery &Q); 159 Value *SimplifyUDivInst(Value *LHS, Value *RHS, const SimplifyQuery &Q); 162 Value *SimplifyFDivInst(Value *LHS, Value *RHS, FastMathFlag [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | MIPatternMatch.h | 177 BinaryOp_match(const LHS_P &LHS, const RHS_P &RHS) : L(LHS), R(RHS) {} argument 193 template <typename LHS, typename RHS> 194 inline BinaryOp_match<LHS, RHS, TargetOpcode::G_ADD, true> 195 m_GAdd(const LHS &L, const RHS &R) { 196 return BinaryOp_match<LHS, RHS, TargetOpcode::G_ADD, true>(L, R); 199 template <typename LHS, typename RHS> 200 inline BinaryOp_match<LHS, RHS, TargetOpcode::G_SUB> m_GSub(const LHS &L, 201 const RHS &R) { 202 return BinaryOp_match<LHS, RHS, TargetOpcod [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/MC/ |
H A D | SubtargetFeature.h | 105 constexpr FeatureBitset &operator^=(const FeatureBitset &RHS) { argument 107 Bits[I] ^= RHS.Bits[I]; 111 constexpr FeatureBitset operator^(const FeatureBitset &RHS) const { 113 Result ^= RHS; 117 constexpr FeatureBitset &operator&=(const FeatureBitset &RHS) { argument 119 Bits[I] &= RHS.Bits[I]; 123 constexpr FeatureBitset operator&(const FeatureBitset &RHS) const { 125 Result &= RHS; 129 constexpr FeatureBitset &operator|=(const FeatureBitset &RHS) { argument 131 Bits[I] |= RHS 156 bool LHS = test(I), RHS = Other.test(I); local [all...] |
H A D | MachineLocation.h | 52 inline bool operator!=(const MachineLocation &LHS, const MachineLocation &RHS) { argument 53 return !(LHS == RHS);
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | CheckedArithmetic.h | 25 /// \p RHS. 30 checkedOp(T LHS, T RHS, F Op, bool Signed = true) { 32 llvm::APInt ARHS(/*BitSize=*/sizeof(T) * 8, RHS, Signed); 43 /// Add two signed integers \p LHS and \p RHS. 48 checkedAdd(T LHS, T RHS) { 49 return checkedOp(LHS, RHS, &llvm::APInt::sadd_ov); 52 /// Subtract two signed integers \p LHS and \p RHS. 57 checkedSub(T LHS, T RHS) { 58 return checkedOp(LHS, RHS, &llvm::APInt::ssub_ov); 61 /// Multiply two signed integers \p LHS and \p RHS [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | SMTConv.h | 93 const llvm::SMTExprRef &RHS, 95 assert(*Solver->getSort(LHS) == *Solver->getSort(RHS) && 101 return Solver->mkBVMul(LHS, RHS); 104 return isSigned ? Solver->mkBVSDiv(LHS, RHS) : Solver->mkBVUDiv(LHS, RHS); 107 return isSigned ? Solver->mkBVSRem(LHS, RHS) : Solver->mkBVURem(LHS, RHS); 111 return Solver->mkBVAdd(LHS, RHS); 114 return Solver->mkBVSub(LHS, RHS); 118 return Solver->mkBVShl(LHS, RHS); 90 fromBinOp(llvm::SMTSolverRef &Solver, const llvm::SMTExprRef &LHS, const BinaryOperator::Opcode Op, const llvm::SMTExprRef &RHS, bool isSigned) argument 169 fromFloatSpecialBinOp(llvm::SMTSolverRef &Solver, const llvm::SMTExprRef &LHS, const BinaryOperator::Opcode Op, const llvm::APFloat::fltCategory &RHS) argument 201 fromFloatBinOp(llvm::SMTSolverRef &Solver, const llvm::SMTExprRef &LHS, const BinaryOperator::Opcode Op, const llvm::SMTExprRef &RHS) argument 341 getBinExpr(llvm::SMTSolverRef &Solver, ASTContext &Ctx, const llvm::SMTExprRef &LHS, QualType LTy, BinaryOperator::Opcode Op, const llvm::SMTExprRef &RHS, QualType RTy, QualType *RetTy) argument 389 llvm::SMTExprRef RHS = local 399 llvm::SMTExprRef RHS = local 407 llvm::SMTExprRef RHS = local 533 llvm::SMTExprRef RHS = getBinExpr(Solver, Ctx, Exp, SymTy, local 567 doTypeConversion(llvm::SMTSolverRef &Solver, ASTContext &Ctx, llvm::SMTExprRef &LHS, llvm::SMTExprRef &RHS, QualType <y, QualType &RTy) argument 644 doIntTypeConversion(llvm::SMTSolverRef &Solver, ASTContext &Ctx, T &LHS, QualType <y, T &RHS, QualType &RTy) argument 727 doFloatTypeConversion(llvm::SMTSolverRef &Solver, ASTContext &Ctx, T &LHS, QualType <y, T &RHS, QualType &RTy) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | FoldingSet.cpp | 33 bool FoldingSetNodeIDRef::operator==(FoldingSetNodeIDRef RHS) const { 34 if (Size != RHS.Size) return false; 35 return memcmp(Data, RHS.Data, Size*sizeof(*Data)) == 0; 40 bool FoldingSetNodeIDRef::operator<(FoldingSetNodeIDRef RHS) const { 41 if (Size != RHS.Size) 42 return Size < RHS.Size; 43 return memcmp(Data, RHS.Data, Size*sizeof(*Data)) < 0; 151 bool FoldingSetNodeID::operator==(const FoldingSetNodeID &RHS) const { 152 return *this == FoldingSetNodeIDRef(RHS.Bits.data(), RHS 243 operator =(FoldingSetBase &&RHS) argument [all...] |
H A D | Z3Solver.cpp | 246 const llvm::fltSemantics &RHS) { 248 llvm::APFloat::semanticsPrecision(RHS)) && 250 llvm::APFloat::semanticsMinExponent(RHS)) && 252 llvm::APFloat::semanticsMaxExponent(RHS)) && 254 llvm::APFloat::semanticsSizeInBits(RHS)); 348 SMTExprRef mkBVAdd(const SMTExprRef &LHS, const SMTExprRef &RHS) override { 351 toZ3Expr(*RHS).AST))); 354 SMTExprRef mkBVSub(const SMTExprRef &LHS, const SMTExprRef &RHS) override { 357 toZ3Expr(*RHS).AST))); 360 SMTExprRef mkBVMul(const SMTExprRef &LHS, const SMTExprRef &RHS) overrid 245 areEquivalent(const llvm::fltSemantics &LHS, const llvm::fltSemantics &RHS) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | BlockCounter.cpp | 31 bool operator==(const CountKey &RHS) const { 32 return (CallSite == RHS.CallSite) && (BlockID == RHS.BlockID); 35 bool operator<(const CountKey &RHS) const { 36 return std::tie(CallSite, BlockID) < std::tie(RHS.CallSite, RHS.BlockID);
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
H A D | DWARFDie.h | 298 const attribute_iterator &RHS); 318 const DWARFDie::attribute_iterator &RHS) { 319 return LHS.Index == RHS.Index; 323 const DWARFDie::attribute_iterator &RHS) { 324 return !(LHS == RHS); 327 inline bool operator==(const DWARFDie &LHS, const DWARFDie &RHS) { argument 328 return LHS.getDebugInfoEntry() == RHS.getDebugInfoEntry() && 329 LHS.getDwarfUnit() == RHS.getDwarfUnit(); 332 inline bool operator!=(const DWARFDie &LHS, const DWARFDie &RHS) { argument 333 return !(LHS == RHS); 317 operator ==(const DWARFDie::attribute_iterator &LHS, const DWARFDie::attribute_iterator &RHS) argument 322 operator !=(const DWARFDie::attribute_iterator &LHS, const DWARFDie::attribute_iterator &RHS) argument 336 operator <(const DWARFDie &LHS, const DWARFDie &RHS) argument 367 operator ==(const DWARFDie::iterator &LHS, const DWARFDie::iterator &RHS) argument 372 operator !=(const DWARFDie::iterator &LHS, const DWARFDie::iterator &RHS) argument 453 operator ==(const std::reverse_iterator<DWARFDie::iterator> &LHS, const std::reverse_iterator<DWARFDie::iterator> &RHS) argument 458 operator !=(const std::reverse_iterator<DWARFDie::iterator> &LHS, const std::reverse_iterator<DWARFDie::iterator> &RHS) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | MachineModuleInfoImpls.cpp | 30 static int SortSymbolPair(const PairTy *LHS, const PairTy *RHS) { argument 31 return LHS->first->getName().compare(RHS->first->getName());
|
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Utility/ |
H A D | Environment.h | 24 Envp(Envp &&RHS) = default; member in class:lldb_private::Environment::Envp 25 Envp &operator=(Envp &&RHS) = default; member in class:lldb_private::Environment::Envp 59 Environment(const Environment &RHS) : Base(RHS) {} argument 60 Environment(Environment &&RHS) : Base(std::move(RHS)) {} argument 65 Environment &operator=(Environment RHS) { argument 66 Base::operator=(std::move(RHS));
|
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Index/ |
H A D | DeclOccurrence.h | 33 friend bool operator<(const DeclOccurrence &LHS, const DeclOccurrence &RHS) { argument 34 return LHS.Offset < RHS.Offset;
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86InstrFMA3Info.h | 89 bool operator<(const X86InstrFMA3Group &RHS) const { 90 return Opcodes[0] < RHS.Opcodes[0];
|
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/ |
H A D | CompilationDatabase.h | 68 friend bool operator==(const CompileCommand &LHS, const CompileCommand &RHS) { argument 69 return LHS.Directory == RHS.Directory && LHS.Filename == RHS.Filename && 70 LHS.CommandLine == RHS.CommandLine && LHS.Output == RHS.Output && 71 LHS.Heuristic == RHS.Heuristic; 74 friend bool operator!=(const CompileCommand &LHS, const CompileCommand &RHS) { argument 75 return !(LHS == RHS);
|
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Rewrite/Core/ |
H A D | DeltaTree.h | 31 // Note: Currently we only support copying when the RHS is empty. 32 DeltaTree(const DeltaTree &RHS);
|