Home
last modified time | relevance | path

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

12345678910>>...70

/external/llvm-project/clang/test/CodeGen/
Dcatch-implicit-integer-sign-changes-CompoundAssignOperator.c104 void unsigned_char_add_signed_char_unsigned_char(unsigned char *LHS, unsigned char RHS) { in unsigned_char_add_signed_char_unsigned_char() argument
133 (*LHS) += RHS; in unsigned_char_add_signed_char_unsigned_char()
137 void unsigned_char_add_signed_char_signed_char(unsigned char *LHS, signed char RHS) { in unsigned_char_add_signed_char_signed_char() argument
166 (*LHS) += RHS; in unsigned_char_add_signed_char_signed_char()
170 void unsigned_char_add_signed_char_unsigned_int(unsigned char *LHS, unsigned int RHS) { in unsigned_char_add_signed_char_unsigned_int() argument
172 (*LHS) += RHS; in unsigned_char_add_signed_char_unsigned_int()
176 void unsigned_char_add_signed_char_signed_int(unsigned char *LHS, signed int RHS) { in unsigned_char_add_signed_char_signed_int() argument
204 (*LHS) += RHS; in unsigned_char_add_signed_char_signed_int()
208 void signed_char_add_unsigned_char(signed char *LHS, unsigned char RHS) { in signed_char_add_unsigned_char() argument
238 (*LHS) += RHS; in signed_char_add_unsigned_char()
[all …]
Dcatch-implicit-signed-integer-truncation-or-sign-change-CompoundAssignOperator.c104 void unsigned_char_add_signed_char_unsigned_char(unsigned char *LHS, unsigned char RHS) { in unsigned_char_add_signed_char_unsigned_char() argument
133 (*LHS) += RHS; in unsigned_char_add_signed_char_unsigned_char()
137 void unsigned_char_add_signed_char_signed_char(unsigned char *LHS, signed char RHS) { in unsigned_char_add_signed_char_signed_char() argument
166 (*LHS) += RHS; in unsigned_char_add_signed_char_signed_char()
170 void unsigned_char_add_signed_char_unsigned_int(unsigned char *LHS, unsigned int RHS) { in unsigned_char_add_signed_char_unsigned_int() argument
172 (*LHS) += RHS; in unsigned_char_add_signed_char_unsigned_int()
176 void unsigned_char_add_signed_char_signed_int(unsigned char *LHS, signed int RHS) { in unsigned_char_add_signed_char_signed_int() argument
204 (*LHS) += RHS; in unsigned_char_add_signed_char_signed_int()
208 void signed_char_add_unsigned_char(signed char *LHS, unsigned char RHS) { in signed_char_add_unsigned_char() argument
237 (*LHS) += RHS; in signed_char_add_unsigned_char()
[all …]
Dcatch-implicit-integer-truncations-CompoundAssignOperator.c112 void unsigned_char_add_signed_char_unsigned_char(unsigned char *LHS, unsigned char RHS) { in unsigned_char_add_signed_char_unsigned_char() argument
141 (*LHS) += RHS; in unsigned_char_add_signed_char_unsigned_char()
145 void unsigned_char_add_signed_char_signed_char(unsigned char *LHS, signed char RHS) { in unsigned_char_add_signed_char_signed_char() argument
174 (*LHS) += RHS; in unsigned_char_add_signed_char_signed_char()
178 void unsigned_char_add_signed_char_unsigned_int(unsigned char *LHS, unsigned int RHS) { in unsigned_char_add_signed_char_unsigned_int() argument
206 (*LHS) += RHS; in unsigned_char_add_signed_char_unsigned_int()
210 void unsigned_char_add_signed_char_signed_int(unsigned char *LHS, signed int RHS) { in unsigned_char_add_signed_char_signed_int() argument
238 (*LHS) += RHS; in unsigned_char_add_signed_char_signed_int()
242 void signed_char_add_unsigned_char(signed char *LHS, unsigned char RHS) { in signed_char_add_unsigned_char() argument
271 (*LHS) += RHS; in signed_char_add_unsigned_char()
[all …]
/external/libcxx/test/std/input.output/filesystems/class.path/path.member/
Dpath.concat.pass.cpp96 path LHS(L); PathReserve(LHS, ReserveSize); in doConcatSourceAllocTest() local
100 LHS += RHS; in doConcatSourceAllocTest()
102 assert(LHS == E); in doConcatSourceAllocTest()
106 path LHS(L); PathReserve(LHS, ReserveSize); in doConcatSourceAllocTest() local
110 LHS += RHS; in doConcatSourceAllocTest()
112 assert(LHS == E); in doConcatSourceAllocTest()
116 path LHS(L); PathReserve(LHS, ReserveSize); in doConcatSourceAllocTest() local
120 LHS += RHS; in doConcatSourceAllocTest()
122 assert(LHS == E); in doConcatSourceAllocTest()
125 path LHS(L); PathReserve(LHS, ReserveSize); in doConcatSourceAllocTest() local
[all …]
Dpath.append.pass.cpp106 path LHS(L); PathReserve(LHS, ReserveSize); in doAppendSourceAllocTest() local
110 LHS /= RHS; in doAppendSourceAllocTest()
112 ASSERT_PRED(PathEq, LHS , E); in doAppendSourceAllocTest()
116 path LHS(L); PathReserve(LHS, ReserveSize); in doAppendSourceAllocTest() local
120 LHS /= RHS; in doAppendSourceAllocTest()
122 assert(PathEq(LHS, E)); in doAppendSourceAllocTest()
126 path LHS(L); PathReserve(LHS, ReserveSize); in doAppendSourceAllocTest() local
130 LHS /= RHS; in doAppendSourceAllocTest()
132 assert(PathEq(LHS, E)); in doAppendSourceAllocTest()
135 path LHS(L); PathReserve(LHS, ReserveSize); in doAppendSourceAllocTest() local
[all …]
/external/llvm-project/libcxx/test/std/input.output/filesystems/class.path/path.member/
Dpath.concat.pass.cpp98 path LHS(L); PathReserve(LHS, ReserveSize); in doConcatSourceAllocTest() local
102 LHS += RHS; in doConcatSourceAllocTest()
104 assert(LHS == E); in doConcatSourceAllocTest()
108 path LHS(L); PathReserve(LHS, ReserveSize); in doConcatSourceAllocTest() local
112 LHS += RHS; in doConcatSourceAllocTest()
114 assert(LHS == E); in doConcatSourceAllocTest()
118 path LHS(L); PathReserve(LHS, ReserveSize); in doConcatSourceAllocTest() local
122 LHS += RHS; in doConcatSourceAllocTest()
124 assert(LHS == E); in doConcatSourceAllocTest()
127 path LHS(L); PathReserve(LHS, ReserveSize); in doConcatSourceAllocTest() local
[all …]
Dpath.append.pass.cpp107 path LHS(L); PathReserve(LHS, ReserveSize); in doAppendSourceAllocTest() local
111 LHS /= RHS; in doAppendSourceAllocTest()
113 assert(PathEq(LHS, E)); in doAppendSourceAllocTest()
117 path LHS(L); PathReserve(LHS, ReserveSize); in doAppendSourceAllocTest() local
121 LHS /= RHS; in doAppendSourceAllocTest()
123 assert(PathEq(LHS, E)); in doAppendSourceAllocTest()
127 path LHS(L); PathReserve(LHS, ReserveSize); in doAppendSourceAllocTest() local
131 LHS /= RHS; in doAppendSourceAllocTest()
133 assert(PathEq(LHS, E)); in doAppendSourceAllocTest()
136 path LHS(L); PathReserve(LHS, ReserveSize); in doAppendSourceAllocTest() local
[all …]
/external/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 …]
/external/llvm-project/llvm/lib/Analysis/
DAliasAnalysisSummary.h119 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) {
130 return RHS < LHS;
132 inline bool operator<=(InterfaceValue LHS, InterfaceValue RHS) {
[all …]
/external/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 …]
/external/llvm-project/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 …]
/external/llvm/include/llvm/IR/
DNoFolder.h40 Instruction *CreateAdd(Constant *LHS, Constant *RHS,
42 BinaryOperator *BO = BinaryOperator::CreateAdd(LHS, RHS);
47 Instruction *CreateNSWAdd(Constant *LHS, Constant *RHS) const { in CreateNSWAdd() argument
48 return BinaryOperator::CreateNSWAdd(LHS, RHS); in CreateNSWAdd()
50 Instruction *CreateNUWAdd(Constant *LHS, Constant *RHS) const { in CreateNUWAdd() argument
51 return BinaryOperator::CreateNUWAdd(LHS, RHS); in CreateNUWAdd()
53 Instruction *CreateFAdd(Constant *LHS, Constant *RHS) const { in CreateFAdd() argument
54 return BinaryOperator::CreateFAdd(LHS, RHS); in CreateFAdd()
56 Instruction *CreateSub(Constant *LHS, Constant *RHS,
58 BinaryOperator *BO = BinaryOperator::CreateSub(LHS, RHS);
[all …]
DPatternMatch.h396 AnyBinaryOp_match(const LHS_t &LHS, const RHS_t &RHS) : L(LHS), R(RHS) {} in AnyBinaryOp_match()
405 template <typename LHS, typename RHS>
406 inline AnyBinaryOp_match<LHS, RHS> m_BinOp(const LHS &L, const RHS &R) { in m_BinOp()
407 return AnyBinaryOp_match<LHS, RHS>(L, R); in m_BinOp()
419 BinaryOp_match(const LHS_t &LHS, const RHS_t &RHS) : L(LHS), R(RHS) {} in BinaryOp_match()
433 template <typename LHS, typename RHS>
434 inline BinaryOp_match<LHS, RHS, Instruction::Add> m_Add(const LHS &L, in m_Add()
436 return BinaryOp_match<LHS, RHS, Instruction::Add>(L, R); in m_Add()
439 template <typename LHS, typename RHS>
440 inline BinaryOp_match<LHS, RHS, Instruction::FAdd> m_FAdd(const LHS &L, in m_FAdd()
[all …]
/external/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 …]
/external/llvm-project/llvm/include/llvm/Support/
DTypeSize.h58 friend LeafTy &operator+=(LeafTy &LHS, const LeafTy &RHS) {
60 LHS.Coefficients[I] += RHS.Coefficients[I];
61 return LHS;
64 friend LeafTy &operator-=(LeafTy &LHS, const LeafTy &RHS) {
66 LHS.Coefficients[I] -= RHS.Coefficients[I];
67 return LHS;
70 friend LeafTy &operator*=(LeafTy &LHS, ScalarTy RHS) {
71 for (auto &C : LHS.Coefficients)
73 return LHS;
76 friend LeafTy operator+(const LeafTy &LHS, const LeafTy &RHS) {
[all …]
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 …]
/external/llvm-project/llvm/lib/Support/
DKnownBits.cpp20 const KnownBits &LHS, const KnownBits &RHS, in computeForAddCarry() argument
25 APInt PossibleSumZero = LHS.getMaxValue() + RHS.getMaxValue() + !CarryZero; in computeForAddCarry()
26 APInt PossibleSumOne = LHS.getMinValue() + RHS.getMinValue() + CarryOne; in computeForAddCarry()
29 APInt CarryKnownZero = ~(PossibleSumZero ^ LHS.Zero ^ RHS.Zero); in computeForAddCarry()
30 APInt CarryKnownOne = PossibleSumOne ^ LHS.One ^ RHS.One; in computeForAddCarry()
33 APInt LHSKnownUnion = LHS.Zero | LHS.One; in computeForAddCarry()
49 const KnownBits &LHS, const KnownBits &RHS, const KnownBits &Carry) { in computeForAddCarry() argument
52 LHS, RHS, Carry.Zero.getBoolValue(), Carry.One.getBoolValue()); in computeForAddCarry()
56 const KnownBits &LHS, KnownBits RHS) { in computeForAddSub() argument
61 LHS, RHS, /*CarryZero*/true, /*CarryOne*/false); in computeForAddSub()
[all …]
/external/llvm-project/libc/utils/UnitTest/
DTest.h42 bool test(RunContext *Ctx, TestCondition Cond, ValType LHS, ValType RHS,
85 bool test(TestCondition Cond, ValType LHS, ValType RHS, const char *LHSStr, in test() argument
87 return internal::test(Ctx, Cond, LHS, RHS, LHSStr, RHSStr, File, Line); in test()
93 bool test(TestCondition Cond, ValType LHS, ValType RHS, const char *LHSStr, in test() argument
95 return internal::test(Ctx, Cond, (unsigned long long)LHS, in test()
99 bool testStrEq(const char *LHS, const char *RHS, const char *LHSStr,
102 bool testStrNe(const char *LHS, const char *RHS, const char *LHSStr,
157 #define EXPECT_EQ(LHS, RHS) \ argument
158 this->test(__llvm_libc::testing::Cond_EQ, (LHS), (RHS), #LHS, #RHS, \
160 #define ASSERT_EQ(LHS, RHS) \ argument
[all …]
/external/llvm-project/llvm/include/llvm/ADT/
DTwine.h156 Child LHS; 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 …]
/external/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 …]
/external/llvm/include/llvm/ADT/
DTwine.h152 Child LHS;
169 explicit Twine(const Twine &LHS, const Twine &RHS) in Twine() argument
171 this->LHS.twine = &LHS; in Twine()
177 explicit Twine(Child LHS, NodeKind LHSKind, Child RHS, NodeKind RHSKind) in Twine() argument
178 : 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 …]
/external/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 …]
/external/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 …]

12345678910>>...70