Home
last modified time | relevance | path

Searched refs:ComplexType (Results 1 – 25 of 134) sorted by relevance

123456

/external/eigen/test/
Dgpu_basic.cu62 typedef typename T::Scalar ComplexType; in operator ()() typedef
68 typedef Eigen::Vector<ComplexType, num_special_inputs> SpecialInputs; in operator ()()
72 special_in[idx++] = ComplexType(0, 0); in operator ()()
73 special_in[idx++] = ComplexType(-0, 0); in operator ()()
74 special_in[idx++] = ComplexType(0, -0); in operator ()()
75 special_in[idx++] = ComplexType(-0, -0); in operator ()()
83 special_in[idx++] = ComplexType(1.0, inf); in operator ()()
84 special_in[idx++] = ComplexType(nan, inf); in operator ()()
85 special_in[idx++] = ComplexType(1.0, -inf); in operator ()()
86 special_in[idx++] = ComplexType(nan, -inf); in operator ()()
[all …]
/external/llvm/test/CodeGen/X86/
D2010-02-01-DbgValueCrash.ll7 %tart.reflect.ComplexType = type { double, double }
9 @.type.SwitchStmtTest = constant %tart.reflect.ComplexType { double 3.0, double 2.0 }
13 …tail call void @llvm.dbg.value(metadata %tart.reflect.ComplexType* @.type.SwitchStmtTest, i64 0, m…
14 …tail call void @"tart.reflect.ComplexType.create->tart.core.Object"(%tart.reflect.ComplexType* @.t…
19 declare void @"tart.reflect.ComplexType.create->tart.core.Object"(%tart.reflect.ComplexType*) nounw…
36 !14 = !{%tart.reflect.ComplexType* @.type.SwitchStmtTest}
D2009-09-10-LoadFoldingBug.ll10 %struct.ComplexType = type { i32 }
18 %2 = inttoptr i64 %1 to %struct.ComplexType* ; <%struct.ComplexType*> [#uses=1]
28 …%6 = getelementptr inbounds %struct.ComplexType, %struct.ComplexType* %2, i64 0, i32 0 ; <i32*> [#…
/external/llvm/test/Object/
Dyaml2obj-coff-multi-doc.test29 ComplexType: IMAGE_SYM_DTYPE_NULL
42 ComplexType: IMAGE_SYM_DTYPE_FUNCTION
49 ComplexType: IMAGE_SYM_DTYPE_NULL
69 ComplexType: IMAGE_SYM_DTYPE_NULL
82 ComplexType: IMAGE_SYM_DTYPE_FUNCTION
89 ComplexType: IMAGE_SYM_DTYPE_NULL
Dobj2yaml.test42 COFF-I386-NEXT: ComplexType: IMAGE_SYM_DTYPE_NULL
55 COFF-I386-NEXT: ComplexType: IMAGE_SYM_DTYPE_NULL
68 COFF-I386-NEXT: ComplexType: IMAGE_SYM_DTYPE_FUNCTION
75 COFF-I386-NEXT: ComplexType: IMAGE_SYM_DTYPE_NULL
82 COFF-I386-NEXT: ComplexType: IMAGE_SYM_DTYPE_NULL
89 COFF-I386-NEXT: ComplexType: IMAGE_SYM_DTYPE_NULL
135 COFF-X86-64-NEXT: ComplexType: IMAGE_SYM_DTYPE_NULL
148 COFF-X86-64-NEXT: ComplexType: IMAGE_SYM_DTYPE_NULL
161 COFF-X86-64-NEXT: ComplexType: IMAGE_SYM_DTYPE_FUNCTION
168 COFF-X86-64-NEXT: ComplexType: IMAGE_SYM_DTYPE_NULL
[all …]
/external/pytorch/aten/src/ATen/test/
Dtype_test.cpp179 …auto type = TupleType::create({IntType::get(), TensorType::get(), FloatType::get(), ComplexType::g… in TEST()
180 …auto type2 = TupleType::create({IntType::get(), TensorType::get(), FloatType::get(), ComplexType::… in TEST()
192 {IntType::get(), TensorType::get(), FloatType::get(), ComplexType::get()}); in TEST()
196 {IntType::get(), TensorType::get(), FloatType::get(), ComplexType::get()}); in TEST()
202 {IntType::get(), TensorType::get(), FloatType::get(), ComplexType::get()}); in TEST()
208 {IntType::get(), TensorType::get(), FloatType::get(), ComplexType::get()}); in TEST()
/external/llvm/test/MC/COFF/
Dseh-section-2.s69 # CHECK: ComplexType: Null (0x0)
87 # CHECK: ComplexType: Null (0x0)
105 # CHECK: ComplexType: Null (0x0)
123 # CHECK: ComplexType: Null (0x0)
141 # CHECK: ComplexType: Null (0x0)
/external/clang/lib/CodeGen/
DCGExprComplex.cpp36 static const ComplexType *getComplexType(QualType type) { in getComplexType()
38 if (const ComplexType *comp = dyn_cast<ComplexType>(type)) { in getComplexType()
41 return cast<ComplexType>(cast<AtomicType>(type)->getValueType()); in getComplexType()
208 QualType Elem = E->getType()->castAs<ComplexType>()->getElementType(); in VisitCXXScalarValueInitExpr()
214 QualType Elem = E->getType()->castAs<ComplexType>()->getElementType(); in VisitImplicitValueInitExpr()
311 QualType eltType = complexType->castAs<ComplexType>()->getElementType(); in emitAddrOfImagComponent()
400 SrcType = SrcType->castAs<ComplexType>()->getElementType(); in EmitComplexToComplexCast()
401 DestType = DestType->castAs<ComplexType>()->getElementType(); in EmitComplexToComplexCast()
416 DestType = DestType->castAs<ComplexType>()->getElementType(); in EmitScalarToComplexCast()
578 Op.Ty->castAs<ComplexType>()->getElementType()); in EmitComplexBinOpLibCall()
[all …]
/external/llvm/test/tools/llvm-readobj/
Dsymbols.test12 COFF-NEXT: ComplexType: Null (0x0)
21 COFF-NEXT: ComplexType: Null (0x0)
30 COFF-NEXT: ComplexType: Null (0x0)
Dbigobj.test81 CHECK-NEXT: ComplexType: Null (0x0)
93 CHECK-NEXT: ComplexType: Null (0x0)
110 CHECK-NEXT: ComplexType: Null (0x0)
127 CHECK-NEXT: ComplexType: Null (0x0)
Dcxx-cli-aux.test14 CHECK-NEXT: ComplexType: Null (0x0)
32 CHECK-NEXT: ComplexType: Null (0x0)
/external/auto/value/src/test/java/com/google/auto/value/extension/serializable/processor/
DSerializableAutoValueExtensionTest.java427 abstract static class ComplexType implements Serializable { class in SerializableAutoValueExtensionTest
430 static ComplexType.Builder builder() { in builder()
436 abstract ComplexType.Builder setA( in setA()
439 abstract ComplexType build(); in build()
447 ComplexType complexType = ComplexType.builder().setA(map).build(); in complexType()
449 ComplexType reserialized = SerializableTester.reserialize(complexType); in complexType()
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/lib/utils/
Dconvert_op_folder.cc32 if (oldType.isa<mlir::ComplexType>() || newType.isa<mlir::ComplexType>()) { in convertElementsAttr()
/external/kotlinx.serialization/core/commonTest/src/kotlinx/serialization/
DWrappedSerialDescriptorTest.kt49 class ComplexType( class in kotlinx.serialization.WrappedSerialDescriptorTest
59 checkWrapped(ComplexType.serializer().descriptor, "WrappedComplexType") in testWrappedComplexClass()
/external/tensorflow/tensorflow/core/transforms/utils/
Dop_cat_helper.cc58 } else if (type.isa<ComplexType>()) { in SplatElementsAttrHasValue()
59 ComplexType complex_type = type.cast<ComplexType>(); in SplatElementsAttrHasValue()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Dconvert_type.cc76 *type = mlir::ComplexType::get(builder.getF32Type()); in ConvertDataType()
79 *type = mlir::ComplexType::get(builder.getF64Type()); in ConvertDataType()
127 } else if (auto complex_type = type.dyn_cast<mlir::ComplexType>()) { in ConvertScalarTypeToDataType()
/external/pytorch/aten/src/ATen/core/
Dunion_type.cpp77 to_fill->emplace_back(ComplexType::get()); in flattenUnion()
247 } else if (t == ComplexType::get()) { in create()
341 …nst Type*, 3> number_types{IntType::get().get(), FloatType::get().get(), ComplexType::get().get()}; in isSubtypeOfExt()
347 …nst Type*, 3> number_types{IntType::get().get(), FloatType::get().get(), ComplexType::get().get()}; in isSubtypeOfExt()
368 std::vector<TypePtr> number_types{IntType::get(), FloatType::get(), ComplexType::get()}; in unionStr()
423 && canHoldType(*ComplexType::get()); in canHoldType()
/external/llvm/test/MC/ARM/
Dcoff-function-type-info.ll33 ; CHECK-OBJECT: ComplexType: Function
41 ; CHECK-OBJECT: ComplexType: Function
/external/llvm/docs/
Dyaml2obj.rst38 ComplexType: IMAGE_SYM_DTYPE_NULL # (0)
48 ComplexType: IMAGE_SYM_DTYPE_NULL # (0)
184 ComplexType: [ {type: str, enum: [ IMAGE_SYM_DTYPE_NULL
/external/tensorflow/tensorflow/compiler/mlir/lite/utils/
Dconvert_type.cc43 } else if (auto complex_type = type.dyn_cast<mlir::ComplexType>()) { in ConvertTypeToTensorType()
100 return mlir::ComplexType::get(builder.getF32Type()); in ConvertElementType()
102 return mlir::ComplexType::get(builder.getF64Type()); in ConvertElementType()
/external/tensorflow/tensorflow/core/ir/importexport/
Dconvert_types.cc80 *type = ComplexType::get(builder.getF32Type()); in ConvertDataType()
83 *type = ComplexType::get(builder.getF64Type()); in ConvertDataType()
135 } else if (auto complex_type = type.dyn_cast<ComplexType>()) { in ConvertScalarTypeToDataType()
/external/tensorflow/tensorflow/compiler/mlir/tfrt/python_tests/regression_tests/
Dcompile_and_run_test.py84 if ir.ComplexType.isinstance(mlir_type):
85 if ir.F32Type.isinstance(ir.ComplexType(mlir_type).element_type):
87 if ir.F64Type.isinstance(ir.ComplexType(mlir_type).element_type):
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/include/mlir-hlo/Dialect/mhlo/transforms/
Dmap_mhlo_to_scalar_op.h264 bool operator()(Type t) { return t.isa<ComplexType>(); }
305 if (elementType.isa<ComplexType>()) {
416 if (auto complexType = elementType.dyn_cast<ComplexType>()) {
569 if (!args[0].getType().isa<ComplexType>()) return args[0];
580 if (!args[0].getType().isa<ComplexType>())
675 if (targetType.isa<ComplexType>()) {
676 Type targetElementType = targetType.cast<ComplexType>().getElementType();
677 assert(!targetElementType.isa<ComplexType>() &&
681 if (sourceType.isa<ComplexType>()) {
684 Type sourceElementType = sourceType.cast<ComplexType>().getElementType();
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_evaluator.cc1600 template <typename ComplexType>
1625 std::vector<ComplexType> data(fft_size); in ComputeFft()
1636 std::vector<ComplexType> buffer(buffer_size); in ComputeFft()
1681 static bool GatherToBuffer(absl::Span<ComplexType> data, int64_t length, in GatherToBuffer()
1683 absl::Span<ComplexType> buffer) { in GatherToBuffer()
1689 ComplexType value = data[start + k * stride]; in GatherToBuffer()
1690 input_is_zero &= value == ComplexType(0.0, 0.0); in GatherToBuffer()
1706 static inline ComplexType Twiddle(int64_t k, int64_t length, bool inverse) { in Twiddle()
1707 auto coeff = std::exp(ComplexType(0.0, -2.0 * M_PI * k / length)); in Twiddle()
1724 absl::Span<ComplexType> data, in NaiveDft1D()
[all …]
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/include/mlir-hlo/Dialect/mhlo/IR/
Dhlo_utils.td60 CPred<"$_self.cast<ShapedType>().getElementType().isa<ComplexType>()">,
64 CPred<"!$_self.cast<ShapedType>().getElementType().isa<ComplexType>()">,

123456