Home
last modified time | relevance | path

Searched refs:rhs (Results 1 – 25 of 1229) sorted by relevance

12345678910>>...50

/third_party/skia/third_party/externals/swiftshader/src/Reactor/
DReactor.cpp98 std::sort(sorted.begin(), sorted.end(), [&](auto &lhs, auto &rhs) { in materializeAll() argument
99 return lhs.second < rhs.second; in materializeAll()
212 static Value *createShuffle4(Value *lhs, Value *rhs, uint16_t select) in createShuffle4() argument
221 return Nucleus::createShuffleVector(lhs, rhs, swizzle); in createShuffle4()
250 static Value *createMask4(Value *lhs, Value *rhs, uint16_t select) in createMask4() argument
266 return Nucleus::createShuffleVector(lhs, rhs, swizzle); in createMask4()
279 Bool::Bool(RValue<Bool> rhs) in Bool() argument
281 store(rhs); in Bool()
284 Bool::Bool(const Bool &rhs) in Bool() argument
286 store(rhs.load()); in Bool()
[all …]
DReactor.hpp219 RValue<T> operator=(RValue<T> rhs) const;
222 RValue<T> operator+=(RValue<T> rhs) const;
297 RValue(const Reference<T> &rhs);
329 Bool(RValue<Bool> rhs);
330 Bool(const Bool &rhs);
331 Bool(const Reference<Bool> &rhs);
334 RValue<Bool> operator=(RValue<Bool> rhs);
335 RValue<Bool> operator=(const Bool &rhs);
336 RValue<Bool> operator=(const Reference<Bool> &rhs);
342 RValue<Bool> operator&&(RValue<Bool> lhs, RValue<Bool> rhs);
[all …]
/third_party/skia/third_party/externals/swiftshader/include/vulkan/
Dvulkan_structs.hpp36 …VULKAN_HPP_CONSTEXPR AabbPositionsKHR( AabbPositionsKHR const & rhs ) VULKAN_HPP_NOEXCEPT = defaul…
38 AabbPositionsKHR( VkAabbPositionsKHR const & rhs ) VULKAN_HPP_NOEXCEPT in AabbPositionsKHR()
39 : AabbPositionsKHR( *reinterpret_cast<AabbPositionsKHR const *>( &rhs ) ) in AabbPositionsKHR()
43 AabbPositionsKHR & operator=( AabbPositionsKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default;
45 AabbPositionsKHR & operator=( VkAabbPositionsKHR const & rhs ) VULKAN_HPP_NOEXCEPT in operator =()
47 *this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::AabbPositionsKHR const *>( &rhs ); in operator =()
102 bool operator==( AabbPositionsKHR const & rhs ) const VULKAN_HPP_NOEXCEPT in operator ==()
104 …return ( minX == rhs.minX ) && ( minY == rhs.minY ) && ( minZ == rhs.minZ ) && ( maxX == rhs.maxX … in operator ==()
105 ( maxY == rhs.maxY ) && ( maxZ == rhs.maxZ ); in operator ==()
108 bool operator!=( AabbPositionsKHR const & rhs ) const VULKAN_HPP_NOEXCEPT in operator !=()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupsScanHelpers.cpp59 string getOpOperation (Operator op, VkFormat format, string lhs, string rhs) in getOpOperation() argument
67 return lhs + " + " + rhs; in getOpOperation()
69 return lhs + " * " + rhs; in getOpOperation()
74 return "min(" + lhs + ", " + rhs + ")"; in getOpOperation()
78 …return "(isnan(" + lhs + ") ? " + rhs + " : (isnan(" + rhs + ") ? " + lhs + " : min(" + lhs + ", "… in getOpOperation()
88 …return "mix(mix(min(" + lhs + ", " + rhs + "), " + lhs + ", isnan(" + rhs + ")), " + rhs + ", isna… in getOpOperation()
94 return "max(" + lhs + ", " + rhs + ")"; in getOpOperation()
98 …return "(isnan(" + lhs + ") ? " + rhs + " : (isnan(" + rhs + ") ? " + lhs + " : max(" + lhs + ", "… in getOpOperation()
108 …return "mix(mix(max(" + lhs + ", " + rhs + "), " + lhs + ", isnan(" + rhs + ")), " + rhs + ", isna… in getOpOperation()
114 return lhs + " & " + rhs; in getOpOperation()
[all …]
/third_party/vulkan-headers/include/vulkan/
Dvulkan_structs.hpp35 …VULKAN_HPP_CONSTEXPR AabbPositionsKHR( AabbPositionsKHR const & rhs ) VULKAN_HPP_NOEXCEPT = defaul…
37 …( VkAabbPositionsKHR const & rhs ) VULKAN_HPP_NOEXCEPT : AabbPositionsKHR( *reinterpret_cast<AabbP… in AabbPositionsKHR()
39 AabbPositionsKHR & operator=( AabbPositionsKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default;
42 AabbPositionsKHR & operator=( VkAabbPositionsKHR const & rhs ) VULKAN_HPP_NOEXCEPT in operator =()
44 *this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::AabbPositionsKHR const *>( &rhs ); in operator =()
111 bool operator==( AabbPositionsKHR const & rhs ) const VULKAN_HPP_NOEXCEPT in operator ==()
114 return this->reflect() == rhs.reflect(); in operator ==()
116 …turn ( minX == rhs.minX ) && ( minY == rhs.minY ) && ( minZ == rhs.minZ ) && ( maxX == rhs.maxX ) … in operator ==()
120 bool operator!=( AabbPositionsKHR const & rhs ) const VULKAN_HPP_NOEXCEPT in operator !=()
122 return !operator==( rhs ); in operator !=()
[all …]
/third_party/skia/third_party/externals/d3d12allocator/src/
DCommon.h97 vec2 operator+(const vec2& rhs) const { return vec2(x + rhs.x, y + rhs.y); }
98 vec2 operator-(const vec2& rhs) const { return vec2(x - rhs.x, y - rhs.y); }
117 vec3 operator+(const vec3& rhs) const { return vec3(x + rhs.x, y + rhs.y, z + rhs.z); }
118 vec3 operator-(const vec3& rhs) const { return vec3(x - rhs.x, y - rhs.y, z - rhs.z); }
127 inline float Dot(const vec3& lhs, const vec3& rhs) in Dot() argument
129 return lhs.x * rhs.x + lhs.y * rhs.y + lhs.z * rhs.z; in Dot()
131 inline vec3 Cross(const vec3& lhs, const vec3& rhs) in Cross() argument
134 lhs.y * rhs.z - lhs.z * rhs.y, in Cross()
135 lhs.z * rhs.x - lhs.x * rhs.z, in Cross()
136 lhs.x * rhs.y - lhs.y * rhs.x); in Cross()
[all …]
/third_party/node/deps/v8/src/base/
Dbits.cc49 int32_t SignedMulHigh32(int32_t lhs, int32_t rhs) { in SignedMulHigh32() argument
50 int64_t const value = static_cast<int64_t>(lhs) * static_cast<int64_t>(rhs); in SignedMulHigh32()
55 int32_t SignedMulHighAndAdd32(int32_t lhs, int32_t rhs, int32_t acc) { in SignedMulHighAndAdd32() argument
57 bit_cast<uint32_t>(SignedMulHigh32(lhs, rhs))); in SignedMulHighAndAdd32()
61 int32_t SignedDiv32(int32_t lhs, int32_t rhs) { in SignedDiv32() argument
62 if (rhs == 0) return 0; in SignedDiv32()
63 if (rhs == -1) return lhs == std::numeric_limits<int32_t>::min() ? lhs : -lhs; in SignedDiv32()
64 return lhs / rhs; in SignedDiv32()
68 int32_t SignedMod32(int32_t lhs, int32_t rhs) { in SignedMod32() argument
69 if (rhs == 0 || rhs == -1) return 0; in SignedMod32()
[all …]
Dlogging.h98 #define CHECK_OP(name, op, lhs, rhs) \ argument
102 typename ::v8::base::pass_value_or_ref<decltype(rhs)>::type>( \
103 (lhs), (rhs), #lhs " " #op " " #rhs)) { \
109 #define DCHECK_OP(name, op, lhs, rhs) \ argument
113 typename ::v8::base::pass_value_or_ref<decltype(rhs)>::type>( \
114 (lhs), (rhs), #lhs " " #op " " #rhs)) { \
125 #define CHECK_OP(name, op, lhs, rhs) \ argument
129 typename ::v8::base::pass_value_or_ref<decltype(rhs)>::type>((lhs), \
130 (rhs)); \
131 CHECK_WITH_MSG(_cmp, #lhs " " #op " " #rhs); \
[all …]
/third_party/node/deps/v8/src/compiler/
Doperation-typer.cc589 Type OperationTyper::NumberAdd(Type lhs, Type rhs) { in NumberAdd() argument
591 DCHECK(rhs.Is(Type::Number())); in NumberAdd()
593 if (lhs.IsNone() || rhs.IsNone()) return Type::None(); in NumberAdd()
597 bool maybe_nan = lhs.Maybe(Type::NaN()) || rhs.Maybe(Type::NaN()); in NumberAdd()
606 if (rhs.Maybe(Type::MinusZero())) { in NumberAdd()
607 rhs = Type::Union(rhs, cache_->kSingletonZero, zone()); in NumberAdd()
615 rhs = Type::Intersect(rhs, Type::PlainNumber(), zone()); in NumberAdd()
616 if (!lhs.IsNone() && !rhs.IsNone()) { in NumberAdd()
617 if (lhs.Is(cache_->kInteger) && rhs.Is(cache_->kInteger)) { in NumberAdd()
618 type = AddRanger(lhs.Min(), lhs.Max(), rhs.Min(), rhs.Max()); in NumberAdd()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/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 …]
/third_party/skia/third_party/externals/abseil-cpp/absl/types/
Dvariant_exception_safety_test.cc210 const ThrowingVariant rhs = ValuelessByException(); in TEST() local
212 EXPECT_TRUE(TestNothrowOp([&]() { lhs = rhs; })); in TEST()
216 const ThrowingVariant rhs = ValuelessByException(); in TEST() local
218 EXPECT_TRUE(TestNothrowOp([&]() { lhs = rhs; })); in TEST()
222 const ThrowingVariant rhs(ExpectedThrower()); in TEST() local
226 .WithOperation([&rhs](ThrowingVariant* lhs) { *lhs = rhs; }); in TEST()
231 const ThrowingVariant rhs(ExpectedThrowerVec()); in TEST() local
235 .WithOperation([&rhs](ThrowingVariant* lhs) { *lhs = rhs; }); in TEST()
250 const ThrowingVariant rhs(CopyNothrow{}); in TEST() local
252 EXPECT_TRUE(TestNothrowOp([&]() { lhs = rhs; })); in TEST()
[all …]
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dscalar_analysis.h159 const std::unique_ptr<SENode>& rhs) const { in operator()
160 return *lhs == *rhs; in operator()
190 inline SExpression operator+(SENode* rhs) const;
194 inline SExpression operator+(SExpression rhs) const;
197 inline SExpression operator-(SENode* rhs) const;
201 inline SExpression operator-(SExpression rhs) const;
203 inline SExpression operator*(SENode* rhs) const;
207 inline SExpression operator*(SExpression rhs) const;
215 std::pair<SExpression, int64_t> operator/(SExpression rhs) const;
222 inline SExpression SExpression::operator+(SENode* rhs) const {
[all …]
/third_party/spirv-tools/source/opt/
Dscalar_analysis.h159 const std::unique_ptr<SENode>& rhs) const { in operator()
160 return *lhs == *rhs; in operator()
190 inline SExpression operator+(SENode* rhs) const;
194 inline SExpression operator+(SExpression rhs) const;
197 inline SExpression operator-(SENode* rhs) const;
201 inline SExpression operator-(SExpression rhs) const;
203 inline SExpression operator*(SENode* rhs) const;
207 inline SExpression operator*(SExpression rhs) const;
215 std::pair<SExpression, int64_t> operator/(SExpression rhs) const;
222 inline SExpression SExpression::operator+(SENode* rhs) const {
[all …]
Ddef_use_manager.h40 inline bool operator==(const Use& lhs, const Use& rhs) {
41 return lhs.inst == rhs.inst && lhs.operand_index == rhs.operand_index;
44 inline bool operator!=(const Use& lhs, const Use& rhs) { return !(lhs == rhs); }
46 inline bool operator<(const Use& lhs, const Use& rhs) {
47 if (lhs.inst < rhs.inst) return true;
48 if (lhs.inst > rhs.inst) return false;
49 return lhs.operand_index < rhs.operand_index;
60 inline bool operator==(const UserEntry& lhs, const UserEntry& rhs) {
61 return lhs.def == rhs.def && lhs.user == rhs.user;
74 bool operator()(const UserEntry& lhs, const UserEntry& rhs) const { in operator()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dscalar_analysis.h159 const std::unique_ptr<SENode>& rhs) const { in operator()
160 return *lhs == *rhs; in operator()
190 inline SExpression operator+(SENode* rhs) const;
194 inline SExpression operator+(SExpression rhs) const;
197 inline SExpression operator-(SENode* rhs) const;
201 inline SExpression operator-(SExpression rhs) const;
203 inline SExpression operator*(SENode* rhs) const;
207 inline SExpression operator*(SExpression rhs) const;
215 std::pair<SExpression, int64_t> operator/(SExpression rhs) const;
222 inline SExpression SExpression::operator+(SENode* rhs) const {
[all …]
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-bimap.hh58 void set (hb_codepoint_t lhs, hb_codepoint_t rhs) in set()
62 if (unlikely (rhs == HB_MAP_VALUE_INVALID)) { del (lhs); return; } in set()
64 forw_map.set (lhs, rhs); in set()
67 back_map.set (rhs, lhs); in set()
72 hb_codepoint_t backward (hb_codepoint_t rhs) const { return back_map.get (rhs); } in backward()
106 hb_codepoint_t rhs = forw_map[lhs]; in add() local
107 if (rhs == HB_MAP_VALUE_INVALID) in add()
109 rhs = next_value++; in add()
110 set (lhs, rhs); in add()
112 return rhs; in add()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/common/subgroups/
DglcSubgroupsClusteredTests.cpp90 std::string getOpTypeOperation(int opType, Format format, std::string lhs, std::string rhs) in getOpTypeOperation() argument
98 return lhs + " + " + rhs; in getOpTypeOperation()
100 return lhs + " * " + rhs; in getOpTypeOperation()
105 return "min(" + lhs + ", " + rhs + ")"; in getOpTypeOperation()
108 …return "(isnan(" + lhs + ") ? " + rhs + " : (isnan(" + rhs + ") ? " + lhs + " : min(" + lhs + ", "… in getOpTypeOperation()
115 …return "mix(mix(min(" + lhs + ", " + rhs + "), " + lhs + ", isnan(" + rhs + ")), " + rhs + ", isna… in getOpTypeOperation()
121 return "max(" + lhs + ", " + rhs + ")"; in getOpTypeOperation()
124 …return "(isnan(" + lhs + ") ? " + rhs + " : (isnan(" + rhs + ") ? " + lhs + " : max(" + lhs + ", "… in getOpTypeOperation()
131 …return "mix(mix(max(" + lhs + ", " + rhs + "), " + lhs + ", isnan(" + rhs + ")), " + rhs + ", isna… in getOpTypeOperation()
137 return lhs + " & " + rhs; in getOpTypeOperation()
[all …]
DglcSubgroupsArithmeticTests.cpp132 std::string getOpTypeOperation(int opType, Format format, std::string lhs, std::string rhs) in getOpTypeOperation() argument
142 return lhs + " + " + rhs; in getOpTypeOperation()
146 return lhs + " * " + rhs; in getOpTypeOperation()
153 return "min(" + lhs + ", " + rhs + ")"; in getOpTypeOperation()
156 …return "(isnan(" + lhs + ") ? " + rhs + " : (isnan(" + rhs + ") ? " + lhs + " : min(" + lhs + ", "… in getOpTypeOperation()
163 …return "mix(mix(min(" + lhs + ", " + rhs + "), " + lhs + ", isnan(" + rhs + ")), " + rhs + ", isna… in getOpTypeOperation()
171 return "max(" + lhs + ", " + rhs + ")"; in getOpTypeOperation()
174 …return "(isnan(" + lhs + ") ? " + rhs + " : (isnan(" + rhs + ") ? " + lhs + " : max(" + lhs + ", "… in getOpTypeOperation()
181 …return "mix(mix(max(" + lhs + ", " + rhs + "), " + lhs + ", isnan(" + rhs + ")), " + rhs + ", isna… in getOpTypeOperation()
189 return lhs + " & " + rhs; in getOpTypeOperation()
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DConstantUnion.cpp20 float CheckedSum(float lhs, float rhs, TDiagnostics *diag, const TSourceLoc &line) in CheckedSum() argument
22 float result = lhs + rhs; in CheckedSum()
23 if (gl::isNaN(result) && !gl::isNaN(lhs) && !gl::isNaN(rhs)) in CheckedSum()
27 else if (gl::isInf(result) && !gl::isInf(lhs) && !gl::isInf(rhs)) in CheckedSum()
34 float CheckedDiff(float lhs, float rhs, TDiagnostics *diag, const TSourceLoc &line) in CheckedDiff() argument
36 float result = lhs - rhs; in CheckedDiff()
37 if (gl::isNaN(result) && !gl::isNaN(lhs) && !gl::isNaN(rhs)) in CheckedDiff()
41 else if (gl::isInf(result) && !gl::isInf(lhs) && !gl::isInf(rhs)) in CheckedDiff()
48 float CheckedMul(float lhs, float rhs, TDiagnostics *diag, const TSourceLoc &line) in CheckedMul() argument
50 float result = lhs * rhs; in CheckedMul()
[all …]
/third_party/nghttp2/src/
Dtemplate.h319 inline bool operator==(const ImmutableString &lhs, const ImmutableString &rhs) {
320 return lhs.size() == rhs.size() &&
321 std::equal(std::begin(lhs), std::end(lhs), std::begin(rhs));
324 inline bool operator==(const ImmutableString &lhs, const std::string &rhs) {
325 return lhs.size() == rhs.size() &&
326 std::equal(std::begin(lhs), std::end(lhs), std::begin(rhs));
329 inline bool operator==(const std::string &lhs, const ImmutableString &rhs) {
330 return rhs == lhs;
333 inline bool operator==(const ImmutableString &lhs, const char *rhs) {
334 return lhs.size() == strlen(rhs) &&
[all …]
/third_party/node/deps/v8/src/wasm/baseline/
Dliftoff-assembler.h810 inline void emit_i32_add(Register dst, Register lhs, Register rhs);
812 inline void emit_i32_sub(Register dst, Register lhs, Register rhs);
814 inline void emit_i32_mul(Register dst, Register lhs, Register rhs);
815 inline void emit_i32_divs(Register dst, Register lhs, Register rhs,
818 inline void emit_i32_divu(Register dst, Register lhs, Register rhs,
820 inline void emit_i32_rems(Register dst, Register lhs, Register rhs,
822 inline void emit_i32_remu(Register dst, Register lhs, Register rhs,
824 inline void emit_i32_and(Register dst, Register lhs, Register rhs);
826 inline void emit_i32_or(Register dst, Register lhs, Register rhs);
828 inline void emit_i32_xor(Register dst, Register lhs, Register rhs);
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Common/
DTypes.hpp92 bool operator!=(const int4 &rhs)
94 return x != rhs.x || y != rhs.y || z != rhs.z || w != rhs.w;
97 bool operator==(const int4 &rhs)
99 return x == rhs.x && y == rhs.y && z == rhs.z && w == rhs.w;
120 bool operator!=(const float4 &rhs)
122 return x != rhs.x || y != rhs.y || z != rhs.z || w != rhs.w;
125 bool operator==(const float4 &rhs)
127 return x == rhs.x && y == rhs.y && z == rhs.z && w == rhs.w;
/third_party/skia/third_party/externals/tint/src/
Dprogram_builder.cc33 ProgramBuilder::ProgramBuilder(ProgramBuilder&& rhs) in ProgramBuilder() argument
34 : id_(std::move(rhs.id_)), in ProgramBuilder()
35 types_(std::move(rhs.types_)), in ProgramBuilder()
36 ast_nodes_(std::move(rhs.ast_nodes_)), in ProgramBuilder()
37 sem_nodes_(std::move(rhs.sem_nodes_)), in ProgramBuilder()
38 ast_(rhs.ast_), in ProgramBuilder()
39 sem_(std::move(rhs.sem_)), in ProgramBuilder()
40 symbols_(std::move(rhs.symbols_)), in ProgramBuilder()
41 diagnostics_(std::move(rhs.diagnostics_)), in ProgramBuilder()
42 transforms_applied_(std::move(rhs.transforms_applied_)) { in ProgramBuilder()
[all …]
/third_party/node/deps/v8/src/wasm/baseline/x64/
Dliftoff-assembler-x64.h1011 void LiftoffAssembler::emit_i32_add(Register dst, Register lhs, Register rhs) { in emit_i32_add() argument
1013 leal(dst, Operand(lhs, rhs, times_1, 0)); in emit_i32_add()
1015 addl(dst, rhs); in emit_i32_add()
1027 void LiftoffAssembler::emit_i32_sub(Register dst, Register lhs, Register rhs) { in emit_i32_sub() argument
1028 if (dst != rhs) { in emit_i32_sub()
1031 subl(dst, rhs); in emit_i32_sub()
1032 } else if (lhs == rhs) { in emit_i32_sub()
1056 Register rhs) { in EmitCommutativeBinOp() argument
1057 if (dst == rhs) { in EmitCommutativeBinOp()
1061 (assm->*op)(dst, rhs); in EmitCommutativeBinOp()
[all …]
/third_party/skia/third_party/externals/dawn/generator/templates/dawn_native/
Ddawn_platform.h28 inline const {{as_cType(type.name)}}* ToAPI(const {{as_cppType(type.name)}}* rhs) {
29 return reinterpret_cast<const {{as_cType(type.name)}}*>(rhs);
32 inline {{as_cType(type.name)}}* ToAPI({{as_cppType(type.name)}}* rhs) {
33 return reinterpret_cast<{{as_cType(type.name)}}*>(rhs);
36 inline const {{as_cppType(type.name)}}* FromAPI(const {{as_cType(type.name)}}* rhs) {
37 return reinterpret_cast<const {{as_cppType(type.name)}}*>(rhs);
40 inline {{as_cppType(type.name)}}* FromAPI({{as_cType(type.name)}}* rhs) {
41 return reinterpret_cast<{{as_cppType(type.name)}}*>(rhs);
46 inline const {{as_cType(type.name)}}Impl* ToAPI(const {{as_cppType(type.name)}}Base* rhs) {
47 return reinterpret_cast<const {{as_cType(type.name)}}Impl*>(rhs);
[all …]

12345678910>>...50