| /freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/ |
| D | CGExprComplex.cpp | 34 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() 238 QualType Elem = E->getType()->castAs<ComplexType>()->getElementType(); in VisitCXXScalarValueInitExpr() 244 QualType Elem = E->getType()->castAs<ComplexType>()->getElementType(); in VisitImplicitValueInitExpr() 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() [all …]
|
| D | TargetInfo.cpp | 1382 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in is32Or64BitBasicType() 2937 if (const ComplexType *CT = Ty->getAs<ComplexType>()) { in classify() 3890 } else if (IsRegCall && FI.getReturnType()->getAs<ComplexType>() && in computeInfo() 3892 ->getAs<ComplexType>() in computeInfo() 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() [all …]
|
| D | SwiftCallingConv.cpp | 84 } else if (auto complexType = type->getAs<ComplexType>()) { in addTypedData() 833 if (isa<ComplexType>(type)) { in classifyType()
|
| D | CGDebugInfo.h | 178 llvm::DIType *CreateType(const ComplexType *Ty);
|
| D | CGCall.cpp | 960 if (const ComplexType *CT = Ty->getAs<ComplexType>()) { in getTypeExpansion() 1575 if (const ComplexType *CT = ResultType->getAs<ComplexType>()) { in ReturnTypeUsesFP2Ret() 1964 if (const ComplexType *Complex = dyn_cast<ComplexType>(QTy)) in DetermineNoUndef()
|
| D | CodeGenTypes.cpp | 652 llvm::Type *EltTy = ConvertType(cast<ComplexType>(Ty)->getElementType()); in ConvertType()
|
| /freebsd-12-stable/contrib/llvm-project/clang/include/clang/Basic/ |
| 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 …]
|
| D | TypeNodes.td | 55 def ComplexType : TypeNode<Type>;
|
| D | arm_cde.td | 22 class Float<Type t>: ComplexType<(CTO_CopyKind t, f32)>;
|
| /freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/ |
| D | CanonicalType.h | 419 struct CanProxyAdaptor<ComplexType> : public CanProxyBase<ComplexType> {
|
| D | ASTNodeTraverser.h | 341 void VisitComplexType(const ComplexType *T) { Visit(T->getElementType()); } in VisitComplexType()
|
| D | Type.h | 2235 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-12-stable/contrib/llvm-project/llvm/include/llvm/ObjectYAML/ |
| D | COFFYAML.h | 86 COFF::SymbolComplexType ComplexType = COFF::IMAGE_SYM_DTYPE_NULL; member
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/AST/ |
| D | Type.cpp | 602 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()
|
| D | ExprConstant.cpp | 216 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() 11294 const auto *CT = BaseType->castAs<ComplexType>(); in isDesignatorAtObjectEnd() 13877 QualType ElemTy = E->getType()->castAs<ComplexType>()->getElementType(); in ZeroInitialization() 13999 QualType To = E->getType()->castAs<ComplexType>()->getElementType(); in VisitCastExpr() 14001 = E->getSubExpr()->getType()->castAs<ComplexType>()->getElementType(); in VisitCastExpr() 14011 QualType To = E->getType()->castAs<ComplexType>()->getElementType(); in VisitCastExpr() [all …]
|
| D | ItaniumMangle.cpp | 3395 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()
|
| D | ASTStructuralEquivalence.cpp | 699 cast<ComplexType>(T1)->getElementType(), in IsStructurallyEquivalent() 700 cast<ComplexType>(T2)->getElementType())) in IsStructurallyEquivalent()
|
| D | TypePrinter.cpp | 369 void TypePrinter::printComplexBefore(const ComplexType *T, raw_ostream &OS) { in printComplexBefore() 374 void TypePrinter::printComplexAfter(const ComplexType *T, raw_ostream &OS) { in printComplexAfter()
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/AST/Interp/ |
| D | Program.cpp | 358 if (auto *CT = Ty->getAs<ComplexType>()) { in createDescriptor()
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/Index/ |
| D | USRGeneration.cpp | 826 if (const ComplexType *CT = T->getAs<ComplexType>()) { in VisitType()
|
| /freebsd-12-stable/contrib/llvm-project/clang/utils/TableGen/ |
| D | RISCVVEmitter.cpp | 653 StringRef ComplexType = Transformer.slice(1, Idx); in applyModifier() local 681 auto ComplexTT = ComplexType.split(":"); in applyModifier()
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/ASTMatchers/ |
| D | ASTMatchersInternal.cpp | 1020 const AstTypeMatcher<ComplexType> complexType; 1053 ComplexType));
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/ |
| D | SemaExpr.cpp | 1052 QualType fpTy = cast<ComplexType>(ComplexTy)->getElementType(); in handleIntegerToComplexFloatConversion() 1092 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() 1313 const ComplexType *LHSComplexInt = LHSType->getAsComplexIntegerType(); in handleComplexIntConversion() 1314 const ComplexType *RHSComplexInt = RHSType->getAsComplexIntegerType(); in handleComplexIntConversion() 1331 QualType ComplexType = S.Context.getComplexType(ScalarType); in handleComplexIntConversion() local 1332 RHS = S.ImpCastExprToType(RHS.get(), ComplexType, in handleComplexIntConversion() 1335 return ComplexType; in handleComplexIntConversion() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/ObjectYAML/ |
| D | COFFYAML.cpp | 550 IO.mapRequired("ComplexType", S.ComplexType); in mapping()
|
| D | COFFEmitter.cpp | 124 Sym.Header.Type |= Sym.ComplexType << COFF::SCT_COMPLEX_TYPE_SHIFT; in parseSymbols()
|