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

Declarations

include/llvm/IR/Type.h
  351   inline unsigned getIntegerBitWidth() const;

References

include/llvm/Analysis/Utils/Local.h
   39   unsigned IntPtrWidth = IntPtrTy->getScalarType()->getIntegerBitWidth();
include/llvm/IR/DataLayout.h
  641     return TypeSize::Fixed(Ty->getIntegerBitWidth());
lib/Analysis/BasicAliasAnalysis.cpp
  572       unsigned Width = Index->getType()->getIntegerBitWidth();
 1994   unsigned Width = Var1.V->getType()->getIntegerBitWidth();
lib/Analysis/ConstantFolding.cpp
 1627   unsigned ResultWidth = Ty->getIntegerBitWidth();
lib/Analysis/InstructionSimplify.cpp
  660   APInt Offset = APInt::getNullValue(IntPtrTy->getIntegerBitWidth());
  666   Offset = Offset.sextOrTrunc(IntPtrTy->getIntegerBitWidth());
lib/Analysis/LazyValueInfo.cpp
 1051   const unsigned ResultBitWidth = CI->getType()->getIntegerBitWidth();
 1230     ConstantRange RHSRange(RHS->getType()->getIntegerBitWidth(),
 1468     unsigned BitWidth = Val->getType()->getIntegerBitWidth();
 1717   unsigned Width = V->getType()->getIntegerBitWidth();
 1755   unsigned Width = V->getType()->getIntegerBitWidth();
lib/Analysis/ScalarEvolutionExpander.cpp
 1103   if (RequestedTy->getIntegerBitWidth() > PhiTy->getIntegerBitWidth())
 1103   if (RequestedTy->getIntegerBitWidth() > PhiTy->getIntegerBitWidth())
lib/CodeGen/CodeGenPrepare.cpp
 3777             Cst->getValue().isIntN(Inst->getType()->getIntegerBitWidth()))
 3792       OpndVal->getType()->getIntegerBitWidth() >
 3793           ConsideredExtType->getIntegerBitWidth())
 3816   return Inst->getType()->getIntegerBitWidth() >=
 3817          OpndType->getIntegerBitWidth();
 3958       unsigned BitWidth = Ext->getType()->getIntegerBitWidth();
 5088     if (ExtTy->getScalarType()->getIntegerBitWidth() >
 5089         CurTy->getScalarType()->getIntegerBitWidth()) {
lib/IR/AutoUpgrade.cpp
  976                           Mask->getType()->getIntegerBitWidth());
lib/IR/ConstantFold.cpp
 2269                 std::max(IdxTy->getIntegerBitWidth(),
 2270                          Idx0->getType()->getIntegerBitWidth());
