Home
last modified time | relevance | path

Searched refs:complexTy (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Dialect/Complex/IR/
H A DComplexOps.cpp32 auto complexTy = type.dyn_cast<ComplexType>(); in isBuildableWith() local
33 if (!complexTy) in isBuildableWith()
35 auto complexEltTy = complexTy.getElementType(); in isBuildableWith()
/llvm-project-15.0.7/flang/lib/Optimizer/Builder/
H A DComplex.cpp27 auto complexTy = fir::ComplexType::get(builder.getContext(), kind); in createComplex() local
28 return createComplex(complexTy, real, imag); in createComplex()
/llvm-project-15.0.7/mlir/lib/IR/
H A DBuiltinAttributes.cpp610 if (auto complexTy = eltTy.dyn_cast<ComplexType>()) { in operator *() local
611 auto complexEltTy = complexTy.getElementType(); in operator *()
617 return ArrayAttr::get(complexTy.getContext(), in operator *()
626 return ArrayAttr::get(complexTy.getContext(), in operator *()
1479 if (ComplexType complexTy = elementType.dyn_cast<ComplexType>()) { in convertEndianOfArrayRefForBEmachine() local
1480 elementType = complexTy.getElementType(); in convertEndianOfArrayRefForBEmachine()
1619 if (auto complexTy = eltType.dyn_cast<ComplexType>()) { in getZeroAttr() local
1620 auto eltType = complexTy.getElementType(); in getZeroAttr()
1626 return ArrayAttr::get(complexTy.getContext(), in getZeroAttr()
H A DAsmPrinter.cpp2005 if (ComplexType complexTy = elementType.dyn_cast<ComplexType>()) { in printDenseIntOrFPElementsAttr() local
2006 Type complexElementType = complexTy.getElementType(); in printDenseIntOrFPElementsAttr()
2167 .Case<ComplexType>([&](ComplexType complexTy) { in printType() argument
2169 printType(complexTy.getElementType()); in printType()
/llvm-project-15.0.7/mlir/lib/AsmParser/
H A DAttributeParser.cpp553 if (ComplexType complexTy = eltType.dyn_cast<ComplexType>()) { in getAttr() local
554 eltType = complexTy.getElementType(); in getAttr()