/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 | 726 SIMD_I<(outs V128:$dst), (ins V128:$lhs, V128:$rhs), (outs), (ins), 728 (setcc (vec.vt V128:$lhs), (vec.vt V128:$rhs), cond))], 729 vec.prefix#"."#name#"\t$dst, $lhs, $rhs", 793 def : Pat<(v4i32 (nodes[0] (v4f32 V128:$lhs), (v4f32 V128:$rhs))), 794 (nodes[1] $lhs, $rhs)>; 798 def : Pat<(v2i64 (nodes[0] (v2f64 V128:$lhs), (v2f64 V128:$rhs))), 799 (nodes[1] $lhs, $rhs)>; 807 defm _#vec : SIMD_I<(outs V128:$dst), (ins V128:$lhs, V128:$rhs), 810 (node (vec.vt V128:$lhs), (vec.vt V128:$rhs)))], 811 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/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/llvm-project/lldb/include/lldb/Utility/ |
H A D | Scalar.h | 205 static Type PromoteToMaxType(Scalar &lhs, Scalar &rhs); 213 friend const Scalar operator+(const Scalar &lhs, const Scalar &rhs); 214 friend const Scalar operator-(Scalar lhs, 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<<(const Scalar &lhs, const Scalar &rhs); [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/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, ixlenimm:$cc, 21 (riscv_selectcc_frag:$cc (XLenVT GPR:$lhs), 37 (ins GPR:$lhs, GPR:$rhs, ixlenimm:$cc, 40 (riscv_selectcc_frag:$cc (XLenVT GPR:$lhs), 54 (ins GPR:$lhs, GPR:$rhs, ixlenimm:$cc, 59 (ins GPR:$lhs, GPR:$rhs, ixlenimm:$cc, 64 (ins GPR:$lhs, GPR:$rhs, ixlenimm:$cc, 69 (ins GPR:$lhs, GPR:$rhs, ixlenimm:$cc, 74 (ins GPR:$lhs, GPR:$rhs, ixlenimm:$cc, 79 (ins GPR:$lhs, GPR:$rhs, ixlenimm:$cc, [all …]
|
/freebsd/usr.bin/dtc/ |
H A D | input_buffer.cc | 544 expression_ptr lhs; member 555 if (lhs->precedence() < new_left->precedence()) in insert_left() 557 new_left->rhs = std::move(lhs); in insert_left() 558 lhs.reset(new_left); in insert_left() 562 static_cast<binary_operator_base*>(lhs.get())->insert_left(new_left); in insert_left() 577 result l = (*lhs)(); in operator ()() 602 lhs->dump(); in dump_impl() 622 expression_ptr lhs; member in dtc::__anon3998a5d80211::ternary_conditional_operator 630 result l = (*lhs)(); in operator ()() 650 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 | 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
|
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 !=()
|
/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 | 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() 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 …]
|
/freebsd/contrib/llvm-project/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()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsCondMov.td | 59 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 …]
|
/freebsd/contrib/llvm-project/clang/utils/TableGen/ |
H A D | ASTTableGen.h | 120 friend bool operator<(WrappedRecord lhs, WrappedRecord rhs) { 121 assert(lhs && rhs && "sorting null nodes"); 122 return lhs.get()->getName() < rhs.get()->getName(); 124 friend bool operator>(WrappedRecord lhs, WrappedRecord rhs) { 125 return rhs < lhs; 127 friend bool operator<=(WrappedRecord lhs, WrappedRecord rhs) { 128 return !(rhs < lhs); 130 friend bool operator>=(WrappedRecord lhs, WrappedRecord rhs) { 131 return !(lhs < rhs); 133 friend bool operator==(WrappedRecord lhs, WrappedRecord rhs) { [all …]
|
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_aggregate.c | 73 dt_aggregate_countcmp(int64_t *lhs, int64_t *rhs) in dt_aggregate_countcmp() argument 75 int64_t lvar = *lhs; in dt_aggregate_countcmp() 104 dt_aggregate_averagecmp(int64_t *lhs, int64_t *rhs) in dt_aggregate_averagecmp() argument 106 int64_t lavg = lhs[0] ? (lhs[1] / lhs[0]) : 0; in dt_aggregate_averagecmp() 119 dt_aggregate_stddevcmp(int64_t *lhs, int64_t *rhs) in dt_aggregate_stddevcmp() argument 121 uint64_t lsd = dt_stddev((uint64_t *)lhs, 1); in dt_aggregate_stddevcmp() 186 dt_aggregate_lquantizedcmp(int64_t *lhs, int64_t *rhs) in dt_aggregate_lquantizedcmp() argument 188 long double lsum = dt_aggregate_lquantizedsum(lhs); in dt_aggregate_lquantizedcmp() 204 lzero = dt_aggregate_lquantizedzero(lhs); in dt_aggregate_lquantizedcmp() 264 dt_aggregate_llquantizedcmp(int64_t *lhs, int64_t *rhs) in dt_aggregate_llquantizedcmp() argument [all …]
|