Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCSEMIRBuilder.cpp68 case DstOp::DstType::Ty_RC: in profileDstOp()
71 case DstOp::DstType::Ty_Reg: { in profileDstOp()
134 DstOp::DstType DT = Op.getDstOpKind(); in checkCopyToDefsPossible()
135 return DT == DstOp::DstType::Ty_LLT || DT == DstOp::DstType::Ty_RC; in checkCopyToDefsPossible()
146 if (Op.getDstOpKind() == DstOp::DstType::Ty_Reg) in generateCopiesIfRequired()
H A DCombinerHelper.cpp257 LLT DstType = MRI.getType(MI.getOperand(0).getReg()); in matchCombineShuffleVector() local
263 unsigned DstNumElts = DstType.isVector() ? DstType.getNumElements() : 1; in matchCombineShuffleVector()
H A DLegalizerHelper.cpp5130 LLT DstType = MRI.getType(DstReg); in narrowScalarAddSub() local
5132 if (DstType.isVector()) in narrowScalarAddSub()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DMachineIRBuilder.h66 enum class DstType { Ty_LLT, Ty_Reg, Ty_RC }; enum
67 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-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp1220 DstElementType = DstType; in EmitScalarCast()
1262 if (DstType->isBooleanType()) in EmitScalarConversion()
1269 if (DstType->isFixedPointType() || DstType->isIntegerType() || in EmitScalarConversion()
1270 DstType->isRealFloatingType()) in EmitScalarConversion()
1288 DstType = CGF.getContext().getCanonicalType(DstType); in EmitScalarConversion()
1289 if (SrcType == DstType) return Src; in EmitScalarConversion()
1298 if (DstType->isBooleanType()) in EmitScalarConversion()
1661 DstType = E->getType(); in VisitConvertVectorExpr() local
1666 DstType = CGF.getContext().getCanonicalType(DstType); in VisitConvertVectorExpr()
1667 if (SrcType == DstType) return Src; in VisitConvertVectorExpr()
[all …]
H A DCGStmtOpenMP.cpp370 QualType DstType, StringRef Name, in castValueFromUintptr() argument
376 Ctx.getPointerType(DstType), Loc); in castValueFromUintptr()
378 CGF.MakeNaturalAlignAddrLValue(CastedPtr, Ctx.getPointerType(DstType)) in castValueFromUintptr()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPreLegalizerCombiner.cpp67 const LLT DstType = MRI.getType(MI.getOperand(0).getReg()); in matchClampI64ToI16() local
68 if (DstType != LLT::scalar(16)) in matchClampI64ToI16()
H A DAMDGPUPrintfRuntimeBinding.cpp461 Type *DstType = (Size == 32) ? Int32Ty : Int64Ty; in lowerPrintfForGpu() local
462 Arg = new PtrToIntInst(Arg, DstType, "PrintArgPtr", Brnch); in lowerPrintfForGpu()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DIRBuilder.cpp96 Value *IRBuilderBase::CreateStepVector(Type *DstType, const Twine &Name) { in CreateStepVector() argument
97 if (isa<ScalableVectorType>(DstType)) in CreateStepVector()
98 return CreateIntrinsic(Intrinsic::experimental_stepvector, {DstType}, {}, in CreateStepVector()
101 Type *STy = DstType->getScalarType(); in CreateStepVector()
102 unsigned NumEls = cast<FixedVectorType>(DstType)->getNumElements(); in CreateStepVector()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp452 Type *DstType = CI->getType()->getScalarType(); in mightUseCTR() local
453 if (SrcType->isPPC_FP128Ty() || DstType->isPPC_FP128Ty() || in mightUseCTR()
455 isLargeIntegerTy(!TM.isPPC64(), DstType)) in mightUseCTR()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DIRBuilder.h869 Value *CreateStepVector(Type *DstType, const Twine &Name = "");
912 CallInst *CreateArithmeticFence(Value *Val, Type *DstType,
914 return CreateIntrinsic(Intrinsic::arithmetic_fence, DstType, Val, nullptr,
919 CallInst *CreateExtractVector(Type *DstType, Value *SrcVec, Value *Idx,
922 {DstType, SrcVec->getType()}, {SrcVec, Idx}, nullptr,
927 CallInst *CreateInsertVector(Type *DstType, Value *SrcVec, Value *SubVec,
930 {DstType, SubVec->getType()}, {SrcVec, SubVec, Idx},
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp1591 Sema::DiagnoseAssignmentEnum(QualType DstType, QualType SrcType, in DiagnoseAssignmentEnum() argument
1596 if (const EnumType *ET = DstType->getAs<EnumType>()) in DiagnoseAssignmentEnum()
1597 if (!Context.hasSameUnqualifiedType(SrcType, DstType) && in DiagnoseAssignmentEnum()
1602 unsigned DstWidth = Context.getIntWidth(DstType); in DiagnoseAssignmentEnum()
1603 bool DstIsSigned = DstType->isSignedIntegerOrEnumerationType(); in DiagnoseAssignmentEnum()
1615 << DstType.getUnqualifiedType(); in DiagnoseAssignmentEnum()
1640 << DstType.getUnqualifiedType(); in DiagnoseAssignmentEnum()
H A DSemaCast.cpp2055 QualType DstType, SourceRange OpRange) { in DiagnoseCallingConvCast() argument
2059 if (Self.Context.hasSameType(SrcType, DstType) || in DiagnoseCallingConvCast()
2060 !SrcType->isFunctionPointerType() || !DstType->isFunctionPointerType()) in DiagnoseCallingConvCast()
2065 DstType->castAs<PointerType>()->getPointeeType()->castAs<FunctionType>(); in DiagnoseCallingConvCast()
H A DSema.cpp548 void Sema::diagnoseNullableToNonnullConversion(QualType DstType, in diagnoseNullableToNonnullConversion() argument
556 Optional<NullabilityKind> TypeNullability = DstType->getNullability(Context); in diagnoseNullableToNonnullConversion()
560 Diag(Loc, diag::warn_nullability_lost) << SrcType << DstType; in diagnoseNullableToNonnullConversion()
H A DSemaExpr.cpp15986 if (!DstType->isFunctionPointerType() || in maybeDiagnoseAssignmentToFunction()
16023 DiagnoseAssignmentEnum(DstType, SrcType, SrcExpr); in DiagnoseAssignmentResult()
16033 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); in DiagnoseAssignmentResult()
16043 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); in DiagnoseAssignmentResult()
16071 DstType = DstType.getUnqualifiedType(); in DiagnoseAssignmentResult()
16098 Qualifiers rhq = DstType->getPointeeType().getQualifiers(); in DiagnoseAssignmentResult()
16164 else if (DstType->isObjCQualifiedIdType()) { in DiagnoseAssignmentResult()
16166 DstType->castAs<ObjCObjectPointerType>(); in DiagnoseAssignmentResult()
16215 FirstType = DstType; in DiagnoseAssignmentResult()
16227 SecondType = DstType; in DiagnoseAssignmentResult()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp2173 MVT DstType = Bitcast.getSimpleValueType(); in performVECTOR_SHUFFLECombine() local
2175 SrcType.getVectorNumElements() != DstType.getVectorNumElements()) in performVECTOR_SHUFFLECombine()
2179 return DAG.getBitcast(DstType, NewShuffle); in performVECTOR_SHUFFLECombine()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h4465 ConvertVectorExpr(Expr *SrcExpr, TypeSourceInfo *TI, QualType DstType, in ConvertVectorExpr() argument
4468 : Expr(ConvertVectorExprClass, DstType, VK, OK), SrcExpr(SrcExpr), in ConvertVectorExpr()
6029 AsTypeExpr(Expr *SrcExpr, QualType DstType, ExprValueKind VK, in AsTypeExpr() argument
6032 : Expr(AsTypeExprClass, DstType, VK, OK), SrcExpr(SrcExpr), in AsTypeExpr()
H A DExprCXX.h4887 TypeSourceInfo *DstType, SourceLocation KWLoc, in BuiltinBitCastExpr() argument
4890 DstType), in BuiltinBitCastExpr()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h4925 void diagnoseNullableToNonnullConversion(QualType DstType, QualType SrcType,
9898 bool CheckConversionToObjCLiteral(QualType DstType, Expr *&SrcExpr,
11569 QualType DstType, QualType SrcType,
11581 void DiagnoseAssignmentEnum(QualType DstType, QualType SrcType,