Home
last modified time | relevance | path

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

123

/netbsd-src/external/apache2/llvm/dist/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()
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 …]
H A DTargetInfo.cpp1382 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()
4557 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in getParamTypeAlignment()
4639 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in getParamTypeAlignment()
4704 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) { in EmitVAArg()
5007 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in getParamTypeAlignment()
5127 if (const ComplexType *CT = Ty->getAs<ComplexType>()) { in isHomogeneousAggregate()
5344 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) { in EmitVAArg()
[all …]
H A DSwiftCallingConv.cpp84 } else if (auto complexType = type->getAs<ComplexType>()) { in addTypedData()
833 if (isa<ComplexType>(type)) { in classifyType()
H A DCGDebugInfo.h178 llvm::DIType *CreateType(const ComplexType *Ty);
H A DCGCall.cpp958 if (const ComplexType *CT = Ty->getAs<ComplexType>()) { in getTypeExpansion()
1564 if (const ComplexType *CT = ResultType->getAs<ComplexType>()) { in ReturnTypeUsesFP2Ret()
1953 if (const ComplexType *Complex = dyn_cast<ComplexType>(QTy)) in DetermineNoUndef()
H A DCodeGenTypes.cpp626 llvm::Type *EltTy = ConvertType(cast<ComplexType>(Ty)->getElementType()); in ConvertType()
/netbsd-src/external/apache2/llvm/dist/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
/netbsd-src/external/apache2/llvm/dist/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)>;
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DCanonicalType.h419 struct CanProxyAdaptor<ComplexType> : public CanProxyBase<ComplexType> {
H A DASTNodeTraverser.h317 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) ||
/netbsd-src/external/apache2/llvm/dist/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))
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ObjectYAML/
H A DCOFFYAML.h86 COFF::SymbolComplexType ComplexType = COFF::IMAGE_SYM_DTYPE_NULL; member
/netbsd-src/external/apache2/llvm/dist/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()
2098 if (const auto *CT = dyn_cast<ComplexType>(CanonicalType)) in isFloatingType()
2138 return isa<ComplexType>(CanonicalType) || isExtIntType(); in isArithmeticType()
2163 } else if (const auto *CT = dyn_cast<ComplexType>(T)) { in getScalarTypeKind()
3865 return Cache::get(cast<ComplexType>(T)->getElementType()); in computeCachedProperties()
3952 return computeTypeLinkageInfo(cast<ComplexType>(T)->getElementType()); in computeTypeLinkageInfo()
H A DExprConstant.cpp216 const ComplexType *CT = Type->castAs<ComplexType>(); in findMostDerivedSubobject()
3733 ObjType, ObjType->castAs<ComplexType>()->getElementType()); in findSubobject()
3900 ObjType = ObjType->castAs<ComplexType>()->getElementType(); in FindDesignatorMismatch()
4458 SubobjType->castAs<ComplexType>()->getElementType() in found()
4462 SubobjType->castAs<ComplexType>()->getElementType() in found()
11253 const auto *CT = BaseType->castAs<ComplexType>(); in isDesignatorAtObjectEnd()
13833 QualType ElemTy = E->getType()->castAs<ComplexType>()->getElementType(); in ZeroInitialization()
13955 QualType To = E->getType()->castAs<ComplexType>()->getElementType(); in VisitCastExpr()
13957 = E->getSubExpr()->getType()->castAs<ComplexType>()->getElementType(); in VisitCastExpr()
13967 QualType To = E->getType()->castAs<ComplexType>()->getElementType(); in VisitCastExpr()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/Interp/
H A DProgram.cpp358 if (auto *CT = Ty->getAs<ComplexType>()) { in createDescriptor()
/netbsd-src/external/apache2/llvm/dist/clang/utils/TableGen/
H A DRISCVVEmitter.cpp642 StringRef ComplexType = Transformer.slice(1, Idx); in applyModifier() local
670 auto ComplexTT = ComplexType.split(":"); in applyModifier()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Index/
H A DUSRGeneration.cpp826 if (const ComplexType *CT = T->getAs<ComplexType>()) { in VisitType()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/obj2yaml/
H A Dcoff2yaml.cpp287 Sym.ComplexType = COFF::SymbolComplexType(Symbol.getComplexType()); in dumpSymbols()
/netbsd-src/external/apache2/llvm/dist/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp1019 const AstTypeMatcher<ComplexType> complexType;
1052 ComplexType));
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaExpr.cpp1037 QualType fpTy = cast<ComplexType>(ComplexTy)->getElementType(); in handleIntegerToComplexFloatConversion()
1077 auto *LHSComplexType = dyn_cast<ComplexType>(LHSType); in handleComplexFloatConversion()
1078 auto *RHSComplexType = dyn_cast<ComplexType>(RHSType); in handleComplexFloatConversion()
1200 auto *LHSComplex = LHSType->getAs<ComplexType>(); in unsupportedTypeConversion()
1201 auto *RHSComplex = RHSType->getAs<ComplexType>(); in unsupportedTypeConversion()
1298 const ComplexType *LHSComplexInt = LHSType->getAsComplexIntegerType(); in handleComplexIntConversion()
1299 const ComplexType *RHSComplexInt = RHSType->getAsComplexIntegerType(); in handleComplexIntConversion()
1316 QualType ComplexType = S.Context.getComplexType(ScalarType); in handleComplexIntConversion() local
1317 RHS = S.ImpCastExprToType(RHS.get(), ComplexType, in handleComplexIntConversion()
1320 return ComplexType; in handleComplexIntConversion()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/
H A DCOFFYAML.cpp549 IO.mapRequired("ComplexType", S.ComplexType); in mapping()

123