Home
last modified time | relevance | path

Searched refs:lhs_value (Results 1 – 25 of 28) 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.cc685 const HloInstruction* op, llvm::Value* lhs_value, llvm::Value* rhs_value) { in EmitBinaryOp() argument
690 op, lhs_value, rhs_value, in EmitBinaryOp()
693 return EmitComplexBinaryOp(op, lhs_value, rhs_value); in EmitBinaryOp()
695 return EmitFloatBinaryOp(op, lhs_value, rhs_value); in EmitBinaryOp()
700 const HloInstruction* op, llvm::Value* lhs_value, llvm::Value* rhs_value) { in EmitFloatBinaryOp() argument
703 return EmitComposeComplex(op, lhs_value, rhs_value); in EmitFloatBinaryOp()
705 return FAdd(lhs_value, rhs_value); in EmitFloatBinaryOp()
707 return FSub(lhs_value, rhs_value); in EmitFloatBinaryOp()
709 return FMul(lhs_value, rhs_value); in EmitFloatBinaryOp()
711 return FDiv(lhs_value, rhs_value); in EmitFloatBinaryOp()
[all …]
Delemental_ir_emitter.h47 llvm::Value* lhs_value,
86 llvm::Value* lhs_value,
91 llvm::Value* lhs_value,
95 llvm::Value* lhs_value,
98 virtual llvm::Value* EmitFloatMax(llvm::Value* lhs_value,
101 virtual llvm::Value* EmitFloatMin(llvm::Value* lhs_value,
104 llvm::Value* EmitIntegralMax(llvm::Value* lhs_value, llvm::Value* rhs_value,
107 llvm::Value* EmitIntegralMin(llvm::Value* lhs_value, llvm::Value* rhs_value,
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dllvm_util.cc90 llvm::Value* EmitFloatMax(llvm::Value* lhs_value, llvm::Value* rhs_value, in EmitFloatMax() argument
93 auto cmp = b->CreateFCmpUGE(lhs_value, rhs_value); in EmitFloatMax()
94 return b->CreateSelect(cmp, lhs_value, rhs_value); in EmitFloatMax()
96 auto cmp_ge = b->CreateFCmpOGE(lhs_value, rhs_value); in EmitFloatMax()
97 auto lhs_is_nan = b->CreateFCmpUNE(lhs_value, lhs_value); in EmitFloatMax()
99 return b->CreateSelect(sel_lhs, lhs_value, rhs_value); in EmitFloatMax()
103 llvm::Value* EmitFloatMin(llvm::Value* lhs_value, llvm::Value* rhs_value, in EmitFloatMin() argument
106 auto cmp = b->CreateFCmpULE(lhs_value, rhs_value); in EmitFloatMin()
107 return b->CreateSelect(cmp, lhs_value, rhs_value); in EmitFloatMin()
109 auto cmp_le = b->CreateFCmpOLE(lhs_value, rhs_value); in EmitFloatMin()
[all …]
Dllvm_util.h110 llvm::Value* EmitFloatMax(llvm::Value* lhs_value, llvm::Value* rhs_value,
115 llvm::Value* EmitFloatMin(llvm::Value* lhs_value, llvm::Value* rhs_value,
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Delemental_ir_emitter.cc161 const HloInstruction* op, llvm::Value* lhs_value, llvm::Value* rhs_value) { in EmitFloatBinaryOp() argument
172 {lhs_value, rhs_value}, {lhs_value->getType()}, b_); in EmitFloatBinaryOp()
177 return EmitLibdeviceMathCall("__nv_fmod", {lhs_value, rhs_value}, in EmitFloatBinaryOp()
182 return EmitPowerOp(op, lhs_value, rhs_value); in EmitFloatBinaryOp()
185 return ElementalIrEmitter::EmitFloatBinaryOp(op, lhs_value, rhs_value); in EmitFloatBinaryOp()
190 const HloInstruction* op, llvm::Value* lhs_value, llvm::Value* rhs_value) { in EmitPowerOp() argument
195 return EmitLibdeviceMathCall("__nv_pow", {lhs_value, rhs_value}, in EmitPowerOp()
Dir_emitter.cc450 std::pair<llvm::Value*, llvm::Value*> MultiplyComplex(llvm::Value* lhs_value, in MultiplyComplex() argument
453 llvm::Value* lhs_real = Real(lhs_value, b); in MultiplyComplex()
454 llvm::Value* lhs_imag = Imag(lhs_value, b); in MultiplyComplex()
485 llvm::Value* lhs_value = in HandleDot() local
491 auto value = MultiplyComplex(lhs_value, rhs_value, &b_); in HandleDot()
496 result = FMul(lhs_value, rhs_value); in HandleDot()
499 result = Mul(lhs_value, rhs_value); in HandleDot()
Delemental_ir_emitter.h55 llvm::Value* lhs_value,
102 llvm::Value* lhs_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/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/tensorflow/tensorflow/compiler/xla/service/cpu/
Ddot_op_emitter.cc552 llvm::Value* lhs_value = in EmitScalarDot() local
566 b_->CreateFMul(get_real(lhs_value), get_real(rhs_value)), in EmitScalarDot()
567 b_->CreateFMul(get_imag(lhs_value), get_imag(rhs_value))); in EmitScalarDot()
569 b_->CreateFMul(get_real(lhs_value), get_imag(rhs_value)), in EmitScalarDot()
570 b_->CreateFMul(get_imag(lhs_value), get_real(rhs_value))); in EmitScalarDot()
575 result = b_->CreateFMul(lhs_value, rhs_value); in EmitScalarDot()
/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/v8/src/ic/
Dbinary-op-assembler.cc303 Node* lhs_value = var_float_lhs.value(); in Generate_BinaryOperationWithFeedback() local
305 Node* value = floatOperation(lhs_value, rhs_value); in Generate_BinaryOperationWithFeedback()
/external/mesa3d/src/gtest/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/libaom/libaom/third_party/googletest/src/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/swiftshader/third_party/llvm-7.0/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/googletest/googletest/include/gtest/
Dgtest.h1727 RawType lhs_value, in CmpHelperFloatingPointEQ() argument
1729 const FloatingPoint<RawType> lhs(lhs_value), rhs(rhs_value); in CmpHelperFloatingPointEQ()
1737 << 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/v8/src/builtins/
Dbuiltins-string-gen.cc269 Node* lhs_value = in StringEqual_Loop() local
279 GotoIf(Word32NotEqual(lhs_value, rhs_value), if_not_equal); in StringEqual_Loop()
451 Node* lhs_value = Load(MachineType::Uint8(), lhs, var_offset.value()); in GenerateStringRelationalComparison() local
456 Branch(Word32Equal(lhs_value, rhs_value), &if_valueissame, in GenerateStringRelationalComparison()
467 Branch(Uint32LessThan(lhs_value, rhs_value), &if_less, &if_greater); in GenerateStringRelationalComparison()
/external/libaom/libaom/third_party/googletest/src/googletest/src/
Dgtest.cc1315 const std::string& lhs_value, in EqFailure() argument
1320 if (lhs_value != lhs_expression) { in EqFailure()
1321 msg << "\n Which is: " << lhs_value; in EqFailure()
1332 if (!lhs_value.empty() && !rhs_value.empty()) { in EqFailure()
1334 SplitEscapedString(lhs_value); in EqFailure()
/external/mesa3d/src/gtest/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()
/external/swiftshader/third_party/llvm-7.0/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()
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest.cc1358 const std::string& lhs_value, in EqFailure() argument
1364 if (lhs_value != lhs_expression) { in EqFailure()
1365 msg << "\n Which is: " << lhs_value; in EqFailure()
1376 if (!lhs_value.empty() && !rhs_value.empty()) { in EqFailure()
1378 SplitEscapedString(lhs_value); in EqFailure()
/external/googletest/googletest/src/
Dgtest.cc1335 const std::string& lhs_value, in EqFailure() argument
1341 if (lhs_value != lhs_expression) { in EqFailure()
1342 msg << "\n Which is: " << lhs_value; in EqFailure()
1353 if (!lhs_value.empty() && !rhs_value.empty()) { in EqFailure()
1355 SplitEscapedString(lhs_value); in EqFailure()

12