/freebsd/contrib/llvm-project/clang/lib/Format/ |
H A D | ContinuationIndenter.h | 355 bool operator<(const ParenState &Other) const { 356 if (Indent != Other.Indent) 357 return Indent < Other.Indent; 358 if (LastSpace != Other.LastSpace) 359 return LastSpace < Other.LastSpace; 360 if (NestedBlockIndent != Other.NestedBlockIndent) 361 return NestedBlockIndent < Other.NestedBlockIndent; 362 if (FirstLessLess != Other.FirstLessLess) 363 return FirstLessLess < Other.FirstLessLess; 364 if (IsAligned != Other.IsAligned) [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | PartialDiagnostic.h | 49 PartialDiagnostic(const PartialDiagnostic &Other) in PartialDiagnostic() argument 50 : StreamingDiagnostic(), DiagID(Other.DiagID) { in PartialDiagnostic() 51 Allocator = Other.Allocator; in PartialDiagnostic() 52 if (Other.DiagStorage) { in PartialDiagnostic() 54 *DiagStorage = *Other.DiagStorage; in PartialDiagnostic() 75 PartialDiagnostic(PartialDiagnostic &&Other) : DiagID(Other.DiagID) { in PartialDiagnostic() argument 76 Allocator = Other.Allocator; in PartialDiagnostic() 77 DiagStorage = Other.DiagStorage; in PartialDiagnostic() 78 Other.DiagStorage = nullptr; in PartialDiagnostic() 81 PartialDiagnostic(const PartialDiagnostic &Other, in PartialDiagnostic() argument [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | ConstantRange.h | 104 const ConstantRange &Other); 115 const ConstantRange &Other); 125 const APInt &Other); 129 bool icmp(CmpInst::Predicate Pred, const ConstantRange &Other) const; 170 const ConstantRange &Other, 176 const APInt &Other, 391 const ConstantRange &Other) const; 398 const ConstantRange &Other, 403 ConstantRange add(const ConstantRange &Other) const; 410 ConstantRange addWithNoWrap(const ConstantRange &Other, unsigned NoWrapKind, [all …]
|
H A D | GEPNoWrapFlags.h | 77 bool operator==(GEPNoWrapFlags Other) const { return Flags == Other.Flags; } 78 bool operator!=(GEPNoWrapFlags Other) const { return !(*this == Other); } 80 GEPNoWrapFlags operator&(GEPNoWrapFlags Other) const { 81 return GEPNoWrapFlags(Flags & Other.Flags); 83 GEPNoWrapFlags operator|(GEPNoWrapFlags Other) const { 84 return GEPNoWrapFlags(Flags | Other.Flags); 86 GEPNoWrapFlags &operator&=(GEPNoWrapFlags Other) { 87 Flags &= Other.Flags; 90 GEPNoWrapFlags &operator|=(GEPNoWrapFlags Other) { 91 Flags |= Other.Flags;
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | ConstantRange.cpp | 243 const ConstantRange &Other) const { in icmp() 244 if (isEmptySet() || Other.isEmptySet()) in icmp() 250 if (const APInt *R = Other.getSingleElement()) in icmp() 254 return inverse().contains(Other); in icmp() 256 return getUnsignedMax().ult(Other.getUnsignedMin()); in icmp() 258 return getUnsignedMax().ule(Other.getUnsignedMin()); in icmp() 260 return getUnsignedMin().ugt(Other.getUnsignedMax()); in icmp() 262 return getUnsignedMin().uge(Other.getUnsignedMax()); in icmp() 264 return getSignedMax().slt(Other.getSignedMin()); in icmp() 266 return getSignedMax().sle(Other.getSignedMin()); in icmp() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | MIRYamlMapping.h | 42 bool operator==(const StringValue &Other) const { 43 return Value == Other.Value; 83 bool operator==(const BlockStringValue &Other) const { 84 return Value == Other.Value; 107 bool operator==(const UnsignedValue &Other) const { 108 return Value == Other.Value; 197 bool operator==(const VirtualRegisterDefinition &Other) const { 198 return ID == Other.ID && Class == Other.Class && 199 PreferredRegister == Other.PreferredRegister; 218 bool operator==(const MachineFunctionLiveIn &Other) const { [all …]
|
H A D | Register.h | 119 constexpr bool operator==(const Register &Other) const { 120 return Reg == Other.Reg; 122 constexpr bool operator!=(const Register &Other) const { 123 return Reg != Other.Reg; 125 constexpr bool operator==(const MCRegister &Other) const { 126 return Reg == Other.id(); 128 constexpr bool operator!=(const MCRegister &Other) const { 129 return Reg != Other.id(); 136 constexpr bool operator==(unsigned Other) const { return Reg == Other; } 137 constexpr bool operator!=(unsigned Other) const { return Reg != Other; } [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Lookup.h | 186 LookupResult(TemporaryToken _, const LookupResult &Other) in LookupResult() argument 187 : SemaPtr(Other.SemaPtr), NameInfo(Other.NameInfo), in LookupResult() 188 LookupKind(Other.LookupKind), IDNS(Other.IDNS), Redecl(Other.Redecl), in LookupResult() 189 ExternalRedecl(Other.ExternalRedecl), HideTags(Other.HideTags), in LookupResult() 190 AllowHidden(Other.AllowHidden), in LookupResult() 191 TemplateNameLookup(Other.TemplateNameLookup) {} in LookupResult() 198 LookupResult(LookupResult &&Other) in LookupResult() argument 199 : ResultKind(std::move(Other.ResultKind)), in LookupResult() 200 Ambiguity(std::move(Other.Ambiguity)), Decls(std::move(Other.Decls)), in LookupResult() 201 Paths(std::move(Other.Paths)), in LookupResult() [all …]
|
H A D | SemaConcept.h | 39 const AtomicConstraint &Other) const { in hasMatchingParameterMapping() 40 if (!ParameterMapping != !Other.ParameterMapping) in hasMatchingParameterMapping() 44 if (ParameterMapping->size() != Other.ParameterMapping->size()) in hasMatchingParameterMapping() 51 C.getCanonicalTemplateArgument((*Other.ParameterMapping)[I].getArgument()) in hasMatchingParameterMapping() 59 bool subsumes(ASTContext &C, const AtomicConstraint &Other) const { in subsumes() 72 if (ConstraintExpr != Other.ConstraintExpr) in subsumes() 76 return hasMatchingParameterMapping(C, Other); in subsumes() 123 NormalizedConstraint(ASTContext &C, const NormalizedConstraint &Other); 124 NormalizedConstraint(NormalizedConstraint &&Other): in NormalizedConstraint() 125 Constraint(Other.Constraint) { in NormalizedConstraint() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | ErrorOr.h | 93 ErrorOr(const ErrorOr &Other) { in ErrorOr() argument 94 copyConstruct(Other); in ErrorOr() 98 ErrorOr(const ErrorOr<OtherT> &Other, 100 copyConstruct(Other); 105 const ErrorOr<OtherT> &Other, 107 copyConstruct(Other); 110 ErrorOr(ErrorOr &&Other) { in ErrorOr() argument 111 moveConstruct(std::move(Other)); in ErrorOr() 115 ErrorOr(ErrorOr<OtherT> &&Other, 117 moveConstruct(std::move(Other)); [all …]
|
H A D | MSVCErrorWorkarounds.h | 31 MSVCPError(MSVCPError &&Other) : Error(std::move(Other)) {} in MSVCPError() argument 33 MSVCPError &operator=(MSVCPError Other) { 34 Error::operator=(std::move(Other)); 50 MSVCPExpected(MSVCPExpected &&Other) : Expected<T>(std::move(Other)) {} in MSVCPExpected() argument 52 MSVCPExpected &operator=(MSVCPExpected &&Other) { 53 Expected<T>::operator=(std::move(Other)); 67 Expected<OtherT> &&Other, 69 : Expected<T>(std::move(Other)) {} 73 Expected<OtherT> &&Other, 75 : Expected<T>(std::move(Other)) {}
|
H A D | ModRef.h | 65 Other = 2, enumerator 69 Last = Other, 224 MemoryEffectsBase operator&(MemoryEffectsBase Other) const { 225 return MemoryEffectsBase(Data & Other.Data); 229 MemoryEffectsBase &operator&=(MemoryEffectsBase Other) { 230 Data &= Other.Data; 235 MemoryEffectsBase operator|(MemoryEffectsBase Other) const { 236 return MemoryEffectsBase(Data | Other.Data); 240 MemoryEffectsBase &operator|=(MemoryEffectsBase Other) { 241 Data |= Other.Data; [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | CharUnits.h | 74 CharUnits& operator+= (const CharUnits &Other) { 75 Quantity += Other.Quantity; 85 CharUnits& operator-= (const CharUnits &Other) { 86 Quantity -= Other.Quantity; 98 bool operator== (const CharUnits &Other) const { 99 return Quantity == Other.Quantity; 101 bool operator!= (const CharUnits &Other) const { 102 return Quantity != Other.Quantity; 106 bool operator< (const CharUnits &Other) const { 107 return Quantity < Other.Quantity; [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/ |
H A D | MCRegister.h | 84 constexpr bool operator==(const MCRegister &Other) const { 85 return Reg == Other.Reg; 87 constexpr bool operator!=(const MCRegister &Other) const { 88 return Reg != Other.Reg; 95 constexpr bool operator==(unsigned Other) const { return Reg == Other; } 96 constexpr bool operator!=(unsigned Other) const { return Reg != Other; } 97 constexpr bool operator==(int Other) const { return Reg == unsigned(Other); } 98 constexpr bool operator!=(int Other) const { return Reg != unsigned(Other); } 100 constexpr bool operator==(MCPhysReg Other) const { 101 return Reg == unsigned(Other); [all …]
|
H A D | MCSchedule.h | 55 bool operator==(const MCProcResourceDesc &Other) const { 56 return NumUnits == Other.NumUnits && SuperIdx == Other.SuperIdx 57 && BufferSize == Other.BufferSize; 74 bool operator==(const MCWriteProcResEntry &Other) const { 75 return ProcResourceIdx == Other.ProcResourceIdx && 76 ReleaseAtCycle == Other.ReleaseAtCycle && 77 AcquireAtCycle == Other.AcquireAtCycle; 90 bool operator==(const MCWriteLatencyEntry &Other) const { 91 return Cycles == Other [all...] |
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | APFixedPoint.h | 89 getCommonSemantics(const FixedPointSemantics &Other) const; 111 bool operator==(FixedPointSemantics Other) const { 112 return Width == Other.Width && LsbWeight == Other.LsbWeight && 113 IsSigned == Other.IsSigned && IsSaturated == Other.IsSaturated && 114 HasUnsignedPadding == Other.HasUnsignedPadding; 116 bool operator!=(FixedPointSemantics Other) const { return !(*this == Other); } 190 APFixedPoint add(const APFixedPoint &Other, bool *Overflow = nullptr) const; 191 APFixedPoint sub(const APFixedPoint &Other, bool *Overflow = nullptr) const; 192 APFixedPoint mul(const APFixedPoint &Other, bool *Overflow = nullptr) const; 193 APFixedPoint div(const APFixedPoint &Other, bool *Overflow = nullptr) const; [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | RegAllocScore.cpp | 37 RegAllocScore &RegAllocScore::operator+=(const RegAllocScore &Other) { 38 CopyCounts += Other.copyCounts(); in operator +=() argument 39 LoadCounts += Other.loadCounts(); in operator +=() 40 StoreCounts += Other.storeCounts(); in operator +=() 41 LoadStoreCounts += Other.loadStoreCounts(); in operator +=() 42 CheapRematCounts += Other.cheapRematCounts(); in operator +=() 43 ExpensiveRematCounts += Other.expensiveRematCounts(); in operator +=() 47 bool RegAllocScore::operator==(const RegAllocScore &Other) const { 48 return copyCounts() == Other.copyCounts() && in operator ==() 49 loadCounts() == Other in operator ==() [all...] |
/freebsd/contrib/llvm-project/clang/include/clang/InstallAPI/ |
H A D | HeaderFile.h | 93 bool operator==(const HeaderFile &Other) const { 95 Umbrella) == std::tie(Other.Type, Other.FullPath, 96 Other.IncludeName, Other.Language, 97 Other.Excluded, Other.Extra, 98 Other.Umbrella); 101 bool operator<(const HeaderFile &Other) const { 107 if (isExtra() && Other.isExtra()) 108 return std::tie(Type, Umbrella) < std::tie(Other.Type, Other.Umbrella); 111 std::tie(Other.Type, Other.Umbrella, Other.Extra, Other.FullPath);
|
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerCommand.h | 40 explicit Command(const Command &Other) in Command() 41 : Args(Other.Args), CombinedOutAndErr(Other.CombinedOutAndErr), in Command() 42 OutputFile(Other.OutputFile) {} 44 Command &operator=(const Command &Other) { 45 Args = Other.Args; 46 CombinedOutAndErr = Other.CombinedOutAndErr; 47 OutputFile = Other.OutputFile; 86 auto IsMatch = [&](const std::string &Other) { in hasFlag() 87 return Arg.compare(0, std::string::npos, Other, in hasFlag() 39 Command(const Command & Other) Command() argument [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ValueLattice.cpp | 15 const ValueLatticeElement &Other, in getCompare() argument 18 if (isUnknown() || Other.isUnknown()) in getCompare() 23 if (isUndef() || Other.isUndef()) in getCompare() 26 if (isConstant() && Other.isConstant()) in getCompare() 28 Other.getConstant(), DL); in getCompare() 32 if ((isNotConstant() && Other.isConstant() && in getCompare() 33 getNotConstant() == Other.getConstant()) || in getCompare() 34 (isConstant() && Other.isNotConstant() && in getCompare() 35 getConstant() == Other.getNotConstant())) in getCompare() 42 if (!isConstantRange() || !Other.isConstantRange()) in getCompare() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | TensorSpec.h | 76 bool operator==(const TensorSpec &Other) const { 77 return Name == Other.Name && Port == Other.Port && Type == Other.Type && 78 Shape == Other.Shape; 81 bool operator!=(const TensorSpec &Other) const { return !(*this == Other); } 94 TensorSpec(const std::string &NewName, const TensorSpec &Other) in TensorSpec() argument 95 : TensorSpec(NewName, Other.Port, Other.Type, Other.ElementSize, in TensorSpec() 96 Other.Shape) {} in TensorSpec()
|
H A D | MustExecute.h | 284 MustBeExecutedIterator(const MustBeExecutedIterator &Other) = default; 286 MustBeExecutedIterator(MustBeExecutedIterator &&Other) in MustBeExecutedIterator() 287 : Visited(std::move(Other.Visited)), Explorer(Other.Explorer), in MustBeExecutedIterator() 288 CurInst(Other.CurInst), Head(Other.Head), Tail(Other.Tail) {} in MustBeExecutedIterator() 290 MustBeExecutedIterator &operator=(MustBeExecutedIterator &&Other) { 291 if (this != &Other) { 292 std::swap(Visited, Other [all...] |
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/ |
H A D | GVNExpression.h | 76 bool operator!=(const Expression &Other) const { return !(*this == Other); } 77 bool operator==(const Expression &Other) const { 78 if (getOpcode() != Other.getOpcode()) 85 getExpressionType() != Other.getExpressionType()) 88 return equals(Other); 100 virtual bool equals(const Expression &Other) const { return true; } in equals() argument 104 virtual bool exactlyEquals(const Expression &Other) const { in exactlyEquals() argument 105 return getExpressionType() == Other.getExpressionType() && equals(Other); in exactlyEquals() 213 bool equals(const Expression &Other) const override { in equals() argument 214 if (getOpcode() != Other.getOpcode()) in equals() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/ |
H A D | InstrRefBasedImpl.h | 113 bool operator<(const LocIdx &Other) const { 114 return Location < Other.Location; 123 bool operator==(const SpillLoc &Other) const { 125 std::make_pair(Other.SpillBase, Other.SpillOffset); 127 bool operator<(const SpillLoc &Other) const { 130 std::make_tuple(Other.SpillBase, Other.SpillOffset.getFixed(), 131 Other.SpillOffset.getScalable()); 185 bool operator<(const ValueIDNum &Other) const { 186 return asU64() < Other.asU64(); 189 bool operator==(const ValueIDNum &Other) const { [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/TargetParser/ |
H A D | AArch64TargetParser.h | 111 bool operator==(const ArchInfo &Other) const { 112 return this->Name == Other.Name; 114 bool operator!=(const ArchInfo &Other) const { 115 return this->Name != Other.Name; 128 bool implies(const ArchInfo &Other) const { in implies() 129 if (this->Profile != Other.Profile) in implies() 131 if (this->Version.getMajor() == Other.Version.getMajor()) { in implies() 132 return this->Version > Other.Version; in implies() 134 if (this->Version.getMajor() == 9 && Other.Version.getMajor() == 8) { in implies() 135 assert(this->Version.getMinor() && Other.Version.getMinor() && in implies() [all …]
|