Home
last modified time | relevance | path

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

12345678910

/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_atomic.h55 type_lhs a = lhs.real(); in __kmp_lhs_div_rhs()
56 type_lhs b = lhs.imag(); in __kmp_lhs_div_rhs()
95 return (lhs + rhs);
100 return (lhs - rhs);
105 return (lhs * rhs);
226 _Quad lhs = (*this).q; member
232 _Quad lhs = (*this).q; member
237 _Quad lhs = (*this).q; member
243 _Quad lhs = (*this).q; member
292 _Quad lhs = (*this).q; member
[all …]
H A Dkmp_atomic.cpp610 return lhs.q + rhs.q; in operator +()
613 return lhs.q - rhs.q; in operator -()
616 return lhs.q * rhs.q; in operator *()
3451 (*f)(lhs, lhs, rhs); in __kmpc_atomic_1()
3498 (*f)(lhs, lhs, rhs); in __kmpc_atomic_2()
3548 (*f)(lhs, lhs, rhs); in __kmpc_atomic_4()
3597 (*f)(lhs, lhs, rhs); in __kmpc_atomic_8()
3619 (*f)(lhs, lhs, rhs); in __kmpc_atomic_10()
3641 (*f)(lhs, lhs, rhs); in __kmpc_atomic_16()
3662 (*f)(lhs, lhs, rhs); in __kmpc_atomic_20()
[all …]
/freebsd/sys/ddb/
H A Ddb_expr.c193 lhs = roundup(lhs, rhs); in db_mult_expr()
221 lhs += rhs; in db_add_expr()
264 lhs = (db_addr_t)lhs >> rhs; in db_shift_expr()
296 lhs = (lhs == rhs); in db_logical_relation_expr()
299 lhs = (lhs != rhs); in db_logical_relation_expr()
302 lhs = (lhs > rhs); in db_logical_relation_expr()
305 lhs = (lhs >= rhs); in db_logical_relation_expr()
308 lhs = (lhs < rhs); in db_logical_relation_expr()
311 lhs = (lhs <= rhs); in db_logical_relation_expr()
340 lhs = (lhs && rhs); in db_logical_and_expr()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyInstrFloat.td93 def : Pat<(seteq f32:$lhs, f32:$rhs), (EQ_F32 f32:$lhs, f32:$rhs)>;
94 def : Pat<(setne f32:$lhs, f32:$rhs), (NE_F32 f32:$lhs, f32:$rhs)>;
95 def : Pat<(setlt f32:$lhs, f32:$rhs), (LT_F32 f32:$lhs, f32:$rhs)>;
96 def : Pat<(setle f32:$lhs, f32:$rhs), (LE_F32 f32:$lhs, f32:$rhs)>;
97 def : Pat<(setgt f32:$lhs, f32:$rhs), (GT_F32 f32:$lhs, f32:$rhs)>;
98 def : Pat<(setge f32:$lhs, f32:$rhs), (GE_F32 f32:$lhs, f32:$rhs)>;
99 def : Pat<(seteq f64:$lhs, f64:$rhs), (EQ_F64 f64:$lhs, f64:$rhs)>;
100 def : Pat<(setne f64:$lhs, f64:$rhs), (NE_F64 f64:$lhs, f64:$rhs)>;
101 def : Pat<(setlt f64:$lhs, f64:$rhs), (LT_F64 f64:$lhs, f64:$rhs)>;
102 def : Pat<(setle f64:$lhs, f64:$rhs), (LE_F64 f64:$lhs, f64:$rhs)>;
[all …]
H A DWebAssemblyInstrInteger.td97 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 DWebAssemblyInstrSIMD.td1060 def add_nuw : PatFrag<(ops node:$lhs, node:$rhs), (add $lhs, $rhs),
1070 (inst $lhs, $rhs)>;
1200 (vselect (setolt $rhs, $lhs), $rhs, $lhs),
1201 (vselect (setole $rhs, $lhs), $rhs, $lhs),
1202 (vselect (setogt $lhs, $rhs), $rhs, $lhs),
1203 (vselect (setoge $lhs, $rhs), $rhs, $lhs)
1209 (vselect (setogt $rhs, $lhs), $rhs, $lhs),
1210 (vselect (setoge $rhs, $lhs), $rhs, $lhs),
1211 (vselect (setolt $lhs, $rhs), $rhs, $lhs),
1212 (vselect (setole $lhs, $rhs), $rhs, $lhs)
[all …]
H A 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)>;
/freebsd/contrib/ntp/libntp/
H A Dvint64ops.c110 const vint64 * lhs, in icmpv64() argument
134 const vint64 * lhs, in ucmpv64() argument
157 const vint64 *lhs, in addv64() argument
166 res = *lhs; in addv64()
176 const vint64 *lhs, in subv64() argument
185 res = *lhs; in subv64()
195 const vint64 * lhs, in addv64i32() argument
201 res = *lhs; in addv64i32()
220 res = *lhs; in subv64i32()
239 res = *lhs; in addv64u32()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A 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 ==()
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 DScalar.cpp69 PromotionKey lhs_key = lhs.GetPromoKey(); in PromoteToMaxType()
73 Promote(rhs, lhs); in PromoteToMaxType()
75 Promote(lhs, rhs); in PromoteToMaxType()
514 Scalar result = lhs; in operator +()
620 Scalar result = lhs; in operator <<()
626 Scalar result = lhs; in operator >>()
819 return lhs.m_type == rhs.m_type; in operator ==()
836 return !(lhs == rhs); in operator !=()
858 return !(rhs < lhs); in operator <=()
862 return rhs < lhs; in operator >()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DScalar.h214 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 …]
/freebsd/contrib/processor-trace/libipt/test/src/
H A Dptunit-asid.c267 pt_asid_init(&lhs); in match_default()
273 lhs.cr3 = 0x2300ull; in match_default()
290 pt_asid_init(&lhs); in match_default_mixed()
296 lhs.cr3 = 0x2300ull; in match_default_mixed()
313 pt_asid_init(&lhs); in match_cr3()
316 lhs.cr3 = 0x2300ull; in match_cr3()
330 pt_asid_init(&lhs); in match_vmcs()
347 pt_asid_init(&lhs); in match()
350 lhs.cr3 = 0x2300ull; in match()
366 pt_asid_init(&lhs); in match_cr3_false()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Target/
H A 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/contrib/ntp/include/
H A 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/usr.bin/dtc/
H A Dinput_buffer.cc544 expression_ptr lhs; member
602 lhs->dump(); in dump_impl()
622 expression_ptr lhs; member in dtc::__anon452f2ba00211::ternary_conditional_operator
650 lhs->dump(); in dump_impl()
669 return lhs << rhs; in operator ()()
677 return lhs >> rhs; in operator ()()
727 return lhs; in parse_binary_expression()
783 return lhs; in parse_binary_expression()
851 expr->lhs = std::move(lhs); in parse_binary_expression()
899 return lhs; in parse_expression()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/
H A DUniqueCStringMap.h177 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 …]
/freebsd/contrib/llvm-project/lldb/source/Symbol/
H A 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 !=()
H A DCompilerDeclContext.cpp69 bool lldb_private::operator==(const lldb_private::CompilerDeclContext &lhs, in operator ==() argument
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, in operator !=() argument
77 return lhs.GetTypeSystem() != rhs.GetTypeSystem() || in operator !=()
78 lhs.GetOpaqueDeclContext() != rhs.GetOpaqueDeclContext(); in operator !=()
/freebsd/lib/libc/net/
H A Dhesiod.c113 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()
271 if (ctx->lhs && ctx->rhs) in read_config_file()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_range.h26 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 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()
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 …]
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A 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()
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DSourceLocationSpec.cpp47 int SourceLocationSpec::Compare(const SourceLocationSpec &lhs, in Compare() argument
49 return Declaration::Compare(lhs.m_declaration, rhs.m_declaration); in Compare()
52 bool SourceLocationSpec::Equal(const SourceLocationSpec &lhs, in Equal() argument
54 return full ? lhs == rhs in Equal()
55 : (lhs.GetFileSpec() == rhs.GetFileSpec() && in Equal()
56 lhs.GetLine() == rhs.GetLine()); in Equal()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSimpleSValBuilder.cpp425 NonLoc InputLHS = lhs; in evalBinOpNN()
438 if (lhs == rhs) in evalBinOpNN()
462 switch (lhs.getKind()) { in evalBinOpNN()
583 std::swap(lhs, rhs); in evalBinOpNN()
811 if (lhs == rhs) { in evalBinOpLL()
828 switch (lhs.getKind()) { in evalBinOpLL()
887 if (lhs.isZeroConstant()) { in evalBinOpLL()
1088 SVal Result = lhs; in evalBinOpLN()
1113 return lhs; in evalBinOpLN()
1116 if (lhs.isZeroConstant()) in evalBinOpLN()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsCondMov.td60 (MOVZInst DRC:$T, (SLTOp CRC:$lhs, CRC:$rhs), DRC:$F)>;
62 (MOVZInst DRC:$T, (SLTuOp CRC:$lhs, CRC:$rhs), DRC:$F)>;
68 (MOVZInst DRC:$T, (SLTOp CRC:$rhs, CRC:$lhs), DRC:$F)>;
71 def : MipsPat<(select (i32 (setgt CRC:$lhs, immSExt16Plus1:$rhs)),
74 def : MipsPat<(select (i32 (setugt CRC:$lhs, immSExt16Plus1:$rhs)),
76 (MOVZInst DRC:$T, (SLTiuOp CRC:$lhs, (Plus1 imm:$rhs)),
83 (MOVZInst DRC:$T, (XOROp CRC:$lhs, CRC:$rhs), DRC:$F)>;
84 def : MipsPat<(select (i32 (seteq CRC:$lhs, 0)), DRC:$T, DRC:$F),
85 (MOVZInst DRC:$T, CRC:$lhs, DRC:$F)>;
101 def : MipsPat<(select (i32 (setne CRC:$lhs, 0)),DRC:$T, DRC:$F),
[all …]

12345678910