Searched refs:TargetTy (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | Utils.cpp | 888 LLT llvm::getLCMType(LLT OrigTy, LLT TargetTy) { in getLCMType() argument 898 if (TargetTy.isVector()) { in getLCMType() 918 if (TargetTy.isVector()) { in getLCMType() 929 return TargetTy; in getLCMType() 934 LLT llvm::getCoverTy(LLT OrigTy, LLT TargetTy) { in getCoverTy() argument 935 if (!OrigTy.isVector() || !TargetTy.isVector() || OrigTy == TargetTy || in getCoverTy() 937 return getLCMType(OrigTy, TargetTy); in getCoverTy() 949 LLT llvm::getGCDType(LLT OrigTy, LLT TargetTy) { in getGCDType() argument 958 if (TargetTy.isVector()) { in getGCDType() 982 if (TargetTy.isVector()) { in getGCDType() [all …]
|
| H A D | LegalizerHelper.cpp | 2836 LLT TargetTy = B.getMRI()->getType(TargetReg); in buildBitFieldInsert() local 2838 auto ZextVal = B.buildZExt(TargetTy, InsertReg); in buildBitFieldInsert() 2839 auto ShiftedInsertVal = B.buildShl(TargetTy, ZextVal, OffsetBits); in buildBitFieldInsert() 2843 TargetTy, APInt::getLowBitsSet(TargetTy.getSizeInBits(), in buildBitFieldInsert() 2846 auto ShiftedMask = B.buildShl(TargetTy, EltMask, OffsetBits); in buildBitFieldInsert() 2847 auto InvShiftedMask = B.buildNot(TargetTy, ShiftedMask); in buildBitFieldInsert() 2850 auto MaskedOldElt = B.buildAnd(TargetTy, TargetReg, InvShiftedMask); in buildBitFieldInsert() 2854 return B.buildOr(TargetTy, MaskedOldElt, ShiftedInsertVal).getReg(0); in buildBitFieldInsert()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | Utils.h | 323 LLT getLCMType(LLT OrigTy, LLT TargetTy); 328 LLT getCoverTy(LLT OrigTy, LLT TargetTy); 344 LLT getGCDType(LLT OrigTy, LLT TargetTy);
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | SROA.cpp | 1461 if (Ty == TargetTy) in getNaturalGEPWithType() 1490 } while (ElementTy != TargetTy); in getNaturalGEPWithType() 1491 if (ElementTy != TargetTy) in getNaturalGEPWithType() 1577 Type *TargetTy = TargetPtrTy->getNonOpaquePointerElementType(); in getAdjustedPtr() local 1583 PointerTy = TargetTy->getPointerTo(AS); in getAdjustedPtr() 2494 DL.getTypeStoreSize(TargetTy).getFixedSize() > SliceSize; in visitLoadInst() 2503 (canConvertValue(DL, NewAllocaTy, TargetTy) || in visitLoadInst() 2505 TargetTy->isIntegerTy()))) { in visitLoadInst() 2536 if (auto *TITy = dyn_cast<IntegerType>(TargetTy)) in visitLoadInst() 2544 Type *LTy = TargetTy->getPointerTo(AS); in visitLoadInst() [all …]
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGExpr.cpp | 3117 llvm::Type *TargetTy = IntPtrTy; in EmitCheckValue() local 3119 if (V->getType() == TargetTy) in EmitCheckValue() 3126 if (Bits <= TargetTy->getIntegerBitWidth()) in EmitCheckValue() 3133 V->getType()->getIntegerBitWidth() <= TargetTy->getIntegerBitWidth()) in EmitCheckValue() 3134 return Builder.CreateZExt(V, TargetTy); in EmitCheckValue() 3142 return Builder.CreatePtrToInt(V, TargetTy); in EmitCheckValue()
|
| H A D | CGOpenMPRuntimeGPU.cpp | 3439 QualType TargetTy = TargetParam->getType(); in getParameterAddress() local 3441 LocalAddr, /*Volatile=*/false, TargetTy, SourceLocation()); in getParameterAddress()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Verifier.cpp | 3722 Type *TargetTy = GEP.getPointerOperandType()->getScalarType(); in visitGetElementPtrInst() local 3724 Check(isa<PointerType>(TargetTy), in visitGetElementPtrInst()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaChecking.cpp | 11900 auto *TargetTy = FPLiteral->getType()->getAs<BuiltinType>(); in CheckFloatComparison() local 11901 if (SourceTy && TargetTy && SourceTy->isFloatingPoint() && in CheckFloatComparison() 11902 TargetTy->isFloatingPoint()) { in CheckFloatComparison()
|