Home
last modified time | relevance | path

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

123

/openbsd-src/gnu/llvm/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()
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 DTargetInfo.cpp419 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 DSwiftCallingConv.cpp86 } else if (auto complexType = type->getAs<ComplexType>()) { in addTypedData()
828 if (isa<ComplexType>(type)) { in classifyType()
H A DCGDebugInfo.h179 llvm::DIType *CreateType(const ComplexType *Ty);
/openbsd-src/gnu/llvm/llvm/docs/
H A Dyaml2obj.rst38 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 Darm_mve_defs.td218 // 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 DTypeNodes.td55 def ComplexType : TypeNode<Type>;
H A Darm_cde.td22 class Float<Type t>: ComplexType<(CTO_CopyKind t, f32)>;
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DCanonicalType.h418 struct CanProxyAdaptor<ComplexType> : public CanProxyBase<ComplexType> {
H A DASTNodeTraverser.h341 void VisitComplexType(const ComplexType *T) { Visit(T->getElementType()); } in VisitComplexType()
H A DType.h2375 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 DABITestGen.py241 elif isinstance(t, ComplexType):
302 elif isinstance(t, ComplexType):
332 elif isinstance(t, ComplexType):
H A DTypeGen.py157 class ComplexType(Type): class
295 return ComplexType(N, self.typeGen.get(N))
/openbsd-src/gnu/llvm/llvm/include/llvm/ObjectYAML/
H A DCOFFYAML.h86 COFF::SymbolComplexType ComplexType = COFF::IMAGE_SYM_DTYPE_NULL; member
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DType.cpp606 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 DExprConstant.cpp216 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 DItaniumMangle.cpp3469 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 DRISCVVIntrinsicUtils.cpp428 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 DProgram.cpp377 if (auto *CT = Ty->getAs<ComplexType>()) { in createDescriptor()
/openbsd-src/gnu/llvm/clang/lib/Index/
H A DUSRGeneration.cpp868 if (const ComplexType *CT = T->getAs<ComplexType>()) { in VisitType()
/openbsd-src/gnu/llvm/llvm/tools/obj2yaml/
H A Dcoff2yaml.cpp288 Sym.ComplexType = COFF::SymbolComplexType(Symbol.getComplexType()); in dumpSymbols()
/openbsd-src/gnu/llvm/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp1037 const AstTypeMatcher<ComplexType> complexType;
1071 ComplexType));
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaExpr.cpp1095 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 DCOFFEmitter.cpp119 Sym.Header.Type |= Sym.ComplexType << COFF::SCT_COMPLEX_TYPE_SHIFT; in parseSymbols()
H A DCOFFYAML.cpp557 IO.mapRequired("ComplexType", S.ComplexType); in mapping()

123