Home
last modified time | relevance | path

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

12

/freebsd-13.1/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()
431 SrcType = SrcType->castAs<ComplexType>()->getElementType(); in EmitComplexToComplexCast()
432 DestType = DestType->castAs<ComplexType>()->getElementType(); in EmitComplexToComplexCast()
449 DestType = DestType->castAs<ComplexType>()->getElementType(); in EmitScalarToComplexCast()
632 Op.Ty->castAs<ComplexType>()->getElementType()); in EmitComplexBinOpLibCall()
634 Op.Ty->castAs<ComplexType>()->getElementType()); in EmitComplexBinOpLibCall()
636 Op.Ty->castAs<ComplexType>()->getElementType()); in EmitComplexBinOpLibCall()
638 Op.Ty->castAs<ComplexType>()->getElementType()); in EmitComplexBinOpLibCall()
[all …]
H A DSwiftCallingConv.cpp84 } else if (auto complexType = type->getAs<ComplexType>()) { in addTypedData()
833 if (isa<ComplexType>(type)) { in classifyType()
H A DTargetInfo.cpp1382 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in is32Or64BitBasicType()
2937 if (const ComplexType *CT = Ty->getAs<ComplexType>()) { in classify()
4560 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in getParamTypeAlignment()
4642 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in getParamTypeAlignment()
4707 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) { in EmitVAArg()
5010 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in getParamTypeAlignment()
5130 if (const ComplexType *CT = Ty->getAs<ComplexType>()) { in isHomogeneousAggregate()
5347 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) { in EmitVAArg()
6610 if (const ComplexType *CT = Ty->getAs<ComplexType>()) in isIntegerLikeType()
10628 if (auto CTy = Ty->getAs<ComplexType>()) { in detectFPCCEligibleStructHelper()
[all …]
H A DCGDebugInfo.h178 llvm::DIType *CreateType(const ComplexType *Ty);
H A DCGCall.cpp959 if (const ComplexType *CT = Ty->getAs<ComplexType>()) { in getTypeExpansion()
1565 if (const ComplexType *CT = ResultType->getAs<ComplexType>()) { in ReturnTypeUsesFP2Ret()
1954 if (const ComplexType *Complex = dyn_cast<ComplexType>(QTy)) in DetermineNoUndef()
H A DCodeGenTypes.cpp626 llvm::Type *EltTy = ConvertType(cast<ComplexType>(Ty)->getElementType()); in ConvertType()
/freebsd-13.1/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-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DCanonicalType.h419 struct CanProxyAdaptor<ComplexType> : public CanProxyBase<ComplexType> {
H A DASTNodeTraverser.h341 void VisitComplexType(const ComplexType *T) { Visit(T->getElementType()); } in VisitComplexType()
H A DType.h2235 const ComplexType *getAsComplexIntegerType() const; // GCC complex int type.
2581 class ComplexType : public Type, public llvm::FoldingSetNode {
2586 ComplexType(QualType Element, QualType CanonicalPtr)
6774 return isa<ComplexType>(CanonicalType);
7052 isa<ComplexType>(CanonicalType) ||
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DCOFFYAML.h86 COFF::SymbolComplexType ComplexType = COFF::IMAGE_SYM_DTYPE_NULL; member
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DType.cpp602 if (const auto *CT = dyn_cast<ComplexType>(CanonicalType)) in isComplexType()
618 const ComplexType *Type::getAsComplexIntegerType() const { in getAsComplexIntegerType()
619 if (const auto *Complex = getAs<ComplexType>()) in getAsComplexIntegerType()
881 QualType VisitComplexType(const ComplexType *T) { in TRIVIAL_TYPE_CLASS()
2101 if (const auto *CT = dyn_cast<ComplexType>(CanonicalType)) in isFloatingType()
2141 return isa<ComplexType>(CanonicalType) || isExtIntType(); in isArithmeticType()
2166 } else if (const auto *CT = dyn_cast<ComplexType>(T)) { in getScalarTypeKind()
3870 return Cache::get(cast<ComplexType>(T)->getElementType()); in computeCachedProperties()
3957 return computeTypeLinkageInfo(cast<ComplexType>(T)->getElementType()); in computeTypeLinkageInfo()
H A DExprConstant.cpp216 const ComplexType *CT = Type->castAs<ComplexType>(); in findMostDerivedSubobject()
3736 ObjType, ObjType->castAs<ComplexType>()->getElementType()); in findSubobject()
3903 ObjType = ObjType->castAs<ComplexType>()->getElementType(); in FindDesignatorMismatch()
4461 SubobjType->castAs<ComplexType>()->getElementType() in found()
4465 SubobjType->castAs<ComplexType>()->getElementType() in found()
11288 const auto *CT = BaseType->castAs<ComplexType>(); in isDesignatorAtObjectEnd()
13871 QualType ElemTy = E->getType()->castAs<ComplexType>()->getElementType(); in ZeroInitialization()
13993 QualType To = E->getType()->castAs<ComplexType>()->getElementType(); in VisitCastExpr()
14005 QualType To = E->getType()->castAs<ComplexType>()->getElementType(); in VisitCastExpr()
14029 QualType To = E->getType()->castAs<ComplexType>()->getElementType(); in VisitCastExpr()
[all …]
H A DItaniumMangle.cpp3395 void CXXNameMangler::mangleType(const ComplexType *T) { in mangleType()
5639 const ComplexType *CT = T->castAs<ComplexType>(); in mangleValueInTemplateArg()
5653 const ComplexType *CT = T->castAs<ComplexType>(); in mangleValueInTemplateArg()
H A DASTStructuralEquivalence.cpp699 cast<ComplexType>(T1)->getElementType(), in IsStructurallyEquivalent()
700 cast<ComplexType>(T2)->getElementType())) in IsStructurallyEquivalent()
H A DTypePrinter.cpp369 void TypePrinter::printComplexBefore(const ComplexType *T, raw_ostream &OS) { in printComplexBefore()
374 void TypePrinter::printComplexAfter(const ComplexType *T, raw_ostream &OS) { in printComplexAfter()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/Interp/
H A DProgram.cpp358 if (auto *CT = Ty->getAs<ComplexType>()) { in createDescriptor()
/freebsd-13.1/contrib/llvm-project/clang/utils/TableGen/
H A DRISCVVEmitter.cpp653 StringRef ComplexType = Transformer.slice(1, Idx); in applyModifier() local
681 auto ComplexTT = ComplexType.split(":"); in applyModifier()
/freebsd-13.1/contrib/llvm-project/clang/lib/Index/
H A DUSRGeneration.cpp826 if (const ComplexType *CT = T->getAs<ComplexType>()) { in VisitType()
/freebsd-13.1/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp1020 const AstTypeMatcher<ComplexType> complexType;
1053 ComplexType));
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp1092 auto *LHSComplexType = dyn_cast<ComplexType>(LHSType); in handleComplexFloatConversion()
1093 auto *RHSComplexType = dyn_cast<ComplexType>(RHSType); in handleComplexFloatConversion()
1215 auto *LHSComplex = LHSType->getAs<ComplexType>(); in unsupportedTypeConversion()
1216 auto *RHSComplex = RHSType->getAs<ComplexType>(); in unsupportedTypeConversion()
1332 RHS = S.ImpCastExprToType(RHS.get(), ComplexType, in handleComplexIntConversion()
1335 return ComplexType; in handleComplexIntConversion()
1344 QualType ComplexType = S.Context.getComplexType(ScalarType); in handleComplexIntConversion() local
1347 LHS = S.ImpCastExprToType(LHS.get(), ComplexType, in handleComplexIntConversion()
1349 return ComplexType; in handleComplexIntConversion()
4600 if (const ComplexType *CT = V.get()->getType()->getAs<ComplexType>()) in CheckRealImagOperand()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DCOFFYAML.cpp550 IO.mapRequired("ComplexType", S.ComplexType); in mapping()
H A DCOFFEmitter.cpp124 Sym.Header.Type |= Sym.ComplexType << COFF::SCT_COMPLEX_TYPE_SHIFT; in parseSymbols()

12