Home
last modified time | relevance | path

Searched refs:DstType (Results 1 – 10 of 10) sorted by relevance

/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/GlobalISel/
H A DMachineIRBuilder.h68 enum class DstType { Ty_LLT, Ty_Reg, Ty_RC }; enum
69 DstOp(unsigned R) : Reg(R), Ty(DstType::Ty_Reg) {} in DstOp()
75 case DstType::Ty_Reg: in addDefToMIB()
78 case DstType::Ty_LLT: in addDefToMIB()
81 case DstType::Ty_RC: in addDefToMIB()
89 case DstType::Ty_RC: in getLLTTy()
91 case DstType::Ty_LLT: in getLLTTy()
93 case DstType::Ty_Reg: in getLLTTy()
106 case DstType::Ty_RC: in getRegClass()
113 DstType getDstOpKind() const { return Ty; } in getDstOpKind()
[all …]
/freebsd-12.1/contrib/llvm/lib/CodeGen/GlobalISel/
H A DCSEMIRBuilder.cpp61 case DstOp::DstType::Ty_RC: in profileDstOp()
119 DstOp::DstType DT = Op.getDstOpKind(); in checkCopyToDefsPossible()
120 return DT == DstOp::DstType::Ty_LLT || DT == DstOp::DstType::Ty_RC; in checkCopyToDefsPossible()
131 if (Op.getDstOpKind() == DstOp::DstType::Ty_Reg) in generateCopiesIfRequired()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGExprScalar.cpp845 assert(DstType->isFloatingType()); in EmitFloatConversionCheck()
1208 if (DstType->isFixedPointType()) { in EmitScalarConversion()
1210 } else if (DstType->isBooleanType()) { in EmitScalarConversion()
1222 QualType NoncanonicalDstType = DstType; in EmitScalarConversion()
1225 DstType = CGF.getContext().getCanonicalType(DstType); in EmitScalarConversion()
1226 if (SrcType == DstType) return Src; in EmitScalarConversion()
1235 if (DstType->isBooleanType()) in EmitScalarConversion()
1647 DstType = E->getType(); in VisitConvertVectorExpr() local
1652 DstType = CGF.getContext().getCanonicalType(DstType); in VisitConvertVectorExpr()
1653 if (SrcType == DstType) return Src; in VisitConvertVectorExpr()
[all …]
H A DCGStmtOpenMP.cpp300 QualType DstType, StringRef Name, in castValueFromUintptr() argument
307 Ctx.getPointerType(DstType), Loc); in castValueFromUintptr()
309 CGF.MakeNaturalAlignAddrLValue(CastedPtr, Ctx.getPointerType(DstType)) in castValueFromUintptr()
315 QualType RefType = Ctx.getLValueReferenceType(DstType); in castValueFromUintptr()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DExpr.h3933 : Expr(ConvertVectorExprClass, DstType, VK, OK, in ConvertVectorExpr()
3934 DstType->isDependentType(), in ConvertVectorExpr()
3935 DstType->isDependentType() || SrcExpr->isValueDependent(), in ConvertVectorExpr()
3936 (DstType->isInstantiationDependentType() || in ConvertVectorExpr()
3938 (DstType->containsUnexpandedParameterPack() || in ConvertVectorExpr()
5241 AsTypeExpr(Expr* SrcExpr, QualType DstType, in AsTypeExpr() argument
5244 : Expr(AsTypeExprClass, DstType, VK, OK, in AsTypeExpr()
5245 DstType->isDependentType(), in AsTypeExpr()
5246 DstType->isDependentType() || SrcExpr->isValueDependent(), in AsTypeExpr()
5247 (DstType->isInstantiationDependentType() || in AsTypeExpr()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaCast.cpp1843 QualType DstType, SourceRange OpRange) { in DiagnoseCallingConvCast() argument
1847 if (Self.Context.hasSameType(SrcType, DstType) || in DiagnoseCallingConvCast()
1848 !SrcType->isFunctionPointerType() || !DstType->isFunctionPointerType()) in DiagnoseCallingConvCast()
1853 DstType->castAs<PointerType>()->getPointeeType()->castAs<FunctionType>(); in DiagnoseCallingConvCast()
H A DSemaStmt.cpp1236 Sema::DiagnoseAssignmentEnum(QualType DstType, QualType SrcType, in DiagnoseAssignmentEnum() argument
1241 if (const EnumType *ET = DstType->getAs<EnumType>()) in DiagnoseAssignmentEnum()
1242 if (!Context.hasSameUnqualifiedType(SrcType, DstType) && in DiagnoseAssignmentEnum()
1247 unsigned DstWidth = Context.getIntWidth(DstType); in DiagnoseAssignmentEnum()
1248 bool DstIsSigned = DstType->isSignedIntegerOrEnumerationType(); in DiagnoseAssignmentEnum()
1260 << DstType.getUnqualifiedType(); in DiagnoseAssignmentEnum()
1285 << DstType.getUnqualifiedType(); in DiagnoseAssignmentEnum()
H A DSema.cpp433 void Sema::diagnoseNullableToNonnullConversion(QualType DstType, in diagnoseNullableToNonnullConversion() argument
440 Optional<NullabilityKind> TypeNullability = DstType->getNullability(Context); in diagnoseNullableToNonnullConversion()
444 Diag(Loc, diag::warn_nullability_lost) << SrcType << DstType; in diagnoseNullableToNonnullConversion()
H A DSemaExpr.cpp13973 if (!DstType->isFunctionPointerType() || in maybeDiagnoseAssignmentToFunction()
14011 DiagnoseAssignmentEnum(DstType, SrcType, SrcExpr); in DiagnoseAssignmentResult()
14016 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); in DiagnoseAssignmentResult()
14028 DstType->isFunctionPointerType()) in DiagnoseAssignmentResult()
14040 DstType = DstType.getUnqualifiedType(); in DiagnoseAssignmentResult()
14055 Qualifiers rhq = DstType->getPointeeType().getQualifiers(); in DiagnoseAssignmentResult()
14104 else if (DstType->isObjCQualifiedIdType()) { in DiagnoseAssignmentResult()
14106 DstType->getAs<ObjCObjectPointerType>(); in DiagnoseAssignmentResult()
14144 FirstType = DstType; in DiagnoseAssignmentResult()
14156 SecondType = DstType; in DiagnoseAssignmentResult()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h3978 void diagnoseNullableToNonnullConversion(QualType DstType, QualType SrcType,
8328 bool ConversionToObjCStringLiteralCheck(QualType DstType, Expr *&SrcExpr,
9593 QualType DstType, QualType SrcType,
9605 void DiagnoseAssignmentEnum(QualType DstType, QualType SrcType,