Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprComplex.cpp37 static const ComplexType *getComplexType(QualType type) { in getComplexType()
39 if (const ComplexType *comp = dyn_cast<ComplexType>(type)) { in getComplexType()
42 return cast<ComplexType>(cast<AtomicType>(type)->getValueType()); in getComplexType()
247 QualType Elem = E->getType()->castAs<ComplexType>()->getElementType(); in VisitCXXScalarValueInitExpr()
253 QualType Elem = E->getType()->castAs<ComplexType>()->getElementType(); in VisitImplicitValueInitExpr()
322 if (auto *CT = Ty->getAs<ComplexType>()) { in getPromotionType()
518 SrcType = SrcType->castAs<ComplexType>()->getElementType(); in EmitComplexToComplexCast()
519 DestType = DestType->castAs<ComplexType>()->getElementType(); in EmitComplexToComplexCast()
536 DestType = DestType->castAs<ComplexType>()->getElementType(); in EmitScalarToComplexCast()
765 Op.Ty->castAs<ComplexType>()->getElementType()); in EmitComplexBinOpLibCall()
[all …]
H A DABIInfo.cpp129 if (const ComplexType *CT = Ty->getAs<ComplexType>()) { in isHomogeneousAggregate()
H A DSwiftCallingConv.cpp85 } else if (auto complexType = type->getAs<ComplexType>()) { in addTypedData()
834 if (isa<ComplexType>(type)) { in classifyType()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DPPC.cpp18 CharUnits EltSize, const ComplexType *CTy) { in complexTempStructure()
230 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in getParamTypeAlignment()
258 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) { in EmitVAArg()
378 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in getParamTypeAlignment()
443 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) { in EmitVAArg()
738 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in getParamTypeAlignment()
982 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) { in EmitVAArg()
H A DLoongArch.cpp77 QualType EltTy = RetTy->castAs<ComplexType>()->getElementType(); in computeInfo()
134 if (auto CTy = Ty->getAs<ComplexType>()) { in detectFARsEligibleStructHelper()
330 QualType EltTy = Ty->castAs<ComplexType>()->getElementType(); in classifyArgumentType()
H A DRISCV.cpp154 QualType EltTy = RetTy->castAs<ComplexType>()->getElementType(); in computeInfo()
212 if (auto CTy = Ty->getAs<ComplexType>()) { in detectFPCCEligibleStructHelper()
622 QualType EltTy = Ty->castAs<ComplexType>()->getElementType(); in classifyArgumentType()
H A DCSKY.cpp109 QualType EltTy = Ty->castAs<ComplexType>()->getElementType(); in classifyArgumentType()
H A DX86.cpp376 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in is32Or64BitBasicType()
525 if (const ComplexType *CT = RetTy->getAs<ComplexType>()) { in classifyReturnType()
1950 if (const ComplexType *CT = Ty->getAs<ComplexType>()) { in classify()
2950 } else if (IsRegCall && FI.getReturnType()->getAs<ComplexType>() && in computeInfo()
2952 ->getAs<ComplexType>() in computeInfo()
H A DARM.cpp508 if (const ComplexType *CT = Ty->getAs<ComplexType>()) in isIntegerLikeType()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenExprComplex.cpp80 if (auto *complexTy = ty->getAs<ComplexType>()) { in getPromotionType()
114 static const ComplexType *getComplexType(QualType type) { in getComplexType()
116 if (const ComplexType *comp = dyn_cast<ComplexType>(type)) in getComplexType()
118 return cast<ComplexType>(cast<AtomicType>(type)->getValueType()); in getComplexType()
302 auto ty = mlir::cast<cir::ComplexType>(cgf.convertType(il->getType())); in VisitImaginaryLiteral()
H A DCIRGenBuilder.h353 auto resultComplexTy = cir::ComplexType::get(real.getType()); in createComplexCreate()
358 auto operandTy = mlir::cast<cir::ComplexType>(operand.getType()); in createComplexReal()
363 auto operandTy = mlir::cast<cir::ComplexType>(operand.getType()); in createComplexImag()
371 auto srcComplexTy = mlir::cast<cir::ComplexType>(srcPtrTy.getPointee()); in createComplexRealPtr()
386 auto srcComplexTy = mlir::cast<cir::ComplexType>(srcPtrTy.getPointee()); in createComplexImagPtr()
H A DCIRGenTypes.cpp392 const auto *ct = cast<clang::ComplexType>(ty); in convertType()
394 resultType = cir::ComplexType::get(elementTy); in convertType()
H A DCIRGenExprConstant.cpp784 cir::ComplexType complexType = in tryEmitPrivate()
785 mlir::dyn_cast<cir::ComplexType>(desiredType); in tryEmitPrivate()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A Darm_mve_defs.td219 // ComplexType is used to represent any more complicated type: vectors,
223 class ComplexType<dag spec_>: Type { dag spec = spec_; }
225 // Operators you can use in the ComplexType spec dag. These are an intermediate
278 class VecOf<Type t>: ComplexType<(CTO_Vec t)>;
286 class NarrowedVecOf<Type t, Type v>: ComplexType<(CTO_Vec t, v)>;
290 class PredOf<Type t>: ComplexType<(CTO_Pred t)>;
295 def Scalar: ComplexType<(CTO_Parameter)>;
302 class MultiVector<int n>: ComplexType<(CTO_Tuple<n> Vector)>;
306 class Ptr<Type t>: ComplexType<(CTO_Pointer<0> t)>;
307 class CPtr<Type t>: ComplexType<(CTO_Pointer<1> t)>;
[all …]
H A DTypeNodes.td55 def ComplexType : TypeNode<Type>;
/freebsd/contrib/llvm-project/clang/include/clang/CIR/Dialect/IR/
H A DCIRAttrs.h36 class ComplexType; variable
H A DCIRAttrs.td397 AttributeSelfTypeParameter<"", "cir::ComplexType">:$type,
405 auto type = cir::ComplexType::get(real.getType());
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DCanonicalType.h420 struct CanProxyAdaptor<ComplexType> : public CanProxyBase<ComplexType> {
/freebsd/contrib/llvm-project/clang/lib/CIR/Dialect/IR/
H A DCIRTypes.cpp589 cir::ComplexType::getTypeSizeInBits(const mlir::DataLayout &dataLayout, in getTypeSizeInBits()
600 cir::ComplexType::getABIAlignment(const mlir::DataLayout &dataLayout, in getABIAlignment()
H A DCIRAttrs.cpp203 cir::ComplexType type, mlir::TypedAttr real, in verify()
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DCOFFYAML.h98 COFF::SymbolComplexType ComplexType = COFF::IMAGE_SYM_DTYPE_NULL; member
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DTemplateArgumentHasher.cpp281 void VisitComplexType(const ComplexType *T) { in VisitComplexType()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DType.cpp727 if (const auto *CT = dyn_cast<ComplexType>(CanonicalType)) in isComplexType()
747 const ComplexType *Type::getAsComplexIntegerType() const { in getAsComplexIntegerType()
748 if (const auto *Complex = getAs<ComplexType>()) in getAsComplexIntegerType()
1017 QualType VisitComplexType(const ComplexType *T) { in TRIVIAL_TYPE_CLASS()
2308 if (const auto *CT = dyn_cast<ComplexType>(CanonicalType)) in isFloatingType()
2348 return isa<ComplexType>(CanonicalType) || isBitIntType(); in isArithmeticType()
2390 } else if (const auto *CT = dyn_cast<ComplexType>(T)) { in getScalarTypeKind()
4738 return Cache::get(cast<ComplexType>(T)->getElementType()); in computeCachedProperties()
4837 return computeTypeLinkageInfo(cast<ComplexType>(T)->getElementType()); in computeTypeLinkageInfo()
/freebsd/contrib/llvm-project/clang/lib/Support/
H A DRISCVVIntrinsicUtils.cpp469 StringRef ComplexType = PrototypeDescriptorStr.slice(1, Idx); in parsePrototypeDescriptor() local
474 auto ComplexTT = ComplexType.split(":"); in parsePrototypeDescriptor()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DUSRGeneration.cpp907 if (const ComplexType *CT = T->getAs<ComplexType>()) { in VisitType()

1234