| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | MicrosoftCXXABI.cpp | 307 unsigned IntSize = Target.getIntWidth(); in getMemberPointerInfo() local 313 MPI.Width = Ptrs * PtrSize + Ints * IntSize; in getMemberPointerInfo() 327 MPI.HasPadding = MPI.Width != (Ptrs * PtrSize + Ints * IntSize); in getMemberPointerInfo()
|
| H A D | ASTContext.cpp | 7008 uint64_t IntSize = getTypeSize(IntTy); in isPromotableBitField() local 7025 if (BitWidth < IntSize) in isPromotableBitField() 7028 if (BitWidth == IntSize) in isPromotableBitField() 7079 uint64_t IntSize = getIntWidth(IntTy); in getPromotedIntegerType() local 7080 assert(Promotable->isUnsignedIntegerType() && PromotableSize <= IntSize); in getPromotedIntegerType() 7081 return (PromotableSize != IntSize) ? IntTy : UnsignedIntTy; in getPromotedIntegerType()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUInstCombineIntrinsic.cpp | 570 unsigned IntSize = Ty->getIntegerBitWidth(); in instCombineIntrinsic() local 575 if ((Width & (IntSize - 1)) == 0) { in instCombineIntrinsic() 580 if (Width >= IntSize) { in instCombineIntrinsic() 582 II, 2, ConstantInt::get(CWidth->getType(), Width & (IntSize - 1))); in instCombineIntrinsic() 590 if (Offset >= IntSize) { in instCombineIntrinsic() 593 ConstantInt::get(COffset->getType(), Offset & (IntSize - 1))); in instCombineIntrinsic() 609 if (Offset + Width < IntSize) { in instCombineIntrinsic() 610 Value *Shl = IC.Builder.CreateShl(Src, IntSize - Offset - Width); in instCombineIntrinsic() 611 Value *RightShift = Signed ? IC.Builder.CreateAShr(Shl, IntSize - Width) in instCombineIntrinsic() 612 : IC.Builder.CreateLShr(Shl, IntSize - Width); in instCombineIntrinsic()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-doc/ |
| H A D | BitcodeWriter.h | 40 static constexpr unsigned IntSize = 16U; member
|
| H A D | BitcodeWriter.cpp | 50 BitCodeConstants::IntSize)}); in IntAbbrev() 364 assert(Val < (1U << BitCodeConstants::IntSize)); in emitRecord()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntimeGPU.cpp | 1785 for (int IntSize = 8; IntSize >= 1; IntSize /= 2) { in shuffleAndStore() local 1786 if (Size < CharUnits::fromQuantity(IntSize)) in shuffleAndStore() 1789 CGF.getContext().toBits(CharUnits::fromQuantity(IntSize)), in shuffleAndStore() 1796 if (Size.getQuantity() / IntSize > 1) { in shuffleAndStore() 1815 Bld.CreateCondBr(Bld.CreateICmpSGT(PtrDiff, Bld.getInt64(IntSize - 1)), in shuffleAndStore() 1846 Size = Size % IntSize; in shuffleAndStore()
|
| H A D | MicrosoftCXXABI.cpp | 1062 CharUnits IntSize = Context.getTypeSizeInChars(Context.IntTy); in GetVirtualBaseClassOffset() local 1064 IntSize * in GetVirtualBaseClassOffset() 2256 int32_t IntSize = CGF.getIntSize().getQuantity(); in performReturnAdjustment() local 2260 IntSize * RA.Virtual.Microsoft.VBIndex, &VBPtr); in performReturnAdjustment()
|
| /llvm-project-15.0.7/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteObjC.cpp | 2989 unsigned IntSize = in SynthMessageExpr() local 2992 llvm::APInt(IntSize, 8), in SynthMessageExpr() 4122 unsigned IntSize = in SynthesizeByrefCopyDestroyHelper() local 4127 unsigned offset = (VoidPtrSize*4 + IntSize + IntSize)/Context->getCharWidth(); in SynthesizeByrefCopyDestroyHelper() 4520 unsigned IntSize = in SynthBlockInitExpr() local 4522 Expr *FlagExp = IntegerLiteral::Create(*Context, llvm::APInt(IntSize, flag), in SynthBlockInitExpr()
|
| H A D | RewriteModernObjC.cpp | 2606 unsigned IntSize = in RewriteObjCBoolLiteralExpr() local 2610 llvm::APInt(IntSize, Exp->getValue()), in RewriteObjCBoolLiteralExpr() 4969 unsigned IntSize = in SynthesizeByrefCopyDestroyHelper() local 4974 unsigned offset = (VoidPtrSize*4 + IntSize + IntSize)/Context->getCharWidth(); in SynthesizeByrefCopyDestroyHelper() 5383 unsigned IntSize = in SynthBlockInitExpr() local 5385 Expr *FlagExp = IntegerLiteral::Create(*Context, llvm::APInt(IntSize, flag), in SynthBlockInitExpr()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ValueTracking.cpp | 3759 int IntSize = Inst->getOperand(0)->getType()->getScalarSizeInBits(); in isKnownNeverInfinity() local 3761 --IntSize; in isKnownNeverInfinity() 3766 return ilogb(APFloat::getLargest(FPTy->getFltSemantics())) >= IntSize; in isKnownNeverInfinity()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaExpr.cpp | 3679 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnIntegerConstant() local 3680 return IntegerLiteral::Create(Context, llvm::APInt(IntSize, Val), in ActOnIntegerConstant() 4069 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnNumericConstant() local 4072 if (ResultVal.isIntN(IntSize)) { in ActOnNumericConstant() 4074 if (!Literal.isUnsigned && ResultVal[IntSize-1] == 0) in ActOnNumericConstant() 4078 Width = IntSize; in ActOnNumericConstant()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 20834 unsigned IntSize = IntVT.getSizeInBits(); in lowerFPToIntToFP() local 20837 MVT VecIntVT = MVT::getVectorVT(IntVT, 128 / IntSize); in lowerFPToIntToFP() 20842 SrcSize != IntSize ? X86ISD::CVTTP2SI : (unsigned)ISD::FP_TO_SINT; in lowerFPToIntToFP() 20844 IntSize != VTSize ? X86ISD::CVTSI2P : (unsigned)ISD::SINT_TO_FP; in lowerFPToIntToFP()
|