| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/DirectXIRPasses/ |
| H A D | PointerTypeAnalysis.cpp | 141 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 D | Utils.cpp | 1073 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 D | LegalizerHelper.cpp | 3211 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 D | Utils.h | 351 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 D | SROA.cpp | 2911 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 D | CGExpr.cpp | 3350 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 D | CGOpenMPRuntimeGPU.cpp | 3017 QualType TargetTy = TargetParam->getType(); in getParameterAddress() local 3019 TargetTy, SourceLocation()); in getParameterAddress()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Verifier.cpp | 3937 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 D | SemaChecking.cpp | 13964 auto *TargetTy = FPLiteral->getType()->getAs<BuiltinType>(); in CheckFloatComparison() local 13965 if (SourceTy && TargetTy && SourceTy->isFloatingPoint() && in CheckFloatComparison() 13966 TargetTy->isFloatingPoint()) { in CheckFloatComparison()
|