Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp679 unsigned IntSize = Ty->getIntegerBitWidth(); in instCombineIntrinsic() local
684 if ((Width & (IntSize - 1)) == 0) { in instCombineIntrinsic()
689 if (Width >= IntSize) { in instCombineIntrinsic()
691 II, 2, ConstantInt::get(CWidth->getType(), Width & (IntSize - 1))); in instCombineIntrinsic()
699 if (Offset >= IntSize) { in instCombineIntrinsic()
702 ConstantInt::get(COffset->getType(), Offset & (IntSize - 1))); in instCombineIntrinsic()
718 if (Offset + Width < IntSize) { in instCombineIntrinsic()
719 Value *Shl = IC.Builder.CreateShl(Src, IntSize - Offset - Width); in instCombineIntrinsic()
720 Value *RightShift = Signed ? IC.Builder.CreateAShr(Shl, IntSize - Width) in instCombineIntrinsic()
721 : IC.Builder.CreateLShr(Shl, IntSize - Width); in instCombineIntrinsic()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterpBuiltin.cpp477 unsigned IntSize = primSize(getIntPrimType(S)); in interp__builtin_fpclassify() local
479 align(primSize(PT_Float)) + ((1 + (4 - Index)) * align(IntSize)); in interp__builtin_fpclassify()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp2605 unsigned IntSize = in RewriteObjCBoolLiteralExpr() local
2609 llvm::APInt(IntSize, Exp->getValue()), in RewriteObjCBoolLiteralExpr()
4966 unsigned IntSize = in SynthesizeByrefCopyDestroyHelper() local
4971 unsigned offset = (VoidPtrSize*4 + IntSize + IntSize)/Context->getCharWidth(); in SynthesizeByrefCopyDestroyHelper()
5380 unsigned IntSize = in SynthBlockInitExpr() local
5382 Expr *FlagExp = IntegerLiteral::Create(*Context, llvm::APInt(IntSize, flag), in SynthBlockInitExpr()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp2304 for (unsigned IntSize = 8; IntSize >= 1; IntSize /= 2) { in shuffleAndStore() local
2305 if (Size < IntSize) in shuffleAndStore()
2307 Type *IntType = Builder.getIntNTy(IntSize * 8); in shuffleAndStore()
2316 if ((Size / IntSize) > 1) { in shuffleAndStore()
2337 Builder.CreateICmpSGT(PtrDiff, Builder.getInt64(IntSize - 1)), ThenBB, in shuffleAndStore()
2366 Size = Size % IntSize; in shuffleAndStore()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DMicrosoftCXXABI.cpp1079 CharUnits IntSize = Context.getTypeSizeInChars(Context.IntTy); in GetVirtualBaseClassOffset() local
1081 IntSize * in GetVirtualBaseClassOffset()
2293 int32_t IntSize = CGF.getIntSize().getQuantity(); in performReturnAdjustment() local
2297 IntSize * RA.Virtual.Microsoft.VBIndex, &VBPtr); in performReturnAdjustment()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp7569 uint64_t IntSize = getTypeSize(IntTy); in isPromotableBitField() local
7594 if (BitWidth < IntSize) in isPromotableBitField()
7597 if (BitWidth == IntSize) in isPromotableBitField()
7647 uint64_t IntSize = getIntWidth(IntTy); in getPromotedIntegerType() local
7648 assert(Promotable->isUnsignedIntegerType() && PromotableSize <= IntSize); in getPromotedIntegerType()
7649 return (PromotableSize != IntSize) ? IntTy : UnsignedIntTy; in getPromotedIntegerType()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp3579 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnIntegerConstant() local
3580 return IntegerLiteral::Create(Context, llvm::APInt(IntSize, Val), in ActOnIntegerConstant()
3980 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnNumericConstant() local
3983 if (ResultVal.isIntN(IntSize)) { in ActOnNumericConstant()
3985 if (!Literal.isUnsigned && ResultVal[IntSize-1] == 0) in ActOnNumericConstant()
3989 Width = IntSize; in ActOnNumericConstant()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp5740 int IntSize = Op->getOperand(0)->getType()->getScalarSizeInBits(); in computeKnownFPClass() local
5742 --IntSize; in computeKnownFPClass()
5747 if (ilogb(APFloat::getLargest(FPTy->getFltSemantics())) >= IntSize) in computeKnownFPClass()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp19185 unsigned IntSize = IntVT.getSizeInBits(); in lowerFPToIntToFP() local
19188 MVT VecIntVT = MVT::getVectorVT(IntVT, 128 / IntSize); in lowerFPToIntToFP()
19193 SrcSize != IntSize ? X86ISD::CVTTP2SI : (unsigned)ISD::FP_TO_SINT; in lowerFPToIntToFP()
19195 IntSize != VTSize ? X86ISD::CVTSI2P : (unsigned)ISD::SINT_TO_FP; in lowerFPToIntToFP()