Home
last modified time | relevance | path

Searched refs:Other (Results 1 – 25 of 990) sorted by relevance

12345678910>>...40

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DContinuationIndenter.h358 bool operator<(const ParenState &Other) const {
359 if (Indent != Other.Indent)
360 return Indent < Other.Indent;
361 if (LastSpace != Other.LastSpace)
362 return LastSpace < Other.LastSpace;
363 if (NestedBlockIndent != Other.NestedBlockIndent)
364 return NestedBlockIndent < Other.NestedBlockIndent;
365 if (FirstLessLess != Other.FirstLessLess)
366 return FirstLessLess < Other.FirstLessLess;
367 if (IsAligned != Other.IsAligned)
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DPartialDiagnostic.h49 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/lib/IR/
H A DConstantRange.cpp254 const ConstantRange &Other) const { in icmp()
255 if (isEmptySet() || Other.isEmptySet()) in icmp()
261 if (const APInt *R = Other.getSingleElement()) in icmp()
265 return inverse().contains(Other); in icmp()
267 return getUnsignedMax().ult(Other.getUnsignedMin()); in icmp()
269 return getUnsignedMax().ule(Other.getUnsignedMin()); in icmp()
271 return getUnsignedMin().ugt(Other.getUnsignedMax()); in icmp()
273 return getUnsignedMin().uge(Other.getUnsignedMax()); in icmp()
275 return getSignedMax().slt(Other.getSignedMin()); in icmp()
277 return getSignedMax().sle(Other.getSignedMin()); in icmp()
[all …]
H A DConstantFPRange.cpp165 const ConstantFPRange &Other) { in makeAllowedFCmpRegion() argument
166 if (Other.isEmptySet()) in makeAllowedFCmpRegion()
167 return Other; in makeAllowedFCmpRegion()
168 if (Other.containsNaN() && FCmpInst::isUnordered(Pred)) in makeAllowedFCmpRegion()
169 return getFull(Other.getSemantics()); in makeAllowedFCmpRegion()
170 if (Other.isNaNOnly() && FCmpInst::isOrdered(Pred)) in makeAllowedFCmpRegion()
171 return getEmpty(Other.getSemantics()); in makeAllowedFCmpRegion()
175 return getFull(Other.getSemantics()); in makeAllowedFCmpRegion()
177 return getEmpty(Other.getSemantics()); in makeAllowedFCmpRegion()
179 return getNonNaN(Other.getSemantics()); in makeAllowedFCmpRegion()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/
H A DInterval.h45 bool operator==(const IntervalIterator &Other) const {
46 assert(&R == &Other.R && "Iterators belong to different regions!");
47 return Other.I == I;
49 bool operator!=(const IntervalIterator &Other) const {
50 return !(*this == Other);
132 bool operator==(const Interval &Other) const {
133 return Top == Other.Top && Bottom == Other.Bottom;
136 bool operator!=(const Interval &Other) const { return !(*this == Other); }
139 bool comesBefore(const Interval &Other) const { in comesBefore() argument
140 assert(disjoint(Other) && "Expect disjoint intervals!"); in comesBefore()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DValueLattice.cpp16 const ValueLatticeElement &Other, in getCompare() argument
19 if (isUnknown() || Other.isUnknown()) in getCompare()
24 if (isUndef() || Other.isUndef()) in getCompare()
27 if (isConstant() && Other.isConstant()) in getCompare()
29 Other.getConstant(), DL); in getCompare()
33 if ((isNotConstant() && Other.isConstant() && in getCompare()
34 getNotConstant() == Other.getConstant()) || in getCompare()
35 (isConstant() && Other.isNotConstant() && in getCompare()
36 getConstant() == Other.getNotConstant())) in getCompare()
43 if (!isConstantRange() || !Other.isConstantRange()) in getCompare()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstantRange.h109 makeAllowedICmpRegion(CmpInst::Predicate Pred, const ConstantRange &Other);
120 makeSatisfyingICmpRegion(CmpInst::Predicate Pred, const ConstantRange &Other);
130 const APInt &Other);
134 LLVM_ABI bool icmp(CmpInst::Predicate Pred, const ConstantRange &Other) const;
176 const ConstantRange &Other, unsigned NoWrapKind);
181 makeExactNoWrapRegion(Instruction::BinaryOps BinOp, const APInt &Other,
398 const ConstantRange &Other) const;
405 const ConstantRange &Other,
410 LLVM_ABI ConstantRange add(const ConstantRange &Other) const;
418 addWithNoWrap(const ConstantRange &Other, unsigned NoWrapKind,
[all …]
H A DGEPNoWrapFlags.h78 GEPNoWrapFlags intersectForOffsetAdd(GEPNoWrapFlags Other) const { in intersectForOffsetAdd() argument
79 GEPNoWrapFlags Res = *this & Other; in intersectForOffsetAdd()
87 bool operator==(GEPNoWrapFlags Other) const { return Flags == Other.Flags; }
88 bool operator!=(GEPNoWrapFlags Other) const { return !(*this == Other); }
90 GEPNoWrapFlags operator&(GEPNoWrapFlags Other) const {
91 return GEPNoWrapFlags(Flags & Other.Flags);
93 GEPNoWrapFlags operator|(GEPNoWrapFlags Other) const {
94 return GEPNoWrapFlags(Flags | Other.Flags);
96 GEPNoWrapFlags &operator&=(GEPNoWrapFlags Other) {
97 Flags &= Other.Flags;
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DLookup.h186 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 …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMIRYamlMapping.h42 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;
198 bool operator==(const VirtualRegisterDefinition &Other) const {
199 return ID == Other.ID && Class == Other.Class &&
200 PreferredRegister == Other.PreferredRegister;
221 bool operator==(const MachineFunctionLiveIn &Other) const {
[all …]
H A DRegister.h110 constexpr bool operator==(const Register &Other) const {
111 return Reg == Other.Reg;
113 constexpr bool operator!=(const Register &Other) const {
114 return Reg != Other.Reg;
116 constexpr bool operator==(const MCRegister &Other) const {
117 return Reg == Other.id();
119 constexpr bool operator!=(const MCRegister &Other) const {
120 return Reg != Other.id();
126 constexpr bool operator==(unsigned Other) const { return Reg == Other; }
127 constexpr bool operator!=(unsigned Other) const { return Reg != Other; }
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DErrorOr.h93 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 DModRef.h68 Other = 3, enumerator
72 Last = Other,
152 return MemoryEffectsBase(Location::Other, MR);
252 MemoryEffectsBase operator&(MemoryEffectsBase Other) const {
253 return MemoryEffectsBase(Data & Other.Data);
257 MemoryEffectsBase &operator&=(MemoryEffectsBase Other) {
258 Data &= Other.Data;
263 MemoryEffectsBase operator|(MemoryEffectsBase Other) const {
264 return MemoryEffectsBase(Data | Other.Data);
268 MemoryEffectsBase &operator|=(MemoryEffectsBase Other) {
[all …]
H A DMSVCErrorWorkarounds.h31 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)) {}
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DCharUnits.h74 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 DMCRegister.h79 constexpr bool operator==(const MCRegister &Other) const {
80 return Reg == Other.Reg;
82 constexpr bool operator!=(const MCRegister &Other) const {
83 return Reg != Other.Reg;
89 constexpr bool operator==(unsigned Other) const { return Reg == Other; }
90 constexpr bool operator!=(unsigned Other) const { return Reg != Other; }
91 constexpr bool operator==(int Other) const { return Reg == unsigned(Other); }
92 constexpr bool operator!=(int Other) const { return Reg != unsigned(Other); }
94 constexpr bool operator==(MCPhysReg Other) const {
95 return Reg == unsigned(Other);
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFixedPoint.h89 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); }
201 LLVM_ABI APFixedPoint add(const APFixedPoint &Other,
203 LLVM_ABI APFixedPoint sub(const APFixedPoint &Other,
205 LLVM_ABI APFixedPoint mul(const APFixedPoint &Other,
207 LLVM_ABI APFixedPoint div(const APFixedPoint &Other,
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DRegAllocScore.cpp38 RegAllocScore &RegAllocScore::operator+=(const RegAllocScore &Other) { in operator +=() argument
39 CopyCounts += Other.copyCounts(); in operator +=()
40 LoadCounts += Other.loadCounts(); in operator +=()
41 StoreCounts += Other.storeCounts(); in operator +=()
42 LoadStoreCounts += Other.loadStoreCounts(); in operator +=()
43 CheapRematCounts += Other.cheapRematCounts(); in operator +=()
44 ExpensiveRematCounts += Other.expensiveRematCounts(); in operator +=()
48 bool RegAllocScore::operator==(const RegAllocScore &Other) const { in operator ==()
49 return copyCounts() == Other.copyCounts() && in operator ==()
50 loadCounts() == Other.loadCounts() && in operator ==()
[all …]
/freebsd/contrib/llvm-project/libc/src/__support/CPP/
H A Dstring_view.h47 LIBC_INLINE bool equals(string_view Other) const { in equals() argument
48 return (Len == Other.Len && in equals()
49 compareMemory(Data, Other.Data, Other.Len) == 0); in equals()
104 LIBC_INLINE int compare(string_view Other) const { in compare() argument
106 if (int Res = compareMemory(Data, Other.Data, min(Len, Other.Len))) in compare()
109 if (Len == Other.Len) in compare()
111 return Len < Other.Len ? -1 : 1; in compare()
114 LIBC_INLINE bool operator==(string_view Other) const { return equals(Other); }
115 LIBC_INLINE bool operator!=(string_view Other) const {
116 return !(*this == Other);
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/InstallAPI/
H A DHeaderFile.h93 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 DFuzzerCommand.h40 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/clang/lib/AST/ByteCode/
H A DBitcastBuffer.h37 Bits operator-(Bits Other) const { return Bits(N - Other.N); }
38 Bits operator+(Bits Other) const { return Bits(N + Other.N); }
48 bool operator>=(Bits Other) const { return N >= Other.N; }
49 bool operator<=(Bits Other) const { return N <= Other.N; }
50 bool operator==(Bits Other) const { return N == Other.N; }
51 bool operator!=(Bits Other) const { return N != Other.N; }
74 bool operator<(BitRange Other) const { return Start.N < Other.Start.N; }
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DAvailability.cpp70 void AvailabilityInfo::mergeWith(AvailabilityInfo Other) { in mergeWith() argument
71 if (isDefault() && Other.isDefault()) in mergeWith()
75 Domain = Other.Domain; in mergeWith()
77 UnconditionallyUnavailable |= Other.UnconditionallyUnavailable; in mergeWith()
78 UnconditionallyDeprecated |= Other.UnconditionallyDeprecated; in mergeWith()
79 Unavailable |= Other.Unavailable; in mergeWith()
81 Introduced = std::max(Introduced, Other.Introduced); in mergeWith()
86 if (!Deprecated.empty() && !Other.Deprecated.empty()) in mergeWith()
87 Deprecated = std::min(Deprecated, Other.Deprecated); in mergeWith()
89 Deprecated = std::max(Deprecated, Other.Deprecated); in mergeWith()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DGVNExpression.h76 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/include/llvm/Analysis/
H A DMemoryLocation.h138 LocationSize unionWith(LocationSize Other) const { in unionWith() argument
139 if (Other == *this) in unionWith()
142 if (Value == BeforeOrAfterPointer || Other.Value == BeforeOrAfterPointer) in unionWith()
144 if (Value == AfterPointer || Other.Value == AfterPointer) in unionWith()
146 if (isScalable() || Other.isScalable()) in unionWith()
149 return upperBound(std::max(getValue(), Other.getValue())); in unionWith()
176 bool operator==(const LocationSize &Other) const {
177 return Value == Other.Value;
179 bool operator==(const TypeSize &Other) const {
180 return (*this == LocationSize::precise(Other));
[all …]

12345678910>>...40