| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUInstCombineIntrinsic.cpp | 920 unsigned IntSize = Ty->getIntegerBitWidth(); in instCombineIntrinsic() local 925 if ((Width & (IntSize - 1)) == 0) { in instCombineIntrinsic() 930 if (Width >= IntSize) { in instCombineIntrinsic() 932 II, 2, ConstantInt::get(CWidth->getType(), Width & (IntSize - 1))); in instCombineIntrinsic() 940 if (Offset >= IntSize) { in instCombineIntrinsic() 943 ConstantInt::get(COffset->getType(), Offset & (IntSize - 1))); in instCombineIntrinsic() 959 if (Offset + Width < IntSize) { in instCombineIntrinsic() 960 Value *Shl = IC.Builder.CreateShl(Src, IntSize - Offset - Width); in instCombineIntrinsic() 961 Value *RightShift = Signed ? IC.Builder.CreateAShr(Shl, IntSize - Width) in instCombineIntrinsic() 962 : IC.Builder.CreateLShr(Shl, IntSize - Width); in instCombineIntrinsic()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | FormatString.cpp | 602 uint64_t IntSize = C.getTypeSize(C.IntTy); in integerTypeMatch() local 605 if (std::max(ASize, IntSize) != std::max(BSize, IntSize)) in integerTypeMatch()
|
| H A D | ASTContext.cpp | 8165 uint64_t IntSize = getTypeSize(IntTy); in isPromotableBitField() local 8190 if (BitWidth < IntSize) in isPromotableBitField() 8193 if (BitWidth == IntSize) in isPromotableBitField() 8243 uint64_t IntSize = getIntWidth(IntTy); in getPromotedIntegerType() local 8244 assert(Promotable->isUnsignedIntegerType() && PromotableSize <= IntSize); in getPromotedIntegerType() 8245 return (PromotableSize != IntSize) ? IntTy : UnsignedIntTy; in getPromotedIntegerType()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | GISelValueTracking.cpp | 1542 int IntSize = Ty.getScalarSizeInBits(); in computeKnownFPClass() local 1544 --IntSize; in computeKnownFPClass() 1550 if (ilogb(APFloat::getLargest(FltSem)) >= IntSize) in computeKnownFPClass()
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteObjC.cpp | 2987 unsigned IntSize = in SynthMessageExpr() local 2990 llvm::APInt(IntSize, 8), in SynthMessageExpr() 4113 unsigned IntSize = in SynthesizeByrefCopyDestroyHelper() local 4118 unsigned offset = (VoidPtrSize*4 + IntSize + IntSize)/Context->getCharWidth(); in SynthesizeByrefCopyDestroyHelper() 4501 unsigned IntSize = in SynthBlockInitExpr() local 4503 Expr *FlagExp = IntegerLiteral::Create(*Context, llvm::APInt(IntSize, flag), in SynthBlockInitExpr()
|
| H A D | RewriteModernObjC.cpp | 2604 unsigned IntSize = in RewriteObjCBoolLiteralExpr() local 2608 llvm::APInt(IntSize, Exp->getValue()), in RewriteObjCBoolLiteralExpr() 4950 unsigned IntSize = in SynthesizeByrefCopyDestroyHelper() local 4955 unsigned offset = (VoidPtrSize*4 + IntSize + IntSize)/Context->getCharWidth(); in SynthesizeByrefCopyDestroyHelper() 5348 unsigned IntSize = in SynthBlockInitExpr() local 5350 Expr *FlagExp = IntegerLiteral::Create(*Context, llvm::APInt(IntSize, flag), in SynthBlockInitExpr()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | MicrosoftCXXABI.cpp | 1074 CharUnits IntSize = Context.getTypeSizeInChars(Context.IntTy); in GetVirtualBaseClassOffset() local 1076 IntSize * in GetVirtualBaseClassOffset() 2285 int32_t IntSize = CGF.getIntSize().getQuantity(); in performReturnAdjustment() local 2289 IntSize * RA.Virtual.Microsoft.VBIndex, &VBPtr); in performReturnAdjustment()
|
| /freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.cpp | 2438 for (unsigned IntSize = 8; IntSize >= 1; IntSize /= 2) { in shuffleAndStore() local 2439 if (Size < IntSize) in shuffleAndStore() 2441 Type *IntType = Builder.getIntNTy(IntSize * 8); in shuffleAndStore() 2450 if ((Size / IntSize) > 1) { in shuffleAndStore() 2471 Builder.CreateICmpSGT(PtrDiff, Builder.getInt64(IntSize - 1)), ThenBB, in shuffleAndStore() 2500 Size = Size % IntSize; in shuffleAndStore()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
| H A D | AArch64InstructionSelector.cpp | 2075 constexpr int IntSize = 4; in selectVaStartAAPCS() local 2087 .addImm(OffsetBytes / IntSize) in selectVaStartAAPCS() 2090 MachineMemOperand::MOStore, IntSize, MMO->getBaseAlign())); in selectVaStartAAPCS() 2092 OffsetBytes += IntSize; in selectVaStartAAPCS()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaExpr.cpp | 3627 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnIntegerConstant() local 3629 llvm::APInt(IntSize, Val, /*isSigned=*/true), in ActOnIntegerConstant() 4036 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnNumericConstant() local 4039 if (ResultVal.isIntN(IntSize)) { in ActOnNumericConstant() 4041 if (!Literal.isUnsigned && ResultVal[IntSize-1] == 0) in ActOnNumericConstant() 4045 Width = IntSize; in ActOnNumericConstant()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ValueTracking.cpp | 5600 int IntSize = Op->getOperand(0)->getType()->getScalarSizeInBits(); in computeKnownFPClass() local 5602 --IntSize; in computeKnownFPClass() 5607 if (ilogb(APFloat::getLargest(FPTy->getFltSemantics())) >= IntSize) in computeKnownFPClass()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 19890 unsigned IntSize = IntVT.getSizeInBits(); in lowerFPToIntToFP() local 19893 MVT VecIntVT = MVT::getVectorVT(IntVT, 128 / IntSize); in lowerFPToIntToFP() 19898 SrcSize != IntSize ? X86ISD::CVTTP2SI : (unsigned)ISD::FP_TO_SINT; in lowerFPToIntToFP() 19900 IntSize != VTSize ? X86ISD::CVTSI2P : (unsigned)ISD::SINT_TO_FP; in lowerFPToIntToFP() 21656 unsigned IntSize = EleVT.getSizeInBits(); in LowerFP_TO_INT() local 21657 unsigned Num = IntSize > 16 ? 512 / IntSize : 32; in LowerFP_TO_INT()
|