| /freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/ |
| H A D | DirectiveEmitter.h | 103 assert(llvm::isInt<IntWidth>(Min) && "Value out of range of 'int'"); in getMinVersion() 109 assert(llvm::isInt<IntWidth>(Max) && "Value out of range of 'int'"); in getMaxVersion() 114 constexpr static int IntWidth = 8 * sizeof(int);
|
| /freebsd/contrib/llvm-project/clang/lib/Basic/Targets/ |
| H A D | MSP430.h | 31 IntWidth = 16; in MSP430TargetInfo()
|
| H A D | TCE.h | 68 IntWidth = 32; in TCETargetInfo()
|
| H A D | AVR.h | 34 IntWidth = 16; in AVRTargetInfo()
|
| H A D | SystemZ.h | 69 IntWidth = IntAlign = 32; in SystemZTargetInfo()
|
| H A D | NVPTX.cpp | 115 IntWidth = HostTarget->getIntWidth(); in NVPTXTargetInfo()
|
| H A D | SPIR.h | 123 IntWidth = HostTarget->getIntWidth(); in BaseSPIRTargetInfo()
|
| H A D | AArch64.cpp | 1675 IntWidth = IntAlign = 32; in WindowsARM64TargetInfo()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | Context.cpp | 26 this->IntWidth = Ctx.getTargetInfo().getIntWidth(); in Context() 277 return integralTypeToPrimTypeS(this->IntWidth); in classify() 279 return integralTypeToPrimTypeU(this->IntWidth); in classify()
|
| H A D | Context.h | 142 unsigned IntWidth; variable
|
| /freebsd/contrib/llvm-project/clang/lib/Basic/ |
| H A D | TargetInfo.cpp | 78 IntWidth = IntAlign = 32; in TargetInfo() 450 IntWidth = IntAlign = 32; in adjust()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | TargetInfo.h | 93 unsigned char IntWidth, IntAlign; member 530 unsigned getIntWidth() const { return IntWidth; } in getIntWidth()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86TargetTransformInfo.cpp | 6293 unsigned IntWidth = ScalarTy->getIntegerBitWidth(); in isLegalMaskedLoadStore() local 6294 return IntWidth == 32 || IntWidth == 64 || in isLegalMaskedLoadStore() 6295 ((IntWidth == 8 || IntWidth == 16) && ST->hasBWI()); in isLegalMaskedLoadStore() 6386 unsigned IntWidth = ScalarTy->getIntegerBitWidth(); in isLegalMaskedExpandLoad() local 6387 return IntWidth == 32 || IntWidth == 64 || in isLegalMaskedExpandLoad() 6388 ((IntWidth == 8 || IntWidth == 16) && ST->hasVBMI2()); in isLegalMaskedExpandLoad() 6428 unsigned IntWidth = ScalarTy->getIntegerBitWidth(); in isLegalMaskedGatherScatter() local 6429 return IntWidth == 32 || IntWidth == 64; in isLegalMaskedGatherScatter()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngine.cpp | 745 uint32_t IntWidth = DL.getTypeSizeInBits(CE->getType()); in getConstantValue() local 746 GV.IntVal = GV.IntVal.zextOrTrunc(IntWidth); in getConstantValue()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VectorCombine.cpp | 1553 unsigned IntWidth = Idx->getType()->getScalarSizeInBits(); in canScalarizeAccess() local 1562 if (!llvm::isUIntN(IntWidth, NumElements)) in canScalarizeAccess() 1565 APInt Zero(IntWidth, 0); in canScalarizeAccess() 1566 APInt MaxElts(IntWidth, NumElements); in canScalarizeAccess() 1568 ConstantRange IdxRange(IntWidth, true); in canScalarizeAccess()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCompares.cpp | 7951 unsigned IntWidth = IntTy->getScalarSizeInBits(); in foldFCmpIntToFPConst() local 7957 APSInt RHSCvt(IntWidth, LHSUnsigned); in foldFCmpIntToFPConst() 7986 if ((int)IntWidth > MantissaWidth) { in foldFCmpIntToFPConst() 7991 if (MaxExponent < (int)IntWidth - !LHSUnsigned) in foldFCmpIntToFPConst() 7997 if (MantissaWidth <= Exp && Exp <= (int)IntWidth - !LHSUnsigned) in foldFCmpIntToFPConst() 8050 SMax.convertFromAPInt(APInt::getSignedMaxValue(IntWidth), true, in foldFCmpIntToFPConst() 8062 UMax.convertFromAPInt(APInt::getMaxValue(IntWidth), false, in foldFCmpIntToFPConst() 8075 SMin.convertFromAPInt(APInt::getSignedMinValue(IntWidth), true, in foldFCmpIntToFPConst() 8086 UMin.convertFromAPInt(APInt::getMinValue(IntWidth), false, in foldFCmpIntToFPConst() 8100 APSInt RHSInt(IntWidth, LHSUnsigned); in foldFCmpIntToFPConst()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | ASTContext.cpp | 5375 unsigned IntWidth = Target->getIntWidth(); in computeBestEnumTypes() local 5392 } else if (NumNegativeBits <= IntWidth && NumPositiveBits < IntWidth) { in computeBestEnumTypes() 5394 BestWidth = IntWidth; in computeBestEnumTypes() 5408 BestPromotionType = (BestWidth <= IntWidth ? IntTy : BestType); in computeBestEnumTypes() 5421 } else if (NumPositiveBits <= IntWidth) { in computeBestEnumTypes() 5423 BestWidth = IntWidth; in computeBestEnumTypes()
|
| H A D | ExprConstant.cpp | 7650 unsigned IntWidth = Info.Ctx.getIntWidth(QualType(T, 0)); in visit() local 7651 if (IntWidth != Val.getBitWidth()) { in visit() 7652 APSInt Truncated = Val.trunc(IntWidth); in visit()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenModule.cpp | 361 Check("int", llvm::Type::getIntNTy(Context, Target.IntWidth), in checkDataLayoutConsistency()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaDecl.cpp | 19942 unsigned IntWidth = Context.getTargetInfo().getIntWidth(); in CheckEnumConstant() local 19943 llvm::APSInt EnumVal(IntWidth); in CheckEnumConstant()
|