Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/AST/
H A DMicrosoftCXXABI.cpp307 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 DASTContext.cpp7114 uint64_t IntSize = getTypeSize(IntTy); in isPromotableBitField() local
7131 if (BitWidth < IntSize) in isPromotableBitField()
7134 if (BitWidth == IntSize) in isPromotableBitField()
7184 uint64_t IntSize = getIntWidth(IntTy); in getPromotedIntegerType() local
7185 assert(Promotable->isUnsignedIntegerType() && PromotableSize <= IntSize); in getPromotedIntegerType()
7186 return (PromotableSize != IntSize) ? IntTy : UnsignedIntTy; in getPromotedIntegerType()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp555 unsigned IntSize = Ty->getIntegerBitWidth(); in instCombineIntrinsic() local
560 if ((Width & (IntSize - 1)) == 0) { in instCombineIntrinsic()
565 if (Width >= IntSize) { in instCombineIntrinsic()
567 II, 2, ConstantInt::get(CWidth->getType(), Width & (IntSize - 1))); in instCombineIntrinsic()
575 if (Offset >= IntSize) { in instCombineIntrinsic()
578 ConstantInt::get(COffset->getType(), Offset & (IntSize - 1))); in instCombineIntrinsic()
594 if (Offset + Width < IntSize) { in instCombineIntrinsic()
595 Value *Shl = IC.Builder.CreateShl(Src, IntSize - Offset - Width); in instCombineIntrinsic()
596 Value *RightShift = Signed ? IC.Builder.CreateAShr(Shl, IntSize - Width) in instCombineIntrinsic()
597 : IC.Builder.CreateLShr(Shl, IntSize - Width); in instCombineIntrinsic()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGOpenMPRuntimeGPU.cpp1433 for (int IntSize = 8; IntSize >= 1; IntSize /= 2) { in shuffleAndStore() local
1434 if (Size < CharUnits::fromQuantity(IntSize)) in shuffleAndStore()
1437 CGF.getContext().toBits(CharUnits::fromQuantity(IntSize)), in shuffleAndStore()
1444 if (Size.getQuantity() / IntSize > 1) { in shuffleAndStore()
1463 Bld.CreateCondBr(Bld.CreateICmpSGT(PtrDiff, Bld.getInt64(IntSize - 1)), in shuffleAndStore()
1494 Size = Size % IntSize; in shuffleAndStore()
H A DMicrosoftCXXABI.cpp1075 CharUnits IntSize = Context.getTypeSizeInChars(Context.IntTy); in GetVirtualBaseClassOffset() local
1077 IntSize * in GetVirtualBaseClassOffset()
2265 int32_t IntSize = CGF.getIntSize().getQuantity(); in performReturnAdjustment() local
2269 IntSize * RA.Virtual.Microsoft.VBIndex, &VBPtr); in performReturnAdjustment()
/openbsd-src/gnu/llvm/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()
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()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DValueTracking.cpp3794 int IntSize = Inst->getOperand(0)->getType()->getScalarSizeInBits(); in isKnownNeverInfinity() local
3796 --IntSize; in isKnownNeverInfinity()
3801 return ilogb(APFloat::getLargest(FPTy->getFltSemantics())) >= IntSize; in isKnownNeverInfinity()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaExpr.cpp3683 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnIntegerConstant() local
3684 return IntegerLiteral::Create(Context, llvm::APInt(IntSize, Val), in ActOnIntegerConstant()
4063 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnNumericConstant() local
4066 if (ResultVal.isIntN(IntSize)) { in ActOnNumericConstant()
4068 if (!Literal.isUnsigned && ResultVal[IntSize-1] == 0) in ActOnNumericConstant()
4072 Width = IntSize; in ActOnNumericConstant()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp21206 unsigned IntSize = IntVT.getSizeInBits(); in lowerFPToIntToFP() local
21209 MVT VecIntVT = MVT::getVectorVT(IntVT, 128 / IntSize); in lowerFPToIntToFP()
21214 SrcSize != IntSize ? X86ISD::CVTTP2SI : (unsigned)ISD::FP_TO_SINT; in lowerFPToIntToFP()
21216 IntSize != VTSize ? X86ISD::CVTSI2P : (unsigned)ISD::SINT_TO_FP; in lowerFPToIntToFP()