Home
last modified time | relevance | path

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

/netbsd/external/apache2/llvm/dist/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.cpp255 LLT DstType = MRI.getType(MI.getOperand(0).getReg()); in matchCombineShuffleVector() local
261 unsigned DstNumElts = DstType.isVector() ? DstType.getNumElements() : 1; in matchCombineShuffleVector()
H A DLegalizerHelper.cpp4732 LLT DstType = MRI.getType(DstReg); in narrowScalarAddSub() local
4734 if (DstType.isVector()) in narrowScalarAddSub()
4737 uint64_t SizeOp0 = DstType.getSizeInBits(); in narrowScalarAddSub()
/netbsd/external/apache2/llvm/dist/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 …]
/netbsd/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGExprScalar.cpp1218 DstElementType = DstType; in EmitScalarCast()
1260 if (DstType->isBooleanType()) in EmitScalarConversion()
1267 if (DstType->isFixedPointType() || DstType->isIntegerType() || in EmitScalarConversion()
1268 DstType->isRealFloatingType()) in EmitScalarConversion()
1286 DstType = CGF.getContext().getCanonicalType(DstType); in EmitScalarConversion()
1287 if (SrcType == DstType) return Src; in EmitScalarConversion()
1296 if (DstType->isBooleanType()) in EmitScalarConversion()
1640 DstType = E->getType(); in VisitConvertVectorExpr() local
1645 DstType = CGF.getContext().getCanonicalType(DstType); in VisitConvertVectorExpr()
1646 if (SrcType == DstType) return Src; in VisitConvertVectorExpr()
[all …]
H A DCGStmtOpenMP.cpp368 QualType DstType, StringRef Name, in castValueFromUintptr() argument
374 Ctx.getPointerType(DstType), Loc); in castValueFromUintptr()
376 CGF.MakeNaturalAlignAddrLValue(CastedPtr, Ctx.getPointerType(DstType)) in castValueFromUintptr()
/netbsd/external/apache2/llvm/dist/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.cpp467 Type *DstType = (Size == 32) ? Int32Ty : Int64Ty; in lowerPrintfForGpu() local
468 Arg = new PtrToIntInst(Arg, DstType, "PrintArgPtr", Brnch); in lowerPrintfForGpu()
/netbsd/external/apache2/llvm/dist/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()
/netbsd/external/apache2/llvm/dist/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()
/netbsd/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaStmt.cpp1590 Sema::DiagnoseAssignmentEnum(QualType DstType, QualType SrcType, in DiagnoseAssignmentEnum() argument
1595 if (const EnumType *ET = DstType->getAs<EnumType>()) in DiagnoseAssignmentEnum()
1596 if (!Context.hasSameUnqualifiedType(SrcType, DstType) && in DiagnoseAssignmentEnum()
1601 unsigned DstWidth = Context.getIntWidth(DstType); in DiagnoseAssignmentEnum()
1602 bool DstIsSigned = DstType->isSignedIntegerOrEnumerationType(); in DiagnoseAssignmentEnum()
1614 << DstType.getUnqualifiedType(); in DiagnoseAssignmentEnum()
1639 << DstType.getUnqualifiedType(); in DiagnoseAssignmentEnum()
H A DSemaCast.cpp2045 QualType DstType, SourceRange OpRange) { in DiagnoseCallingConvCast() argument
2049 if (Self.Context.hasSameType(SrcType, DstType) || in DiagnoseCallingConvCast()
2050 !SrcType->isFunctionPointerType() || !DstType->isFunctionPointerType()) in DiagnoseCallingConvCast()
2055 DstType->castAs<PointerType>()->getPointeeType()->castAs<FunctionType>(); in DiagnoseCallingConvCast()
H A DSema.cpp524 void Sema::diagnoseNullableToNonnullConversion(QualType DstType, in diagnoseNullableToNonnullConversion() argument
532 Optional<NullabilityKind> TypeNullability = DstType->getNullability(Context); in diagnoseNullableToNonnullConversion()
536 Diag(Loc, diag::warn_nullability_lost) << SrcType << DstType; in diagnoseNullableToNonnullConversion()
H A DSemaExpr.cpp15827 if (!DstType->isFunctionPointerType() || in maybeDiagnoseAssignmentToFunction()
15864 DiagnoseAssignmentEnum(DstType, SrcType, SrcExpr); in DiagnoseAssignmentResult()
15874 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); in DiagnoseAssignmentResult()
15884 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); in DiagnoseAssignmentResult()
15912 DstType = DstType.getUnqualifiedType(); in DiagnoseAssignmentResult()
15939 Qualifiers rhq = DstType->getPointeeType().getQualifiers(); in DiagnoseAssignmentResult()
16005 else if (DstType->isObjCQualifiedIdType()) { in DiagnoseAssignmentResult()
16007 DstType->castAs<ObjCObjectPointerType>(); in DiagnoseAssignmentResult()
16056 FirstType = DstType; in DiagnoseAssignmentResult()
16068 SecondType = DstType; in DiagnoseAssignmentResult()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DIRBuilder.h858 Value *CreateStepVector(Type *DstType, const Twine &Name = "");
901 CallInst *CreateExtractVector(Type *DstType, Value *SrcVec, Value *Idx,
904 {DstType, SrcVec->getType()}, {SrcVec, Idx}, nullptr,
909 CallInst *CreateInsertVector(Type *DstType, Value *SrcVec, Value *SubVec,
912 {DstType, SubVec->getType()}, {SrcVec, SubVec, Idx},
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp2070 MVT DstType = Bitcast.getSimpleValueType(); in performVECTOR_SHUFFLECombine() local
2072 SrcType.getVectorNumElements() != DstType.getVectorNumElements()) in performVECTOR_SHUFFLECombine()
2076 return DAG.getBitcast(DstType, NewShuffle); in performVECTOR_SHUFFLECombine()
/netbsd/external/apache2/llvm/dist/clang/include/clang/AST/
H A DExpr.h4398 ConvertVectorExpr(Expr *SrcExpr, TypeSourceInfo *TI, QualType DstType, in ConvertVectorExpr() argument
4401 : Expr(ConvertVectorExprClass, DstType, VK, OK), SrcExpr(SrcExpr), in ConvertVectorExpr()
5962 AsTypeExpr(Expr *SrcExpr, QualType DstType, ExprValueKind VK, in AsTypeExpr() argument
5965 : Expr(AsTypeExprClass, DstType, VK, OK), SrcExpr(SrcExpr), in AsTypeExpr()
H A DExprCXX.h4889 TypeSourceInfo *DstType, SourceLocation KWLoc, in BuiltinBitCastExpr() argument
4892 DstType), in BuiltinBitCastExpr()
/netbsd/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DSema.h4885 void diagnoseNullableToNonnullConversion(QualType DstType, QualType SrcType,
9829 bool CheckConversionToObjCLiteral(QualType DstType, Expr *&SrcExpr,
11468 QualType DstType, QualType SrcType,
11480 void DiagnoseAssignmentEnum(QualType DstType, QualType SrcType,