Home
last modified time | relevance | path

Searched refs:lhs_value (Results 1 – 25 of 33) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/xla/tests/
Dbinop_scaling_test.cc41 *alhs, [&](float lhs_value, int64 row, int64 col) { in TEST_F() argument
42 return lhs_value + (*arhs)(0, col); in TEST_F()
57 *alhs, [&](float lhs_value, int64 row, int64 col) { in TEST_F() argument
58 return lhs_value + (*arhs)(0, col); in TEST_F()
73 *alhs, [&](float lhs_value, int64 row, int64 col) { in TEST_F() argument
74 return lhs_value + (*arhs)(row, 0); in TEST_F()
89 *alhs, [&](float lhs_value, int64 row, int64 col) { in TEST_F() argument
90 return lhs_value + (*arhs)(row, 0); in TEST_F()
/external/tensorflow/tensorflow/compiler/xla/service/
Delemental_ir_emitter.cc815 const HloInstruction* op, llvm::Value* lhs_value, llvm::Value* rhs_value) { in EmitBinaryOp() argument
820 op, lhs_value, rhs_value, in EmitBinaryOp()
823 return EmitComplexBinaryOp(op, lhs_value, rhs_value); in EmitBinaryOp()
825 return EmitFloatBinaryOp(op, lhs_value, rhs_value); in EmitBinaryOp()
830 const HloInstruction* op, llvm::Value* lhs_value, llvm::Value* rhs_value) { in EmitFloatBinaryOp() argument
833 return EmitComposeComplex(op, lhs_value, rhs_value); in EmitFloatBinaryOp()
835 return FAdd(lhs_value, rhs_value, op->name()); in EmitFloatBinaryOp()
837 return FSub(lhs_value, rhs_value, op->name()); in EmitFloatBinaryOp()
839 return FMul(lhs_value, rhs_value, op->name()); in EmitFloatBinaryOp()
841 return FDiv(lhs_value, rhs_value, op->name()); in EmitFloatBinaryOp()
[all …]
Delemental_ir_emitter.h61 llvm::Value* lhs_value,
72 llvm::Value* lhs_value,
99 llvm::Value* lhs_value,
104 llvm::Value* lhs_value,
107 virtual llvm::Value* EmitFloatMax(llvm::Value* lhs_value,
111 virtual llvm::Value* EmitFloatMin(llvm::Value* lhs_value,
115 llvm::Value* EmitIntegralMax(llvm::Value* lhs_value, llvm::Value* rhs_value,
118 llvm::Value* EmitIntegralMin(llvm::Value* lhs_value, llvm::Value* rhs_value,
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dllvm_util.cc94 llvm::Value* EmitFloatMax(llvm::Value* lhs_value, llvm::Value* rhs_value, in EmitFloatMax() argument
98 auto cmp = b->CreateFCmpUGE(lhs_value, rhs_value); in EmitFloatMax()
99 return b->CreateSelect(cmp, lhs_value, rhs_value, name.data()); in EmitFloatMax()
101 auto cmp_ge = b->CreateFCmpOGE(lhs_value, rhs_value); in EmitFloatMax()
102 auto lhs_is_nan = b->CreateFCmpUNE(lhs_value, lhs_value); in EmitFloatMax()
104 return b->CreateSelect(sel_lhs, lhs_value, rhs_value, name.data()); in EmitFloatMax()
108 llvm::Value* EmitFloatMin(llvm::Value* lhs_value, llvm::Value* rhs_value, in EmitFloatMin() argument
112 auto cmp = b->CreateFCmpULE(lhs_value, rhs_value); in EmitFloatMin()
113 return b->CreateSelect(cmp, lhs_value, rhs_value, name.data()); in EmitFloatMin()
115 auto cmp_le = b->CreateFCmpOLE(lhs_value, rhs_value); in EmitFloatMin()
[all …]
Dllvm_util.h111 llvm::Value* EmitFloatMax(llvm::Value* lhs_value, llvm::Value* rhs_value,
117 llvm::Value* EmitFloatMin(llvm::Value* lhs_value, llvm::Value* rhs_value,
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Delemental_ir_emitter.cc163 const HloInstruction* op, llvm::Value* lhs_value, llvm::Value* rhs_value) { in EmitFloatBinaryOp() argument
174 {lhs_value, rhs_value}, {lhs_value->getType()}, b()); in EmitFloatBinaryOp()
180 {lhs_value, rhs_value}, in EmitFloatBinaryOp()
184 return EmitPowerOp(op, lhs_value, rhs_value); in EmitFloatBinaryOp()
187 return ElementalIrEmitter::EmitFloatBinaryOp(op, lhs_value, rhs_value); in EmitFloatBinaryOp()
192 const HloInstruction* op, llvm::Value* lhs_value, llvm::Value* rhs_value) { in EmitPowerOp() argument
198 {lhs_value, rhs_value}, in EmitPowerOp()
Delemental_ir_emitter.h52 llvm::Value* lhs_value,
108 llvm::Value* lhs_value,
Dir_emitter.cc532 std::pair<llvm::Value*, llvm::Value*> MultiplyComplex(llvm::Value* lhs_value, in MultiplyComplex() argument
535 llvm::Value* lhs_real = Real(lhs_value, b); in MultiplyComplex()
536 llvm::Value* lhs_imag = Imag(lhs_value, b); in MultiplyComplex()
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Darithmetic.cc121 XlaOp lhs_value = in CreateMinMaxComputation() local
130 XlaOp cmp = is_min ? Le(lhs_value, rhs_value) : Ge(lhs_value, rhs_value); in CreateMinMaxComputation()
131 XlaOp max = Select(cmp, lhs_value, rhs_value); in CreateMinMaxComputation()
134 XlaOp eq = Eq(lhs_value, rhs_value); in CreateMinMaxComputation()
/external/ruy/ruy/
Dcheck_macros.h83 const char* lhs, const LhsType& lhs_value,
87 if (!Comparison<CommonType>()(lhs_value, rhs_value)) {
89 ToString<LhsType>::Run(lhs_value, lhs_value_buf);
/external/python/setuptools/pkg_resources/_vendor/packaging/
Dmarkers.py226 lhs_value = _get_env(environment, lhs.value)
229 lhs_value = lhs.value
232 groups[-1].append(_eval_op(lhs_value, op, rhs_value))
/external/python/setuptools/setuptools/_vendor/packaging/
Dmarkers.py226 lhs_value = _get_env(environment, lhs.value)
229 lhs_value = lhs.value
232 groups[-1].append(_eval_op(lhs_value, op, rhs_value))
/external/tensorflow/tensorflow/compiler/mlir/tosa/transforms/
Dlegalize_common.h152 Value lhs_value, Value rhs_value);
157 Value lhs_value, Value rhs_value);
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Ddot_op_emitter.cc701 llvm::Value* lhs_value = in EmitScalarDot() local
715 b_->CreateFMul(get_real(lhs_value), get_real(rhs_value)), in EmitScalarDot()
716 b_->CreateFMul(get_imag(lhs_value), get_imag(rhs_value))); in EmitScalarDot()
718 b_->CreateFMul(get_real(lhs_value), get_imag(rhs_value)), in EmitScalarDot()
719 b_->CreateFMul(get_imag(lhs_value), get_real(rhs_value))); in EmitScalarDot()
724 result = b_->CreateFMul(lhs_value, rhs_value); in EmitScalarDot()
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/
Dmhlo_fusion.cc86 auto lhs_value = lhs.getValue().getAsOpaquePointer(); in operator <() local
88 return lhs_value < rhs_value; in operator <()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dscalar_analysis.cpp968 int64_t lhs_value = lhs->AsSEConstantNode()->FoldToSingleValue(); in operator /() local
970 return {scev_->CreateConstant(lhs_value / rhs_value), in operator /()
971 lhs_value % rhs_value}; in operator /()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dscalar_analysis.cpp968 int64_t lhs_value = lhs->AsSEConstantNode()->FoldToSingleValue(); in operator /() local
970 return {scev_->CreateConstant(lhs_value / rhs_value), in operator /()
971 lhs_value % rhs_value}; in operator /()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dscalar_analysis.cpp968 int64_t lhs_value = lhs->AsSEConstantNode()->FoldToSingleValue(); in operator /() local
970 return {scev_->CreateConstant(lhs_value / rhs_value), in operator /()
971 lhs_value % rhs_value}; in operator /()
/external/llvm-project/llvm/utils/unittest/googletest/include/gtest/
Dgtest.h1633 RawType lhs_value, in CmpHelperFloatingPointEQ() argument
1635 const FloatingPoint<RawType> lhs(lhs_value), rhs(rhs_value); in CmpHelperFloatingPointEQ()
1643 << lhs_value; in CmpHelperFloatingPointEQ()
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/
Dgtest.h1684 RawType lhs_value, in CmpHelperFloatingPointEQ() argument
1686 const FloatingPoint<RawType> lhs(lhs_value), rhs(rhs_value); in CmpHelperFloatingPointEQ()
1694 << lhs_value; in CmpHelperFloatingPointEQ()
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/
Dgtest.h1721 RawType lhs_value, RawType rhs_value) { in CmpHelperFloatingPointEQ() argument
1722 const FloatingPoint<RawType> lhs(lhs_value), rhs(rhs_value); in CmpHelperFloatingPointEQ()
1730 << lhs_value; in CmpHelperFloatingPointEQ()
/external/mesa3d/src/gtest/include/gtest/
Dgtest.h1732 RawType lhs_value, in CmpHelperFloatingPointEQ() argument
1734 const FloatingPoint<RawType> lhs(lhs_value), rhs(rhs_value); in CmpHelperFloatingPointEQ()
1742 << lhs_value; in CmpHelperFloatingPointEQ()
/external/googletest/googletest/include/gtest/
Dgtest.h1735 RawType lhs_value, in CmpHelperFloatingPointEQ() argument
1737 const FloatingPoint<RawType> lhs(lhs_value), rhs(rhs_value); in CmpHelperFloatingPointEQ()
1745 << lhs_value; in CmpHelperFloatingPointEQ()
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/include/gtest/
Dgtest.h1712 RawType lhs_value, in CmpHelperFloatingPointEQ() argument
1714 const FloatingPoint<RawType> lhs(lhs_value), rhs(rhs_value); in CmpHelperFloatingPointEQ()
1722 << lhs_value; in CmpHelperFloatingPointEQ()
/external/llvm-project/llvm/utils/unittest/googletest/src/
Dgtest.cc1314 const std::string& lhs_value, in EqFailure() argument
1319 if (lhs_value != lhs_expression) { in EqFailure()
1320 msg << "\n Which is: " << lhs_value; in EqFailure()
1331 if (!lhs_value.empty() && !rhs_value.empty()) { in EqFailure()
1333 SplitEscapedString(lhs_value); in EqFailure()

12