Home
last modified time | relevance | path

Searched refs:lhs (Results 1 – 25 of 365) sorted by relevance

12345678910>>...15

/openbsd/src/gnu/llvm/llvm/lib/Target/WebAssembly/
DWebAssemblyInstrFloat.td27 defm _F32 : I<(outs F32:$dst), (ins F32:$lhs, F32:$rhs), (outs), (ins),
28 [(set F32:$dst, (node F32:$lhs, F32:$rhs))],
29 !strconcat("f32.", !strconcat(name, "\t$dst, $lhs, $rhs")),
31 defm _F64 : I<(outs F64:$dst), (ins F64:$lhs, F64:$rhs), (outs), (ins),
32 [(set F64:$dst, (node F64:$lhs, F64:$rhs))],
33 !strconcat("f64.", !strconcat(name, "\t$dst, $lhs, $rhs")),
37 defm _F32 : I<(outs I32:$dst), (ins F32:$lhs, F32:$rhs), (outs), (ins),
38 [(set I32:$dst, (setcc F32:$lhs, F32:$rhs, cond))],
39 !strconcat("f32.", !strconcat(name, "\t$dst, $lhs, $rhs")),
41 defm _F64 : I<(outs I32:$dst), (ins F64:$lhs, F64:$rhs), (outs), (ins),
[all …]
DWebAssemblyInstrInteger.td27 defm _I32 : I<(outs I32:$dst), (ins I32:$lhs, I32:$rhs), (outs), (ins),
28 [(set I32:$dst, (node I32:$lhs, I32:$rhs))],
29 !strconcat("i32.", !strconcat(name, "\t$dst, $lhs, $rhs")),
31 defm _I64 : I<(outs I64:$dst), (ins I64:$lhs, I64:$rhs), (outs), (ins),
32 [(set I64:$dst, (node I64:$lhs, I64:$rhs))],
33 !strconcat("i64.", !strconcat(name, "\t$dst, $lhs, $rhs")),
37 defm _I32 : I<(outs I32:$dst), (ins I32:$lhs, I32:$rhs), (outs), (ins),
38 [(set I32:$dst, (setcc I32:$lhs, I32:$rhs, cond))],
39 !strconcat("i32.", !strconcat(name, "\t$dst, $lhs, $rhs")),
41 defm _I64 : I<(outs I32:$dst), (ins I64:$lhs, I64:$rhs), (outs), (ins),
[all …]
DWebAssemblyInstrRef.td23 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/src/gnu/llvm/lldb/source/Utility/
DVMRange.cpp42 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 ==()
47 bool lldb_private::operator!=(const VMRange &lhs, const VMRange &rhs) { in operator !=() argument
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 <()
59 bool lldb_private::operator<=(const VMRange &lhs, const VMRange &rhs) { in operator <=() argument
[all …]
DScalar.cpp55 Scalar::Type Scalar::PromoteToMaxType(Scalar &lhs, Scalar &rhs) { in PromoteToMaxType() argument
68 PromotionKey lhs_key = lhs.GetPromoKey(); in PromoteToMaxType()
72 Promote(rhs, lhs); in PromoteToMaxType()
74 Promote(lhs, rhs); in PromoteToMaxType()
77 if (lhs.GetPromoKey() == rhs.GetPromoKey()) in PromoteToMaxType()
78 return lhs.GetType(); // Return the resulting type in PromoteToMaxType()
512 const Scalar lldb_private::operator+(const Scalar &lhs, const Scalar &rhs) { in operator +() argument
513 Scalar result = lhs; in operator +()
518 const Scalar lldb_private::operator-(Scalar lhs, Scalar rhs) { in operator -() argument
520 if ((result.m_type = Scalar::PromoteToMaxType(lhs, rhs)) != Scalar::e_void) { in operator -()
[all …]
/openbsd/src/sys/ddb/
Ddb_expr.c134 db_expr_t lhs, rhs; in db_mult_expr() local
137 if (!db_unary(&lhs)) in db_mult_expr()
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()
170 db_expr_t lhs, rhs; in db_add_expr() local
173 if (!db_mult_expr(&lhs)) in db_add_expr()
183 lhs += rhs; in db_add_expr()
[all …]
/openbsd/src/gnu/llvm/lldb/include/lldb/Utility/
DScalar.h196 static Type PromoteToMaxType(Scalar &lhs, Scalar &rhs);
204 friend const Scalar operator+(const Scalar &lhs, const Scalar &rhs);
205 friend const Scalar operator-(Scalar lhs, Scalar rhs);
206 friend const Scalar operator/(Scalar lhs, Scalar rhs);
207 friend const Scalar operator*(Scalar lhs, Scalar rhs);
208 friend const Scalar operator&(Scalar lhs, Scalar rhs);
209 friend const Scalar operator|(Scalar lhs, Scalar rhs);
210 friend const Scalar operator%(Scalar lhs, Scalar rhs);
211 friend const Scalar operator^(Scalar lhs, Scalar rhs);
212 friend const Scalar operator<<(const Scalar &lhs, const Scalar &rhs);
[all …]
/openbsd/src/gnu/usr.bin/perl/cpan/Time-Piece/
DSeconds.pm56 my ($lhs, $rhs, $reverse) = @_;
57 $lhs = $lhs->seconds;
67 return $rhs, $lhs;
70 return $lhs, $rhs;
74 my ($lhs, $rhs) = _get_ovlvals(@_);
75 return $lhs <=> $rhs;
79 my ($lhs, $rhs) = _get_ovlvals(@_);
80 return Time::Seconds->new($lhs + $rhs);
84 my $lhs = shift;
87 $$lhs += $rhs;
[all …]
/openbsd/src/gnu/gcc/gcc/
Dtree-stdarg.c120 tree stmt, lhs, orig_lhs; in va_list_counter_bump() local
135 orig_lhs = lhs = rhs; in va_list_counter_bump()
136 while (lhs) in va_list_counter_bump()
138 if (si->offsets[SSA_NAME_VERSION (lhs)] != -1) in va_list_counter_bump()
146 ret -= counter_val - si->offsets[SSA_NAME_VERSION (lhs)]; in va_list_counter_bump()
150 stmt = SSA_NAME_DEF_STMT (lhs); in va_list_counter_bump()
153 || TREE_OPERAND (stmt, 0) != lhs) in va_list_counter_bump()
162 lhs = rhs; in va_list_counter_bump()
170 lhs = TREE_OPERAND (rhs, 0); in va_list_counter_bump()
180 lhs = TREE_OPERAND (rhs, 0); in va_list_counter_bump()
[all …]
Dtree-ssa-dom.c69 tree lhs; member
120 tree lhs; local
465 initialize_hash_element (tree expr, tree lhs, struct expr_hash_elt *element) in initialize_hash_element() argument
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()
634 record_const_or_copy (lhs, rhs); 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()
674 record_const_or_copy (lhs, rhs); in dom_opt_finalize_block()
[all …]
Dtree-ssa-structalias.c422 struct constraint_expr lhs; member
523 new_constraint (const struct constraint_expr lhs, in new_constraint() argument
527 ret->lhs = lhs; in new_constraint()
537 if (c->lhs.type == ADDRESSOF) in dump_constraint()
539 else if (c->lhs.type == DEREF) in dump_constraint()
541 fprintf (file, "%s", get_varinfo_fc (c->lhs.var)->name); in dump_constraint()
542 if (c->lhs.offset != 0) in dump_constraint()
543 fprintf (file, " + " HOST_WIDE_INT_PRINT_DEC, c->lhs.offset); in dump_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()
[all …]
/openbsd/src/gnu/usr.bin/gcc/gcc/
Dcppexp.c1184 num_bitwise_op (pfile, lhs, rhs, op) in num_bitwise_op() argument
1186 cpp_num lhs, rhs;
1189 lhs.overflow = false;
1190 lhs.unsignedp = lhs.unsignedp || rhs.unsignedp;
1196 lhs.low &= rhs.low;
1197 lhs.high &= rhs.high;
1201 lhs.low |= rhs.low;
1202 lhs.high |= rhs.high;
1206 lhs.low ^= rhs.low;
1207 lhs.high ^= rhs.high;
[all …]
/openbsd/src/gnu/llvm/lldb/source/Target/
DStackID.cpp33 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/src/gnu/gcc/libdecnumber/
DdecNumber.c222 static Int decCompare (const decNumber * lhs, const decNumber * rhs);
685 decNumberAdd (decNumber * res, const decNumber * lhs, in decNumberAdd() argument
689 decAddOp (res, lhs, rhs, set, 0, &status); in decNumberAdd()
708 decNumberCompare (decNumber * res, const decNumber * lhs, in decNumberCompare() argument
712 decCompareOp (res, lhs, rhs, set, COMPARE, &status); in decNumberCompare()
731 decNumberDivide (decNumber * res, const decNumber * lhs, in decNumberDivide() argument
735 decDivideOp (res, lhs, rhs, set, DIVIDE, &status); in decNumberDivide()
754 decNumberDivideInteger (decNumber * res, const decNumber * lhs, in decNumberDivideInteger() argument
758 decDivideOp (res, lhs, rhs, set, DIVIDEINT, &status); in decNumberDivideInteger()
777 decNumberMax (decNumber * res, const decNumber * lhs, in decNumberMax() argument
[all …]
/openbsd/src/gnu/gcc/libcpp/
Dexpr.c1174 cpp_num lhs, cpp_num rhs, enum cpp_ttype op) in num_bitwise_op() argument
1176 lhs.overflow = false; in num_bitwise_op()
1177 lhs.unsignedp = lhs.unsignedp || rhs.unsignedp; in num_bitwise_op()
1183 lhs.low &= rhs.low; in num_bitwise_op()
1184 lhs.high &= rhs.high; in num_bitwise_op()
1188 lhs.low |= rhs.low; in num_bitwise_op()
1189 lhs.high |= rhs.high; in num_bitwise_op()
1193 lhs.low ^= rhs.low; in num_bitwise_op()
1194 lhs.high ^= rhs.high; in num_bitwise_op()
1197 return lhs; in num_bitwise_op()
[all …]
/openbsd/src/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/
D20020607-1.c17 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/src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.martin/
Dsts_vectini.C20 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/src/gnu/llvm/lldb/include/lldb/Core/
DUniqueCStringMap.h176 llvm::sort(m_map, [&](const Entry &lhs, const Entry &rhs) -> bool { in Sort()
177 int result = c.ThreeWay(lhs.cstring, rhs.cstring); in Sort()
179 return tc(lhs.value, rhs.value); in Sort()
210 bool operator()(const Entry &lhs, const Entry &rhs) { in operator()
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()
[all …]
/openbsd/src/gnu/llvm/lldb/source/Symbol/
DCompilerDecl.cpp39 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 !=()
DCompilerDeclContext.cpp60 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/src/gnu/usr.bin/perl/
Dperly.y1072 expr : expr[lhs] ANDOP expr[rhs]
1073 { $$ = newLOGOP(OP_AND, 0, $lhs, $rhs); }
1074 | expr[lhs] PLUGIN_LOGICAL_AND_LOW_OP[op] expr[rhs]
1075 { $$ = build_infix_plugin($lhs, $rhs, $op); }
1076 | expr[lhs] OROP[operator] expr[rhs]
1077 { $$ = newLOGOP($operator, 0, $lhs, $rhs); }
1078 | expr[lhs] PLUGIN_LOGICAL_OR_LOW_OP[op] expr[rhs]
1079 { $$ = build_infix_plugin($lhs, $rhs, $op); }
1215 termbinop: term[lhs] PLUGIN_HIGH_OP[op] term[rhs]
1216 { $$ = build_infix_plugin($lhs, $rhs, $op); }
[all …]
/openbsd/src/usr.sbin/nsd/
Dnetio.h180 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/src/gnu/llvm/lldb/include/lldb/Symbol/
DLineTable.h241 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()
252 SCALAR_COMPARE(lhs.is_start_of_basic_block, rhs.is_start_of_basic_block); 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()
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Target/SystemZ/
DSystemZMachineScheduler.h74 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/src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
DSimpleSValBuilder.cpp68 NonLoc lhs, NonLoc rhs, QualType resultTy) override;
70 Loc lhs, Loc rhs, QualType resultTy) override;
72 Loc lhs, NonLoc rhs, QualType resultTy) override;
409 NonLoc lhs, NonLoc rhs, in evalBinOpNN() argument
411 NonLoc InputLHS = lhs; in evalBinOpNN()
416 SVal simplifiedLhs = simplifySVal(state, lhs); in evalBinOpNN()
419 lhs = *simplifiedLhsAsNonLoc; in evalBinOpNN()
424 if (lhs == rhs) in evalBinOpNN()
444 return evalCast(lhs, resultTy, QualType{}); in evalBinOpNN()
448 switch (lhs.getSubKind()) { in evalBinOpNN()
[all …]

12345678910>>...15