Home
last modified time | relevance | path

Searched refs:LHS (Results 1 – 25 of 461) sorted by relevance

12345678910>>...19

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DAliasAnalysisSummary.h116 inline bool operator==(InterfaceValue LHS, InterfaceValue RHS) {
117 return LHS.Index == RHS.Index && LHS.DerefLevel == RHS.DerefLevel;
119 inline bool operator!=(InterfaceValue LHS, InterfaceValue RHS) {
120 return !(LHS == RHS);
122 inline bool operator<(InterfaceValue LHS, InterfaceValue RHS) {
123 return LHS.Index < RHS.Index ||
124 (LHS.Index == RHS.Index && LHS.DerefLevel < RHS.DerefLevel);
126 inline bool operator>(InterfaceValue LHS, InterfaceValue RHS) {
127 return RHS < LHS;
129 inline bool operator<=(InterfaceValue LHS, InterfaceValue RHS) {
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Remarks/
DRemark.h115 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 …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DNoFolder.h41 Instruction *CreateAdd(Constant *LHS, Constant *RHS,
43 BinaryOperator *BO = BinaryOperator::CreateAdd(LHS, RHS);
49 Instruction *CreateNSWAdd(Constant *LHS, Constant *RHS) const { in CreateNSWAdd() argument
50 return BinaryOperator::CreateNSWAdd(LHS, RHS); in CreateNSWAdd()
53 Instruction *CreateNUWAdd(Constant *LHS, Constant *RHS) const { in CreateNUWAdd() argument
54 return BinaryOperator::CreateNUWAdd(LHS, RHS); in CreateNUWAdd()
57 Instruction *CreateFAdd(Constant *LHS, Constant *RHS) const { in CreateFAdd() argument
58 return BinaryOperator::CreateFAdd(LHS, RHS); in CreateFAdd()
61 Instruction *CreateSub(Constant *LHS, Constant *RHS,
63 BinaryOperator *BO = BinaryOperator::CreateSub(LHS, RHS);
[all …]
DPatternMatch.h737 AnyBinaryOp_match(const LHS_t &LHS, const RHS_t &RHS) : L(LHS), R(RHS) {} in AnyBinaryOp_match()
748 template <typename LHS, typename RHS>
749 inline AnyBinaryOp_match<LHS, RHS> m_BinOp(const LHS &L, const RHS &R) { in m_BinOp()
750 return AnyBinaryOp_match<LHS, RHS>(L, R); in m_BinOp()
765 BinaryOp_match(const LHS_t &LHS, const RHS_t &RHS) : L(LHS), R(RHS) {} in BinaryOp_match()
783 template <typename LHS, typename RHS>
784 inline BinaryOp_match<LHS, RHS, Instruction::Add> m_Add(const LHS &L, in m_Add()
786 return BinaryOp_match<LHS, RHS, Instruction::Add>(L, R); in m_Add()
789 template <typename LHS, typename RHS>
790 inline BinaryOp_match<LHS, RHS, Instruction::FAdd> m_FAdd(const LHS &L, in m_FAdd()
[all …]
DConstantFolder.h35 Constant *CreateAdd(Constant *LHS, Constant *RHS,
37 return ConstantExpr::getAdd(LHS, RHS, HasNUW, HasNSW);
40 Constant *CreateFAdd(Constant *LHS, Constant *RHS) const { in CreateFAdd() argument
41 return ConstantExpr::getFAdd(LHS, RHS); in CreateFAdd()
44 Constant *CreateSub(Constant *LHS, Constant *RHS,
46 return ConstantExpr::getSub(LHS, RHS, HasNUW, HasNSW);
49 Constant *CreateFSub(Constant *LHS, Constant *RHS) const { in CreateFSub() argument
50 return ConstantExpr::getFSub(LHS, RHS); in CreateFSub()
53 Constant *CreateMul(Constant *LHS, Constant *RHS,
55 return ConstantExpr::getMul(LHS, RHS, HasNUW, HasNSW);
[all …]
DIRBuilder.h809 CallInst *CreateBinaryIntrinsic(Intrinsic::ID ID, Value *LHS, Value *RHS,
822 CallInst *CreateMinNum(Value *LHS, Value *RHS, const Twine &Name = "") {
823 return CreateBinaryIntrinsic(Intrinsic::minnum, LHS, RHS, nullptr, Name);
827 CallInst *CreateMaxNum(Value *LHS, Value *RHS, const Twine &Name = "") {
828 return CreateBinaryIntrinsic(Intrinsic::maxnum, LHS, RHS, nullptr, Name);
832 CallInst *CreateMinimum(Value *LHS, Value *RHS, const Twine &Name = "") {
833 return CreateBinaryIntrinsic(Intrinsic::minimum, LHS, RHS, nullptr, Name);
837 CallInst *CreateMaximum(Value *LHS, Value *RHS, const Twine &Name = "") {
838 return CreateBinaryIntrinsic(Intrinsic::maximum, LHS, RHS, nullptr, Name);
1146 Value *LHS, Value *RHS, in CreateInsertNUWNSWBinOp() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DTwine.h156 Child LHS = {0}; variable
174 explicit Twine(const Twine &LHS, const Twine &RHS) in Twine() argument
176 this->LHS.twine = &LHS; in Twine()
182 explicit Twine(Child LHS, NodeKind LHSKind, Child RHS, NodeKind RHSKind) in Twine() argument
183 : LHS(LHS), RHS(RHS), LHSKind(LHSKind), RHSKind(RHSKind) { in Twine()
229 !LHS.twine->isBinary()) in isValid()
269 LHS.cString = Str; in Twine()
282 LHS.stdString = &Str; in Twine()
288 LHS.stringRef = &Str; in Twine()
295 LHS.smallString = &Str; in Twine()
[all …]
DDenseMapInfo.h56 static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; }
65 static bool isEqual(const char &LHS, const char &RHS) {
66 return LHS == RHS;
76 static bool isEqual(const unsigned char &LHS, const unsigned char &RHS) {
77 return LHS == RHS;
87 static bool isEqual(const unsigned short &LHS, const unsigned short &RHS) {
88 return LHS == RHS;
98 static bool isEqual(const unsigned& LHS, const unsigned& RHS) {
99 return LHS == RHS;
112 static bool isEqual(const unsigned long& LHS, const unsigned long& RHS) {
[all …]
DBitmaskEnum.h105 E operator|(E LHS, E RHS) {
106 return static_cast<E>(Underlying(LHS) | Underlying(RHS));
111 E operator&(E LHS, E RHS) {
112 return static_cast<E>(Underlying(LHS) & Underlying(RHS));
117 E operator^(E LHS, E RHS) {
118 return static_cast<E>(Underlying(LHS) ^ Underlying(RHS));
126 E &operator|=(E &LHS, E RHS) {
127 LHS = LHS | RHS;
128 return LHS;
133 E &operator&=(E &LHS, E RHS) {
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DTwine.h157 Child LHS; variable
173 explicit Twine(const Twine &LHS, const Twine &RHS) in Twine() argument
175 this->LHS.twine = &LHS; in Twine()
181 explicit Twine(Child LHS, NodeKind LHSKind, Child RHS, NodeKind RHSKind) in Twine() argument
182 : LHS(LHS), RHS(RHS), LHSKind(LHSKind), RHSKind(RHSKind) { in Twine()
228 !LHS.twine->isBinary()) in isValid()
269 LHS.cString = Str; in Twine()
280 LHS.stdString = &Str; in Twine()
287 LHS.stringRef = &Str; in Twine()
294 LHS.smallString = &Str; in Twine()
[all …]
DDenseMapInfo.h50 static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; }
58 static bool isEqual(const char &LHS, const char &RHS) {
59 return LHS == RHS;
68 static bool isEqual(const unsigned& LHS, const unsigned& RHS) {
69 return LHS == RHS;
80 static bool isEqual(const unsigned long& LHS, const unsigned long& RHS) {
81 return LHS == RHS;
92 static bool isEqual(const unsigned long long& LHS,
94 return LHS == RHS;
103 static bool isEqual(const int& LHS, const int& RHS) {
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DSMTAPI.h67 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 …]
DTypeSize.h70 friend bool operator==(const TypeSize &LHS, const TypeSize &RHS) {
71 return std::tie(LHS.MinSize, LHS.IsScalable) ==
75 friend bool operator!=(const TypeSize &LHS, const TypeSize &RHS) {
76 return !(LHS == RHS);
88 friend bool operator<(const TypeSize &LHS, const TypeSize &RHS) {
89 assert(LHS.IsScalable == RHS.IsScalable &&
92 return LHS.MinSize < RHS.MinSize;
95 friend bool operator>(const TypeSize &LHS, const TypeSize &RHS) {
96 return RHS < LHS;
99 friend bool operator<=(const TypeSize &LHS, const TypeSize &RHS) {
[all …]
DCheckedArithmetic.h30 checkedOp(T LHS, T RHS, F Op, bool Signed = true) {
31 llvm::APInt ALHS(/*BitSize=*/sizeof(T) * 8, LHS, Signed);
48 checkedAdd(T LHS, T RHS) { in checkedAdd() argument
49 return checkedOp(LHS, RHS, &llvm::APInt::sadd_ov); in checkedAdd()
57 checkedSub(T LHS, T RHS) { in checkedSub() argument
58 return checkedOp(LHS, RHS, &llvm::APInt::ssub_ov); in checkedSub()
66 checkedMul(T LHS, T RHS) { in checkedMul() argument
67 return checkedOp(LHS, RHS, &llvm::APInt::smul_ov); in checkedMul()
86 checkedAddUnsigned(T LHS, T RHS) { in checkedAddUnsigned() argument
87 return checkedOp(LHS, RHS, &llvm::APInt::uadd_ov, /*Signed=*/false); in checkedAddUnsigned()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetFolder.h48 Constant *CreateAdd(Constant *LHS, Constant *RHS,
50 return Fold(ConstantExpr::getAdd(LHS, RHS, HasNUW, HasNSW));
52 Constant *CreateFAdd(Constant *LHS, Constant *RHS) const { in CreateFAdd() argument
53 return Fold(ConstantExpr::getFAdd(LHS, RHS)); in CreateFAdd()
55 Constant *CreateSub(Constant *LHS, Constant *RHS,
57 return Fold(ConstantExpr::getSub(LHS, RHS, HasNUW, HasNSW));
59 Constant *CreateFSub(Constant *LHS, Constant *RHS) const { in CreateFSub() argument
60 return Fold(ConstantExpr::getFSub(LHS, RHS)); in CreateFSub()
62 Constant *CreateMul(Constant *LHS, Constant *RHS,
64 return Fold(ConstantExpr::getMul(LHS, RHS, HasNUW, HasNSW));
[all …]
DInstructionSimplify.h126 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, FastMathFlags FMF,
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/
DGUID.h25 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) {
38 return !(LHS <= RHS);
41 inline bool operator>=(const GUID &LHS, const GUID &RHS) {
42 return !(LHS < RHS);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCExpr.h453 const MCExpr *LHS, *RHS; variable
455 MCBinaryExpr(Opcode Op, const MCExpr *LHS, const MCExpr *RHS,
457 : MCExpr(MCExpr::Binary, Loc), Op(Op), LHS(LHS), RHS(RHS) {} in MCExpr()
463 static const MCBinaryExpr *create(Opcode Op, const MCExpr *LHS,
467 static const MCBinaryExpr *createAdd(const MCExpr *LHS, const MCExpr *RHS, in createAdd() argument
469 return create(Add, LHS, RHS, Ctx); in createAdd()
472 static const MCBinaryExpr *createAnd(const MCExpr *LHS, const MCExpr *RHS, in createAnd() argument
474 return create(And, LHS, RHS, Ctx); in createAnd()
477 static const MCBinaryExpr *createDiv(const MCExpr *LHS, const MCExpr *RHS, in createDiv() argument
479 return create(Div, LHS, RHS, Ctx); in createDiv()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DZ3Solver.cpp245 static bool areEquivalent(const llvm::fltSemantics &LHS, in areEquivalent() argument
247 return (llvm::APFloat::semanticsPrecision(LHS) == in areEquivalent()
249 (llvm::APFloat::semanticsMinExponent(LHS) == in areEquivalent()
251 (llvm::APFloat::semanticsMaxExponent(LHS) == in areEquivalent()
253 (llvm::APFloat::semanticsSizeInBits(LHS) == in areEquivalent()
348 SMTExprRef mkBVAdd(const SMTExprRef &LHS, const SMTExprRef &RHS) override { in mkBVAdd() argument
350 Z3Expr(Context, Z3_mk_bvadd(Context.Context, toZ3Expr(*LHS).AST, in mkBVAdd()
354 SMTExprRef mkBVSub(const SMTExprRef &LHS, const SMTExprRef &RHS) override { in mkBVSub() argument
356 Z3Expr(Context, Z3_mk_bvsub(Context.Context, toZ3Expr(*LHS).AST, in mkBVSub()
360 SMTExprRef mkBVMul(const SMTExprRef &LHS, const SMTExprRef &RHS) override { in mkBVMul() argument
[all …]
DKnownBits.cpp19 const KnownBits &LHS, const KnownBits &RHS, in computeForAddCarry() argument
24 APInt PossibleSumZero = LHS.getMaxValue() + RHS.getMaxValue() + !CarryZero; in computeForAddCarry()
25 APInt PossibleSumOne = LHS.getMinValue() + RHS.getMinValue() + CarryOne; in computeForAddCarry()
28 APInt CarryKnownZero = ~(PossibleSumZero ^ LHS.Zero ^ RHS.Zero); in computeForAddCarry()
29 APInt CarryKnownOne = PossibleSumOne ^ LHS.One ^ RHS.One; in computeForAddCarry()
32 APInt LHSKnownUnion = LHS.Zero | LHS.One; in computeForAddCarry()
48 const KnownBits &LHS, const KnownBits &RHS, const KnownBits &Carry) { in computeForAddCarry() argument
51 LHS, RHS, Carry.Zero.getBoolValue(), Carry.One.getBoolValue()); in computeForAddCarry()
55 const KnownBits &LHS, KnownBits RHS) { in computeForAddSub() argument
60 LHS, RHS, /*CarryZero*/true, /*CarryOne*/false); in computeForAddSub()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DMIPatternMatch.h177 BinaryOp_match(const LHS_P &LHS, const RHS_P &RHS) : L(LHS), R(RHS) {}
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,
202 return BinaryOp_match<LHS, RHS, TargetOpcode::G_SUB>(L, R);
205 template <typename LHS, typename RHS>
206 inline BinaryOp_match<LHS, RHS, TargetOpcode::G_MUL, true>
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/TextAPI/MachO/
DTarget.h40 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) {
53 return LHS.Arch == RHS;
56 inline bool operator!=(const Target &LHS, const Architecture &RHS) {
57 return LHS.Arch != RHS;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/GSYM/
DFunctionInfo.h187 inline bool operator==(const FunctionInfo &LHS, const FunctionInfo &RHS) {
188 return LHS.Range == RHS.Range && LHS.Name == RHS.Name &&
189 LHS.OptLineTable == RHS.OptLineTable && LHS.Inline == RHS.Inline;
191 inline bool operator!=(const FunctionInfo &LHS, const FunctionInfo &RHS) {
192 return !(LHS == RHS);
199 inline bool operator<(const FunctionInfo &LHS, const FunctionInfo &RHS) {
201 if (LHS.Range != RHS.Range)
202 return LHS.Range < RHS.Range;
205 if (LHS.Inline.hasValue() != RHS.Inline.hasValue())
208 return LHS.OptLineTable < RHS.OptLineTable;
DLineEntry.h36 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;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFDie.h297 friend bool operator==(const attribute_iterator &LHS,
317 inline bool operator==(const DWARFDie::attribute_iterator &LHS,
319 return LHS.Index == RHS.Index;
322 inline bool operator!=(const DWARFDie::attribute_iterator &LHS,
324 return !(LHS == RHS);
327 inline bool operator==(const DWARFDie &LHS, const DWARFDie &RHS) {
328 return LHS.getDebugInfoEntry() == RHS.getDebugInfoEntry() &&
329 LHS.getDwarfUnit() == RHS.getDwarfUnit();
332 inline bool operator!=(const DWARFDie &LHS, const DWARFDie &RHS) {
333 return !(LHS == RHS);
[all …]

12345678910>>...19