Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DMicrosoftCXXABI.cpp236 unsigned IntSize = Target.getIntWidth(); in getMemberPointerInfo() local
242 MPI.Width = Ptrs * PtrSize + Ints * IntSize; in getMemberPointerInfo()
256 MPI.HasPadding = MPI.Width != (Ptrs * PtrSize + Ints * IntSize); in getMemberPointerInfo()
H A DASTContext.cpp5671 uint64_t IntSize = getTypeSize(IntTy); in isPromotableBitField() local
5688 if (BitWidth < IntSize) in isPromotableBitField()
5691 if (BitWidth == IntSize) in isPromotableBitField()
5742 uint64_t IntSize = getIntWidth(IntTy); in getPromotedIntegerType() local
5743 assert(Promotable->isUnsignedIntegerType() && PromotableSize <= IntSize); in getPromotedIntegerType()
5744 return (PromotableSize != IntSize) ? IntTy : UnsignedIntTy; in getPromotedIntegerType()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGOpenMPRuntimeNVPTX.cpp2850 for (int IntSize = 8; IntSize >= 1; IntSize /= 2) { in shuffleAndStore() local
2851 if (Size < CharUnits::fromQuantity(IntSize)) in shuffleAndStore()
2854 CGF.getContext().toBits(CharUnits::fromQuantity(IntSize)), in shuffleAndStore()
2860 if (Size.getQuantity() / IntSize > 1) { in shuffleAndStore()
2877 Bld.CreateCondBr(Bld.CreateICmpSGT(PtrDiff, Bld.getInt64(IntSize - 1)), in shuffleAndStore()
2885 Bld.CreateConstGEP(Ptr, 1, CharUnits::fromQuantity(IntSize)); in shuffleAndStore()
2887 Bld.CreateConstGEP(ElemPtr, 1, CharUnits::fromQuantity(IntSize)); in shuffleAndStore()
2897 Ptr = Bld.CreateConstGEP(Ptr, 1, CharUnits::fromQuantity(IntSize)); in shuffleAndStore()
2899 Bld.CreateConstGEP(ElemPtr, 1, CharUnits::fromQuantity(IntSize)); in shuffleAndStore()
2901 Size = Size % IntSize; in shuffleAndStore()
H A DMicrosoftCXXABI.cpp1026 CharUnits IntSize = Context.getTypeSizeInChars(Context.IntTy); in GetVirtualBaseClassOffset() local
1028 IntSize * in GetVirtualBaseClassOffset()
2157 int32_t IntSize = CGF.getIntSize().getQuantity(); in performReturnAdjustment() local
2161 IntSize * RA.Virtual.Microsoft.VBIndex, &VBPtr); in performReturnAdjustment()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp3535 unsigned IntSize = Ty->getIntegerBitWidth(); in visitCallInst() local
3540 if ((Width & (IntSize - 1)) == 0) in visitCallInst()
3543 if (Width >= IntSize) { in visitCallInst()
3546 Width & (IntSize - 1))); in visitCallInst()
3555 if (Offset >= IntSize) { in visitCallInst()
3557 Offset & (IntSize - 1))); in visitCallInst()
3574 if (Offset + Width < IntSize) { in visitCallInst()
3575 Value *Shl = Builder.CreateShl(Src, IntSize - Offset - Width); in visitCallInst()
3576 Value *RightShift = Signed ? Builder.CreateAShr(Shl, IntSize - Width) in visitCallInst()
3577 : Builder.CreateLShr(Shl, IntSize - Width); in visitCallInst()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp2986 unsigned IntSize = in SynthMessageExpr() local
2989 llvm::APInt(IntSize, 8), in SynthMessageExpr()
4124 unsigned IntSize = in SynthesizeByrefCopyDestroyHelper() local
4129 unsigned offset = (VoidPtrSize*4 + IntSize + IntSize)/Context->getCharWidth(); in SynthesizeByrefCopyDestroyHelper()
4518 unsigned IntSize = in SynthBlockInitExpr() local
4520 Expr *FlagExp = IntegerLiteral::Create(*Context, llvm::APInt(IntSize, flag), in SynthBlockInitExpr()
H A DRewriteModernObjC.cpp2600 unsigned IntSize = in RewriteObjCBoolLiteralExpr() local
2604 llvm::APInt(IntSize, Exp->getValue()), in RewriteObjCBoolLiteralExpr()
4975 unsigned IntSize = in SynthesizeByrefCopyDestroyHelper() local
4980 unsigned offset = (VoidPtrSize*4 + IntSize + IntSize)/Context->getCharWidth(); in SynthesizeByrefCopyDestroyHelper()
5387 unsigned IntSize = in SynthBlockInitExpr() local
5389 Expr *FlagExp = IntegerLiteral::Create(*Context, llvm::APInt(IntSize, flag), in SynthBlockInitExpr()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaExpr.cpp3198 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnIntegerConstant() local
3199 return IntegerLiteral::Create(Context, llvm::APInt(IntSize, Val), in ActOnIntegerConstant()
3514 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnNumericConstant() local
3517 if (ResultVal.isIntN(IntSize)) { in ActOnNumericConstant()
3519 if (!Literal.isUnsigned && ResultVal[IntSize-1] == 0) in ActOnNumericConstant()
3523 Width = IntSize; in ActOnNumericConstant()