Home
last modified time | relevance | path

Searched refs:Imag (Results 1 – 25 of 57) sorted by relevance

123

/external/tensorflow/tensorflow/core/kernels/mlir_generated/
Dgpu_op_imag.cc23 GENERATE_UNARY_GPU_KERNEL2(Imag, DT_COMPLEX64, DT_FLOAT);
24 REGISTER_COMPLEX_GPU_KERNEL(Imag, DT_COMPLEX64, DT_FLOAT);
25 GENERATE_UNARY_GPU_KERNEL2(Imag, DT_COMPLEX128, DT_DOUBLE);
26 REGISTER_COMPLEX_GPU_KERNEL(Imag, DT_COMPLEX128, DT_DOUBLE);
Dgpu_unary_ops_test.cc434 GENERATE_DEFAULT_TEST(Imag, DT_COMPLEX64, DT_FLOAT, baseline_imag,
437 GENERATE_DEFAULT_TEST(Imag, DT_COMPLEX128, DT_DOUBLE, baseline_imag,
/external/llvm-project/flang/include/flang/Lower/
DComplexExpr.h25 enum class Part { Real = 0, Imag = 1 }; enumerator
40 return isImagPart ? extract<Part::Imag>(cplx) : extract<Part::Real>(cplx); in extractComplexPart()
45 return {extract<Part::Real>(cplx), extract<Part::Imag>(cplx)}; in extractParts()
50 return isImagPart ? insert<Part::Imag>(cplx, part) in insertComplexPart()
/external/llvm-project/flang/lib/Lower/
DComplexExpr.cpp32 return insert<Part::Imag>(insert<Part::Real>(und, real), imag); in createComplex()
39 return insert<Part::Imag>(insert<Part::Real>(und, real), imag); in createComplex()
46 auto imag1 = extract<Part::Imag>(cplx1); in createComplexCompare()
47 auto imag2 = extract<Part::Imag>(cplx2); in createComplexCompare()
/external/tensorflow/tensorflow/core/api_def/java_api/
Dapi_def_Imag.pbtxt2 graph_op_name: "Imag"
4 name: "math.Imag"
/external/clang/include/clang/AST/
DAPValue.h72 APSInt Real, Imag; member
73 ComplexAPSInt() : Real(1), Imag(1) {} in ComplexAPSInt()
76 APFloat Real, Imag; member
77 ComplexAPFloat() : Real(0.0), Imag(0.0) {} in ComplexAPFloat()
226 return ((ComplexAPSInt*)(char*)Data.buffer)->Imag; in getComplexIntImag()
242 return ((ComplexAPFloat*)(char*)Data.buffer)->Imag; in getComplexFloatImag()
367 ((ComplexAPSInt *)(char *)Data.buffer)->Imag = std::move(I); in setComplexInt()
374 ((ComplexAPFloat *)(char *)Data.buffer)->Imag = std::move(I); in setComplexFloat()
DStmtVisitor.h161 UNARYOP_FALLBACK(Real) UNARYOP_FALLBACK(Imag)
DOperationKinds.def398 UNARY_OPERATION(Imag, "__imag")
/external/llvm-project/clang/include/clang/AST/
DAPValue.h249 APSInt Real, Imag;
250 ComplexAPSInt() : Real(1), Imag(1) {}
253 APFloat Real, Imag;
254 ComplexAPFloat() : Real(0.0), Imag(0.0) {}
444 return ((ComplexAPSInt *)(char *)&Data)->Imag;
460 return ((ComplexAPFloat *)(char *)&Data)->Imag;
589 ((ComplexAPSInt *)(char *)&Data)->Imag = std::move(I);
596 ((ComplexAPFloat *)(char *)&Data)->Imag = std::move(I);
DStmtVisitor.h166 UNARYOP_FALLBACK(Real) UNARYOP_FALLBACK(Imag)
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dunary_ops.cc50 XLAJIT_MAKE_UNARY(Angle, xla::Atan2(xla::Imag(x), xla::Real(x)));
123 XLAJIT_MAKE_UNARY(Imag, xla::Imag(x));
/external/tensorflow/tensorflow/core/api_def/python_api/
Dapi_def_Imag.pbtxt2 graph_op_name: "Imag"
/external/tensorflow/tensorflow/core/kernels/mlir_generated/op_definitions/
Dimag.mlir.tmpl3 %0 = "tf.Imag"(%arg0) : (tensor<*xelem_type>) -> tensor<*xoutput_type>
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DImag.pbtxt2 name: "Imag"
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/
DImag.pbtxt2 name: "Imag"
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_Imag.pbtxt2 graph_op_name: "Imag"
/external/clang/lib/CodeGen/
DCGExprComplex.cpp327 llvm::Value *Real = nullptr, *Imag = nullptr; in EmitLoadOfLValue() local
336 Imag = Builder.CreateLoad(ImagP, isVolatile, SrcPtr.getName() + ".imag"); in EmitLoadOfLValue()
339 return ComplexPairTy(Real, Imag); in EmitLoadOfLValue()
374 llvm::Value *Imag = CGF.EmitScalarExpr(IL->getSubExpr()); in VisitImaginaryLiteral() local
375 return ComplexPairTy(llvm::Constant::getNullValue(Imag->getType()), Imag); in VisitImaginaryLiteral()
1008 llvm::Value *Imag = CGF.EmitScalarExpr(E->getInit(1)); in VisitInitListExpr() local
1009 return ComplexPairTy(Real, Imag); in VisitInitListExpr()
/external/llvm-project/clang/lib/CodeGen/
DCGExprComplex.cpp358 llvm::Value *Real = nullptr, *Imag = nullptr; in EmitLoadOfLValue() local
367 Imag = Builder.CreateLoad(ImagP, isVolatile, SrcPtr.getName() + ".imag"); in EmitLoadOfLValue()
370 return ComplexPairTy(Real, Imag); in EmitLoadOfLValue()
405 llvm::Value *Imag = CGF.EmitScalarExpr(IL->getSubExpr()); in VisitImaginaryLiteral() local
406 return ComplexPairTy(llvm::Constant::getNullValue(Imag->getType()), Imag); in VisitImaginaryLiteral()
1083 llvm::Value *Imag = CGF.EmitScalarExpr(E->getInit(1)); in VisitInitListExpr() local
1084 return ComplexPairTy(Real, Imag); in VisitInitListExpr()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dir_emitter.cc528 llvm::Value* Imag(llvm::Value* x, llvm::IRBuilder<>* b) { in Imag() function
536 llvm::Value* lhs_imag = Imag(lhs_value, b); in MultiplyComplex()
538 llvm::Value* rhs_imag = Imag(rhs_value, b); in MultiplyComplex()
/external/tensorflow/tensorflow/compiler/xla/service/
Dqr_expander.cc115 sigma_is_zero = And(sigma_is_zero, Eq(Imag(alpha), ScalarLike(sigma, 0))); in House()
121 *tau = Complex((*beta - Real(alpha)) / *beta, -Imag(alpha) / *beta); in House()
/external/tensorflow/tensorflow/cc/gradients/
Dmath_grad_test.cc188 y = Imag(scope_, x); in TestCWiseGrad()
516 TEST_F(CWiseUnaryGradTest, Imag) { in TEST_F() argument
Dmath_grad.cc586 auto gx_2 = Imag(scope, grad_inputs[0]); in ComplexGrad()
597 auto im = Imag(scope, op.input(0)); in AngleGrad()
/external/clang/lib/AST/
DExprConstant.cpp268 void addComplexUnchecked(QualType EltTy, bool Imag) { in addComplexUnchecked()
270 Entry.ArrayIndex = Imag; in addComplexUnchecked()
1141 void addComplex(EvalInfo &Info, const Expr *E, QualType EltTy, bool Imag) { in addComplex()
1142 if (checkSubobject(Info, E, Imag ? CSK_Imag : CSK_Real)) in addComplex()
1143 Designator.addComplexUnchecked(EltTy, Imag); in addComplex()
2089 bool Imag) { in HandleLValueComplexElement() argument
2090 if (Imag) { in HandleLValueComplexElement()
2096 LVal.addComplex(Info, E, EltTy, Imag); in HandleLValueComplexElement()
8482 APFloat &Imag = Result.FloatImag; in VisitImaginaryLiteral() local
8483 if (!EvaluateFloat(SubExpr, Imag, Info)) in VisitImaginaryLiteral()
[all …]
/external/tensorflow/tensorflow/compiler/xla/python/
Dops.cc378 UNARY_OP(Imag); in BuildOpsSubmodule()
/external/llvm-project/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp1357 Value *Real, *Imag; in optimizeCAbs() local
1362 Imag = B.CreateExtractValue(Op, 1, "imag"); in optimizeCAbs()
1366 Imag = CI->getArgOperand(1); in optimizeCAbs()
1370 Value *ImagImag = B.CreateFMul(Imag, Imag); in optimizeCAbs()

123