| /freebsd/contrib/llvm-project/openmp/runtime/src/ |
| H A D | kmp_atomic.h | 53 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 …]
|
| H A D | kmp_atomic.cpp | 609 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/sys/ddb/ |
| H A D | db_expr.c | 160 db_expr_t lhs, rhs; in db_mult_expr() local 163 if (!db_unary(&lhs)) in db_mult_expr() 178 lhs *= rhs; in db_mult_expr() 181 lhs &= rhs; in db_mult_expr() 189 lhs /= rhs; in db_mult_expr() 191 lhs %= rhs; in db_mult_expr() 193 lhs = roundup(lhs, rhs); in db_mult_expr() 198 *valuep = lhs; in db_mult_expr() 205 db_expr_t lhs, rhs; in db_add_expr() local 208 if (!db_mult_expr(&lhs)) in db_add_expr() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyInstrFloat.td | 27 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 …]
|
| H A D | WebAssemblyInstrInteger.td | 27 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 …]
|
| H A D | WebAssemblyInstrSIMD.td | 745 SIMD_I<(outs V128:$dst), (ins V128:$lhs, V128:$rhs), (outs), (ins), 747 (setcc (vec.vt V128:$lhs), (vec.vt V128:$rhs), cond))], 748 vec.prefix#"."#name#"\t$dst, $lhs, $rhs", 812 def : Pat<(v4i32 (nodes[0] (v4f32 V128:$lhs), (v4f32 V128:$rhs))), 813 (nodes[1] $lhs, $rhs)>; 817 def : Pat<(v2i64 (nodes[0] (v2f64 V128:$lhs), (v2f64 V128:$rhs))), 818 (nodes[1] $lhs, $rhs)>; 826 defm _#vec : SIMD_I<(outs V128:$dst), (ins V128:$lhs, V128:$rhs), 829 (node (vec.vt V128:$lhs), (vec.vt V128:$rhs)))], 830 vec.prefix#"."#name#"\t$dst, $lhs, $rhs", [all …]
|
| /freebsd/contrib/ntp/libntp/ |
| H A D | vint64ops.c | 111 const vint64 * lhs, in icmpv64() 118 res = (lhs->q_s > rhs->q_s) in icmpv64() 119 - (lhs->q_s < rhs->q_s); in icmpv64() 121 res = (lhs->d_s.hi > rhs->d_s.hi) in icmpv64() 122 - (lhs->d_s.hi < rhs->d_s.hi); in icmpv64() 124 res = (lhs->D_s.lo > rhs->D_s.lo) in icmpv64() 125 - (lhs->D_s.lo < rhs->D_s.lo); in icmpv64() 135 const vint64 * lhs, in ucmpv64() 142 res = (lhs->Q_s > rhs->Q_s) in ucmpv64() 143 - (lhs in ucmpv64() 110 icmpv64(const vint64 * lhs,const vint64 * rhs) icmpv64() argument 134 ucmpv64(const vint64 * lhs,const vint64 * rhs) ucmpv64() argument 157 addv64(const vint64 * lhs,const vint64 * rhs) addv64() argument 176 subv64(const vint64 * lhs,const vint64 * rhs) subv64() argument 195 addv64i32(const vint64 * lhs,int32_t rhs) addv64i32() argument 214 subv64i32(const vint64 * lhs,int32_t rhs) subv64i32() argument 233 addv64u32(const vint64 * lhs,uint32_t rhs) addv64u32() argument 252 subv64u32(const vint64 * lhs,uint32_t rhs) subv64u32() argument [all...] |
| /freebsd/contrib/llvm-project/lldb/include/lldb/Utility/ |
| H A D | Scalar.h | 205 static Type PromoteToMaxType(Scalar &lhs, Scalar &rhs); 213 friend llvm::APFloat::cmpResult compare(Scalar lhs, Scalar rhs); 214 friend const Scalar operator+(const Scalar &lhs, const Scalar &rhs); 215 friend const Scalar operator-(Scalar lhs, Scalar rhs); 216 friend const Scalar operator/(Scalar lhs, Scalar rhs); 217 friend const Scalar operator*(Scalar lhs, Scalar rhs); 218 friend const Scalar operator&(Scalar lhs, Scalar rhs); 219 friend const Scalar operator|(Scalar lhs, Scalar rhs); 220 friend const Scalar operator%(Scalar lhs, Scalar rhs); 221 friend const Scalar operator^(Scalar lhs, Scalar rhs); [all …]
|
| /freebsd/contrib/llvm-project/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 ==() 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 …]
|
| H A D | Scalar.cpp | 56 Scalar::Type Scalar::PromoteToMaxType(Scalar &lhs, Scalar &rhs) { in PromoteToMaxType() argument 69 PromotionKey lhs_key = lhs.GetPromoKey(); in PromoteToMaxType() 73 Promote(rhs, lhs); in PromoteToMaxType() 75 Promote(lhs, rhs); in PromoteToMaxType() 78 if (lhs.GetPromoKey() == rhs.GetPromoKey()) in PromoteToMaxType() 79 return lhs.GetType(); // Return the resulting type in PromoteToMaxType() 513 const Scalar lldb_private::operator+(const Scalar &lhs, const Scalar &rhs) { in operator +() argument 514 Scalar result = lhs; in operator +() 519 const Scalar lldb_private::operator-(Scalar lhs, Scalar rhs) { in operator -() argument 521 if ((result.m_type = Scalar::PromoteToMaxType(lhs, rhs)) != Scalar::e_void) { in operator -() [all …]
|
| /freebsd/contrib/processor-trace/libipt/test/src/ |
| H A D | ptunit-asid.c | 264 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/contrib/llvm-project/clang/lib/CIR/Lowering/ |
| H A D | LoweringHelpers.cpp | 159 mlir::Value createShL(mlir::OpBuilder &bld, mlir::Value lhs, unsigned rhs) { in createShL() argument 161 return lhs; in createShL() 162 mlir::Value rhsVal = getConst(bld, lhs.getLoc(), lhs.getType(), rhs); in createShL() 163 return bld.create<mlir::LLVM::ShlOp>(lhs.getLoc(), lhs, rhsVal); in createShL() 166 mlir::Value createAShR(mlir::OpBuilder &bld, mlir::Value lhs, unsigned rhs) { in createAShR() argument 168 return lhs; in createAShR() 169 mlir::Value rhsVal = getConst(bld, lhs.getLoc(), lhs.getType(), rhs); in createAShR() 170 return bld.create<mlir::LLVM::AShrOp>(lhs.getLoc(), lhs, rhsVal); in createAShR() 173 mlir::Value createAnd(mlir::OpBuilder &bld, mlir::Value lhs, in createAnd() argument 175 mlir::Value rhsVal = getConstAPInt(bld, lhs.getLoc(), lhs.getType(), rhs); in createAnd() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/CIR/Dialect/Builder/ |
| H A D | CIRBaseBuilder.h | 311 mlir::Value createBinop(mlir::Location loc, mlir::Value lhs, in createBinop() argument 313 return create<cir::BinOp>(loc, lhs.getType(), kind, lhs, rhs); in createBinop() 323 mlir::Value createAnd(mlir::Location loc, mlir::Value lhs, mlir::Value rhs) { in createAnd() argument 324 return createBinop(loc, lhs, cir::BinOpKind::And, rhs); in createAnd() 327 mlir::Value createOr(mlir::Location loc, mlir::Value lhs, mlir::Value rhs) { in createOr() argument 328 return createBinop(loc, lhs, cir::BinOpKind::Or, rhs); in createOr() 339 mlir::Value createLogicalAnd(mlir::Location loc, mlir::Value lhs, in createLogicalAnd() argument 341 return createSelect(loc, lhs, rhs, getBool(false, loc)); in createLogicalAnd() 344 mlir::Value createLogicalOr(mlir::Location loc, mlir::Value lhs, in createLogicalOr() argument 346 return createSelect(loc, lhs, getBool(true, loc), rhs); in createLogicalOr() [all …]
|
| /freebsd/contrib/llvm-project/libc/src/__support/CPP/ |
| H A D | iterator.h | 45 LIBC_INLINE friend constexpr bool operator==(const reverse_iterator &lhs, 47 return lhs.base() == rhs.base(); 50 LIBC_INLINE friend constexpr bool operator!=(const reverse_iterator &lhs, 52 return lhs.base() != rhs.base(); 55 LIBC_INLINE friend constexpr bool operator<(const reverse_iterator &lhs, 57 return lhs.base() > rhs.base(); 60 LIBC_INLINE friend constexpr bool operator<=(const reverse_iterator &lhs, 62 return lhs.base() >= rhs.base(); 65 LIBC_INLINE friend constexpr bool operator>(const reverse_iterator &lhs, 67 return lhs.base() < rhs.base(); [all …]
|
| H A D | string.h | 170 LIBC_INLINE bool operator==(const string &lhs, const string &rhs) { 171 return string_view(lhs) == string_view(rhs); 173 LIBC_INLINE bool operator!=(const string &lhs, const string &rhs) { 174 return string_view(lhs) != string_view(rhs); 176 LIBC_INLINE bool operator<(const string &lhs, const string &rhs) { 177 return string_view(lhs) < string_view(rhs); 179 LIBC_INLINE bool operator<=(const string &lhs, const string &rhs) { 180 return string_view(lhs) <= string_view(rhs); 182 LIBC_INLINE bool operator>(const string &lhs, const string &rhs) { 183 return string_view(lhs) > string_view(rhs); [all …]
|
| /freebsd/contrib/llvm-project/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 …]
|
| /freebsd/contrib/ntp/include/ |
| H A D | vint64ops.h | 12 /* signed/unsigned compare. returns 1/0/-1 if lhs >/=/< rhs */ 13 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/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVInstrInfoSFB.td | 18 (ins GPR:$lhs, GPR:$rhs, cond_code:$cc, 21 (riscv_selectcc_frag:$cc (XLenVT GPR:$lhs), 37 (ins GPR:$lhs, GPR:$rhs, cond_code:$cc, 40 (riscv_selectcc_frag:$cc (XLenVT GPR:$lhs), 54 (ins GPR:$lhs, GPR:$rhs, cond_code:$cc, 59 (ins GPR:$lhs, GPR:$rhs, cond_code:$cc, 64 (ins GPR:$lhs, GPR:$rhs, cond_code:$cc, 69 (ins GPR:$lhs, GPR:$rhs, cond_code:$cc, 74 (ins GPR:$lhs, GPR:$rhs, cond_code:$cc, 79 (ins GPR:$lhs, GPR:$rhs, cond_code:$cc, [all …]
|
| /freebsd/usr.bin/dtc/ |
| H A D | input_buffer.cc | 585 expression_ptr lhs; member 596 if (lhs->precedence() < new_left->precedence()) in insert_left() 598 new_left->rhs = std::move(lhs); in insert_left() 599 lhs.reset(new_left); in insert_left() 603 static_cast<binary_operator_base*>(lhs.get())->insert_left(new_left); in insert_left() 618 result l = (*lhs)(); in operator ()() 643 lhs->dump(); in dump_impl() 663 expression_ptr lhs; member in dtc::__anon3998a5d80211::ternary_conditional_operator 671 result l = (*lhs)(); in operator ()() 691 lhs->dump(); in dump_impl() [all …]
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Core/ |
| H A D | UniqueCStringMap.h | 176 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 …]
|
| /freebsd/lib/libc/net/ |
| H A D | hesiod.c | 61 char *lhs; /* normally ".ns" */ member 113 if (ctx->lhs) in hesiod_init() 114 free(ctx->lhs); in hesiod_init() 132 if (ctx->lhs) in hesiod_end() 133 free(ctx->lhs); in hesiod_end() 178 if (ctx->lhs) in hesiod_to_bind() 179 len += strlen(ctx->lhs) + ((ctx->lhs[0] != '.') ? 1 : 0); in hesiod_to_bind() 191 if (ctx->lhs && ctx->lhs[0] != '\0' ) { in hesiod_to_bind() 192 if (ctx->lhs[0] != '.') in hesiod_to_bind() 194 strcat(bindname, ctx->lhs); in hesiod_to_bind() [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Symbol/ |
| H A D | CompilerDecl.cpp | 44 bool lldb_private::operator==(const lldb_private::CompilerDecl &lhs, in operator ==() argument 46 return lhs.GetTypeSystem() == rhs.GetTypeSystem() && in operator ==() 47 lhs.GetOpaqueDecl() == rhs.GetOpaqueDecl(); in operator ==() 50 bool lldb_private::operator!=(const lldb_private::CompilerDecl &lhs, in operator !=() argument 52 return lhs.GetTypeSystem() != rhs.GetTypeSystem() || in operator !=() 53 lhs.GetOpaqueDecl() != rhs.GetOpaqueDecl(); in operator !=()
|
| H A D | CompilerDeclContext.cpp | 69 bool lldb_private::operator==(const lldb_private::CompilerDeclContext &lhs, in operator !=() 71 return lhs.GetTypeSystem() == rhs.GetTypeSystem() && in operator !=() 72 lhs.GetOpaqueDeclContext() == rhs.GetOpaqueDeclContext(); in operator !=() 75 bool lldb_private::operator!=(const lldb_private::CompilerDeclContext &lhs, 77 return lhs.GetTypeSystem() != rhs.GetTypeSystem() || 78 lhs.GetOpaqueDeclContext() != rhs.GetOpaqueDeclContext(); 62 operator ==(const lldb_private::CompilerDeclContext & lhs,const lldb_private::CompilerDeclContext & rhs) operator ==() argument 68 operator !=(const lldb_private::CompilerDeclContext & lhs,const lldb_private::CompilerDeclContext & rhs) operator !=() argument
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_range.h | 26 inline bool operator==(const Range &lhs, const Range &rhs) { 27 return lhs.begin == rhs.begin && lhs.end == rhs.end; 30 inline bool operator!=(const Range &lhs, const Range &rhs) { 31 return !(lhs == rhs);
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Symbol/ |
| H A D | LineTable.h | 237 static int Compare(const Entry &lhs, const Entry &rhs) { in Compare() 244 SCALAR_COMPARE(lhs.file_addr, rhs.file_addr); in Compare() 245 SCALAR_COMPARE(lhs.line, rhs.line); in Compare() 246 SCALAR_COMPARE(lhs.column, rhs.column); in Compare() 247 SCALAR_COMPARE(lhs.is_start_of_statement, rhs.is_start_of_statement); in Compare() 248 SCALAR_COMPARE(lhs.is_start_of_basic_block, rhs.is_start_of_basic_block); in Compare() 250 SCALAR_COMPARE(rhs.is_prologue_end, lhs.is_prologue_end); in Compare() 251 SCALAR_COMPARE(lhs.is_epilogue_begin, rhs.is_epilogue_begin); in Compare() 253 SCALAR_COMPARE(rhs.is_terminal_entry, lhs.is_terminal_entry); in Compare() 254 SCALAR_COMPARE(lhs.file_idx, rhs.file_idx); in Compare() [all …]
|