Home
last modified time | relevance | path

Searched refs:IntSize (Results 1 – 11 of 11) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DMicrosoftCXXABI.cpp305 unsigned IntSize = Target.getIntWidth(); in getMemberPointerInfo() local
311 MPI.Width = Ptrs * PtrSize + Ints * IntSize; in getMemberPointerInfo()
325 MPI.HasPadding = MPI.Width != (Ptrs * PtrSize + Ints * IntSize); in getMemberPointerInfo()
H A DASTContext.cpp7121 uint64_t IntSize = getTypeSize(IntTy); in isPromotableBitField() local
7138 if (BitWidth < IntSize) in isPromotableBitField()
7141 if (BitWidth == IntSize) in isPromotableBitField()
7191 uint64_t IntSize = getIntWidth(IntTy); in getPromotedIntegerType() local
7192 assert(Promotable->isUnsignedIntegerType() && PromotableSize <= IntSize); in getPromotedIntegerType()
7193 return (PromotableSize != IntSize) ? IntTy : UnsignedIntTy; in getPromotedIntegerType()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp683 unsigned IntSize = Ty->getIntegerBitWidth(); in instCombineIntrinsic() local
688 if ((Width & (IntSize - 1)) == 0) { in instCombineIntrinsic()
693 if (Width >= IntSize) { in instCombineIntrinsic()
695 II, 2, ConstantInt::get(CWidth->getType(), Width & (IntSize - 1))); in instCombineIntrinsic()
703 if (Offset >= IntSize) { in instCombineIntrinsic()
706 ConstantInt::get(COffset->getType(), Offset & (IntSize - 1))); in instCombineIntrinsic()
722 if (Offset + Width < IntSize) { in instCombineIntrinsic()
723 Value *Shl = IC.Builder.CreateShl(Src, IntSize - Offset - Width); in instCombineIntrinsic()
724 Value *RightShift = Signed ? IC.Builder.CreateAShr(Shl, IntSize - Width) in instCombineIntrinsic()
725 : IC.Builder.CreateLShr(Shl, IntSize - Width); in instCombineIntrinsic()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntimeGPU.cpp1487 for (int IntSize = 8; IntSize >= 1; IntSize /= 2) { in shuffleAndStore() local
1488 if (Size < CharUnits::fromQuantity(IntSize)) in shuffleAndStore()
1491 CGF.getContext().toBits(CharUnits::fromQuantity(IntSize)), in shuffleAndStore()
1498 if (Size.getQuantity() / IntSize > 1) { in shuffleAndStore()
1517 Bld.CreateCondBr(Bld.CreateICmpSGT(PtrDiff, Bld.getInt64(IntSize - 1)), in shuffleAndStore()
1548 Size = Size % IntSize; in shuffleAndStore()
H A DMicrosoftCXXABI.cpp1083 CharUnits IntSize = Context.getTypeSizeInChars(Context.IntTy); in GetVirtualBaseClassOffset() local
1085 IntSize * in GetVirtualBaseClassOffset()
2280 int32_t IntSize = CGF.getIntSize().getQuantity(); in performReturnAdjustment() local
2284 IntSize * RA.Virtual.Microsoft.VBIndex, &VBPtr); in performReturnAdjustment()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterpBuiltin.cpp488 unsigned IntSize = primSize(getIntPrimType(S)); in interp__builtin_fpclassify() local
490 align(primSize(PT_Float)) + ((1 + (4 - Index)) * align(IntSize)); in interp__builtin_fpclassify()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp2989 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 DRewriteModernObjC.cpp2606 unsigned IntSize = in RewriteObjCBoolLiteralExpr() local
2610 llvm::APInt(IntSize, Exp->getValue()), in RewriteObjCBoolLiteralExpr()
4968 unsigned IntSize = in SynthesizeByrefCopyDestroyHelper() local
4973 unsigned offset = (VoidPtrSize*4 + IntSize + IntSize)/Context->getCharWidth(); in SynthesizeByrefCopyDestroyHelper()
5382 unsigned IntSize = in SynthBlockInitExpr() local
5384 Expr *FlagExp = IntegerLiteral::Create(*Context, llvm::APInt(IntSize, flag), in SynthBlockInitExpr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp5121 int IntSize = Op->getOperand(0)->getType()->getScalarSizeInBits(); in computeKnownFPClass() local
5123 --IntSize; in computeKnownFPClass()
5128 if (ilogb(APFloat::getLargest(FPTy->getFltSemantics())) >= IntSize) in computeKnownFPClass()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp3860 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnIntegerConstant() local
3861 return IntegerLiteral::Create(Context, llvm::APInt(IntSize, Val), in ActOnIntegerConstant()
4240 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnNumericConstant() local
4243 if (ResultVal.isIntN(IntSize)) { in ActOnNumericConstant()
4245 if (!Literal.isUnsigned && ResultVal[IntSize-1] == 0) in ActOnNumericConstant()
4249 Width = IntSize; in ActOnNumericConstant()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp18993 unsigned IntSize = IntVT.getSizeInBits(); in lowerFPToIntToFP() local
18996 MVT VecIntVT = MVT::getVectorVT(IntVT, 128 / IntSize); in lowerFPToIntToFP()
19001 SrcSize != IntSize ? X86ISD::CVTTP2SI : (unsigned)ISD::FP_TO_SINT; in lowerFPToIntToFP()
19003 IntSize != VTSize ? X86ISD::CVTSI2P : (unsigned)ISD::SINT_TO_FP; in lowerFPToIntToFP()