/external/tensorflow/tensorflow/core/kernels/mlir_generated/ |
D | gpu_op_imag.cc | 23 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);
|
D | gpu_unary_ops_test.cc | 434 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/ |
D | ComplexExpr.h | 25 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/ |
D | ComplexExpr.cpp | 32 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/ |
D | api_def_Imag.pbtxt | 2 graph_op_name: "Imag" 4 name: "math.Imag"
|
/external/clang/include/clang/AST/ |
D | APValue.h | 72 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()
|
D | StmtVisitor.h | 161 UNARYOP_FALLBACK(Real) UNARYOP_FALLBACK(Imag)
|
D | OperationKinds.def | 398 UNARY_OPERATION(Imag, "__imag")
|
/external/llvm-project/clang/include/clang/AST/ |
D | APValue.h | 249 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);
|
D | StmtVisitor.h | 166 UNARYOP_FALLBACK(Real) UNARYOP_FALLBACK(Imag)
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
D | unary_ops.cc | 50 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/ |
D | api_def_Imag.pbtxt | 2 graph_op_name: "Imag"
|
/external/tensorflow/tensorflow/core/kernels/mlir_generated/op_definitions/ |
D | imag.mlir.tmpl | 3 %0 = "tf.Imag"(%arg0) : (tensor<*xelem_type>) -> tensor<*xoutput_type>
|
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/ |
D | Imag.pbtxt | 2 name: "Imag"
|
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/ |
D | Imag.pbtxt | 2 name: "Imag"
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_Imag.pbtxt | 2 graph_op_name: "Imag"
|
/external/clang/lib/CodeGen/ |
D | CGExprComplex.cpp | 327 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/ |
D | CGExprComplex.cpp | 358 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/ |
D | ir_emitter.cc | 528 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/ |
D | qr_expander.cc | 115 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/ |
D | math_grad_test.cc | 188 y = Imag(scope_, x); in TestCWiseGrad() 516 TEST_F(CWiseUnaryGradTest, Imag) { in TEST_F() argument
|
D | math_grad.cc | 586 auto gx_2 = Imag(scope, grad_inputs[0]); in ComplexGrad() 597 auto im = Imag(scope, op.input(0)); in AngleGrad()
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 268 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/ |
D | ops.cc | 378 UNARY_OP(Imag); in BuildOpsSubmodule()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 1357 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()
|