| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUInstCombineIntrinsic.cpp | 411 unsigned IntSize = Ty->getIntegerBitWidth(); in instCombineIntrinsic() local 416 if ((Width & (IntSize - 1)) == 0) { in instCombineIntrinsic() 421 if (Width >= IntSize) { in instCombineIntrinsic() 423 II, 2, ConstantInt::get(CWidth->getType(), Width & (IntSize - 1))); in instCombineIntrinsic() 431 if (Offset >= IntSize) { in instCombineIntrinsic() 434 ConstantInt::get(COffset->getType(), Offset & (IntSize - 1))); in instCombineIntrinsic() 450 if (Offset + Width < IntSize) { in instCombineIntrinsic() 451 Value *Shl = IC.Builder.CreateShl(Src, IntSize - Offset - Width); in instCombineIntrinsic() 452 Value *RightShift = Signed ? IC.Builder.CreateAShr(Shl, IntSize - Width) in instCombineIntrinsic() 453 : IC.Builder.CreateLShr(Shl, IntSize - Width); in instCombineIntrinsic()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
| H A D | MicrosoftCXXABI.cpp | 271 unsigned IntSize = Target.getIntWidth(); in getMemberPointerInfo() local 277 MPI.Width = Ptrs * PtrSize + Ints * IntSize; in getMemberPointerInfo() 291 MPI.HasPadding = MPI.Width != (Ptrs * PtrSize + Ints * IntSize); in getMemberPointerInfo()
|
| H A D | ASTContext.cpp | 6361 uint64_t IntSize = getTypeSize(IntTy); in isPromotableBitField() local 6378 if (BitWidth < IntSize) in isPromotableBitField() 6381 if (BitWidth == IntSize) in isPromotableBitField() 6432 uint64_t IntSize = getIntWidth(IntTy); in getPromotedIntegerType() local 6433 assert(Promotable->isUnsignedIntegerType() && PromotableSize <= IntSize); in getPromotedIntegerType() 6434 return (PromotableSize != IntSize) ? IntTy : UnsignedIntTy; in getPromotedIntegerType()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntimeGPU.cpp | 2343 for (int IntSize = 8; IntSize >= 1; IntSize /= 2) { in shuffleAndStore() local 2344 if (Size < CharUnits::fromQuantity(IntSize)) in shuffleAndStore() 2347 CGF.getContext().toBits(CharUnits::fromQuantity(IntSize)), in shuffleAndStore() 2353 if (Size.getQuantity() / IntSize > 1) { in shuffleAndStore() 2370 Bld.CreateCondBr(Bld.CreateICmpSGT(PtrDiff, Bld.getInt64(IntSize - 1)), in shuffleAndStore() 2401 Size = Size % IntSize; in shuffleAndStore()
|
| H A D | MicrosoftCXXABI.cpp | 1055 CharUnits IntSize = Context.getTypeSizeInChars(Context.IntTy); in GetVirtualBaseClassOffset() local 1057 IntSize * in GetVirtualBaseClassOffset() 2249 int32_t IntSize = CGF.getIntSize().getQuantity(); in performReturnAdjustment() local 2253 IntSize * RA.Virtual.Microsoft.VBIndex, &VBPtr); in performReturnAdjustment()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteObjC.cpp | 2999 unsigned IntSize = in SynthMessageExpr() local 3002 llvm::APInt(IntSize, 8), in SynthMessageExpr() 4136 unsigned IntSize = in SynthesizeByrefCopyDestroyHelper() local 4141 unsigned offset = (VoidPtrSize*4 + IntSize + IntSize)/Context->getCharWidth(); in SynthesizeByrefCopyDestroyHelper() 4532 unsigned IntSize = in SynthBlockInitExpr() local 4534 Expr *FlagExp = IntegerLiteral::Create(*Context, llvm::APInt(IntSize, flag), in SynthBlockInitExpr()
|
| H A D | RewriteModernObjC.cpp | 2605 unsigned IntSize = in RewriteObjCBoolLiteralExpr() local 2609 llvm::APInt(IntSize, Exp->getValue()), in RewriteObjCBoolLiteralExpr() 4981 unsigned IntSize = in SynthesizeByrefCopyDestroyHelper() local 4986 unsigned offset = (VoidPtrSize*4 + IntSize + IntSize)/Context->getCharWidth(); in SynthesizeByrefCopyDestroyHelper() 5394 unsigned IntSize = in SynthBlockInitExpr() local 5396 Expr *FlagExp = IntegerLiteral::Create(*Context, llvm::APInt(IntSize, flag), in SynthBlockInitExpr()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| H A D | ValueTracking.cpp | 3638 int IntSize = Inst->getOperand(0)->getType()->getScalarSizeInBits(); in isKnownNeverInfinity() local 3640 --IntSize; in isKnownNeverInfinity() 3645 return ilogb(APFloat::getLargest(FPTy->getFltSemantics())) >= IntSize; in isKnownNeverInfinity()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | SemaExpr.cpp | 3584 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnIntegerConstant() local 3585 return IntegerLiteral::Create(Context, llvm::APInt(IntSize, Val), in ActOnIntegerConstant() 3929 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnNumericConstant() local 3932 if (ResultVal.isIntN(IntSize)) { in ActOnNumericConstant() 3934 if (!Literal.isUnsigned && ResultVal[IntSize-1] == 0) in ActOnNumericConstant() 3938 Width = IntSize; in ActOnNumericConstant()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 19843 unsigned IntSize = IntVT.getSizeInBits(); in lowerFPToIntToFP() local 19846 MVT VecIntVT = MVT::getVectorVT(IntVT, 128 / IntSize); in lowerFPToIntToFP() 19851 SrcSize != IntSize ? X86ISD::CVTTP2SI : (unsigned)ISD::FP_TO_SINT; in lowerFPToIntToFP() 19853 IntSize != VTSize ? X86ISD::CVTSI2P : (unsigned)ISD::SINT_TO_FP; in lowerFPToIntToFP()
|