lib/IR/Constants.cpp
 1299   unsigned NumBits = Ty->getIntegerBitWidth(); // assert okay
 1306   unsigned NumBits = Ty->getIntegerBitWidth();
 2699   switch (getElementType()->getIntegerBitWidth()) {
 2719   switch (getElementType()->getIntegerBitWidth()) {
lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
  206     return T->getIntegerBitWidth();
  207   return cast<VectorType>(T)->getElementType()->getIntegerBitWidth();
lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
  134     switch (Ty->getIntegerBitWidth()) {
  168     auto BitWidth = Ty->getIntegerBitWidth();
  575     switch (Ty->getIntegerBitWidth()) {
  609     auto BitWidth = Ty->getIntegerBitWidth();
lib/Target/ARM/ARMParallelDSP.cpp
  336     if (SExt->getSrcTy()->getIntegerBitWidth() != MaxBitWidth)
lib/Target/ARM/ARMTargetTransformInfo.cpp
  131       Ty->getIntegerBitWidth() == 32) {
lib/Target/Hexagon/HexagonBitTracker.cpp
   67       Width = ATy->getIntegerBitWidth();
lib/Target/X86/X86TargetTransformInfo.cpp
 3280   unsigned IntWidth = ScalarTy->getIntegerBitWidth();
 3343   unsigned IntWidth = ScalarTy->getIntegerBitWidth();
 3386   unsigned IntWidth = ScalarTy->getIntegerBitWidth();
lib/Transforms/InstCombine/InstCombineAddSub.cpp
 1531       return IScalarTy->getIntegerBitWidth() <= MaxRepresentableBits;
lib/Transforms/InstCombine/InstCombineCalls.cpp
  475   int BitWidth = SVT->getIntegerBitWidth();
 2419       unsigned BitWidth = II->getType()->getIntegerBitWidth();
 2441       unsigned BitWidth = II->getType()->getIntegerBitWidth();
 3518     unsigned IntSize = Ty->getIntegerBitWidth();
lib/Transforms/InstCombine/InstCombineCompares.cpp
  315     unsigned PtrSize = IntPtrTy->getIntegerBitWidth();
  399     if (ArrayElementCount <= Idx->getType()->getIntegerBitWidth())
  484   unsigned IntPtrWidth = IntPtrTy->getIntegerBitWidth();
 4409     return DL.getPointerTypeSizeInBits(SrcTy) == DestTy->getIntegerBitWidth();
lib/Transforms/InstCombine/InstCombineSelect.cpp
 2042   if (!shouldChangeType(Ty->getScalarType()->getIntegerBitWidth(), NewBitWidth))
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
  627   auto OrigWidth = Instr->getType()->getIntegerBitWidth();
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
 1723                        FFS->getType()->getIntegerBitWidth()),
lib/Transforms/Scalar/LowerExpectIntrinsic.cpp
  152         Result = Result.zext(Op->getType()->getIntegerBitWidth());
  155         Result = Result.sext(Op->getType()->getIntegerBitWidth());
lib/Transforms/Scalar/MemCpyOptimizer.cpp
 1046     if (DestSize->getType()->getIntegerBitWidth() >
 1047         SrcSize->getType()->getIntegerBitWidth())
lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
  842       APInt ElementSize = APInt(IntPtrTy->getIntegerBitWidth(),
  903       APInt ElementSize = APInt(IntPtrTy->getIntegerBitWidth(),
lib/Transforms/Scalar/StraightLineStrengthReduce.cpp
  540     if (ArrayIdx->getType()->getIntegerBitWidth() <=
  551         TruncatedArrayIdx->getType()->getIntegerBitWidth() <=
lib/Transforms/Utils/BypassSlowDivision.cpp
  234   unsigned LongLen = V->getType()->getIntegerBitWidth();
lib/Transforms/Utils/IntegerDivision.cpp
   35   unsigned BitWidth = Dividend->getType()->getIntegerBitWidth();
  107   unsigned BitWidth = Dividend->getType()->getIntegerBitWidth();
  383   assert((Rem->getType()->getIntegerBitWidth() == 32 ||
  384           Rem->getType()->getIntegerBitWidth() == 64) &&
  441   assert((Div->getType()->getIntegerBitWidth() == 32 ||
  442           Div->getType()->getIntegerBitWidth() == 64) &&
  493   unsigned RemTyBitWidth = RemTy->getIntegerBitWidth();
  542   unsigned RemTyBitWidth = RemTy->getIntegerBitWidth();
  591   unsigned DivTyBitWidth = DivTy->getIntegerBitWidth();
  639   unsigned DivTyBitWidth = DivTy->getIntegerBitWidth();
lib/Transforms/Utils/SimplifyCFG.cpp
 4459   unsigned Bits = Cond->getType()->getIntegerBitWidth();
 5554   if (CondTy->getIntegerBitWidth() > 64 ||
 5555       !DL.fitsInLegalInteger(CondTy->getIntegerBitWidth()))
lib/Transforms/Utils/SimplifyLibCalls.cpp
 2221   V = B.CreateSub(ConstantInt::get(V->getType(), ArgType->getIntegerBitWidth()),
lib/Transforms/Vectorize/SLPVectorizer.cpp
 3320   unsigned LoadBitWidth = SrcTy->getIntegerBitWidth() * NumElts;
tools/clang/lib/CodeGen/CGBuiltin.cpp
 9586   unsigned NumElts = Ops[0]->getType()->getIntegerBitWidth();
 9677                           Mask->getType()->getIntegerBitWidth());
11295     unsigned NumElts = Ops[0]->getType()->getIntegerBitWidth();
11317     unsigned NumElts = Ops[0]->getType()->getIntegerBitWidth();
11517     unsigned NumElts = Ops[0]->getType()->getIntegerBitWidth();
11545     unsigned NumElts = Ops[0]->getType()->getIntegerBitWidth();
11581     unsigned NumElts = Ops[0]->getType()->getIntegerBitWidth();
11593     unsigned NumElts = Ops[0]->getType()->getIntegerBitWidth();
11601     unsigned NumElts = Ops[0]->getType()->getIntegerBitWidth();
tools/clang/lib/CodeGen/CGExpr.cpp
 2844     if (Bits <= TargetTy->getIntegerBitWidth())
 2851       V->getType()->getIntegerBitWidth() <= TargetTy->getIntegerBitWidth())
 2851       V->getType()->getIntegerBitWidth() <= TargetTy->getIntegerBitWidth())
tools/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp
  600             cast<llvm::IntegerType>(Prior->Data)->getIntegerBitWidth(), 8)));
tools/lldb/source/Expression/IRInterpreter.cpp
 1576           rawArgs[i].size = arg_ty->getIntegerBitWidth() / 8;
tools/polly/lib/CodeGen/LoopGeneratorsKMP.cpp
  497   return (LongType->getIntegerBitWidth() == 64);
tools/polly/lib/CodeGen/RuntimeDebugBuilder.cpp
  109     return Ty->getIntegerBitWidth() <= 64;
  129       if (Ty->getIntegerBitWidth() < 64)
  132         assert(Ty->getIntegerBitWidth() &&
  202       if (Ty->getIntegerBitWidth() < 64) {
  205         assert(Ty->getIntegerBitWidth() == 64 &&