Home
last modified time | relevance | path

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

12345678910>>...14

/freebsd-12-stable/contrib/llvm-project/openmp/runtime/src/
Dkmp_atomic.h53 std::complex<type_lhs> __kmp_lhs_div_rhs(const std::complex<type_lhs> &lhs, in __kmp_lhs_div_rhs() argument
55 type_lhs a = lhs.real(); in __kmp_lhs_div_rhs()
56 type_lhs b = lhs.imag(); in __kmp_lhs_div_rhs()
74 std::complex<double> lhs = *this; member
75 *this = __kmp_lhs_div_rhs(lhs, rhs);
79 std::complex<double> lhs = *this; member
80 return __kmp_lhs_div_rhs(lhs, rhs);
93 std::complex<float> lhs = *this; member
95 return (lhs + rhs);
98 std::complex<float> lhs = *this; member
[all …]
Dkmp_atomic.cpp609 static inline Quad_a4_t operator+(Quad_a4_t &lhs, Quad_a4_t &rhs) { in operator +() argument
610 return lhs.q + rhs.q; in operator +()
612 static inline Quad_a4_t operator-(Quad_a4_t &lhs, Quad_a4_t &rhs) { in operator -() argument
613 return lhs.q - rhs.q; in operator -()
615 static inline Quad_a4_t operator*(Quad_a4_t &lhs, Quad_a4_t &rhs) { in operator *() argument
616 return lhs.q * rhs.q; in operator *()
618 static inline Quad_a4_t operator/(Quad_a4_t &lhs, Quad_a4_t &rhs) { in operator /() argument
619 return lhs.q / rhs.q; in operator /()
621 static inline bool operator<(Quad_a4_t &lhs, Quad_a4_t &rhs) { in operator <() argument
622 return lhs.q < rhs.q; in operator <()
[all …]
/freebsd-12-stable/sys/ddb/
Ddb_expr.c163 db_expr_t lhs, rhs; in db_mult_expr() local
166 if (!db_unary(&lhs)) in db_mult_expr()
181 lhs *= rhs; in db_mult_expr()
184 lhs &= rhs; in db_mult_expr()
192 lhs /= rhs; in db_mult_expr()
194 lhs %= rhs; in db_mult_expr()
196 lhs = roundup(lhs, rhs); in db_mult_expr()
201 *valuep = lhs; in db_mult_expr()
208 db_expr_t lhs, rhs; in db_add_expr() local
211 if (!db_mult_expr(&lhs)) in db_add_expr()
[all …]
/freebsd-12-stable/contrib/llvm-project/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.td22 defm SELECT_#rc: I<(outs rc:$dst), (ins rc:$lhs, rc:$rhs, I32:$cond),
25 (select I32:$cond, rc:$lhs, rc:$rhs))],
26 vt#".select\t$dst, $lhs, $rhs, $cond",
35 def : Pat<(select (i32 (setne I32:$cond, 0)), rc:$lhs, rc:$rhs),
36 (!cast<Instruction>("SELECT_"#rc) rc:$lhs, rc:$rhs, I32:$cond)>;
37 def : Pat<(select (i32 (seteq I32:$cond, 0)), rc:$lhs, rc:$rhs),
38 (!cast<Instruction>("SELECT_"#rc) rc:$rhs, rc:$lhs, I32:$cond)>;
/freebsd-12-stable/contrib/ntp/libntp/
Dvint64ops.c110 const vint64 * lhs, in icmpv64() argument
117 res = (lhs->q_s > rhs->q_s) in icmpv64()
118 - (lhs->q_s < rhs->q_s); in icmpv64()
120 res = (lhs->d_s.hi > rhs->d_s.hi) in icmpv64()
121 - (lhs->d_s.hi < rhs->d_s.hi); in icmpv64()
123 res = (lhs->D_s.lo > rhs->D_s.lo) in icmpv64()
124 - (lhs->D_s.lo < rhs->D_s.lo); in icmpv64()
134 const vint64 * lhs, in ucmpv64() argument
141 res = (lhs->Q_s > rhs->Q_s) in ucmpv64()
142 - (lhs->Q_s < rhs->Q_s); in ucmpv64()
[all …]
/freebsd-12-stable/contrib/llvm-project/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 …]
/freebsd-12-stable/contrib/processor-trace/libipt/test/src/
Dptunit-asid.c264 struct pt_asid lhs, rhs; in match_default() local
267 pt_asid_init(&lhs); in match_default()
270 errcode = pt_asid_match(&lhs, &rhs); in match_default()
273 lhs.cr3 = 0x2300ull; in match_default()
274 lhs.vmcs = 0x42000ull; in match_default()
276 errcode = pt_asid_match(&lhs, &rhs); in match_default()
279 errcode = pt_asid_match(&rhs, &lhs); in match_default()
287 struct pt_asid lhs, rhs; in match_default_mixed() local
290 pt_asid_init(&lhs); in match_default_mixed()
293 errcode = pt_asid_match(&lhs, &rhs); in match_default_mixed()
[all …]
/freebsd-12-stable/contrib/llvm-project/lldb/source/Utility/
DVMRange.cpp44 bool lldb_private::operator==(const VMRange &lhs, const VMRange &rhs) { in operator ==() argument
45 return lhs.GetBaseAddress() == rhs.GetBaseAddress() && in operator ==()
46 lhs.GetEndAddress() == rhs.GetEndAddress(); in operator ==()
49 bool lldb_private::operator!=(const VMRange &lhs, const VMRange &rhs) { in operator !=() argument
50 return !(lhs == rhs); in operator !=()
53 bool lldb_private::operator<(const VMRange &lhs, const VMRange &rhs) { in operator <() argument
54 if (lhs.GetBaseAddress() < rhs.GetBaseAddress()) in operator <()
56 else if (lhs.GetBaseAddress() > rhs.GetBaseAddress()) in operator <()
58 return lhs.GetEndAddress() < rhs.GetEndAddress(); in operator <()
61 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 …]
/freebsd-12-stable/contrib/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 …]
/freebsd-12-stable/contrib/gcclibs/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 …]
/freebsd-12-stable/contrib/gcclibs/libcpp/
Dexpr.c1177 cpp_num lhs, cpp_num rhs, enum cpp_ttype op) in num_bitwise_op() argument
1179 lhs.overflow = false; in num_bitwise_op()
1180 lhs.unsignedp = lhs.unsignedp || rhs.unsignedp; in num_bitwise_op()
1186 lhs.low &= rhs.low; in num_bitwise_op()
1187 lhs.high &= rhs.high; in num_bitwise_op()
1191 lhs.low |= rhs.low; in num_bitwise_op()
1192 lhs.high |= rhs.high; in num_bitwise_op()
1196 lhs.low ^= rhs.low; in num_bitwise_op()
1197 lhs.high ^= rhs.high; in num_bitwise_op()
1200 return lhs; in num_bitwise_op()
[all …]
/freebsd-12-stable/contrib/llvm-project/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 …]
/freebsd-12-stable/contrib/ntp/include/
Dvint64ops.h13 extern int icmpv64(const vint64 * lhs, const vint64 * rhs);
14 extern int ucmpv64(const vint64 * lhs, const vint64 * rhs);
17 extern vint64 addv64(const vint64 *lhs, const vint64 *rhs);
18 extern vint64 addv64i32(const vint64 * lhs, int32_t rhs);
19 extern vint64 addv64u32(const vint64 * lhs, uint32_t rhs);
21 extern vint64 subv64(const vint64 *lhs, const vint64 *rhs);
22 extern vint64 subv64i32(const vint64 * lhs, int32_t rhs);
23 extern vint64 subv64u32(const vint64 * lhs, uint32_t rhs);
/freebsd-12-stable/usr.bin/dtc/
Dinput_buffer.cc543 expression_ptr lhs; member
554 if (lhs->precedence() < new_left->precedence()) in insert_left()
556 new_left->rhs = std::move(lhs); in insert_left()
557 lhs.reset(new_left); in insert_left()
561 static_cast<binary_operator_base*>(lhs.get())->insert_left(new_left); in insert_left()
576 result l = (*lhs)(); in operator ()()
601 lhs->dump(); in dump_impl()
621 expression_ptr lhs; member in dtc::__anon1575d0f00211::ternary_conditional_operator
629 result l = (*lhs)(); in operator ()()
649 lhs->dump(); in dump_impl()
[all …]
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
DSimpleSValBuilder.cpp34 NonLoc lhs, NonLoc rhs, QualType resultTy) override;
36 Loc lhs, Loc rhs, QualType resultTy) override;
38 Loc lhs, NonLoc rhs, QualType resultTy) override;
374 NonLoc lhs, NonLoc rhs, in evalBinOpNN() argument
376 NonLoc InputLHS = lhs; in evalBinOpNN()
380 if (lhs == rhs) in evalBinOpNN()
400 return evalCast(lhs, resultTy, QualType{}); in evalBinOpNN()
404 switch (lhs.getSubKind()) { in evalBinOpNN()
406 return makeSymExprValNN(op, lhs, rhs, resultTy); in evalBinOpNN()
410 auto LPTM = lhs.castAs<nonloc::PointerToMember>(), in evalBinOpNN()
[all …]
/freebsd-12-stable/contrib/llvm-project/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 !=()
/freebsd-12-stable/lib/libc/net/
Dhesiod.c68 char *lhs; /* normally ".ns" */ member
127 if (ctx->lhs)
128 free(ctx->lhs);
147 if (ctx->lhs)
148 free(ctx->lhs);
193 if (ctx->lhs) in hesiod_to_bind()
194 len += strlen(ctx->lhs) + ((ctx->lhs[0] != '.') ? 1 : 0); in hesiod_to_bind()
206 if (ctx->lhs && ctx->lhs[0] != '\0' ) { in hesiod_to_bind()
207 if (ctx->lhs[0] != '.') in hesiod_to_bind()
209 strcat(bindname, ctx->lhs); in hesiod_to_bind()
[all …]
/freebsd-12-stable/contrib/llvm-project/lldb/include/lldb/Symbol/
DLineTable.h242 static int Compare(const Entry &lhs, const Entry &rhs) { in Compare()
249 SCALAR_COMPARE(lhs.file_addr, rhs.file_addr); in Compare()
250 SCALAR_COMPARE(lhs.line, rhs.line); in Compare()
251 SCALAR_COMPARE(lhs.column, rhs.column); in Compare()
252 SCALAR_COMPARE(lhs.is_start_of_statement, rhs.is_start_of_statement); in Compare()
253 SCALAR_COMPARE(lhs.is_start_of_basic_block, rhs.is_start_of_basic_block); in Compare()
255 SCALAR_COMPARE(rhs.is_prologue_end, lhs.is_prologue_end); in Compare()
256 SCALAR_COMPARE(lhs.is_epilogue_begin, rhs.is_epilogue_begin); in Compare()
258 SCALAR_COMPARE(rhs.is_terminal_entry, lhs.is_terminal_entry); in Compare()
259 SCALAR_COMPARE(lhs.file_idx, rhs.file_idx); in Compare()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Mips/
DMipsCondMov.td59 def : MipsPat<(select (i32 (setge CRC:$lhs, CRC:$rhs)), DRC:$T, DRC:$F),
60 (MOVZInst DRC:$T, (SLTOp CRC:$lhs, CRC:$rhs), DRC:$F)>;
61 def : MipsPat<(select (i32 (setuge CRC:$lhs, CRC:$rhs)), DRC:$T, DRC:$F),
62 (MOVZInst DRC:$T, (SLTuOp CRC:$lhs, CRC:$rhs), DRC:$F)>;
63 def : MipsPat<(select (i32 (setge CRC:$lhs, immSExt16:$rhs)), DRC:$T, DRC:$F),
64 (MOVZInst DRC:$T, (SLTiOp CRC:$lhs, immSExt16:$rhs), DRC:$F)>;
67 def : MipsPat<(select (i32 (setle CRC:$lhs, CRC:$rhs)), DRC:$T, DRC:$F),
68 (MOVZInst DRC:$T, (SLTOp CRC:$rhs, CRC:$lhs), DRC:$F)>;
69 def : MipsPat<(select (i32 (setule CRC:$lhs, CRC:$rhs)), DRC:$T, DRC:$F),
70 (MOVZInst DRC:$T, (SLTuOp CRC:$rhs, CRC:$lhs), DRC:$F)>;
[all …]

12345678910>>...14