| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprComplex.cpp | 37 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 D | ABIInfo.cpp | 129 if (const ComplexType *CT = Ty->getAs<ComplexType>()) { in isHomogeneousAggregate()
|
| H A D | SwiftCallingConv.cpp | 85 } 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 D | PPC.cpp | 18 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 D | LoongArch.cpp | 77 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 D | RISCV.cpp | 154 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 D | CSKY.cpp | 109 QualType EltTy = Ty->castAs<ComplexType>()->getElementType(); in classifyArgumentType()
|
| H A D | X86.cpp | 376 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 D | ARM.cpp | 508 if (const ComplexType *CT = Ty->getAs<ComplexType>()) in isIntegerLikeType()
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/ |
| H A D | CIRGenExprComplex.cpp | 80 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 D | CIRGenBuilder.h | 353 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 D | CIRGenTypes.cpp | 392 const auto *ct = cast<clang::ComplexType>(ty); in convertType() 394 resultType = cir::ComplexType::get(elementTy); in convertType()
|
| H A D | CIRGenExprConstant.cpp | 784 cir::ComplexType complexType = in tryEmitPrivate() 785 mlir::dyn_cast<cir::ComplexType>(desiredType); in tryEmitPrivate()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | arm_mve_defs.td | 219 // 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 D | TypeNodes.td | 55 def ComplexType : TypeNode<Type>;
|
| /freebsd/contrib/llvm-project/clang/include/clang/CIR/Dialect/IR/ |
| H A D | CIRAttrs.h | 36 class ComplexType; variable
|
| H A D | CIRAttrs.td | 397 AttributeSelfTypeParameter<"", "cir::ComplexType">:$type, 405 auto type = cir::ComplexType::get(real.getType());
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | CanonicalType.h | 420 struct CanProxyAdaptor<ComplexType> : public CanProxyBase<ComplexType> {
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/Dialect/IR/ |
| H A D | CIRTypes.cpp | 589 cir::ComplexType::getTypeSizeInBits(const mlir::DataLayout &dataLayout, in getTypeSizeInBits() 600 cir::ComplexType::getABIAlignment(const mlir::DataLayout &dataLayout, in getABIAlignment()
|
| H A D | CIRAttrs.cpp | 203 cir::ComplexType type, mlir::TypedAttr real, in verify()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/ |
| H A D | COFFYAML.h | 98 COFF::SymbolComplexType ComplexType = COFF::IMAGE_SYM_DTYPE_NULL; member
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | TemplateArgumentHasher.cpp | 281 void VisitComplexType(const ComplexType *T) { in VisitComplexType()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | Type.cpp | 727 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 D | RISCVVIntrinsicUtils.cpp | 469 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 D | USRGeneration.cpp | 907 if (const ComplexType *CT = T->getAs<ComplexType>()) { in VisitType()
|