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

References

include/llvm/IR/DebugInfoMetadata.h
  719     return getTemporary(getContext(), getTag(), getName(), getSizeInBits(),
  794                         getScope(), getBaseType(), getSizeInBits(),
  940                         getScope(), getBaseType(), getSizeInBits(),
lib/Bitcode/Writer/BitcodeWriter.cpp
 1541   Record.push_back(N->getSizeInBits());
 1560   Record.push_back(N->getSizeInBits());
 1588   Record.push_back(N->getSizeInBits());
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
 1593         (i == 0 && ElementSize == 0) ? Ty->getSizeInBits() / 8 : ElementSize;
 1609   ByteSize = Ty->getSizeInBits() / 8;
 1705     SimpleTypeMode Mode = Ty->getSizeInBits() == 64
 1712       Ty->getSizeInBits() == 64 ? PointerKind::Near64 : PointerKind::Near32;
 1730   PointerRecord PR(PointeeTI, PK, PM, PO, Ty->getSizeInBits() / 8);
 1778   assert(Ty->getSizeInBits() / 8 <= 0xff && "pointer size too big");
 1779   uint8_t SizeInBytes = Ty->getSizeInBits() / 8;
 1936       Ty->getSizeInBits() / (8 * Asm->MAI->getCodePointerSize());
 2259   uint64_t SizeInBytes = Ty->getSizeInBits() / 8;
 2298   uint64_t SizeInBytes = Ty->getSizeInBits() / 8;
 2385       BitFieldRecord BFR(MemberBaseType, Member->getSizeInBits(),
 2506                    Ty->getSizeInBits() / 8);
lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
  147     return Ty->getSizeInBits();
  154     return DDTy->getSizeInBits();
  166     return Ty->getSizeInBits();
lib/CodeGen/AsmPrinter/DwarfUnit.cpp
  779   uint64_t Size = BTy->getSizeInBits() >> 3;
  791   uint64_t Size = DTy->getSizeInBits() >> 3;
  877   uint64_t Size = CTy->getSizeInBits() >> 3;
 1356   const uint64_t ActualSize = CTy->getSizeInBits();
 1361   const uint64_t ElementSize = BaseTy->getSizeInBits();
 1383               CTy->getSizeInBits() / CHAR_BIT);
 1476     uint64_t Size = DT->getSizeInBits();
lib/IR/AsmWriter.cpp
 1835   Printer.printInt("size", N->getSizeInBits());
 1855   Printer.printInt("size", N->getSizeInBits());
 1877   Printer.printInt("size", N->getSizeInBits());
lib/IR/DebugInfo.cpp
 1235   return unwrapDI<DIType>(DType)->getSizeInBits();
lib/IR/DebugInfoMetadata.cpp
  794       if (uint64_t Size = T->getSizeInBits())
lib/IR/LLVMContextImpl.h
  389       : Tag(N->getTag()), Name(N->getRawName()), SizeInBits(N->getSizeInBits()),
  394            SizeInBits == RHS->getSizeInBits() &&
  431         BaseType(N->getRawBaseType()), SizeInBits(N->getSizeInBits()),
  440            SizeInBits == RHS->getSizeInBits() &&
  528         BaseType(N->getRawBaseType()), SizeInBits(N->getSizeInBits()),
  540            SizeInBits == RHS->getSizeInBits() &&
lib/Target/BPF/BPFAbstractMemberAccess.cpp
  524   EndBitOffset = CTy->getSizeInBits();
  554                   (EltTy->getSizeInBits() >> 3);
  571       return calcArraySize(CTy, 1) * (EltTy->getSizeInBits() >> 3);
  574       uint32_t SizeInBits = MemberTy->getSizeInBits();
  625       SizeInBits = calcArraySize(CTy, 1) * EltTy->getSizeInBits();
  628       SizeInBits = MemberTy->getSizeInBits();
  656       SizeInBits = calcArraySize(CTy, 1) * EltTy->getSizeInBits();
  659       SizeInBits = MemberTy->getSizeInBits();
  736       PatchImm += FirstIndex * (Ty->getSizeInBits() >> 3);
  792       PatchImm += FirstIndex * (CTy->getSizeInBits() >> 3);
lib/Target/BPF/BTFDebug.cpp
  157   BTFType.Size = roundupToBytes(ETy->getSizeInBits());
  222   BTFType.Size = roundupToBytes(STy->getSizeInBits());
  241       uint8_t BitFieldSize = DDTy->isBitField() ? DDTy->getSizeInBits() : 0;
  416       Encoding, BTy->getSizeInBits(), BTy->getOffsetInBits(), BTy->getName());
unittests/IR/MetadataTest.cpp
 1209   EXPECT_EQ(33u, N->getSizeInBits());
 1240   EXPECT_EQ(UINT64_MAX, N->getSizeInBits());
 1249   EXPECT_EQ(0u, N->getSizeInBits());
 1308   EXPECT_EQ(2u, N->getSizeInBits());
 1372   EXPECT_EQ(UINT64_MAX, N->getSizeInBits());
 1407   EXPECT_EQ(SizeInBits, N->getSizeInBits());
 1521   EXPECT_EQ(SizeInBits, N->getSizeInBits());