Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGExprComplex.cpp33 static const ComplexType *getComplexType(QualType type) { in getComplexType()
35 if (const ComplexType *comp = dyn_cast<ComplexType>(type)) { in getComplexType()
38 return cast<ComplexType>(cast<AtomicType>(type)->getValueType()); in getComplexType()
426 SrcType = SrcType->castAs<ComplexType>()->getElementType(); in EmitComplexToComplexCast()
427 DestType = DestType->castAs<ComplexType>()->getElementType(); in EmitComplexToComplexCast()
442 DestType = DestType->castAs<ComplexType>()->getElementType(); in EmitScalarToComplexCast()
607 Op.Ty->castAs<ComplexType>()->getElementType()); in EmitComplexBinOpLibCall()
609 Op.Ty->castAs<ComplexType>()->getElementType()); in EmitComplexBinOpLibCall()
611 Op.Ty->castAs<ComplexType>()->getElementType()); in EmitComplexBinOpLibCall()
613 Op.Ty->castAs<ComplexType>()->getElementType()); in EmitComplexBinOpLibCall()
[all …]
H A DTargetInfo.cpp1282 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in is32Or64BitBasicType()
2685 if (const ComplexType *CT = Ty->getAs<ComplexType>()) { in classify()
3597 } else if (IsRegCall && FI.getReturnType()->getAs<ComplexType>()) { in computeInfo()
3600 const ComplexType *CT = FI.getReturnType()->getAs<ComplexType>(); in computeInfo()
4123 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in getParamTypeAlignment()
4160 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) { in EmitVAArg()
4508 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in getParamTypeAlignment()
4630 if (const ComplexType *CT = Ty->getAs<ComplexType>()) { in isHomogeneousAggregate()
4839 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) { in EmitVAArg()
5974 if (const ComplexType *CT = Ty->getAs<ComplexType>()) in isIntegerLikeType()
H A DSwiftCallingConv.cpp85 } else if (auto complexType = type->getAs<ComplexType>()) { in addTypedData()
816 if (isa<ComplexType>(type)) { in classifyType()
H A DCGDebugInfo.h151 llvm::DIType *CreateType(const ComplexType *Ty);
H A DCodeGenTypes.cpp530 llvm::Type *EltTy = ConvertType(cast<ComplexType>(Ty)->getElementType()); in ConvertType()
H A DCGExprAgg.cpp901 if (const ComplexType *CT = ArgTy->getAs<ComplexType>()) in EmitCompare()
H A DCGCall.cpp958 if (const ComplexType *CT = Ty->getAs<ComplexType>()) { in getTypeExpansion()
1534 if (const ComplexType *CT = ResultType->getAs<ComplexType>()) { in ReturnTypeUsesFP2Ret()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DCanonicalType.h418 struct CanProxyAdaptor<ComplexType> : public CanProxyBase<ComplexType> {
H A DType.h2142 const ComplexType *getAsComplexIntegerType() const; // GCC complex int type.
2477 class ComplexType : public Type, public llvm::FoldingSetNode {
2482 ComplexType(QualType Element, QualType CanonicalPtr)
6378 return isa<ComplexType>(CanonicalType);
6640 isa<ComplexType>(CanonicalType) ||
H A DRecursiveASTVisitor.h947 DEF_TRAVERSE_TYPE(ComplexType, { TRY_TO(TraverseType(T->getElementType())); })
1150 DEF_TRAVERSE_TYPELOC(ComplexType, {
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DType.cpp482 if (const auto *CT = dyn_cast<ComplexType>(CanonicalType)) in isComplexType()
498 const ComplexType *Type::getAsComplexIntegerType() const { in getAsComplexIntegerType()
499 if (const auto *Complex = getAs<ComplexType>()) in getAsComplexIntegerType()
758 QualType VisitComplexType(const ComplexType *T) { in TRIVIAL_TYPE_CLASS()
1925 if (const auto *CT = dyn_cast<ComplexType>(CanonicalType)) in isFloatingType()
1964 return isa<ComplexType>(CanonicalType); in isArithmeticType()
1989 } else if (const auto *CT = dyn_cast<ComplexType>(T)) { in getScalarTypeKind()
3542 return Cache::get(cast<ComplexType>(T)->getElementType()); in computeCachedProperties()
3626 return computeTypeLinkageInfo(cast<ComplexType>(T)->getElementType()); in computeTypeLinkageInfo()
H A DExprConstant.cpp203 const ComplexType *CT = Type->castAs<ComplexType>(); in findMostDerivedSubobject()
2899 ObjType = ObjType->castAs<ComplexType>()->getElementType(); in findSubobject()
3086 ObjType = ObjType->castAs<ComplexType>()->getElementType(); in FindDesignatorMismatch()
3561 SubobjType->castAs<ComplexType>()->getElementType() in found()
3565 SubobjType->castAs<ComplexType>()->getElementType() in found()
7948 const auto *CT = BaseType->castAs<ComplexType>(); in isDesignatorAtObjectEnd()
10194 QualType ElemTy = E->getType()->castAs<ComplexType>()->getElementType(); in ZeroInitialization()
10310 QualType To = E->getType()->getAs<ComplexType>()->getElementType(); in VisitCastExpr()
10322 QualType To = E->getType()->getAs<ComplexType>()->getElementType(); in VisitCastExpr()
10346 QualType To = E->getType()->getAs<ComplexType>()->getElementType(); in VisitCastExpr()
[all …]
H A DASTStructuralEquivalence.cpp343 cast<ComplexType>(T1)->getElementType(), in IsStructurallyEquivalent()
344 cast<ComplexType>(T2)->getElementType())) in IsStructurallyEquivalent()
H A DTypePrinter.cpp355 void TypePrinter::printComplexBefore(const ComplexType *T, raw_ostream &OS) { in printComplexBefore()
360 void TypePrinter::printComplexAfter(const ComplexType *T, raw_ostream &OS) { in printComplexAfter()
H A DODRHash.cpp761 void VisitComplexType(const ComplexType *T) { in VisitComplexType()
H A DASTContext.cpp1998 TypeInfo EltInfo = getTypeInfo(cast<ComplexType>(T)->getElementType()); in getTypeInfoImpl()
2211 if (const auto *CT = T->getAs<ComplexType>()) in getPreferredTypeAlign()
2823 ComplexType::Profile(ID, T); in getComplexType()
2826 if (ComplexType *CT = ComplexTypes.FindNodeOrInsertPos(ID, InsertPos)) in getComplexType()
2836 ComplexType *NewIP = ComplexTypes.FindNodeOrInsertPos(ID, InsertPos); in getComplexType()
2839 auto *New = new (*this, TypeAlignment) ComplexType(T, Canonical); in getComplexType()
5552 if (const auto *CT = T->getAs<ComplexType>()) in getFloatingRank()
6666 const auto *CT = T->castAs<ComplexType>(); in getObjCEncodingForTypeImpl()
/freebsd-12.1/contrib/llvm/include/llvm/ObjectYAML/
H A DCOFFYAML.h87 COFF::SymbolComplexType ComplexType = COFF::IMAGE_SYM_DTYPE_NULL; member
/freebsd-12.1/contrib/llvm/tools/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp809 const AstTypeMatcher<ComplexType> complexType;
840 ComplexType));
/freebsd-12.1/contrib/llvm/tools/clang/lib/Index/
H A DUSRGeneration.cpp811 if (const ComplexType *CT = T->getAs<ComplexType>()) { in VisitType()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaExpr.cpp991 auto *LHSComplexType = dyn_cast<ComplexType>(LHSType); in handleComplexFloatConversion()
992 auto *RHSComplexType = dyn_cast<ComplexType>(RHSType); in handleComplexFloatConversion()
1103 auto *LHSComplex = LHSType->getAs<ComplexType>(); in unsupportedTypeConversion()
1104 auto *RHSComplex = RHSType->getAs<ComplexType>(); in unsupportedTypeConversion()
1220 RHS = S.ImpCastExprToType(RHS.get(), ComplexType, in handleComplexIntConversion()
1223 return ComplexType; in handleComplexIntConversion()
1235 LHS = S.ImpCastExprToType(LHS.get(), ComplexType, in handleComplexIntConversion()
1237 return ComplexType; in handleComplexIntConversion()
4148 if (const ComplexType *CT = V.get()->getType()->getAs<ComplexType>()) in CheckRealImagOperand()
7931 !LHSType->getAs<ComplexType>()) in CheckAssignmentConstraints()
[all …]
H A DSemaExprCXX.cpp4041 QualType FromEl = From->getType()->getAs<ComplexType>()->getElementType(); in PerformImplicitConversion()
4042 QualType ToEl = ToType->getAs<ComplexType>()->getElementType(); in PerformImplicitConversion()
4181 if (const ComplexType *ToComplex = ToType->getAs<ComplexType>()) { in PerformImplicitConversion()
4203 const ComplexType *FromComplex = From->getType()->getAs<ComplexType>(); in PerformImplicitConversion()
H A DSemaTemplateDeduction.cpp1519 if (const ComplexType *ComplexArg = Arg->getAs<ComplexType>()) in DeduceTemplateArgumentsByTypeMatch()
1521 cast<ComplexType>(Param)->getElementType(), in DeduceTemplateArgumentsByTypeMatch()
5476 cast<ComplexType>(T)->getElementType(), in MarkUsedTemplateParameters()
H A DSemaChecking.cpp9544 if (const ComplexType *CT = dyn_cast<ComplexType>(T)) in forValueOfCanonicalType()
9589 if (const ComplexType *CT = dyn_cast<ComplexType>(T)) in forTargetOfCanonicalType()
10929 if (isa<ComplexType>(Source)) { in CheckImplicitConversion()
10930 if (!isa<ComplexType>(Target)) { in CheckImplicitConversion()
10940 Source = cast<ComplexType>(Source)->getElementType().getTypePtr(); in CheckImplicitConversion()
10941 Target = cast<ComplexType>(Target)->getElementType().getTypePtr(); in CheckImplicitConversion()
/freebsd-12.1/contrib/llvm/lib/ObjectYAML/
H A DCOFFYAML.cpp547 IO.mapRequired("ComplexType", S.ComplexType); in mapping()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/ASTMatchers/
H A DASTMatchers.h5186 extern const AstTypeMatcher<ComplexType> complexType;
5216 ComplexType));

12