Home
last modified time | relevance | path

Searched refs:complexType (Results 1 – 14 of 14) sorted by relevance

/llvm-project-15.0.7/mlir/unittests/IR/
H A DAttributeTest.cpp170 ComplexType complexType = ComplexType::get(FloatType::getF32(&context)); in TEST() local
172 testSplat(complexType, value); in TEST()
177 ComplexType complexType = ComplexType::get(IntegerType::get(&context, 64)); in TEST() local
179 testSplat(complexType, value); in TEST()
184 ComplexType complexType = ComplexType::get(FloatType::getF32(&context)); in TEST() local
186 testSplat(complexType, value); in TEST()
191 ComplexType complexType = ComplexType::get(IntegerType::get(&context, 64)); in TEST() local
193 testSplat(complexType, value); in TEST()
/llvm-project-15.0.7/mlir/lib/IR/
H A DBuiltinTypeInterfaces.cpp46 if (auto complexType = elementType.dyn_cast<ComplexType>()) { in getSizeInBits() local
47 elementType = complexType.getElementType(); in getSizeInBits()
H A DBuiltinAttributes.cpp672 auto complexType = attr.getElementType().cast<ComplexType>(); in ComplexIntElementIterator() local
673 bitWidth = getDenseElementBitWidth(complexType.getElementType()); in ComplexIntElementIterator()
/llvm-project-15.0.7/flang/lib/Optimizer/Builder/
H A DComplex.cpp16 fir::factory::Complex::getComplexPartType(mlir::Type complexType) const { in getComplexPartType()
17 return builder.getRealType(complexType.cast<fir::ComplexType>().getFKind()); in getComplexPartType()
/llvm-project-15.0.7/flang/include/flang/Optimizer/Builder/
H A DComplex.h33 mlir::Type getComplexPartType(mlir::Type complexType) const;
40 mlir::Value createComplex(mlir::Type complexType, mlir::Value real,
/llvm-project-15.0.7/mlir/lib/Conversion/ComplexToLibm/
H A DComplexToLibm.cpp23 auto complexType = type.cast<ComplexType>(); in operator ()() local
24 auto elementType = complexType.getElementType(); in operator ()()
/llvm-project-15.0.7/flang/lib/Lower/
H A DVectorSubscripts.cpp97 auto complexType = gen(complexPart.complex()); in gen() local
104 return fir::factory::Complex{builder, loc}.getComplexPartType(complexType); in gen()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DSwiftCallingConv.cpp85 } else if (auto complexType = type->getAs<ComplexType>()) { in addTypedData() local
86 auto eltType = complexType->getElementType(); in addTypedData()
H A DCGExprComplex.cpp338 QualType complexType) { in emitAddrOfRealComponent() argument
343 QualType complexType) { in emitAddrOfImagComponent() argument
H A DCodeGenFunction.h4411 Address emitAddrOfRealComponent(Address complex, QualType complexType);
4412 Address emitAddrOfImagComponent(Address complex, QualType complexType);
/llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp168 REGISTER_MATCHER(complexType); in RegistryMaps()
/llvm-project-15.0.7/clang/unittests/ASTMatchers/
H A DASTMatchersNarrowingTest.cpp3513 EXPECT_TRUE(matches("_Complex float f;", complexType())); in TEST_P()
3515 matches("_Complex float f;", complexType(hasElementType(builtinType())))); in TEST_P()
3517 complexType(hasElementType(isInteger())))); in TEST_P()
/llvm-project-15.0.7/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp1036 const AstTypeMatcher<ComplexType> complexType; variable
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchers.h6775 extern const AstTypeMatcher<ComplexType> complexType;