/freebsd-current/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
H A D | RecordOps.cpp | 20 auto DstType = Dst.getType().getCanonicalType().getUnqualifiedType(); local 23 auto DstDecl = DstType->getAsCXXRecordDecl(); 26 SrcType == DstType ||
|
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | CSEMIRBuilder.cpp | 71 case DstOp::DstType::Ty_RC: 74 case DstOp::DstType::Ty_Reg: { 137 DstOp::DstType DT = Op.getDstOpKind(); 138 return DT == DstOp::DstType::Ty_LLT || DT == DstOp::DstType::Ty_RC; 149 if (Op.getDstOpKind() == DstOp::DstType::Ty_Reg)
|
H A D | CombinerHelper.cpp | 313 LLT DstType = MRI.getType(MI.getOperand(0).getReg()); local 319 unsigned DstNumElts = DstType.isVector() ? DstType.getNumElements() : 1; 5416 LLT DstType = MRI.getType(MI.getOperand(0).getReg()); 5423 HasFMAD = (!isPreLegalize() && TLI.isFMADLegal(MI, DstType)); 5425 bool HasFMA = TLI.isFMAFasterThanFMulAndFAdd(*MF, DstType) && 5426 isLegalOrBeforeLegalizer({TargetOpcode::G_FMA, {DstType}}); 5437 Aggressive = TLI.enableAggressiveFMAFusion(DstType); 5502 LLT DstType = MRI.getType(MI.getOperand(0).getReg()); 5519 TLI.isFPExtFoldable(MI, PreferredFusedOpcode, DstType, [all...] |
H A D | LegalizerHelper.cpp | 5527 LLT DstType = MRI.getType(DstReg); local 5529 if (DstType.isVector())
|
/freebsd-current/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | MachineIRBuilder.h | 75 enum class DstType { Ty_LLT, Ty_Reg, Ty_RC }; class in class:llvm::DstOp 76 DstOp(unsigned R) : Reg(R), Ty(DstType::Ty_Reg) {} 77 DstOp(Register R) : Reg(R), Ty(DstType::Ty_Reg) {} 78 DstOp(const MachineOperand &Op) : Reg(Op.getReg()), Ty(DstType::Ty_Reg) {} 79 DstOp(const LLT T) : LLTTy(T), Ty(DstType::Ty_LLT) {} 80 DstOp(const TargetRegisterClass *TRC) : RC(TRC), Ty(DstType::Ty_RC) {} 84 case DstType::Ty_Reg: 87 case DstType::Ty_LLT: 90 case DstType::Ty_RC: 98 case DstType [all...] |
/freebsd-current/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGExprScalar.cpp | 303 Value *Src, QualType SrcType, QualType DstType, 319 QualType DstType, SourceLocation Loc); 325 QualType DstType, SourceLocation Loc); 346 Value *EmitScalarCast(Value *Src, QualType SrcType, QualType DstType, 937 QualType DstType, llvm::Type *DstTy, SourceLocation Loc) { 953 unsigned Width = CGF.getContext().getIntWidth(DstType); 954 bool Unsigned = DstType->isUnsignedIntegerOrEnumerationType(); 998 CGF.EmitCheckTypeDescriptor(DstType)}; 1008 QualType DstType, CGBuilderTy &Builder) { 1020 bool DstSigned = DstType 935 EmitFloatConversionCheck( Value *OrigSrc, QualType OrigSrcType, Value *Src, QualType SrcType, QualType DstType, llvm::Type *DstTy, SourceLocation Loc) argument 1007 EmitIntegerTruncationCheckHelper(Value *Src, QualType SrcType, Value *Dst, QualType DstType, CGBuilderTy &Builder) argument 1043 PromotionIsPotentiallyEligibleForImplicitIntegerConversionCheck( QualType SrcType, QualType DstType) argument 1048 EmitIntegerTruncationCheck(Value *Src, QualType SrcType, Value *Dst, QualType DstType, SourceLocation Loc) argument 1101 EmitIntegerSignChangeCheckHelper(Value *Src, QualType SrcType, Value *Dst, QualType DstType, CGBuilderTy &Builder) argument 1157 EmitIntegerSignChangeCheck(Value *Src, QualType SrcType, Value *Dst, QualType DstType, SourceLocation Loc) argument 1239 EmitScalarCast(Value *Src, QualType SrcType, QualType DstType, llvm::Type *SrcTy, llvm::Type *DstTy, ScalarConversionOpts Opts) argument 1300 EmitScalarConversion(Value *Src, QualType SrcType, QualType DstType, SourceLocation Loc, ScalarConversionOpts Opts) argument 1705 DstType = E->getType(); local [all...] |
H A D | CGStmtOpenMP.cpp | 373 QualType DstType, StringRef Name, 379 Ctx.getPointerType(DstType), Loc); 381 CGF.MakeNaturalAlignAddrLValue(CastedPtr, DstType).getAddress(CGF); 372 castValueFromUintptr(CodeGenFunction &CGF, SourceLocation Loc, QualType DstType, StringRef Name, LValue AddrLV) argument
|
/freebsd-current/contrib/llvm-project/llvm/lib/IR/ |
H A D | IRBuilder.cpp | 99 Value *IRBuilderBase::CreateElementCount(Type *DstType, ElementCount EC) { argument 100 Constant *MinEC = ConstantInt::get(DstType, EC.getKnownMinValue()); 104 Value *IRBuilderBase::CreateTypeSize(Type *DstType, TypeSize Size) { argument 105 Constant *MinSize = ConstantInt::get(DstType, Size.getKnownMinValue()); 109 Value *IRBuilderBase::CreateStepVector(Type *DstType, const Twine &Name) { argument 110 Type *STy = DstType->getScalarType(); 111 if (isa<ScalableVectorType>(DstType)) { 112 Type *StepVecType = DstType; 118 VectorType::get(getInt8Ty(), cast<ScalableVectorType>(DstType)); 121 if (StepVecType != DstType) [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUPreLegalizerCombiner.cpp | 128 const LLT DstType = MRI.getType(MI.getOperand(0).getReg()); local 129 if (DstType != LLT::scalar(16))
|
/freebsd-current/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | IRBuilder.h | 948 Value *CreateElementCount(Type *DstType, ElementCount EC); 952 Value *CreateTypeSize(Type *DstType, TypeSize Size); 954 /// Creates a vector of type \p DstType with the linear sequence <0, 1, ...> 955 Value *CreateStepVector(Type *DstType, const Twine &Name = ""); 1024 CallInst *CreateArithmeticFence(Value *Val, Type *DstType, argument 1026 return CreateIntrinsic(Intrinsic::arithmetic_fence, DstType, Val, nullptr, 1031 CallInst *CreateExtractVector(Type *DstType, Value *SrcVec, Value *Idx, argument 1034 {DstType, SrcVec->getType()}, {SrcVec, Idx}, nullptr, 1039 CallInst *CreateInsertVector(Type *DstType, Value *SrcVec, Value *SubVec, argument 1042 {DstType, SubVe [all...] |
/freebsd-current/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaStmt.cpp | 1640 Sema::DiagnoseAssignmentEnum(QualType DstType, QualType SrcType, argument 1645 if (const EnumType *ET = DstType->getAs<EnumType>()) 1646 if (!Context.hasSameUnqualifiedType(SrcType, DstType) && 1651 unsigned DstWidth = Context.getIntWidth(DstType); 1652 bool DstIsSigned = DstType->isSignedIntegerOrEnumerationType(); 1664 << DstType.getUnqualifiedType(); 1689 << DstType.getUnqualifiedType();
|
H A D | Sema.cpp | 573 void Sema::diagnoseNullableToNonnullConversion(QualType DstType, argument 581 std::optional<NullabilityKind> TypeNullability = DstType->getNullability(); 585 Diag(Loc, diag::warn_nullability_lost) << SrcType << DstType; local
|
H A D | SemaExpr.cpp | 17578 bool Sema::CheckConversionToObjCLiteral(QualType DstType, Expr *&Exp, argument 17583 const ObjCObjectPointerType *PT = DstType->getAs<ObjCObjectPointerType>(); 17633 static bool maybeDiagnoseAssignmentToFunction(Sema &S, QualType DstType, argument 17635 if (!DstType->isFunctionPointerType() || 17654 QualType DstType, QualType SrcType, 17672 DiagnoseAssignmentEnum(DstType, SrcType, SrcExpr); 17682 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); 17692 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); 17698 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); 17708 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *thi 17652 DiagnoseAssignmentResult(AssignConvertType ConvTy, SourceLocation Loc, QualType DstType, QualType SrcType, Expr *SrcExpr, AssignmentAction Action, bool *Complained) argument [all...] |
H A D | SemaCast.cpp | 2104 QualType DstType, SourceRange OpRange) { 2108 if (Self.Context.hasSameType(SrcType, DstType) || 2109 !SrcType->isFunctionPointerType() || !DstType->isFunctionPointerType()) 2114 DstType->castAs<PointerType>()->getPointeeType()->castAs<FunctionType>(); 2103 DiagnoseCallingConvCast(Sema &Self, const ExprResult &SrcExpr, QualType DstType, SourceRange OpRange) argument
|
/freebsd-current/contrib/llvm-project/clang/include/clang/AST/ |
H A D | Expr.h | 4481 ConvertVectorExpr(Expr *SrcExpr, TypeSourceInfo *TI, QualType DstType, 4484 : Expr(ConvertVectorExprClass, DstType, VK, OK), SrcExpr(SrcExpr), 6215 AsTypeExpr(Expr *SrcExpr, QualType DstType, ExprValueKind VK, 6218 : Expr(AsTypeExprClass, DstType, VK, OK), SrcExpr(SrcExpr),
|
H A D | ExprCXX.h | 5141 TypeSourceInfo *DstType, SourceLocation KWLoc, 5144 DstType), 5140 BuiltinBitCastExpr(QualType T, ExprValueKind VK, CastKind CK, Expr *SrcExpr, TypeSourceInfo *DstType, SourceLocation KWLoc, SourceLocation RParenLoc) argument
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyISelLowering.cpp | 2475 EVT DstType = Bitcast.getValueType(); local 2477 SrcType.getVectorNumElements() != DstType.getVectorNumElements()) 2481 return DAG.getBitcast(DstType, NewShuffle);
|
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCompares.cpp | 3174 Type *DstType = Bitcast->getType(); local 3178 if (SrcType->isVectorTy() == DstType->isVectorTy() && 3179 SrcType->getScalarSizeInBits() == DstType->getScalarSizeInBits()) { 3241 if (!match(Cmp.getOperand(1), m_APInt(C)) || !DstType->isIntegerTy() || 3255 Value *Cast = Builder.CreateBitCast(NotBCSrcOp, DstType); 3256 return new ICmpInst(Pred, Cast, ConstantInt::getNullValue(DstType));
|
/freebsd-current/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Sema.h | 5448 void diagnoseNullableToNonnullConversion(QualType DstType, QualType SrcType, 10865 bool CheckConversionToObjCLiteral(QualType DstType, Expr *&SrcExpr, 12857 QualType DstType, QualType SrcType, 12869 void DiagnoseAssignmentEnum(QualType DstType, QualType SrcType,
|