| /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/ |
| GUID.h | 25 inline bool operator==(const GUID &LHS, const GUID &RHS) { 26 return 0 == ::memcmp(LHS.Guid, RHS.Guid, sizeof(LHS.Guid)); 29 inline bool operator<(const GUID &LHS, const GUID &RHS) { 30 return ::memcmp(LHS.Guid, RHS.Guid, sizeof(LHS.Guid)) < 0; 33 inline bool operator<=(const GUID &LHS, const GUID &RHS) { 34 return ::memcmp(LHS.Guid, RHS.Guid, sizeof(LHS.Guid)) <= 0; 37 inline bool operator>(const GUID &LHS, const GUID &RHS) [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/Remarks/ |
| Remark.h | 115 bool operator<(const Optional<T> &LHS, const Optional<T> &RHS) { 119 if (!LHS && !RHS) 121 if (!LHS && RHS) 123 if (LHS && !RHS) 125 return *LHS < *RHS; 128 inline bool operator==(const RemarkLocation &LHS, const RemarkLocation &RHS) { 129 return LHS.SourceFilePath == RHS.SourceFilePath && 130 LHS.SourceLine == RHS.SourceLine && 131 LHS.SourceColumn == RHS.SourceColumn; 134 inline bool operator!=(const RemarkLocation &LHS, const RemarkLocation &RHS) [all...] |
| /src/external/apache2/llvm/dist/clang/include/clang/Edit/ |
| FileOffset.h | 37 friend bool operator==(FileOffset LHS, FileOffset RHS) { 38 return LHS.FID == RHS.FID && LHS.Offs == RHS.Offs; 41 friend bool operator!=(FileOffset LHS, FileOffset RHS) { 42 return !(LHS == RHS); 45 friend bool operator<(FileOffset LHS, FileOffset RHS) { 46 return std::tie(LHS.FID, LHS.Offs) < std::tie(RHS.FID, RHS.Offs); 49 friend bool operator>(FileOffset LHS, FileOffset RHS) { 50 return RHS < LHS; [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| AliasAnalysisSummary.h | 119 inline bool operator==(InterfaceValue LHS, InterfaceValue RHS) { 120 return LHS.Index == RHS.Index && LHS.DerefLevel == RHS.DerefLevel; 122 inline bool operator!=(InterfaceValue LHS, InterfaceValue RHS) { 123 return !(LHS == RHS); 125 inline bool operator<(InterfaceValue LHS, InterfaceValue RHS) { 126 return LHS.Index < RHS.Index || 127 (LHS.Index == RHS.Index && LHS.DerefLevel < RHS.DerefLevel); 129 inline bool operator>(InterfaceValue LHS, InterfaceValue RHS) [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/TextAPI/ |
| Target.h | 40 inline bool operator==(const Target &LHS, const Target &RHS) { 41 return std::tie(LHS.Arch, LHS.Platform) == std::tie(RHS.Arch, RHS.Platform); 44 inline bool operator!=(const Target &LHS, const Target &RHS) { 45 return std::tie(LHS.Arch, LHS.Platform) != std::tie(RHS.Arch, RHS.Platform); 48 inline bool operator<(const Target &LHS, const Target &RHS) { 49 return std::tie(LHS.Arch, LHS.Platform) < std::tie(RHS.Arch, RHS.Platform); 52 inline bool operator==(const Target &LHS, const Architecture &RHS) [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/GSYM/ |
| LineEntry.h | 36 inline bool operator==(const LineEntry &LHS, const LineEntry &RHS) { 37 return LHS.Addr == RHS.Addr && LHS.File == RHS.File && LHS.Line == RHS.Line; 39 inline bool operator!=(const LineEntry &LHS, const LineEntry &RHS) { 40 return !(LHS == RHS); 42 inline bool operator<(const LineEntry &LHS, const LineEntry &RHS) { 43 return LHS.Addr < RHS.Addr;
|
| LookupResult.h | 30 inline bool operator==(const SourceLocation &LHS, const SourceLocation &RHS) { 31 return LHS.Name == RHS.Name && LHS.Dir == RHS.Dir && 32 LHS.Base == RHS.Base && LHS.Line == RHS.Line && 33 LHS.Offset == RHS.Offset;
|
| FunctionInfo.h | 188 inline bool operator==(const FunctionInfo &LHS, const FunctionInfo &RHS) { 189 return LHS.Range == RHS.Range && LHS.Name == RHS.Name && 190 LHS.OptLineTable == RHS.OptLineTable && LHS.Inline == RHS.Inline; 192 inline bool operator!=(const FunctionInfo &LHS, const FunctionInfo &RHS) { 193 return !(LHS == RHS); 200 inline bool operator<(const FunctionInfo &LHS, const FunctionInfo &RHS) { 202 if (LHS.Range != RHS.Range) 203 return LHS.Range < RHS.Range [all...] |
| /src/external/apache2/llvm/dist/clang/include/clang/Basic/ |
| Thunk.h | 71 friend bool operator==(const ReturnAdjustment &LHS, 73 return LHS.NonVirtual == RHS.NonVirtual && LHS.Virtual.Equals(RHS.Virtual); 76 friend bool operator!=(const ReturnAdjustment &LHS, 78 return !(LHS == RHS); 81 friend bool operator<(const ReturnAdjustment &LHS, 83 if (LHS.NonVirtual < RHS.NonVirtual) 86 return LHS.NonVirtual == RHS.NonVirtual && LHS.Virtual.Less(RHS.Virtual); 138 friend bool operator==(const ThisAdjustment &LHS, const ThisAdjustment &RHS) [all...] |
| /src/external/apache2/llvm/dist/clang/lib/Tooling/ |
| NodeIntrospection.cpp | 45 static bool locationCallLessThan(const LocationCall *LHS, 47 if (!LHS && !RHS) 49 if (LHS && !RHS) 51 if (!LHS && RHS) 53 auto compareResult = LHS->name().compare(RHS->name()); 58 return locationCallLessThan(LHS->on(), RHS->on()); 62 std::pair<SourceRange, SharedLocationCall> const &LHS, 64 if (LHS.first.getBegin() < RHS.first.getBegin()) 66 else if (LHS.first.getBegin() != RHS.first.getBegin()) 69 if (LHS.first.getEnd() < RHS.first.getEnd() [all...] |
| /src/external/apache2/llvm/dist/clang/lib/Analysis/ |
| ThreadSafetyLogical.cpp | 18 // to keep track of whether LHS and RHS are negated. 19 static bool implies(const LExpr *LHS, bool LNeg, const LExpr *RHS, bool RNeg) { 28 return implies(LHS, LNeg, A->left(), RNeg) && 29 implies(LHS, LNeg, A->right(), RNeg); 38 return implies(LHS, LNeg, A->left(), RNeg) || 39 implies(LHS, LNeg, A->right(), RNeg); 60 // to return !implies(LHS, RHS). 61 return implies(LHS, LNeg, cast<Not>(RHS)->exp(), !RNeg); 68 switch (LHS->kind()) { 74 return LNeg ? LeftAndOperator(cast<And>(LHS)) [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
| MemoryBufferRef.h | 40 friend bool operator==(const MemoryBufferRef &LHS, 42 return LHS.Buffer.begin() == RHS.Buffer.begin() && 43 LHS.Buffer.end() == RHS.Buffer.end() && 44 LHS.Identifier.begin() == RHS.Identifier.begin() && 45 LHS.Identifier.end() == RHS.Identifier.end(); 48 friend bool operator!=(const MemoryBufferRef &LHS, 50 return !(LHS == RHS);
|
| TypeSize.h | 62 friend LeafTy &operator+=(LeafTy &LHS, const LeafTy &RHS) { 64 LHS.Coefficients[I] += RHS.Coefficients[I]; 65 return LHS; 68 friend LeafTy &operator-=(LeafTy &LHS, const LeafTy &RHS) { 70 LHS.Coefficients[I] -= RHS.Coefficients[I]; 71 return LHS; 74 friend LeafTy &operator*=(LeafTy &LHS, ScalarTy RHS) { 75 for (auto &C : LHS.Coefficients) 77 return LHS; 80 friend LeafTy operator+(const LeafTy &LHS, const LeafTy &RHS) [all...] |
| SMTAPI.h | 67 friend bool operator==(SMTSort const &LHS, SMTSort const &RHS) { 68 return LHS.equal_to(RHS); 114 friend bool operator==(SMTExpr const &LHS, SMTExpr const &RHS) { 115 return LHS.equal_to(RHS); 184 virtual SMTExprRef mkBVAdd(const SMTExprRef &LHS, const SMTExprRef &RHS) = 0; 187 virtual SMTExprRef mkBVSub(const SMTExprRef &LHS, const SMTExprRef &RHS) = 0; 190 virtual SMTExprRef mkBVMul(const SMTExprRef &LHS, const SMTExprRef &RHS) = 0; 193 virtual SMTExprRef mkBVSRem(const SMTExprRef &LHS, const SMTExprRef &RHS) = 0; 196 virtual SMTExprRef mkBVURem(const SMTExprRef &LHS, const SMTExprRef &RHS) = 0; 199 virtual SMTExprRef mkBVSDiv(const SMTExprRef &LHS, const SMTExprRef &RHS) = 0 [all...] |
| KnownBits.h | 283 /// Compute known bits common to LHS and RHS. 284 static KnownBits commonBits(const KnownBits &LHS, const KnownBits &RHS) { 285 return KnownBits(LHS.Zero & RHS.Zero, LHS.One & RHS.One); 288 /// Return true if LHS and RHS have no common bits set. 289 static bool haveNoCommonBitsSet(const KnownBits &LHS, const KnownBits &RHS) { 290 return (LHS.Zero | RHS.Zero).isAllOnesValue(); 293 /// Compute known bits resulting from adding LHS, RHS and a 1-bit Carry. 295 const KnownBits &LHS, const KnownBits &RHS, const KnownBits &Carry); 297 /// Compute known bits resulting from adding LHS and RHS [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Support/ |
| KnownBits.cpp | 22 const KnownBits &LHS, const KnownBits &RHS, 27 APInt PossibleSumZero = LHS.getMaxValue() + RHS.getMaxValue() + !CarryZero; 28 APInt PossibleSumOne = LHS.getMinValue() + RHS.getMinValue() + CarryOne; 31 APInt CarryKnownZero = ~(PossibleSumZero ^ LHS.Zero ^ RHS.Zero); 32 APInt CarryKnownOne = PossibleSumOne ^ LHS.One ^ RHS.One; 35 APInt LHSKnownUnion = LHS.Zero | LHS.One; 51 const KnownBits &LHS, const KnownBits &RHS, const KnownBits &Carry) { 54 LHS, RHS, Carry.Zero.getBoolValue(), Carry.One.getBoolValue()); 58 const KnownBits &LHS, KnownBits RHS) [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
| MatrixBuilder.h | 37 std::pair<Value *, Value *> splatScalarOperandIfNeeded(Value *LHS, 39 assert((LHS->getType()->isVectorTy() || RHS->getType()->isVectorTy()) && 41 if (LHS->getType()->isVectorTy() && !RHS->getType()->isVectorTy()) { 42 assert(!isa<ScalableVectorType>(LHS->getType()) && 43 "LHS Assumed to be fixed width"); 45 cast<VectorType>(LHS->getType())->getElementCount(), RHS, 47 } else if (!LHS->getType()->isVectorTy() && RHS->getType()->isVectorTy()) { 50 LHS = B.CreateVectorSplat( 51 cast<VectorType>(RHS->getType())->getElementCount(), LHS, 54 return {LHS, RHS} [all...] |
| NoFolder.h | 44 Instruction *CreateAdd(Constant *LHS, Constant *RHS, 47 BinaryOperator *BO = BinaryOperator::CreateAdd(LHS, RHS); 53 Instruction *CreateFAdd(Constant *LHS, Constant *RHS) const override { 54 return BinaryOperator::CreateFAdd(LHS, RHS); 57 Instruction *CreateSub(Constant *LHS, Constant *RHS, 60 BinaryOperator *BO = BinaryOperator::CreateSub(LHS, RHS); 66 Instruction *CreateFSub(Constant *LHS, Constant *RHS) const override { 67 return BinaryOperator::CreateFSub(LHS, RHS); 70 Instruction *CreateMul(Constant *LHS, Constant *RHS, 73 BinaryOperator *BO = BinaryOperator::CreateMul(LHS, RHS) [all...] |
| ConstantFolder.h | 38 Constant *CreateAdd(Constant *LHS, Constant *RHS, 40 return ConstantExpr::getAdd(LHS, RHS, HasNUW, HasNSW); 43 Constant *CreateFAdd(Constant *LHS, Constant *RHS) const override { 44 return ConstantExpr::getFAdd(LHS, RHS); 47 Constant *CreateSub(Constant *LHS, Constant *RHS, 49 return ConstantExpr::getSub(LHS, RHS, HasNUW, HasNSW); 52 Constant *CreateFSub(Constant *LHS, Constant *RHS) const override { 53 return ConstantExpr::getFSub(LHS, RHS); 56 Constant *CreateMul(Constant *LHS, Constant *RHS, 58 return ConstantExpr::getMul(LHS, RHS, HasNUW, HasNSW) [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/ADT/ |
| Twine.h | 154 /// LHS - The prefix in the concatenation, which may be uninitialized for 156 Child LHS; 174 explicit Twine(const Twine &LHS, const Twine &RHS) 176 this->LHS.twine = &LHS; 182 explicit Twine(Child LHS, NodeKind LHSKind, Child RHS, NodeKind RHSKind) 183 : LHS(LHS), RHS(RHS), LHSKind(LHSKind), RHSKind(RHSKind) { 223 // The RHS cannot be non-empty if the LHS is empty. 229 !LHS.twine->isBinary() [all...] |
| DenseMapInfo.h | 51 //static bool isEqual(const T &LHS, const T &RHS); 84 static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; } 93 static bool isEqual(const char &LHS, const char &RHS) { 94 return LHS == RHS; 104 static bool isEqual(const unsigned char &LHS, const unsigned char &RHS) { 105 return LHS == RHS; 115 static bool isEqual(const unsigned short &LHS, const unsigned short &RHS) { 116 return LHS == RHS; 126 static bool isEqual(const unsigned& LHS, const unsigned& RHS) [all...] |
| BitmaskEnum.h | 107 E operator|(E LHS, E RHS) { 108 return static_cast<E>(Underlying(LHS) | Underlying(RHS)); 112 E operator&(E LHS, E RHS) { 113 return static_cast<E>(Underlying(LHS) & Underlying(RHS)); 117 E operator^(E LHS, E RHS) { 118 return static_cast<E>(Underlying(LHS) ^ Underlying(RHS)); 121 // |=, &=, and ^= return a reference to LHS, to match the behavior of the 125 E &operator|=(E &LHS, E RHS) { 126 LHS = LHS | RHS [all...] |
| /src/external/apache2/llvm/dist/llvm/tools/llvm-profgen/ |
| CSPreInliner.h | 42 bool operator()(const ProfiledInlineCandidate &LHS, 44 if (LHS.CallsiteCount != RHS.CallsiteCount) 45 return LHS.CallsiteCount < RHS.CallsiteCount; 47 if (LHS.SizeCost != RHS.SizeCost) 48 return LHS.SizeCost > RHS.SizeCost; 51 assert(LHS.CalleeSamples && RHS.CalleeSamples && 53 return LHS.CalleeSamples->getGUID(LHS.CalleeSamples->getName()) <
|
| /src/external/apache2/llvm/dist/clang/include/clang/APINotes/ |
| Types.h | 111 inline bool operator==(const CommonEntityInfo &LHS, 113 return LHS.UnavailableMsg == RHS.UnavailableMsg && 114 LHS.Unavailable == RHS.Unavailable && 115 LHS.UnavailableInSwift == RHS.UnavailableInSwift && 116 LHS.SwiftPrivateSpecified == RHS.SwiftPrivateSpecified && 117 LHS.SwiftPrivate == RHS.SwiftPrivate && LHS.SwiftName == RHS.SwiftName; 120 inline bool operator!=(const CommonEntityInfo &LHS, 122 return !(LHS == RHS); 182 inline bool operator==(const CommonTypeInfo &LHS, const CommonTypeInfo &RHS) [all...] |
| /src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
| sanitizer_dense_map_info.h | 67 // static bool isEqual(const T &LHS, const T &RHS); 99 static constexpr bool isEqual(const T *LHS, const T *RHS) { 100 return LHS == RHS; 111 static constexpr bool isEqual(const char &LHS, const char &RHS) { 112 return LHS == RHS; 125 static constexpr bool isEqual(const unsigned char &LHS, 127 return LHS == RHS; 140 static constexpr bool isEqual(const unsigned short &LHS, 142 return LHS == RHS; 155 static constexpr bool isEqual(const unsigned &LHS, const unsigned &RHS) [all...] |