| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | CSEMIRBuilder.cpp | 68 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 D | CombinerHelper.cpp | 257 LLT DstType = MRI.getType(MI.getOperand(0).getReg()); in matchCombineShuffleVector() local 263 unsigned DstNumElts = DstType.isVector() ? DstType.getNumElements() : 1; in matchCombineShuffleVector()
|
| H A D | LegalizerHelper.cpp | 5130 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 D | MachineIRBuilder.h | 66 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 D | CGExprScalar.cpp | 1220 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 D | CGStmtOpenMP.cpp | 370 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 D | AMDGPUPreLegalizerCombiner.cpp | 67 const LLT DstType = MRI.getType(MI.getOperand(0).getReg()); in matchClampI64ToI16() local 68 if (DstType != LLT::scalar(16)) in matchClampI64ToI16()
|
| H A D | AMDGPUPrintfRuntimeBinding.cpp | 461 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 D | IRBuilder.cpp | 96 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 D | PPCTargetTransformInfo.cpp | 452 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 D | IRBuilder.h | 869 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 D | SemaStmt.cpp | 1591 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 D | SemaCast.cpp | 2055 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 D | Sema.cpp | 548 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 D | SemaExpr.cpp | 15986 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 D | WebAssemblyISelLowering.cpp | 2173 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 D | Expr.h | 4465 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 D | ExprCXX.h | 4887 TypeSourceInfo *DstType, SourceLocation KWLoc, in BuiltinBitCastExpr() argument 4890 DstType), in BuiltinBitCastExpr()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 4925 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,
|