Home
last modified time | relevance | path

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

12

/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/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dunary_ops.cc48 XLAJIT_MAKE_UNARY(Angle, xla::Atan2(xla::Imag(x), xla::Real(x)));
111 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/ops/compat/ops_history_v1/
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()
DCGBuiltin.cpp583 Value *Imag = ComplexVal.second; in EmitBuiltinExpr() local
585 Imag->getType()->isFPOrFPVectorTy() in EmitBuiltinExpr()
586 ? llvm::ConstantFP::getZeroValueForNegation(Imag->getType()) in EmitBuiltinExpr()
587 : llvm::Constant::getNullValue(Imag->getType()); in EmitBuiltinExpr()
589 Imag = Builder.CreateFSub(Zero, Imag, "sub"); in EmitBuiltinExpr()
590 return RValue::getComplex(std::make_pair(Real, Imag)); in EmitBuiltinExpr()
DCGCall.cpp4065 llvm::Value *Imag = Builder.CreateExtractValue(CI, 1); in EmitCall() local
4066 return RValue::getComplex(std::make_pair(Real, Imag)); in EmitCall()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dir_emitter.cc483 llvm::Value* Imag(llvm::Value* x, llvm::IRBuilder<>* b) { in Imag() function
491 llvm::Value* lhs_imag = Imag(lhs_value, b); in MultiplyComplex()
493 llvm::Value* rhs_imag = Imag(rhs_value, b); in MultiplyComplex()
629 llvm::Value* accum_imag = Imag(accum, &b_); in HandleDot()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp1061 Value *Real, *Imag; in optimizeCAbs() local
1066 Imag = B.CreateExtractValue(Op, 1, "imag"); in optimizeCAbs()
1070 Imag = CI->getArgOperand(1); in optimizeCAbs()
1074 Value *ImagImag = B.CreateFMul(Imag, Imag); in optimizeCAbs()
/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 …]
DItaniumMangle.cpp3831 if (const FloatingLiteral *Imag = in mangleExpression() local
3834 mangleFloat(llvm::APFloat(Imag->getValue().getSemantics())); in mangleExpression()
3836 mangleFloat(Imag->getValue()); in mangleExpression()
/external/tensorflow/tensorflow/compiler/mlir/xla/ir/
Dhlo_ops_base.td158 string summary = "Imag operator";
161 Returns `Imag(operand)` element-wise.
/external/tensorflow/tensorflow/compiler/xla/client/
Dxla_builder.h962 friend XlaOp Imag(XlaOp operand);
1765 XlaOp Imag(XlaOp operand);
Dxla_builder.cc3168 return Complex(Real(operand), Neg(Imag(operand))); in Conj()
3399 XlaOp Imag(const XlaOp operand) { in Imag() function
/external/tensorflow/tensorflow/compiler/tf2xla/g3doc/
Dcpu_supported_ops.md107 `Imag` | `Tout={double,float}`<br>`T={complex64}`
Dgpu_supported_ops.md107 `Imag` | `Tout={double,float}`<br>`T={complex64}`
/external/tensorflow/tensorflow/compiler/xla/python/
Dxla.cc1040 UNARY_OP(Imag); in PYBIND11_MODULE()
/external/tensorflow/tensorflow/compiler/xla/service/
Dalgebraic_simplifier.cc2638 if (Match(complex, m::Complex(m::Real(m::Op(&c0)), m::Imag(m::Op(&c1)))) && in HandleComplex()
2657 if (Match(imag, m::Imag(m::Complex(m::Op(), m::Op(&op))))) { in HandleImag()
Dpattern_matcher.h2100 XLA_UNOP_PATTERN(Imag)

12