Home
last modified time | relevance | path

Searched refs:TargetTy (Results 1 – 9 of 9) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/DirectXIRPasses/
H A DPointerTypeAnalysis.cpp141 Type *TargetTy = nullptr; in classifyConstantWithOpaquePtr() local
149 TargetTy = StructType::get(C->getContext(), EltTys); in classifyConstantWithOpaquePtr()
160 TargetTy = ArrayType::get(TargetEltTy, AT->getNumElements()); in classifyConstantWithOpaquePtr()
164 TargetTy = VectorType::get(TargetEltTy, VT); in classifyConstantWithOpaquePtr()
168 assert(TargetTy && "PointerTypeAnalyisis failed to identify target type"); in classifyConstantWithOpaquePtr()
171 if (TargetTy == Ty) in classifyConstantWithOpaquePtr()
174 Map[C] = TargetTy; in classifyConstantWithOpaquePtr()
175 return TargetTy; in classifyConstantWithOpaquePtr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp1073 LLT llvm::getLCMType(LLT OrigTy, LLT TargetTy) { in getLCMType() argument
1083 if (TargetTy.isVector()) { in getLCMType()
1103 if (TargetTy.isVector()) { in getLCMType()
1114 return TargetTy; in getLCMType()
1119 LLT llvm::getCoverTy(LLT OrigTy, LLT TargetTy) { in getCoverTy() argument
1120 if (!OrigTy.isVector() || !TargetTy.isVector() || OrigTy == TargetTy || in getCoverTy()
1122 return getLCMType(OrigTy, TargetTy); in getCoverTy()
1134 LLT llvm::getGCDType(LLT OrigTy, LLT TargetTy) { in getGCDType() argument
1143 if (TargetTy.isVector()) { in getGCDType()
1166 if (TargetTy.isVector()) { in getGCDType()
[all …]
H A DLegalizerHelper.cpp3211 LLT TargetTy = B.getMRI()->getType(TargetReg); in buildBitFieldInsert() local
3213 auto ZextVal = B.buildZExt(TargetTy, InsertReg); in buildBitFieldInsert()
3214 auto ShiftedInsertVal = B.buildShl(TargetTy, ZextVal, OffsetBits); in buildBitFieldInsert()
3218 TargetTy, APInt::getLowBitsSet(TargetTy.getSizeInBits(), in buildBitFieldInsert()
3221 auto ShiftedMask = B.buildShl(TargetTy, EltMask, OffsetBits); in buildBitFieldInsert()
3222 auto InvShiftedMask = B.buildNot(TargetTy, ShiftedMask); in buildBitFieldInsert()
3225 auto MaskedOldElt = B.buildAnd(TargetTy, TargetReg, InvShiftedMask); in buildBitFieldInsert()
3229 return B.buildOr(TargetTy, MaskedOldElt, ShiftedInsertVal).getReg(0); in buildBitFieldInsert()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DUtils.h351 LLT getLCMType(LLT OrigTy, LLT TargetTy);
356 LLT getCoverTy(LLT OrigTy, LLT TargetTy);
372 LLT getGCDType(LLT OrigTy, LLT TargetTy);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp2911 Type *TargetTy = IsSplit ? Type::getIntNTy(LI.getContext(), SliceSize * 8) in visitLoadInst() local
2914 DL.getTypeStoreSize(TargetTy).getFixedValue() > SliceSize; in visitLoadInst()
2923 (canConvertValue(DL, NewAllocaTy, TargetTy) || in visitLoadInst()
2925 TargetTy->isIntegerTy() && !LI.isVolatile()))) { in visitLoadInst()
2952 if (auto *TITy = dyn_cast<IntegerType>(TargetTy)) in visitLoadInst()
2962 IRB.CreateAlignedLoad(TargetTy, getNewAllocaSlicePtr(IRB, LTy), in visitLoadInst()
2974 V = convertValue(DL, IRB, V, TargetTy); in visitLoadInst()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExpr.cpp3350 llvm::Type *TargetTy = IntPtrTy; in EmitCheckValue() local
3352 if (V->getType() == TargetTy) in EmitCheckValue()
3359 if (Bits <= TargetTy->getIntegerBitWidth()) in EmitCheckValue()
3366 V->getType()->getIntegerBitWidth() <= TargetTy->getIntegerBitWidth()) in EmitCheckValue()
3367 return Builder.CreateZExt(V, TargetTy); in EmitCheckValue()
3375 return Builder.CreatePtrToInt(V, TargetTy); in EmitCheckValue()
H A DCGOpenMPRuntimeGPU.cpp3017 QualType TargetTy = TargetParam->getType(); in getParameterAddress() local
3019 TargetTy, SourceLocation()); in getParameterAddress()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DVerifier.cpp3937 Type *TargetTy = GEP.getPointerOperandType()->getScalarType(); in visitGetElementPtrInst() local
3939 Check(isa<PointerType>(TargetTy), in visitGetElementPtrInst()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp13964 auto *TargetTy = FPLiteral->getType()->getAs<BuiltinType>(); in CheckFloatComparison() local
13965 if (SourceTy && TargetTy && SourceTy->isFloatingPoint() && in CheckFloatComparison()
13966 TargetTy->isFloatingPoint()) { in CheckFloatComparison()