Searched defs:operator (Results 1 - 25 of 1242) sorted by relevance

1234567891011>>

/freebsd-head/contrib/llvm-project/llvm/lib/Support/
H A DBlockFrequency.cpp18 BlockFrequency &BlockFrequency::operator*=(BranchProbability Prob) {
23 BlockFrequency BlockFrequency::operator*(BranchProbability Prob) const {
29 BlockFrequency &BlockFrequency::operator/=(BranchProbability Prob) {
34 BlockFrequency BlockFrequency::operator/(BranchProbability Prob) const {
40 BlockFrequency &BlockFrequency::operator+=(BlockFrequency Freq) {
51 BlockFrequency BlockFrequency::operator+(BlockFrequency Freq) const {
57 BlockFrequency &BlockFrequency::operator-=(BlockFrequency Freq) {
66 BlockFrequency BlockFrequency::operator-(BlockFrequency Freq) const {
72 BlockFrequency &BlockFrequency::operator>>=(const unsigned count) {
H A DOptional.cpp12 llvm::raw_ostream &llvm::operator<<(raw_ostream &OS, NoneType) {
H A DX86TargetParser.cpp30 // This cannot be a std::array, operator[] is not constexpr until C++17.
51 constexpr bool operator[](unsigned I) const {
56 constexpr FeatureBitset &operator&=(const FeatureBitset &RHS) {
65 constexpr FeatureBitset &operator|=(const FeatureBitset &RHS) {
74 // gcc 5.3 miscompiles this if we try to write this using operator&=.
75 constexpr FeatureBitset operator&(const FeatureBitset &RHS) const {
82 // gcc 5.3 miscompiles this if we try to write this using operator&=.
83 constexpr FeatureBitset operator|(const FeatureBitset &RHS) const {
90 constexpr FeatureBitset operator~() const {
97 constexpr bool operator!
[all...]
/freebsd-head/contrib/llvm-project/lldb/include/lldb/Utility/
H A DIterable.h41 AdaptedConstIterator &operator=(const AdaptedConstIterator &rhs) {
50 bool operator==(const AdaptedConstIterator &rhs) {
54 bool operator!=(const AdaptedConstIterator &rhs) {
59 E operator*() { return (*A)(m_iter); }
61 E operator->() { return (*A)(m_iter); }
64 E operator[](typename BackingIterator::difference_type offset) {
69 AdaptedConstIterator &operator++() {
75 AdaptedConstIterator &operator--() {
82 operator+=(typename BackingIterator::difference_type offset) {
88 operator
[all...]
H A DUUID.h61 explicit operator bool() const { return IsValid(); }
95 friend bool operator==(const UUID &LHS, const UUID &RHS) {
98 friend bool operator!=(const UUID &LHS, const UUID &RHS) {
101 friend bool operator<(const UUID &LHS, const UUID &RHS) {
104 friend bool operator<=(const UUID &LHS, const UUID &RHS) {
107 friend bool operator>(const UUID &LHS, const UUID &RHS) { return RHS < LHS; }
108 friend bool operator>=(const UUID &LHS, const UUID &RHS) {
/freebsd-head/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DFunctionId.h29 inline bool operator==(const FunctionId &A, const FunctionId &B) {
33 inline bool operator!=(const FunctionId &A, const FunctionId &B) {
37 inline bool operator<(const FunctionId &A, const FunctionId &B) {
41 inline bool operator<=(const FunctionId &A, const FunctionId &B) {
45 inline bool operator>(const FunctionId &A, const FunctionId &B) {
49 inline bool operator>=(const FunctionId &A, const FunctionId &B) {
H A DGUID.h25 inline bool operator==(const GUID &LHS, const GUID &RHS) {
29 inline bool operator<(const GUID &LHS, const GUID &RHS) {
33 inline bool operator<=(const GUID &LHS, const GUID &RHS) {
37 inline bool operator>(const GUID &LHS, const GUID &RHS) {
41 inline bool operator>=(const GUID &LHS, const GUID &RHS) {
45 inline bool operator!=(const GUID &LHS, const GUID &RHS) {
49 raw_ostream &operator<<(raw_ostream &OS, const GUID &Guid);
/freebsd-head/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugLoc.h55 operator DILocation *() const { return get(); }
56 DILocation *operator->() const { return get(); }
57 DILocation &operator*() const { return *get(); }
66 explicit operator bool() const { return Loc; }
119 bool operator==(const DebugLoc &DL) const { return Loc == DL.Loc; }
120 bool operator!=(const DebugLoc &DL) const { return Loc != DL.Loc; }
H A DTrackingMDRef.h35 TrackingMDRef &operator=(TrackingMDRef &&X) {
45 TrackingMDRef &operator=(const TrackingMDRef &X) {
58 operator Metadata *() const { return get(); }
59 Metadata *operator->() const { return get(); }
60 Metadata &operator*() const { return *get(); }
79 bool operator==(const TrackingMDRef &X) const { return MD == X.MD; }
80 bool operator!=(const TrackingMDRef &X) const { return MD != X.MD; }
116 TypedTrackingMDRef &operator=(TypedTrackingMDRef &&X) {
121 TypedTrackingMDRef &operator=(const TypedTrackingMDRef &X) {
127 operator
[all...]
/freebsd-head/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPSInt.h63 APSInt &operator=(APInt RHS) {
65 APInt::operator=(std::move(RHS));
69 APSInt &operator=(uint64_t RHS) {
71 APInt::operator=(RHS);
116 const APSInt &operator%=(const APSInt &RHS) {
124 const APSInt &operator/=(const APSInt &RHS) {
132 APSInt operator%(const APSInt &RHS) const {
136 APSInt operator/(const APSInt &RHS) const {
141 APSInt operator>>(unsigned Amt) const {
144 APSInt& operator>>
[all...]
H A DSequence.h49 value_sequence_iterator &operator+=(difference_type N) {
53 value_sequence_iterator &operator-=(difference_type N) {
57 using BaseT::operator-;
58 difference_type operator-(const value_sequence_iterator &RHS) const {
62 bool operator==(const value_sequence_iterator &RHS) const {
65 bool operator<(const value_sequence_iterator &RHS) const {
69 reference operator*() const { return Value; }
H A Diterator.h44 /// - DerivedT &operator=(const DerivedT &R);
45 /// - bool operator==(const DerivedT &R) const;
46 /// - const T &operator*() const;
47 /// - T &operator*();
48 /// - DerivedT &operator++();
52 /// - DerivedT &operator--();
56 /// - DerivedT &operator++();
57 /// - DerivedT &operator--();
59 /// - bool operator<(const DerivedT &RHS) const;
60 /// - DifferenceTypeT operator
[all...]
H A DBitmaskEnum.h44 /// LLVM_ENABLE_BITMASK_ENUMS_IN_NAMESPACE() pulls the operator overloads used
50 /// namespace foo::bar. This allows the relevant operator overloads to be found
56 using ::llvm::BitmaskEnumDetail::operator~; \
57 using ::llvm::BitmaskEnumDetail::operator|; \
58 using ::llvm::BitmaskEnumDetail::operator&; \
59 using ::llvm::BitmaskEnumDetail::operator^; \
60 using ::llvm::BitmaskEnumDetail::operator|=; \
61 using ::llvm::BitmaskEnumDetail::operator&=; \
63 using ::llvm::BitmaskEnumDetail::operator^=
102 E operator~(
[all...]
/freebsd-head/contrib/llvm-project/llvm/include/llvm/Support/
H A DBranchProbability.h91 BranchProbability &operator+=(BranchProbability RHS) {
99 BranchProbability &operator-=(BranchProbability RHS) {
107 BranchProbability &operator*=(BranchProbability RHS) {
114 BranchProbability &operator*=(uint32_t RHS) {
121 BranchProbability &operator/=(BranchProbability RHS) {
128 BranchProbability &operator/=(uint32_t RHS) {
136 BranchProbability operator+(BranchProbability RHS) const {
142 BranchProbability operator-(BranchProbability RHS) const {
148 BranchProbability operator*(BranchProbability RHS) const {
154 BranchProbability operator*(uint32_
[all...]
H A DBlockFrequency.h39 BlockFrequency &operator*=(BranchProbability Prob);
40 BlockFrequency operator*(BranchProbability Prob) const;
44 BlockFrequency &operator/=(BranchProbability Prob);
45 BlockFrequency operator/(BranchProbability Prob) const;
48 BlockFrequency &operator+=(BlockFrequency Freq);
49 BlockFrequency operator+(BlockFrequency Freq) const;
52 BlockFrequency &operator-=(BlockFrequency Freq);
53 BlockFrequency operator-(BlockFrequency Freq) const;
56 BlockFrequency &operator>>=(const unsigned count);
58 bool operator<(BlockFrequenc
[all...]
/freebsd-head/contrib/llvm-project/llvm/include/llvm/MC/
H A DLaneBitmask.h48 constexpr bool operator== (LaneBitmask M) const { return Mask == M.Mask; }
49 constexpr bool operator!= (LaneBitmask M) const { return Mask != M.Mask; }
50 constexpr bool operator< (LaneBitmask M) const { return Mask < M.Mask; }
55 constexpr LaneBitmask operator~() const {
58 constexpr LaneBitmask operator|(LaneBitmask M) const {
61 constexpr LaneBitmask operator&(LaneBitmask M) const {
64 LaneBitmask &operator|=(LaneBitmask M) {
68 LaneBitmask &operator&=(LaneBitmask M) {
/freebsd-head/contrib/llvm-project/clang/include/clang/AST/
H A DCharUnits.h68 CharUnits& operator+= (const CharUnits &Other) {
72 CharUnits& operator++ () {
76 CharUnits operator++ (int) {
79 CharUnits& operator-= (const CharUnits &Other) {
83 CharUnits& operator-- () {
87 CharUnits operator-- (int) {
92 bool operator== (const CharUnits &Other) const {
95 bool operator!= (const CharUnits &Other) const {
100 bool operator< (const CharUnits &Other) const {
103 bool operator<
[all...]
/freebsd-head/contrib/llvm-project/clang/lib/Basic/
H A DDiagnosticOptions.cpp19 raw_ostream &operator<<(raw_ostream &Out, DiagnosticLevelMask M) {
/freebsd-head/lib/libdevdctl/
H A Dguid.h77 bool operator==(const Guid& rhs) const;
78 bool operator!=(const Guid& rhs) const;
81 operator uint64_t() const;
82 operator bool() const;
117 Guid::operator==(const Guid& rhs) const
123 Guid::operator!=(const Guid& rhs) const
129 Guid::operator uint64_t() const
135 Guid::operator bool() const
141 std::ostream& operator<< (std::ostream& out, Guid g);
/freebsd-head/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFLocationExpression.cpp15 raw_ostream &llvm::operator<<(raw_ostream &OS,
/freebsd-head/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUMachineCFGStructurizer.cpp115 unsigned operator*() { return PHILinearize::phiInfoElementGetDest(*Iter); }
116 PHILinearizeDestIterator &operator++() {
120 bool operator==(const PHILinearizeDestIterator &I) const {
123 bool operator!=(const PHILinearizeDestIterator &I) const {
/freebsd-head/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_new_delete.cpp39 void *operator new(size_t size) { OPERATOR_NEW_BODY(false /*nothrow*/); }
41 void *operator new[](size_t size) { OPERATOR_NEW_BODY(false /*nothrow*/); }
43 void *operator new(size_t size, std::nothrow_t const&) {
47 void *operator new[](size_t size, std::nothrow_t const&) {
56 void operator delete(void *ptr) NOEXCEPT { OPERATOR_DELETE_BODY; }
58 void operator delete[](void *ptr) NOEXCEPT { OPERATOR_DELETE_BODY; }
60 void operator delete(void *ptr, std::nothrow_t const&) { OPERATOR_DELETE_BODY; }
62 void operator delete[](void *ptr, std::nothrow_t const&) {
/freebsd-head/contrib/llvm-project/lldb/source/Utility/
H A DUserID.cpp17 Stream &lldb_private::operator<<(Stream &strm, const UserID &uid) {
/freebsd-head/contrib/llvm-project/llvm/lib/Analysis/
H A DValueLattice.cpp12 raw_ostream &operator<<(raw_ostream &OS, const ValueLatticeElement &Val) {
/freebsd-head/contrib/llvm-project/clang/include/clang/Tooling/ASTDiff/
H A DASTDiffInternal.h35 operator int() const { return Id; }
36 NodeId &operator++() { return ++Id, *this; }
37 NodeId &operator--() { return --Id, *this; }
39 NodeId &operator*() { return *this; }

Completed in 112 milliseconds

1234567891011>>