| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A 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() 239 QualType Elem = E->getType()->castAs<ComplexType>()->getElementType(); in VisitCXXScalarValueInitExpr() 245 QualType Elem = E->getType()->castAs<ComplexType>()->getElementType(); in VisitImplicitValueInitExpr() 279 if (auto *CT = Ty->getAs<ComplexType>()) { in getPromotionType() 450 SrcType = SrcType->castAs<ComplexType>()->getElementType(); in EmitComplexToComplexCast() 451 DestType = DestType->castAs<ComplexType>()->getElementType(); in EmitComplexToComplexCast() 468 DestType = DestType->castAs<ComplexType>()->getElementType(); in EmitScalarToComplexCast() 688 Op.Ty->castAs<ComplexType>()->getElementType()); in EmitComplexBinOpLibCall() [all …]
|
| H A D | TargetInfo.cpp | 419 CharUnits EltSize, const ComplexType *CTy) { in complexTempStructure() 1437 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in is32Or64BitBasicType() 1583 if (const ComplexType *CT = RetTy->getAs<ComplexType>()) { in classifyReturnType() 2991 if (const ComplexType *CT = Ty->getAs<ComplexType>()) { in classify() 3980 } else if (IsRegCall && FI.getReturnType()->getAs<ComplexType>() && in computeInfo() 3982 ->getAs<ComplexType>() in computeInfo() 4655 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in getParamTypeAlignment() 4683 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) { in EmitVAArg() 4748 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in getParamTypeAlignment() 4813 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) { in EmitVAArg() [all …]
|
| H A D | SwiftCallingConv.cpp | 86 } else if (auto complexType = type->getAs<ComplexType>()) { in addTypedData() 828 if (isa<ComplexType>(type)) { in classifyType()
|
| H A D | CGDebugInfo.h | 179 llvm::DIType *CreateType(const ComplexType *Ty);
|
| /openbsd-src/gnu/llvm/llvm/docs/ |
| H A D | yaml2obj.rst | 38 ComplexType: IMAGE_SYM_DTYPE_NULL # (0) 48 ComplexType: IMAGE_SYM_DTYPE_NULL # (0) 184 ComplexType: [ {type: str, enum: [ IMAGE_SYM_DTYPE_NULL
|
| /openbsd-src/gnu/llvm/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)>;
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | CanonicalType.h | 418 struct CanProxyAdaptor<ComplexType> : public CanProxyBase<ComplexType> {
|
| H A D | ASTNodeTraverser.h | 341 void VisitComplexType(const ComplexType *T) { Visit(T->getElementType()); } in VisitComplexType()
|
| H A D | Type.h | 2375 const ComplexType *getAsComplexIntegerType() const; // GCC complex int type. 2721 class ComplexType : public Type, public llvm::FoldingSetNode { 2726 ComplexType(QualType Element, QualType CanonicalPtr) 6993 return isa<ComplexType>(CanonicalType); 7289 isa<ComplexType>(CanonicalType) ||
|
| /openbsd-src/gnu/llvm/clang/utils/ABITest/ |
| H A D | ABITestGen.py | 241 elif isinstance(t, ComplexType): 302 elif isinstance(t, ComplexType): 332 elif isinstance(t, ComplexType):
|
| H A D | TypeGen.py | 157 class ComplexType(Type): class 295 return ComplexType(N, self.typeGen.get(N))
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ObjectYAML/ |
| H A D | COFFYAML.h | 86 COFF::SymbolComplexType ComplexType = COFF::IMAGE_SYM_DTYPE_NULL; member
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | Type.cpp | 606 if (const auto *CT = dyn_cast<ComplexType>(CanonicalType)) in isComplexType() 622 const ComplexType *Type::getAsComplexIntegerType() const { in getAsComplexIntegerType() 623 if (const auto *Complex = getAs<ComplexType>()) in getAsComplexIntegerType() 891 QualType VisitComplexType(const ComplexType *T) { in TRIVIAL_TYPE_CLASS() 2149 if (const auto *CT = dyn_cast<ComplexType>(CanonicalType)) in isFloatingType() 2189 return isa<ComplexType>(CanonicalType) || isBitIntType(); in isArithmeticType() 2214 } else if (const auto *CT = dyn_cast<ComplexType>(T)) { in getScalarTypeKind() 4025 return Cache::get(cast<ComplexType>(T)->getElementType()); in computeCachedProperties() 4112 return computeTypeLinkageInfo(cast<ComplexType>(T)->getElementType()); in computeTypeLinkageInfo()
|
| H A D | ExprConstant.cpp | 216 const ComplexType *CT = Type->castAs<ComplexType>(); in findMostDerivedSubobject() 3752 ObjType, ObjType->castAs<ComplexType>()->getElementType()); in findSubobject() 3919 ObjType = ObjType->castAs<ComplexType>()->getElementType(); in FindDesignatorMismatch() 4511 SubobjType->castAs<ComplexType>()->getElementType() in found() 4515 SubobjType->castAs<ComplexType>()->getElementType() in found() 11619 const auto *CT = BaseType->castAs<ComplexType>(); in isDesignatorAtObjectEnd() 14312 QualType ElemTy = E->getType()->castAs<ComplexType>()->getElementType(); in ZeroInitialization() 14434 QualType To = E->getType()->castAs<ComplexType>()->getElementType(); in VisitCastExpr() 14436 = E->getSubExpr()->getType()->castAs<ComplexType>()->getElementType(); in VisitCastExpr() 14446 QualType To = E->getType()->castAs<ComplexType>()->getElementType(); in VisitCastExpr() [all …]
|
| H A D | ItaniumMangle.cpp | 3469 void CXXNameMangler::mangleType(const ComplexType *T) { in mangleType() 5763 const ComplexType *CT = T->castAs<ComplexType>(); in mangleValueInTemplateArg() 5777 const ComplexType *CT = T->castAs<ComplexType>(); in mangleValueInTemplateArg()
|
| /openbsd-src/gnu/llvm/clang/lib/Support/ |
| H A D | RISCVVIntrinsicUtils.cpp | 428 StringRef ComplexType = PrototypeDescriptorStr.slice(1, Idx); in parsePrototypeDescriptor() local 433 auto ComplexTT = ComplexType.split(":"); in parsePrototypeDescriptor()
|
| /openbsd-src/gnu/llvm/clang/lib/AST/Interp/ |
| H A D | Program.cpp | 377 if (auto *CT = Ty->getAs<ComplexType>()) { in createDescriptor()
|
| /openbsd-src/gnu/llvm/clang/lib/Index/ |
| H A D | USRGeneration.cpp | 868 if (const ComplexType *CT = T->getAs<ComplexType>()) { in VisitType()
|
| /openbsd-src/gnu/llvm/llvm/tools/obj2yaml/ |
| H A D | coff2yaml.cpp | 288 Sym.ComplexType = COFF::SymbolComplexType(Symbol.getComplexType()); in dumpSymbols()
|
| /openbsd-src/gnu/llvm/clang/lib/ASTMatchers/ |
| H A D | ASTMatchersInternal.cpp | 1037 const AstTypeMatcher<ComplexType> complexType; 1071 ComplexType));
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaExpr.cpp | 1095 QualType fpTy = ComplexTy->castAs<ComplexType>()->getElementType(); in handleIntegerToComplexFloatConversion() 1121 bool LongerIsComplex = isa<ComplexType>(LongerType.getCanonicalType()); in handleComplexFloatConversion() 1126 if (isa<ComplexType>(ShorterType.getCanonicalType())) { in handleComplexFloatConversion() 1131 LongerType = LongerType->castAs<ComplexType>()->getElementType(); in handleComplexFloatConversion() 1252 auto *LHSComplex = LHSType->getAs<ComplexType>(); in unsupportedTypeConversion() 1253 auto *RHSComplex = RHSType->getAs<ComplexType>(); in unsupportedTypeConversion() 1342 const ComplexType *LHSComplexInt = LHSType->getAsComplexIntegerType(); in handleComplexIntConversion() 1343 const ComplexType *RHSComplexInt = RHSType->getAsComplexIntegerType(); in handleComplexIntConversion() 1360 QualType ComplexType = S.Context.getComplexType(ScalarType); in handleComplexIntConversion() local 1361 RHS = S.ImpCastExprToType(RHS.get(), ComplexType, in handleComplexIntConversion() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/ObjectYAML/ |
| H A D | COFFEmitter.cpp | 119 Sym.Header.Type |= Sym.ComplexType << COFF::SCT_COMPLEX_TYPE_SHIFT; in parseSymbols()
|
| H A D | COFFYAML.cpp | 557 IO.mapRequired("ComplexType", S.ComplexType); in mapping()
|