/openbsd/gnu/llvm/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyInstrFloat.td | 89 def : Pat<(seteq f32:$lhs, f32:$rhs), (EQ_F32 f32:$lhs, f32:$rhs)>; 90 def : Pat<(setne f32:$lhs, f32:$rhs), (NE_F32 f32:$lhs, f32:$rhs)>; 91 def : Pat<(setlt f32:$lhs, f32:$rhs), (LT_F32 f32:$lhs, f32:$rhs)>; 92 def : Pat<(setle f32:$lhs, f32:$rhs), (LE_F32 f32:$lhs, f32:$rhs)>; 93 def : Pat<(setgt f32:$lhs, f32:$rhs), (GT_F32 f32:$lhs, f32:$rhs)>; 94 def : Pat<(setge f32:$lhs, f32:$rhs), (GE_F32 f32:$lhs, f32:$rhs)>; 95 def : Pat<(seteq f64:$lhs, f64:$rhs), (EQ_F64 f64:$lhs, f64:$rhs)>; 96 def : Pat<(setne f64:$lhs, f64:$rhs), (NE_F64 f64:$lhs, f64:$rhs)>; 97 def : Pat<(setlt f64:$lhs, f64:$rhs), (LT_F64 f64:$lhs, f64:$rhs)>; 98 def : Pat<(setle f64:$lhs, f64:$rhs), (LE_F64 f64:$lhs, f64:$rhs)>; [all …]
|
H A D | WebAssemblyInstrInteger.td | 97 def : Pat<(shl I32:$lhs, (and I32:$rhs, 31)), (SHL_I32 I32:$lhs, I32:$rhs)>; 98 def : Pat<(sra I32:$lhs, (and I32:$rhs, 31)), (SHR_S_I32 I32:$lhs, I32:$rhs)>; 99 def : Pat<(srl I32:$lhs, (and I32:$rhs, 31)), (SHR_U_I32 I32:$lhs, I32:$rhs)>; 100 def : Pat<(shl I64:$lhs, (and I64:$rhs, 63)), (SHL_I64 I64:$lhs, I64:$rhs)>; 101 def : Pat<(sra I64:$lhs, (and I64:$rhs, 63)), (SHR_S_I64 I64:$lhs, I64:$rhs)>; 102 def : Pat<(srl I64:$lhs, (and I64:$rhs, 63)), (SHR_U_I64 I64:$lhs, I64:$rhs)>; 105 def : Pat<(rotl I32:$lhs, (and I32:$rhs, 31)), (ROTL_I32 I32:$lhs, I32:$rhs)>; 106 def : Pat<(rotr I32:$lhs, (and I32:$rhs, 31)), (ROTR_I32 I32:$lhs, I32:$rhs)>; 107 def : Pat<(rotl I64:$lhs, (and I64:$rhs, 63)), (ROTL_I64 I64:$lhs, I64:$rhs)>; 108 def : Pat<(rotr I64:$lhs, (and I64:$rhs, 63)), (ROTR_I64 I64:$lhs, I64:$rhs)>; [all …]
|
H A D | WebAssemblyInstrRef.td | 23 defm SELECT_#rc: I<(outs rc:$dst), (ins rc:$lhs, rc:$rhs, I32:$cond), 26 (select I32:$cond, rc:$lhs, rc:$rhs))], 27 vt#".select\t$dst, $lhs, $rhs, $cond", 42 def : Pat<(select (i32 (setne I32:$cond, 0)), rc:$lhs, rc:$rhs), 43 (!cast<Instruction>("SELECT_"#rc) rc:$lhs, rc:$rhs, I32:$cond)>; 44 def : Pat<(select (i32 (seteq I32:$cond, 0)), rc:$lhs, rc:$rhs), 45 (!cast<Instruction>("SELECT_"#rc) rc:$rhs, rc:$lhs, I32:$cond)>;
|
/openbsd/gnu/llvm/lldb/source/Utility/ |
H A D | VMRange.cpp | 42 bool lldb_private::operator==(const VMRange &lhs, const VMRange &rhs) { in operator ==() argument 43 return lhs.GetBaseAddress() == rhs.GetBaseAddress() && in operator ==() 44 lhs.GetEndAddress() == rhs.GetEndAddress(); in operator ==() 48 return !(lhs == rhs); in operator !=() 51 bool lldb_private::operator<(const VMRange &lhs, const VMRange &rhs) { in operator <() argument 52 if (lhs.GetBaseAddress() < rhs.GetBaseAddress()) in operator <() 54 else if (lhs.GetBaseAddress() > rhs.GetBaseAddress()) in operator <() 56 return lhs.GetEndAddress() < rhs.GetEndAddress(); in operator <() 60 return !(lhs > rhs); in operator <=() 64 return rhs < lhs; in operator >() [all …]
|
H A D | Scalar.cpp | 68 PromotionKey lhs_key = lhs.GetPromoKey(); in PromoteToMaxType() 72 Promote(rhs, lhs); in PromoteToMaxType() 74 Promote(lhs, rhs); in PromoteToMaxType() 513 Scalar result = lhs; in operator +() 619 Scalar result = lhs; in operator <<() 625 Scalar result = lhs; in operator >>() 818 return lhs.m_type == rhs.m_type; in operator ==() 835 return !(lhs == rhs); in operator !=() 857 return !(rhs < lhs); in operator <=() 861 return rhs < lhs; in operator >() [all …]
|
/openbsd/sys/ddb/ |
H A D | db_expr.c | 147 lhs *= rhs; in db_mult_expr() 154 lhs /= rhs; in db_mult_expr() 156 lhs %= rhs; in db_mult_expr() 158 lhs = ((lhs+rhs-1)/rhs)*rhs; in db_mult_expr() 163 *valuep = lhs; in db_mult_expr() 183 lhs += rhs; in db_add_expr() 185 lhs -= rhs; in db_add_expr() 189 *valuep = lhs; in db_add_expr() 213 lhs <<= rhs; in db_shift_expr() 216 lhs = (unsigned) lhs >> rhs; in db_shift_expr() [all …]
|
/openbsd/gnu/llvm/lldb/include/lldb/Utility/ |
H A D | Scalar.h | 214 friend bool operator==(Scalar lhs, Scalar rhs); 216 friend bool operator<(Scalar lhs, Scalar rhs); 236 const Scalar operator-(Scalar lhs, Scalar rhs); 237 const Scalar operator/(Scalar lhs, Scalar rhs); 238 const Scalar operator*(Scalar lhs, Scalar rhs); 239 const Scalar operator&(Scalar lhs, Scalar rhs); 240 const Scalar operator|(Scalar lhs, Scalar rhs); 241 const Scalar operator%(Scalar lhs, Scalar rhs); 242 const Scalar operator^(Scalar lhs, Scalar rhs); 245 bool operator==(Scalar lhs, Scalar rhs); [all …]
|
/openbsd/gnu/usr.bin/perl/cpan/Time-Piece/ |
H A D | Seconds.pm | 56 my ($lhs, $rhs, $reverse) = @_; 57 $lhs = $lhs->seconds; 67 return $rhs, $lhs; 70 return $lhs, $rhs; 75 return $lhs <=> $rhs; 84 my $lhs = shift; 87 $$lhs += $rhs; 88 return $lhs; 97 my $lhs = shift; 100 $$lhs -= $rhs; [all …]
|
/openbsd/gnu/gcc/gcc/ |
H A D | tree-stdarg.c | 135 orig_lhs = lhs = rhs; in va_list_counter_bump() 136 while (lhs) in va_list_counter_bump() 162 lhs = rhs; in va_list_counter_bump() 197 lhs = NULL; in va_list_counter_bump() 200 lhs = orig_lhs; in va_list_counter_bump() 202 while (lhs) in va_list_counter_bump() 220 lhs = rhs; in va_list_counter_bump() 242 lhs = NULL; in va_list_counter_bump() 461 if (TREE_CODE (lhs) != SSA_NAME || is_global_var (SSA_NAME_VAR (lhs))) in check_va_list_escapes() 573 DECL_UID (lhs))) in check_all_va_list_escapes() [all …]
|
H A D | tree-ssa-dom.c | 69 tree lhs; member 120 tree lhs; local 503 element->lhs = lhs; in initialize_hash_element() 629 tree lhs = edge_info->lhs; in dom_opt_finalize_block() local 633 if (lhs && TREE_CODE (lhs) == SSA_NAME) in dom_opt_finalize_block() 669 tree lhs = edge_info->lhs; in dom_opt_finalize_block() local 673 if (lhs && TREE_CODE (lhs) == SSA_NAME) in dom_opt_finalize_block() 756 rhs = lhs; in record_equivalences_from_phis() 826 tree lhs = edge_info->lhs; in record_equivalences_from_incoming_edge() local 830 if (lhs) in record_equivalences_from_incoming_edge() [all …]
|
H A D | tree-ssa-structalias.c | 527 ret->lhs = lhs; in new_constraint() 643 if (constraint_expr_less (a->lhs, b->lhs)) in constraint_less() 645 else if (constraint_expr_less (b->lhs, a->lhs)) in constraint_less() 656 return constraint_expr_equal (a.lhs, b.lhs) in constraint_equal() 991 struct constraint_expr lhs = c->lhs; in build_pred_graph() local 1058 lhs = c->lhs; in build_succ_graph() 1392 unsigned int lhs = find (c->lhs.var); in do_sd_constraint() local 1907 struct constraint_expr lhs = c->lhs; in move_complex_constraints() local 2275 struct constraint_expr lhs = t->lhs; in process_constraint() local 2296 else if (lhs.var == anything_id && lhs.type == ADDRESSOF) in process_constraint() [all …]
|
/openbsd/gnu/usr.bin/gcc/gcc/ |
H A D | cppexp.c | 1190 lhs.unsignedp = lhs.unsignedp || rhs.unsignedp; 1210 return lhs; 1227 lhs.low = gte && !num_eq (lhs, rhs); 1229 lhs.low = !gte || num_eq (lhs, rhs); 1234 return lhs; 1252 return lhs; 1408 lhs = num_lshift (lhs, precision, n); 1410 lhs = num_rshift (lhs, precision, n); 1508 negate = !negate, lhs = num_negate (lhs, precision); 1609 lhs = num_binary_op (pfile, lhs, sub, CPP_MINUS); [all …]
|
/openbsd/gnu/llvm/lldb/source/Target/ |
H A D | StackID.cpp | 33 bool lldb_private::operator==(const StackID &lhs, const StackID &rhs) { in operator ==() argument 34 if (lhs.GetCallFrameAddress() != rhs.GetCallFrameAddress()) in operator ==() 37 SymbolContextScope *lhs_scope = lhs.GetSymbolContextScope(); in operator ==() 42 return lhs.GetPC() == rhs.GetPC(); in operator ==() 47 bool lldb_private::operator!=(const StackID &lhs, const StackID &rhs) { in operator !=() argument 48 if (lhs.GetCallFrameAddress() != rhs.GetCallFrameAddress()) in operator !=() 51 SymbolContextScope *lhs_scope = lhs.GetSymbolContextScope(); in operator !=() 55 return lhs.GetPC() != rhs.GetPC(); in operator !=() 60 bool lldb_private::operator<(const StackID &lhs, const StackID &rhs) { in operator <() argument 61 const lldb::addr_t lhs_cfa = lhs.GetCallFrameAddress(); in operator <() [all …]
|
/openbsd/gnu/gcc/libcpp/ |
H A D | expr.c | 1177 lhs.unsignedp = lhs.unsignedp || rhs.unsignedp; in num_bitwise_op() 1197 return lhs; in num_bitwise_op() 1212 lhs.low = gte && !num_eq (lhs, rhs); in num_inequality_op() 1214 lhs.low = !gte || num_eq (lhs, rhs); in num_inequality_op() 1219 return lhs; in num_inequality_op() 1235 return lhs; in num_equality_op() 1381 lhs = num_lshift (lhs, precision, n); in num_binary_op() 1383 lhs = num_rshift (lhs, precision, n); in num_binary_op() 1464 negate = !negate, lhs = num_negate (lhs, precision); in num_mul() 1562 lhs = num_binary_op (pfile, lhs, sub, CPP_MINUS); in num_div_op() [all …]
|
/openbsd/gnu/gcc/libdecnumber/ |
H A D | decNumber.c | 1114 if (ISZERO (lhs) in decNumberPower() 2458 t = lhs; in decAddOp() 2459 lhs = rhs; in decAddOp() 2533 decDumpAr ('A', lhs->lsu, D2U (lhs->digits)); in decAddOp() 2893 (lhs->exponent + lhs->digits) - (rhs->exponent + rhs->digits); in decDivideOp() 3490 if (((lhs->bits & DECSPECIAL) == 0 && ISZERO (lhs)) in decMultiplyOp() 3506 lhs = rhs; in decMultiplyOp() 3997 lhs = rhs; in decCompare() 4002 compare = decUnitCompare (lhs->lsu, D2U (lhs->digits), in decCompare() 5501 lhs = rhs; [all …]
|
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/ |
H A D | 20020607-1.c | 17 num_equality_op (lhs, rhs) in num_equality_op() argument 18 cpp_num lhs, rhs; in num_equality_op() 20 lhs.low = num_eq (lhs, rhs); 21 lhs.high = 0; 22 lhs.overflow = 0; 23 return lhs;
|
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.martin/ |
H A D | sts_vectini.C | 20 XTVec& operator+=(XTVec& lhs, XTVec& rhs){ 21 lhs[0]+=rhs[0]; 22 lhs[1]+=rhs[1]; 23 lhs[2]+=rhs[2]; 24 return lhs; 28 XTVec operator+(XTVec& lhs, XTVec& rhs){ 29 XTVec result(lhs);
|
/openbsd/gnu/llvm/lldb/include/lldb/Core/ |
H A D | UniqueCStringMap.h | 177 int result = c.ThreeWay(lhs.cstring, rhs.cstring); in Sort() 179 return tc(lhs.value, rhs.value); in Sort() 211 return operator()(lhs.cstring, rhs.cstring); in operator() 214 bool operator()(const Entry &lhs, ConstString rhs) { in operator() 215 return operator()(lhs.cstring, rhs); in operator() 218 bool operator()(ConstString lhs, const Entry &rhs) { in operator() 219 return operator()(lhs, rhs.cstring); in operator() 222 bool operator()(ConstString lhs, ConstString rhs) { in operator() 223 return ThreeWay(lhs, rhs) < 0; in operator() 229 int ThreeWay(ConstString lhs, ConstString rhs) { in ThreeWay() [all …]
|
/openbsd/gnu/llvm/lldb/source/Symbol/ |
H A D | CompilerDecl.cpp | 39 bool lldb_private::operator==(const lldb_private::CompilerDecl &lhs, in operator ==() argument 41 return lhs.GetTypeSystem() == rhs.GetTypeSystem() && in operator ==() 42 lhs.GetOpaqueDecl() == rhs.GetOpaqueDecl(); in operator ==() 45 bool lldb_private::operator!=(const lldb_private::CompilerDecl &lhs, in operator !=() argument 47 return lhs.GetTypeSystem() != rhs.GetTypeSystem() || in operator !=() 48 lhs.GetOpaqueDecl() != rhs.GetOpaqueDecl(); in operator !=()
|
H A D | CompilerDeclContext.cpp | 60 bool lldb_private::operator==(const lldb_private::CompilerDeclContext &lhs, in operator ==() argument 62 return lhs.GetTypeSystem() == rhs.GetTypeSystem() && in operator ==() 63 lhs.GetOpaqueDeclContext() == rhs.GetOpaqueDeclContext(); in operator ==() 66 bool lldb_private::operator!=(const lldb_private::CompilerDeclContext &lhs, in operator !=() argument 68 return lhs.GetTypeSystem() != rhs.GetTypeSystem() || in operator !=() 69 lhs.GetOpaqueDeclContext() != rhs.GetOpaqueDeclContext(); in operator !=()
|
/openbsd/gnu/usr.bin/perl/ |
H A D | perly.y | 1072 expr : expr[lhs] ANDOP expr[rhs] 1076 | expr[lhs] OROP[operator] expr[rhs] 1223 | term[lhs] PLUGIN_POW_OP[op] term[rhs] 1227 scalar($lhs); 1230 | term[lhs] PLUGIN_MUL_OP[op] term[rhs] 1266 | term[lhs] NCRELOP term[rhs] 1276 relopchain: term[lhs] CHRELOP term[rhs] 1278 | relopchain[lhs] CHRELOP term[rhs] 1284 | term[lhs] NCEQOP term[rhs] 1292 eqopchain: term[lhs] CHEQOP term[rhs] [all …]
|
/openbsd/usr.sbin/nsd/ |
H A D | netio.h | 180 operator | (netio_event_types_type lhs, netio_event_types_type rhs) { 181 return (netio_event_types_type) (lhs | rhs); 184 operator |= (netio_event_types_type &lhs, netio_event_types_type rhs) { 185 lhs = (netio_event_types_type) (lhs | rhs); 186 return lhs;
|
/openbsd/gnu/llvm/lldb/include/lldb/Symbol/ |
H A D | LineTable.h | 241 static int Compare(const Entry &lhs, const Entry &rhs) { in Compare() 248 SCALAR_COMPARE(lhs.file_addr, rhs.file_addr); in Compare() 249 SCALAR_COMPARE(lhs.line, rhs.line); in Compare() 250 SCALAR_COMPARE(lhs.column, rhs.column); in Compare() 251 SCALAR_COMPARE(lhs.is_start_of_statement, rhs.is_start_of_statement); in Compare() 254 SCALAR_COMPARE(rhs.is_prologue_end, lhs.is_prologue_end); in Compare() 255 SCALAR_COMPARE(lhs.is_epilogue_begin, rhs.is_epilogue_begin); in Compare() 257 SCALAR_COMPARE(rhs.is_terminal_entry, lhs.is_terminal_entry); in Compare() 258 SCALAR_COMPARE(lhs.file_idx, rhs.file_idx); in Compare() 274 static bool EntryAddressLessThan(const Entry &lhs, const Entry &rhs) { in EntryAddressLessThan() [all …]
|
/openbsd/gnu/llvm/llvm/lib/Target/SystemZ/ |
H A D | SystemZMachineScheduler.h | 74 bool operator() (SUnit *lhs, SUnit *rhs) const { in operator() 75 if (lhs->isScheduleHigh && !rhs->isScheduleHigh) in operator() 77 if (!lhs->isScheduleHigh && rhs->isScheduleHigh) in operator() 80 if (lhs->getHeight() > rhs->getHeight()) in operator() 82 else if (lhs->getHeight() < rhs->getHeight()) in operator() 85 return (lhs->NodeNum < rhs->NodeNum); in operator()
|
/openbsd/gnu/llvm/lldb/source/Core/ |
H A D | SourceLocationSpec.cpp | 46 int SourceLocationSpec::Compare(const SourceLocationSpec &lhs, in Compare() argument 48 return Declaration::Compare(lhs.m_declaration, rhs.m_declaration); in Compare() 51 bool SourceLocationSpec::Equal(const SourceLocationSpec &lhs, in Equal() argument 53 return full ? lhs == rhs in Equal() 54 : (lhs.GetFileSpec() == rhs.GetFileSpec() && in Equal() 55 lhs.GetLine() == rhs.GetLine()); in Equal()
|