reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/Analysis/PtrUseVisitor.h
  227     Offset = APInt(IntPtrTy->getBitWidth(), 0);
include/llvm/IR/DerivedTypes.h
   76     return ~uint64_t(0UL) >> (64-getBitWidth());
   82     return 1ULL << (getBitWidth()-1);
  103   return cast<IntegerType>(this)->getBitWidth();
include/llvm/IR/IRBuilder.h
 2516     assert(ExtractedTy->getBitWidth() <= IntTy->getBitWidth() &&
 2516     assert(ExtractedTy->getBitWidth() <= IntTy->getBitWidth() &&
lib/Analysis/ConstantFolding.cpp
  547   unsigned BytesLoaded = (IntType->getBitWidth() + 7) / 8;
  586   APInt ResultVal = APInt(IntType->getBitWidth(), 0);
lib/Analysis/DependenceAnalysis.cpp
  824     if (SrcTy->getBitWidth() > widestWidthSeen) {
  825       widestWidthSeen = SrcTy->getBitWidth();
  828     if (DstTy->getBitWidth() > widestWidthSeen) {
  829       widestWidthSeen = DstTy->getBitWidth();
  849     if (SrcTy->getBitWidth() < widestWidthSeen)
  852     if (DstTy->getBitWidth() < widestWidthSeen) {
 1021       (SType->getBitWidth() >= SizeType->getBitWidth()) ? SType : SizeType;
 1021       (SType->getBitWidth() >= SizeType->getBitWidth()) ? SType : SizeType;
lib/Analysis/InstructionSimplify.cpp
 4886   if (!OffsetConstInt || OffsetConstInt->getType()->getBitWidth() > 64)
lib/Analysis/Lint.cpp
  531     Assert(CI->getValue().ult(cast<IntegerType>(I.getType())->getBitWidth()),
  538     Assert(CI->getValue().ult(cast<IntegerType>(I.getType())->getBitWidth()),
  545     Assert(CI->getValue().ult(cast<IntegerType>(I.getType())->getBitWidth()),
lib/Analysis/MemoryBuiltins.cpp
  529         isUIntN(ResultType->getBitWidth(), Size))
lib/Analysis/ScalarEvolution.cpp
 4530       uint32_t BitWidth = cast<IntegerType>(Op->getType())->getBitWidth();
 6366         uint32_t BitWidth = cast<IntegerType>(SA->getType())->getBitWidth();
lib/Analysis/ScalarEvolutionExpander.cpp
 1131   unsigned BitWidth = cast<IntegerType>(AR->getType())->getBitWidth();
 1145   unsigned BitWidth = cast<IntegerType>(AR->getType())->getBitWidth();
 2170         unsigned Width = cast<IntegerType>(UDivExpr->getType())->getBitWidth();
lib/Analysis/TargetTransformInfo.cpp
   80     if (SE.getTypeSizeInBits(EC->getType()) > CountType->getBitWidth())
lib/Analysis/ValueTracking.cpp
  206   KnownBits LHSKnown(IT->getBitWidth());
  207   KnownBits RHSKnown(IT->getBitWidth());
 2046         const APInt ZeroValue(Ty->getBitWidth(), 0);
lib/Bitcode/Reader/BitcodeReader.cpp
 2394           readWideAPInt(Record, cast<IntegerType>(CurTy)->getBitWidth());
 4366         unsigned ValueBitWidth = cast<IntegerType>(OpTy)->getBitWidth();
lib/Bitcode/Writer/BitcodeWriter.cpp
  889       TypeVals.push_back(cast<IntegerType>(T)->getBitWidth());
lib/CodeGen/Analysis.cpp
  300               cast<IntegerType>(Op->getType())->getBitWidth())
  308               cast<IntegerType>(I->getType())->getBitWidth())
lib/CodeGen/CodeGenPrepare.cpp
 4811       if (cast<IntegerType>(IntPtrTy)->getBitWidth() >
 4812           cast<IntegerType>(ScaledRegTy)->getBitWidth())
 4867           assert(cast<IntegerType>(IntPtrTy)->getBitWidth() <
 4868                  cast<IntegerType>(V->getType())->getBitWidth() &&
 4955       } else if (cast<IntegerType>(IntPtrTy)->getBitWidth() <
 4956                  cast<IntegerType>(V->getType())->getBitWidth()) {
 6234   if (RegWidth <= cast<IntegerType>(OldType)->getBitWidth())
lib/CodeGen/IndirectBrExpandPass.cpp
  175     if (!CommonITy || ITy->getBitWidth() > CommonITy->getBitWidth())
  175     if (!CommonITy || ITy->getBitWidth() > CommonITy->getBitWidth())
lib/CodeGen/InterleavedLoadCombinePass.cpp
  191       A = APInt(Ty->getBitWidth(), 0);
lib/CodeGen/ValueTypes.cpp
  107     return ITy->getBitWidth();
  456     return getIntegerVT(cast<IntegerType>(Ty)->getBitWidth());
  482     return getIntegerVT(Ty->getContext(), cast<IntegerType>(Ty)->getBitWidth());
lib/ExecutionEngine/ExecutionEngine.cpp
  658       uint32_t BitWidth = cast<IntegerType>(CE->getType())->getBitWidth();
  664       uint32_t BitWidth = cast<IntegerType>(CE->getType())->getBitWidth();
  670       uint32_t BitWidth = cast<IntegerType>(CE->getType())->getBitWidth();
  719       uint32_t BitWidth = cast<IntegerType>(CE->getType())->getBitWidth();
 1079     Result.IntVal = APInt(cast<IntegerType>(Ty)->getBitWidth(), 0);
 1115       const unsigned elemBitWidth = cast<IntegerType>(ElemT)->getBitWidth();
lib/ExecutionEngine/ExecutionEngineBindings.cpp
   44   GenVal->IntVal = APInt(unwrap<IntegerType>(Ty)->getBitWidth(), N, IsSigned);
lib/ExecutionEngine/Interpreter/Execution.cpp
 1068         cast<IntegerType>(I.getOperand()->getType())->getBitWidth();
 1276     unsigned DBitWidth = cast<IntegerType>(DstVecTy)->getBitWidth();
 1284     unsigned DBitWidth = DITy->getBitWidth();
 1296     unsigned DBitWidth = cast<IntegerType>(DstVecTy)->getBitWidth();
 1304     unsigned DBitWidth = DITy->getBitWidth();
 1316     unsigned DBitWidth = cast<IntegerType>(DstVecTy)->getBitWidth();
 1325     unsigned DBitWidth = DITy->getBitWidth();
 1384     uint32_t DBitWidth = cast<IntegerType>(DstVecTy)->getBitWidth();
 1401     uint32_t DBitWidth = cast<IntegerType>(DstTy)->getBitWidth();
 1422     uint32_t DBitWidth = cast<IntegerType>(DstVecTy)->getBitWidth();
 1439     unsigned DBitWidth = cast<IntegerType>(DstTy)->getBitWidth();
 1519   uint32_t DBitWidth = cast<IntegerType>(DstTy)->getBitWidth();
lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
   77     switch (cast<IntegerType>(Ty)->getBitWidth()) {
lib/ExecutionEngine/MCJIT/MCJIT.cpp
  571       unsigned BitWidth = cast<IntegerType>(RetTy)->getBitWidth();
lib/ExecutionEngine/Orc/OrcMCJITReplacement.cpp
   90       unsigned BitWidth = cast<IntegerType>(RetTy)->getBitWidth();
lib/FuzzMutate/OpDescriptor.cpp
   17     uint64_t W = IntTy->getBitWidth();
lib/IR/AsmWriter.cpp
  571     OS << 'i' << cast<IntegerType>(Ty)->getBitWidth();
lib/IR/AutoUpgrade.cpp
  939                              cast<IntegerType>(Mask->getType())->getBitWidth());
lib/IR/ConstantFold.cpp
  215          (cast<IntegerType>(C->getType())->getBitWidth() & 7) == 0 &&
  217   unsigned CSize = cast<IntegerType>(C->getType())->getBitWidth()/8;
  315       cast<IntegerType>(CE->getOperand(0)->getType())->getBitWidth();
  613       uint32_t DestBitWidth = cast<IntegerType>(DestTy)->getBitWidth();
  694       uint32_t BitWidth = cast<IntegerType>(DestTy)->getBitWidth();
  701       uint32_t BitWidth = cast<IntegerType>(DestTy)->getBitWidth();
  710     uint32_t DestBitWidth = cast<IntegerType>(DestTy)->getBitWidth();
  720         (cast<IntegerType>(V->getType())->getBitWidth() & 7) == 0)
 1135           unsigned DstWidth = CI2->getType()->getBitWidth();
 1173             unsigned DstWidth = CI2->getType()->getBitWidth();
lib/IR/Constants.cpp
  346                             APInt::getAllOnesValue(ITy->getBitWidth()));
  606   assert(V.getBitWidth() == Ty->getBitWidth() && "Invalid constant for type");
  664   return get(Ty->getContext(), APInt(Ty->getBitWidth(), V, isSigned));
  688   return get(Ty->getContext(), APInt(Ty->getBitWidth(), Str, radix));
 2444     switch (IT->getBitWidth()) {
lib/IR/Core.cpp
  591   return unwrap<IntegerType>(IntegerTy)->getBitWidth();
 1308                                  APInt(Ty->getBitWidth(),
lib/IR/Function.cpp
  633       Result += "i" + utostr(cast<IntegerType>(Ty)->getBitWidth());
  984     return IntegerType::get(Context, 2 * cast<IntegerType>(Ty)->getBitWidth());
  992     assert(ITy->getBitWidth() % 2 == 0);
  993     return IntegerType::get(Context, ITy->getBitWidth() / 2);
 1204         NewTy = IntegerType::get(ITy->getContext(), 2 * ITy->getBitWidth());
 1219         NewTy = IntegerType::get(ITy->getContext(), ITy->getBitWidth() / 2);
lib/IR/Instructions.cpp
 3067       return (IntTy->getBitWidth() == DL.getPointerTypeSizeInBits(PtrTy) &&
 3071       return (IntTy->getBitWidth() == DL.getPointerTypeSizeInBits(PtrTy) &&
lib/IR/Type.cpp
   58   return isIntegerTy() && cast<IntegerType>(this)->getBitWidth() == Bitwidth;
  125     return TypeSize::Fixed(cast<IntegerType>(this)->getBitWidth());
  269   unsigned BitWidth = getBitWidth();
  274   return APInt::getAllOnesValue(getBitWidth());
lib/IR/Verifier.cpp
 4711     Assert(Op3->getType()->getBitWidth() <= 32,
lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
  230   if (IntTy && IntTy->getBitWidth() > 1 && IntTy->getBitWidth() <= 16)
  230   if (IntTy && IntTy->getBitWidth() > 1 && IntTy->getBitWidth() <= 16)
lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
  145   return ElemIType->getBitWidth() == 8;
lib/Target/AMDGPU/SIISelLowering.cpp
  888       ElementSize = cast<IntegerType>(ElementType)->getBitWidth();
lib/Target/ARM/ARMCodeGenPrepare.cpp
  221       cast<IntegerType>(V->getType())->getBitWidth() == 1)
lib/Target/ARM/ARMISelLowering.cpp
15581       if (Ty && Ty->getBitWidth() == 32)
lib/Target/ARM/ARMParallelDSP.cpp
  789   Value *ShiftVal = ConstantInt::get(LoadTy, OffsetTy->getBitWidth());
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
  965   if (!T || T->getBitWidth() > DestTy->getBitWidth())
  965   if (!T || T->getBitWidth() > DestTy->getBitWidth())
  967   if (T->getBitWidth() == DestTy->getBitWidth())
  967   if (T->getBitWidth() == DestTy->getBitWidth())
 1008   unsigned DestBW = DestTy->getBitWidth();
 1023         assert(Ty->getBitWidth() < DestBW);
 1037     Value *Mask = ConstantInt::get(DestTy, (1u << TruncTy->getBitWidth()) - 1);
 1047       if (CI->getType()->getBitWidth() < DestBW)
 1064   unsigned DestBW = DestTy->getBitWidth();
 1070     if (!T || T->getBitWidth() > DestBW)
 1256   KnownBits Known(T->getBitWidth());
 1430           if (VTy->getBitWidth() < ATy->getBitWidth())
 1430           if (VTy->getBitWidth() < ATy->getBitWidth())
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
  349         size = ITy->getBitWidth();
 1288     unsigned NumBits = cast<IntegerType>(Ty)->getBitWidth();
 1532         sz = cast<IntegerType>(Ty)->getBitWidth();
lib/Target/NVPTX/NVPTXISelLowering.cpp
 1279         size = ITy->getBitWidth();
 1340         sz = cast<IntegerType>(Ty)->getBitWidth();
lib/Target/PowerPC/PPCInstrInfo.cpp
 4044             if (IntTy && IntTy->getBitWidth() <= 32)
lib/Target/PowerPC/PPCTargetTransformInfo.cpp
  258       return ITy->getBitWidth() > (Is32Bit ? 32U : 64U);
lib/Target/TargetLoweringObjectFile.cpp
  195           if ((ITy->getBitWidth() == 8 || ITy->getBitWidth() == 16 ||
  195           if ((ITy->getBitWidth() == 8 || ITy->getBitWidth() == 16 ||
  196                ITy->getBitWidth() == 32) &&
  198             if (ITy->getBitWidth() == 8)
  200             if (ITy->getBitWidth() == 16)
  203             assert(ITy->getBitWidth() == 32 && "Unknown width");
lib/Target/X86/X86ISelLowering.cpp
45248   if (!Ty || Ty->getBitWidth() % 16 != 0)
lib/Transforms/IPO/LowerTypeTests.cpp
  579   unsigned BitWidth = BitsType->getBitWidth();
  995     if (AbsWidth == IntPtrTy->getBitWidth())
lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
  259         if (!RT || RT->getBitWidth() > 64 || F->arg_empty() ||
  264           if (!ArgT || ArgT->getBitWidth() > 64)
lib/Transforms/IPO/WholeProgramDevirt.cpp
  424   if (!CI || CI->getBitWidth() > 64 || CS.arg_empty())
 1290   unsigned AbsWidth = IntTy->getBitWidth();
 1291   if (AbsWidth == IntPtrTy->getBitWidth())
 1374     if (RetType->getBitWidth() == 1) {
 1397   unsigned BitWidth = RetType->getBitWidth();
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
 1237       unsigned BigBitSize = BigC->getType()->getBitWidth();
 1238       unsigned SmallBitSize = SmallC->getType()->getBitWidth();
lib/Transforms/InstCombine/InstCombineCalls.cpp
   87     if (ITy->getBitWidth() < 32)
 1246   if (IT && IT->getBitWidth() != 1 && !II.getMetadata(LLVMContext::MD_range)) {
 1275   unsigned BitWidth = IT->getBitWidth();
 1283   if (IT->getBitWidth() != 1 && !II.getMetadata(LLVMContext::MD_range)) {
 2711                              cast<IntegerType>(Mask->getType())->getBitWidth());
 3755         unsigned Width = CmpType->getBitWidth();
lib/Transforms/InstCombine/InstCombineCompares.cpp
 2802       if (C->isSplat(EltTy->getBitWidth())) {
 2809         Value *NewC = ConstantInt::get(EltTy, C->trunc(EltTy->getBitWidth()));
 4203         Pow2.logBase2() == cast<IntegerType>(A->getType())->getBitWidth())
 5621     APSInt RHSCvt(IntTy->getBitWidth(), LHSUnsigned);
lib/Transforms/InstCombine/InstCombineSelect.cpp
  930   else if (CmpRHS->getType()->getScalarSizeInBits() < SelEltTy->getBitWidth()) {
lib/Transforms/InstCombine/InstructionCombining.cpp
 1164   assert(cast<IntegerType>(Val->getType())->getBitWidth() ==
lib/Transforms/Scalar/ConstantHoisting.cpp
  651       return LHS.ConstInt->getType()->getBitWidth() <
  652              RHS.ConstInt->getType()->getBitWidth();
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
  377     unsigned BitWidth = cast<IntegerType>(IndexAddRec->getType())->getBitWidth();
  677   unsigned BitWidth = cast<IntegerType>(BoundSCEV->getType())->getBitWidth();
  725   unsigned BitWidth = cast<IntegerType>(BoundSCEV->getType())->getBitWidth();
  820         IntegerType::get(Ty->getContext(), Ty->getBitWidth() * 2);
 1055   if (RTy->getBitWidth() < Ty->getBitWidth())
 1055   if (RTy->getBitWidth() < Ty->getBitWidth())
 1573   if (IVType->getBitWidth() > RCType->getBitWidth())
 1573   if (IVType->getBitWidth() > RCType->getBitWidth())
 1611   unsigned BitWidth = RCType->getBitWidth();
lib/Transforms/Scalar/NaryReassociate.cpp
  327   return cast<IntegerType>(Index->getType())->getBitWidth() < PointerSizeInBits;
lib/Transforms/Scalar/SROA.cpp
 1155       if (UserITy->getBitWidth() % 8 != 0 ||
 1156           UserITy->getBitWidth() / 8 > (EndOffset - B->beginOffset()))
 1161       if (!ITy || ITy->getBitWidth() < UserITy->getBitWidth())
 1161       if (!ITy || ITy->getBitWidth() < UserITy->getBitWidth())
 1717     assert(cast<IntegerType>(OldTy)->getBitWidth() !=
 1718                cast<IntegerType>(NewTy)->getBitWidth() &&
 2034       if (ITy->getBitWidth() < DL.getTypeStoreSizeInBits(ITy))
 2059       if (ITy->getBitWidth() < DL.getTypeStoreSizeInBits(ITy))
 2144   assert(Ty->getBitWidth() <= IntTy->getBitWidth() &&
 2144   assert(Ty->getBitWidth() <= IntTy->getBitWidth() &&
 2157   assert(Ty->getBitWidth() <= IntTy->getBitWidth() &&
 2157   assert(Ty->getBitWidth() <= IntTy->getBitWidth() &&
 2174   if (ShAmt || Ty->getBitWidth() < IntTy->getBitWidth()) {
 2174   if (ShAmt || Ty->getBitWidth() < IntTy->getBitWidth()) {
 2175     APInt Mask = ~Ty->getMask().zext(IntTy->getBitWidth()).shl(ShAmt);
 2486     assert(cast<IntegerType>(LI.getType())->getBitWidth() >= SliceSize * 8 &&
 2488     if (cast<IntegerType>(LI.getType())->getBitWidth() > SliceSize * 8)
 2546           if (AITy->getBitWidth() < TITy->getBitWidth()) {
 2546           if (AITy->getBitWidth() < TITy->getBitWidth()) {
 2549               V = IRB.CreateShl(V, TITy->getBitWidth() - AITy->getBitWidth(),
 2549               V = IRB.CreateShl(V, TITy->getBitWidth() - AITy->getBitWidth(),
 2629     if (DL.getTypeSizeInBits(V->getType()) != IntTy->getBitWidth()) {
 2692           if (VITy->getBitWidth() > AITy->getBitWidth()) {
 2692           if (VITy->getBitWidth() > AITy->getBitWidth()) {
 2694               V = IRB.CreateLShr(V, VITy->getBitWidth() - AITy->getBitWidth(),
 2694               V = IRB.CreateLShr(V, VITy->getBitWidth() - AITy->getBitWidth(),
 2733     assert(VTy->getBitWidth() == 8 && "Expected an i8 value for the byte");
 3840     uint64_t LoadSize = Ty->getBitWidth() / 8;
 3963     uint64_t StoreSize = Ty->getBitWidth() / 8;
lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
  575   unsigned BitWidth = cast<IntegerType>(V->getType())->getBitWidth();
lib/Transforms/Utils/BypassSlowDivision.cpp
  132   auto BI = BypassWidths.find(SlowType->getBitWidth());
  207     return C && C->getValue().getMinSignedBits() > BypassType->getBitWidth();
  233   unsigned ShortLen = BypassType->getBitWidth();
lib/Transforms/Utils/FunctionComparator.cpp
  426     return cmpNumbers(cast<IntegerType>(TyL)->getBitWidth(),
  427                       cast<IntegerType>(TyR)->getBitWidth());
lib/Transforms/Utils/IntegerDivision.cpp
  158   unsigned BitWidth = DivTy->getBitWidth();
lib/Transforms/Utils/Local.cpp
 2684   auto BitWidth = cast<IntegerType>(V->getType())->getBitWidth();
 2784           cast<IntegerType>(cast<ZExtInst>(I)->getSrcTy())->getBitWidth();
 2825   if (!ITy || ITy->getBitWidth() > 128)
 2827   unsigned BW = ITy->getBitWidth();
 2834       DemandedBW = DemandedTy->getBitWidth();
lib/Transforms/Utils/LoopUnrollRuntime.cpp
  624   unsigned BEWidth = cast<IntegerType>(BECountSC->getType())->getBitWidth();
lib/Transforms/Utils/LoopUtils.cpp
 1014   unsigned BitWidth = cast<IntegerType>(S->getType())->getBitWidth();
 1025   unsigned BitWidth = cast<IntegerType>(S->getType())->getBitWidth();
lib/Transforms/Utils/SanitizerStats.cpp
   53            ConstantInt::get(IntPtrTy, uint64_t(SK) << (IntPtrTy->getBitWidth() -
lib/Transforms/Utils/SimplifyCFG.cpp
 5062     APInt TableInt(TableSize * IT->getBitWidth(), 0);
 5064       TableInt <<= IT->getBitWidth();
 5117         ShiftAmt, ConstantInt::get(MapTy, BitMapElementTy->getBitWidth()),
 5131     if (TableSize > (1ULL << (IT->getBitWidth() - 1)))
 5133           Index, IntegerType::get(IT->getContext(), IT->getBitWidth() + 1),
 5157   if (TableSize >= UINT_MAX / IT->getBitWidth())
 5159   return DL.fitsInLegalInteger(TableSize * IT->getBitWidth());
 5620   auto *Shl = Builder.CreateShl(Sub, Ty->getBitWidth() - Shift);
 5626     auto Sub = Orig->getValue() - APInt(Ty->getBitWidth(), Base);
lib/Transforms/Utils/SimplifyIndVar.cpp
  137       uint32_t BitWidth = cast<IntegerType>(UseInst->getType())->getBitWidth();
  430     IntegerType::get(NarrowTy->getContext(), NarrowTy->getBitWidth() * 2);
lib/Transforms/Vectorize/LoopVectorize.cpp
 3280   return I1->getBitWidth() < I2->getBitWidth() ? T1 : T2;
 3280   return I1->getBitWidth() < I2->getBitWidth() ? T1 : T2;
 3285   return I1->getBitWidth() > I2->getBitWidth() ? T1 : T2;
 3285   return I1->getBitWidth() > I2->getBitWidth() ? T1 : T2;
lib/Transforms/Vectorize/SLPVectorizer.cpp
 5173   if (MaxBitWidth >= TreeRootIT->getBitWidth())
tools/clang/lib/CodeGen/CGBuiltin.cpp
  947       unsigned ArgWidth = cast<llvm::IntegerType>(ArgType)->getBitWidth();
 2612     assert((IntTy->getBitWidth() == 32 || IntTy->getBitWidth() == 64) &&
 2612     assert((IntTy->getBitWidth() == 32 || IntTy->getBitWidth() == 64) &&
 2615         CGM.getIntrinsic(IntTy->getBitWidth() == 32 ? Intrinsic::eh_return_i32
 2645     if (IntPtrTy->getBitWidth() == 64)
 8457     unsigned BitWidth = EltTy->getBitWidth();
 9494                          cast<IntegerType>(Mask->getType())->getBitWidth());
tools/clang/lib/CodeGen/CGExpr.cpp
 1605       cast<llvm::IntegerType>(Value->getType())->getBitWidth() == 1)
tools/clang/lib/CodeGen/CGExprCXX.cpp
  688   unsigned sizeWidth = CGF.SizeTy->getBitWidth();
  713   unsigned numElementsWidth = numElementsType->getBitWidth();
tools/clang/lib/CodeGen/CGExprScalar.cpp
 2979       Builder.getInt(llvm::APInt::getSignedMinValue(Ty->getBitWidth()));
 3139     Builder.getInt8(cast<llvm::IntegerType>(opTy)->getBitWidth())
 3177   unsigned width = cast<llvm::IntegerType>(index->getType())->getBitWidth();
 3587   return llvm::ConstantInt::get(RHS->getType(), Ty->getBitWidth() - 1);
 3814       if (ResultTy->getBitWidth() > 1 &&
tools/clang/lib/CodeGen/PatternInit.cpp
   38                             ->getBitWidth();
tools/clang/lib/CodeGen/SwiftCallingConv.cpp
  657   auto size = intTy->getBitWidth();
tools/clang/lib/CodeGen/TargetInfo.cpp
  121       intCount += (intTy->getBitWidth() + ptrWidth - 1) / ptrWidth;
 3202           cast<llvm::IntegerType>(IRType)->getBitWidth();
tools/polly/lib/CodeGen/IslExprBuilder.cpp
  763   APValue = APValue.sextOrSelf(T->getBitWidth());
unittests/Analysis/ScalarEvolutionTest.cpp
 1490           cast<IntegerType>(CanonicalIV->getType())->getBitWidth();
 1532           cast<IntegerType>(CanonicalIV->getType())->getBitWidth();
 1567           cast<IntegerType>(NewCanonicalIV->getType())->getBitWidth();
 1608           cast<IntegerType>(CanonicalIV.getType())->getBitWidth();
 1830           cast<IntegerType>(CanonicalIV->getType())->getBitWidth();
 1878           cast<IntegerType>(CanonicalIV.getType())->getBitWidth();