Home
last modified time | relevance | path

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

123

/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DPPC.cpp17 CharUnits EltSize, const ComplexType *CTy) { in complexTempStructure()
225 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in getParamTypeAlignment()
253 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) { in EmitVAArg()
318 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in getParamTypeAlignment()
383 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) { in EmitVAArg()
677 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in getParamTypeAlignment()
914 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) { in EmitVAArg()
H A DLoongArch.cpp77 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 DRISCV.cpp83 QualType EltTy = RetTy->castAs<ComplexType>()->getElementType(); in computeInfo()
141 if (auto CTy = Ty->getAs<ComplexType>()) { in detectFPCCEligibleStructHelper()
380 QualType EltTy = Ty->castAs<ComplexType>()->getElementType(); in classifyArgumentType()
H A DCSKY.cpp110 QualType EltTy = Ty->castAs<ComplexType>()->getElementType(); in classifyArgumentType()
H A DX86.cpp389 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in is32Or64BitBasicType()
535 if (const ComplexType *CT = RetTy->getAs<ComplexType>()) { in classifyReturnType()
1928 if (const ComplexType *CT = Ty->getAs<ComplexType>()) { in classify()
2917 } else if (IsRegCall && FI.getReturnType()->getAs<ComplexType>() && in computeInfo()
2919 ->getAs<ComplexType>() in computeInfo()
H A DARM.cpp471 if (const ComplexType *CT = Ty->getAs<ComplexType>()) in isIntegerLikeType()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprComplex.cpp34 static const ComplexType *getComplexType(QualType type) { in getComplexType()
36 if (const ComplexType *comp = dyn_cast<ComplexType>(type)) { in getComplexType()
39 return cast<ComplexType>(cast<AtomicType>(type)->getValueType()); in getComplexType()
287 if (auto *CT = Ty->getAs<ComplexType>()) { in getPromotionType()
458 SrcType = SrcType->castAs<ComplexType>()->getElementType(); in EmitComplexToComplexCast()
695 Op.Ty->castAs<ComplexType>()->getElementType()); in EmitComplexBinOpLibCall()
697 Op.Ty->castAs<ComplexType>()->getElementType()); in EmitComplexBinOpLibCall()
699 Op.Ty->castAs<ComplexType>()->getElementType()); in EmitComplexBinOpLibCall()
701 Op.Ty->castAs<ComplexType>()->getElementType()); in EmitComplexBinOpLibCall()
713 4, Op.Ty->castAs<ComplexType>()->getElementType()); in EmitComplexBinOpLibCall()
[all …]
H A DABIInfo.cpp129 if (const ComplexType *CT = Ty->getAs<ComplexType>()) { in isHomogeneousAggregate()
H A DSwiftCallingConv.cpp86 } else if (auto complexType = type->getAs<ComplexType>()) { in addTypedData()
829 if (isa<ComplexType>(type)) { in classifyType()
H A DCodeGenTypes.cpp550 llvm::Type *EltTy = ConvertType(cast<ComplexType>(Ty)->getElementType()); in ConvertType()
H A DCGDebugInfo.h178 llvm::DIType *CreateType(const ComplexType *Ty);
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A Darm_mve_defs.td222 class ComplexType<dag spec_>: Type { dag spec = spec_; }
277 class VecOf<Type t>: ComplexType<(CTO_Vec t)>;
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)>;
316 class DoubleSize<Type k> : ComplexType<(CTO_ScaleSize<2, 1> k)>;
317 class HalfSize<Type k> : ComplexType<(CTO_ScaleSize<1, 2> k)>;
322 class Unsigned<Type t>: ComplexType<(CTO_CopyKind t, u32)>;
[all …]
H A DTypeNodes.td55 def ComplexType : TypeNode<Type>;
H A Darm_cde.td22 class Float<Type t>: ComplexType<(CTO_CopyKind t, f32)>;
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DCanonicalType.h418 struct CanProxyAdaptor<ComplexType> : public CanProxyBase<ComplexType> {
H A DASTNodeTraverser.h347 void VisitComplexType(const ComplexType *T) { Visit(T->getElementType()); } in VisitComplexType()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DCOFFYAML.h98 COFF::SymbolComplexType ComplexType = COFF::IMAGE_SYM_DTYPE_NULL; member
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DType.cpp628 if (const auto *CT = dyn_cast<ComplexType>(CanonicalType)) in isComplexType()
644 const ComplexType *Type::getAsComplexIntegerType() const { in getAsComplexIntegerType()
645 if (const auto *Complex = getAs<ComplexType>()) in getAsComplexIntegerType()
913 QualType VisitComplexType(const ComplexType *T) { in TRIVIAL_TYPE_CLASS()
2190 if (const auto *CT = dyn_cast<ComplexType>(CanonicalType)) in isFloatingType()
2230 return isa<ComplexType>(CanonicalType) || isBitIntType(); in isArithmeticType()
2255 } else if (const auto *CT = dyn_cast<ComplexType>(T)) { in getScalarTypeKind()
4296 return Cache::get(cast<ComplexType>(T)->getElementType()); in computeCachedProperties()
4383 return computeTypeLinkageInfo(cast<ComplexType>(T)->getElementType()); in computeTypeLinkageInfo()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DPointer.cpp338 if (const auto *CT = Ty->getAs<ComplexType>()) { in toRValue()
H A DProgram.cpp379 if (const auto *CT = Ty->getAs<ComplexType>()) { in createDescriptor()
H A DByteCodeExprGen.h288 QualType ElemType = T->getAs<ComplexType>()->getElementType(); in classifyComplexElementType()
/freebsd-14.2/contrib/llvm-project/clang/lib/Support/
H A DRISCVVIntrinsicUtils.cpp472 StringRef ComplexType = PrototypeDescriptorStr.slice(1, Idx); in parsePrototypeDescriptor() local
477 auto ComplexTT = ComplexType.split(":"); in parsePrototypeDescriptor()
/freebsd-14.2/contrib/llvm-project/clang/lib/Index/
H A DUSRGeneration.cpp893 if (const ComplexType *CT = T->getAs<ComplexType>()) { in VisitType()
/freebsd-14.2/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp1047 const AstTypeMatcher<ComplexType> complexType;
1083 ComplexType));
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp1146 if (isa<ComplexType>(ShorterType.getCanonicalType())) { in handleComplexFloatConversion()
1272 auto *LHSComplex = LHSType->getAs<ComplexType>(); in unsupportedTypeConversion()
1273 auto *RHSComplex = RHSType->getAs<ComplexType>(); in unsupportedTypeConversion()
1380 QualType ComplexType = S.Context.getComplexType(ScalarType); in handleComplexIntConversion() local
1381 RHS = S.ImpCastExprToType(RHS.get(), ComplexType, in handleComplexIntConversion()
1384 return ComplexType; in handleComplexIntConversion()
1393 QualType ComplexType = S.Context.getComplexType(ScalarType); in handleComplexIntConversion() local
1396 LHS = S.ImpCastExprToType(LHS.get(), ComplexType, in handleComplexIntConversion()
1398 return ComplexType; in handleComplexIntConversion()
4964 if (const ComplexType *CT = V.get()->getType()->getAs<ComplexType>()) in CheckRealImagOperand()
[all …]

123