Searched refs:DstType (Results 1 - 14 of 14) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCSEMIRBuilder.cpp61 case DstOp::DstType::Ty_RC:
119 DstOp::DstType DT = Op.getDstOpKind();
120 return DT == DstOp::DstType::Ty_LLT || DT == DstOp::DstType::Ty_RC;
131 if (Op.getDstOpKind() == DstOp::DstType::Ty_Reg)
H A DCombinerHelper.cpp181 LLT DstType = MRI.getType(MI.getOperand(0).getReg()); local
187 unsigned DstNumElts = DstType.isVector() ? DstType.getNumElements() : 1;
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DMachineIRBuilder.h65 enum class DstType { Ty_LLT, Ty_Reg, Ty_RC }; class in class:llvm::DstOp
66 DstOp(unsigned R) : Reg(R), Ty(DstType::Ty_Reg) {}
67 DstOp(Register R) : Reg(R), Ty(DstType::Ty_Reg) {}
68 DstOp(const MachineOperand &Op) : Reg(Op.getReg()), Ty(DstType::Ty_Reg) {}
69 DstOp(const LLT T) : LLTTy(T), Ty(DstType::Ty_LLT) {}
70 DstOp(const TargetRegisterClass *TRC) : RC(TRC), Ty(DstType::Ty_RC) {}
74 case DstType::Ty_Reg:
77 case DstType::Ty_LLT:
80 case DstType::Ty_RC:
88 case DstType
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp307 Value *Src, QualType SrcType, QualType DstType,
323 QualType DstType, SourceLocation Loc);
329 QualType DstType, SourceLocation Loc);
902 QualType DstType, llvm::Type *DstTy, SourceLocation Loc) {
918 unsigned Width = CGF.getContext().getIntWidth(DstType);
919 bool Unsigned = DstType->isUnsignedIntegerOrEnumerationType();
963 CGF.EmitCheckTypeDescriptor(DstType)};
973 QualType DstType, CGBuilderTy &Builder) {
985 bool DstSigned = DstType->isSignedIntegerOrEnumerationType();
1009 QualType SrcType, QualType DstType) {
900 EmitFloatConversionCheck( Value *OrigSrc, QualType OrigSrcType, Value *Src, QualType SrcType, QualType DstType, llvm::Type *DstTy, SourceLocation Loc) argument
972 EmitIntegerTruncationCheckHelper(Value *Src, QualType SrcType, Value *Dst, QualType DstType, CGBuilderTy &Builder) argument
1008 PromotionIsPotentiallyEligibleForImplicitIntegerConversionCheck( QualType SrcType, QualType DstType) argument
1013 EmitIntegerTruncationCheck(Value *Src, QualType SrcType, Value *Dst, QualType DstType, SourceLocation Loc) argument
1066 EmitIntegerSignChangeCheckHelper(Value *Src, QualType SrcType, Value *Dst, QualType DstType, CGBuilderTy &Builder) argument
1122 EmitIntegerSignChangeCheck(Value *Src, QualType SrcType, Value *Dst, QualType DstType, SourceLocation Loc) argument
1206 EmitScalarConversion(Value *Src, QualType SrcType, QualType DstType, SourceLocation Loc, ScalarConversionOpts Opts) argument
1682 DstType = E->getType(); local
[all...]
H A DCGStmtOpenMP.cpp353 QualType DstType, StringRef Name,
359 Ctx.getPointerType(DstType), Loc);
361 CGF.MakeNaturalAlignAddrLValue(CastedPtr, Ctx.getPointerType(DstType))
352 castValueFromUintptr(CodeGenFunction &CGF, SourceLocation Loc, QualType DstType, StringRef Name, LValue AddrLV) argument
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPrintfRuntimeBinding.cpp474 Type *DstType = (Size == 32) ? Int32Ty : Int64Ty; local
475 Arg = new PtrToIntInst(Arg, DstType, "PrintArgPtr", Brnch);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp1275 Sema::DiagnoseAssignmentEnum(QualType DstType, QualType SrcType, argument
1280 if (const EnumType *ET = DstType->getAs<EnumType>())
1281 if (!Context.hasSameUnqualifiedType(SrcType, DstType) &&
1286 unsigned DstWidth = Context.getIntWidth(DstType);
1287 bool DstIsSigned = DstType->isSignedIntegerOrEnumerationType();
1299 << DstType.getUnqualifiedType();
1324 << DstType.getUnqualifiedType();
H A DSemaCast.cpp1934 QualType DstType, SourceRange OpRange) {
1938 if (Self.Context.hasSameType(SrcType, DstType) ||
1939 !SrcType->isFunctionPointerType() || !DstType->isFunctionPointerType())
1944 DstType->castAs<PointerType>()->getPointeeType()->castAs<FunctionType>();
1933 DiagnoseCallingConvCast(Sema &Self, const ExprResult &SrcExpr, QualType DstType, SourceRange OpRange) argument
H A DSema.cpp492 void Sema::diagnoseNullableToNonnullConversion(QualType DstType, argument
499 Optional<NullabilityKind> TypeNullability = DstType->getNullability(Context);
503 Diag(Loc, diag::warn_nullability_lost) << SrcType << DstType; local
H A DSemaExpr.cpp15460 bool Sema::CheckConversionToObjCLiteral(QualType DstType, Expr *&Exp, argument
15465 const ObjCObjectPointerType *PT = DstType->getAs<ObjCObjectPointerType>();
15515 static bool maybeDiagnoseAssignmentToFunction(Sema &S, QualType DstType, argument
15517 if (!DstType->isFunctionPointerType() ||
15536 QualType DstType, QualType SrcType,
15555 DiagnoseAssignmentEnum(DstType, SrcType, SrcExpr);
15565 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this);
15575 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this);
15585 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this);
15597 CheckInferredResultType = DstType
15534 DiagnoseAssignmentResult(AssignConvertType ConvTy, SourceLocation Loc, QualType DstType, QualType SrcType, Expr *SrcExpr, AssignmentAction Action, bool *Complained) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp1724 MVT DstType = Bitcast.getSimpleValueType(); local
1726 SrcType.getVectorNumElements() != DstType.getVectorNumElements())
1730 return DAG.getBitcast(DstType, NewShuffle);
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h4313 ConvertVectorExpr(Expr *SrcExpr, TypeSourceInfo *TI, QualType DstType, argument
4316 : Expr(ConvertVectorExprClass, DstType, VK, OK), SrcExpr(SrcExpr),
5867 AsTypeExpr(Expr *SrcExpr, QualType DstType, ExprValueKind VK, argument
5870 : Expr(AsTypeExprClass, DstType, VK, OK), SrcExpr(SrcExpr),
H A DExprCXX.h4806 TypeSourceInfo *DstType, SourceLocation KWLoc,
4809 DstType),
4805 BuiltinBitCastExpr(QualType T, ExprValueKind VK, CastKind CK, Expr *SrcExpr, TypeSourceInfo *DstType, SourceLocation KWLoc, SourceLocation RParenLoc) argument
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h4589 void diagnoseNullableToNonnullConversion(QualType DstType, QualType SrcType,
9553 bool CheckConversionToObjCLiteral(QualType DstType, Expr *&SrcExpr,
11131 QualType DstType, QualType SrcType,
11143 void DiagnoseAssignmentEnum(QualType DstType, QualType SrcType,

Completed in 413 milliseconds