/netbsd/external/apache2/llvm/dist/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 | 255 LLT DstType = MRI.getType(MI.getOperand(0).getReg()); in matchCombineShuffleVector() local 261 unsigned DstNumElts = DstType.isVector() ? DstType.getNumElements() : 1; in matchCombineShuffleVector()
|
H A D | LegalizerHelper.cpp | 4732 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 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 …]
|
/netbsd/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | CGExprScalar.cpp | 1218 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 D | CGStmtOpenMP.cpp | 368 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 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 | 467 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 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()
|
/netbsd/external/apache2/llvm/dist/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()
|
/netbsd/external/apache2/llvm/dist/clang/lib/Sema/ |
H A D | SemaStmt.cpp | 1590 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 D | SemaCast.cpp | 2045 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 D | Sema.cpp | 524 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 D | SemaExpr.cpp | 15827 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 D | IRBuilder.h | 858 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 D | WebAssemblyISelLowering.cpp | 2070 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 D | Expr.h | 4398 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 D | ExprCXX.h | 4889 TypeSourceInfo *DstType, SourceLocation KWLoc, in BuiltinBitCastExpr() argument 4892 DstType), in BuiltinBitCastExpr()
|
/netbsd/external/apache2/llvm/dist/clang/include/clang/Sema/ |
H A D | Sema.h | 4885 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,
|