/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGExprComplex.cpp | 38 static const ComplexType *getComplexType(QualType type) { in getComplexType() 40 if (const ComplexType *comp = dyn_cast<ComplexType>(type)) { in getComplexType() 43 return cast<ComplexType>(cast<AtomicType>(type)->getValueType()); in getComplexType() 248 QualType Elem = E->getType()->castAs<ComplexType>()->getElementType(); in VisitCXXScalarValueInitExpr() 254 QualType Elem = E->getType()->castAs<ComplexType>()->getElementType(); in VisitImplicitValueInitExpr() 333 if (auto *CT = Ty->getAs<ComplexType>()) { in getPromotionType() 521 SrcType = SrcType->castAs<ComplexType>()->getElementType(); in EmitComplexToComplexCast() 522 DestType = DestType->castAs<ComplexType>()->getElementType(); in EmitComplexToComplexCast() 539 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 | 86 } else if (auto complexType = type->getAs<ComplexType>()) { in addTypedData() 829 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() 226 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in getParamTypeAlignment() 254 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) { in EmitVAArg() 374 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in getParamTypeAlignment() 439 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) { in EmitVAArg() 734 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in getParamTypeAlignment() 971 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) { in EmitVAArg()
|
H A D | LoongArch.cpp | 77 QualType EltTy = RetTy->castAs<ComplexType>()->getElementType(); in computeInfo() 135 if (auto CTy = Ty->getAs<ComplexType>()) { in detectFARsEligibleStructHelper() 330 QualType EltTy = Ty->castAs<ComplexType>()->getElementType(); in classifyArgumentType()
|
H A D | RISCV.cpp | 83 QualType EltTy = RetTy->castAs<ComplexType>()->getElementType(); in computeInfo() 141 if (auto CTy = Ty->getAs<ComplexType>()) { in detectFPCCEligibleStructHelper() 381 QualType EltTy = Ty->castAs<ComplexType>()->getElementType(); in classifyArgumentType()
|
H A D | CSKY.cpp | 108 QualType EltTy = Ty->castAs<ComplexType>()->getElementType(); in classifyArgumentType()
|
H A D | X86.cpp | 389 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in is32Or64BitBasicType() 536 if (const ComplexType *CT = RetTy->getAs<ComplexType>()) { in classifyReturnType() 1943 if (const ComplexType *CT = Ty->getAs<ComplexType>()) { in classify() 2934 } else if (IsRegCall && FI.getReturnType()->getAs<ComplexType>() && in computeInfo() 2936 ->getAs<ComplexType>() in computeInfo()
|
H A D | ARM.cpp | 469 if (const ComplexType *CT = Ty->getAs<ComplexType>()) in isIntegerLikeType()
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | arm_mve_defs.td | 218 // ComplexType is used to represent any more complicated type: vectors, 222 class ComplexType<dag spec_>: Type { dag spec = spec_; } 224 // Operators you can use in the ComplexType spec dag. These are an intermediate 277 class VecOf<Type t>: ComplexType<(CTO_Vec t)>; 285 class NarrowedVecOf<Type t, Type v>: ComplexType<(CTO_Vec t, v)>; 289 class PredOf<Type t>: ComplexType<(CTO_Pred t)>; 294 def Scalar: ComplexType<(CTO_Parameter)>; 301 class MultiVector<int n>: ComplexType<(CTO_Tuple<n> Vector)>; 305 class Ptr<Type t>: ComplexType<(CTO_Pointer<0> t)>; 306 class CPtr<Type t>: ComplexType<(CTO_Pointer<1> t)>; [all …]
|
H A D | TypeNodes.td | 55 def ComplexType : TypeNode<Type>;
|
H A D | arm_cde.td | 22 class Float<Type t>: ComplexType<(CTO_CopyKind t, f32)>;
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | CanonicalType.h | 418 struct CanProxyAdaptor<ComplexType> : public CanProxyBase<ComplexType> {
|
/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/AST/ |
H A D | Type.cpp | 678 if (const auto *CT = dyn_cast<ComplexType>(CanonicalType)) in isComplexType() 698 const ComplexType *Type::getAsComplexIntegerType() const { in getAsComplexIntegerType() 699 if (const auto *Complex = getAs<ComplexType>()) in getAsComplexIntegerType() 967 QualType VisitComplexType(const ComplexType *T) { in TRIVIAL_TYPE_CLASS() 2253 if (const auto *CT = dyn_cast<ComplexType>(CanonicalType)) in isFloatingType() 2293 return isa<ComplexType>(CanonicalType) || isBitIntType(); in isArithmeticType() 2318 } else if (const auto *CT = dyn_cast<ComplexType>(T)) { in getScalarTypeKind() 4525 return Cache::get(cast<ComplexType>(T)->getElementType()); in computeCachedProperties() 4613 return computeTypeLinkageInfo(cast<ComplexType>(T)->getElementType()); in computeTypeLinkageInfo()
|
/freebsd/contrib/llvm-project/clang/lib/Support/ |
H A D | RISCVVIntrinsicUtils.cpp | 472 StringRef ComplexType = PrototypeDescriptorStr.slice(1, Idx); in parsePrototypeDescriptor() local 477 auto ComplexTT = ComplexType.split(":"); in parsePrototypeDescriptor()
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Compiler.cpp | 572 CE->getType()->getAs<ComplexType>()->getElementType(); in VisitCastExpr() 1010 assert(classifyPrim(LHSType->getAs<ComplexType>()->getElementType()) == in VisitComplexBinOp() 1011 classifyPrim(RHSType->getAs<ComplexType>()->getElementType())); in VisitComplexBinOp() 1013 classifyPrim(LHSType->getAs<ComplexType>()->getElementType()); in VisitComplexBinOp() 1022 QualType ElemQT = RHSType->getAs<ComplexType>()->getElementType(); in VisitComplexBinOp() 1249 if (const auto *ComplexTy = E->getType()->getAs<ComplexType>()) { in VisitImplicitValueInitExpr() 1475 if (const auto *ComplexTy = QT->getAs<ComplexType>()) { in visitInitList() 2681 if (const auto *CT = Ty->getAs<ComplexType>()) { in VisitCXXScalarValueInitExpr()
|
H A D | Program.cpp | 431 if (const auto *CT = Ty->getAs<ComplexType>()) { in createDescriptor()
|
H A D | Pointer.h | 324 if (const auto *CT = getFieldDesc()->getType()->getAs<ComplexType>()) in getType()
|
H A D | Descriptor.cpp | 381 if (const auto *CT = T->getAs<ComplexType>()) in getElemQualType()
|
H A D | Pointer.cpp | 489 if (const auto *CT = Ty->getAs<ComplexType>()) { in toRValue()
|
H A D | Compiler.h | 340 QualType ElemType = T->getAs<ComplexType>()->getElementType(); in classifyComplexElementType()
|
/freebsd/contrib/llvm-project/clang/lib/Index/ |
H A D | USRGeneration.cpp | 909 if (const ComplexType *CT = T->getAs<ComplexType>()) { in VisitType()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaExpr.cpp | 1101 QualType fpTy = ComplexTy->castAs<ComplexType>()->getElementType(); in handleComplexIntegerToFloatConversion() 1125 bool LongerIsComplex = isa<ComplexType>(LongerType.getCanonicalType()); in handleComplexFloatConversion() 1130 if (isa<ComplexType>(ShorterType.getCanonicalType())) { in handleComplexFloatConversion() 1135 LongerType = LongerType->castAs<ComplexType>()->getElementType(); in handleComplexFloatConversion() 1256 auto *LHSComplex = LHSType->getAs<ComplexType>(); in unsupportedTypeConversion() 1257 auto *RHSComplex = RHSType->getAs<ComplexType>(); in unsupportedTypeConversion() 1346 const ComplexType *LHSComplexInt = LHSType->getAsComplexIntegerType(); in handleComplexIntConversion() 1347 const ComplexType *RHSComplexInt = RHSType->getAsComplexIntegerType(); in handleComplexIntConversion() 1364 QualType ComplexType = S.Context.getComplexType(ScalarType); in handleComplexIntConversion() local 1365 RHS = S.ImpCastExprToType(RHS.get(), ComplexType, in handleComplexIntConversion() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
H A D | COFFEmitter.cpp | 114 Sym.Header.Type |= Sym.ComplexType << COFF::SCT_COMPLEX_TYPE_SHIFT; in parseSymbols()
|