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

References

include/llvm/IR/DataLayout.h
  445   TypeSize getTypeSizeInBits(Type *Ty) const;
  454   TypeSize getTypeStoreSize(Type *Ty) const {
  455     TypeSize BaseSize = getTypeSizeInBits(Ty);
  466   TypeSize getTypeStoreSizeInBits(Type *Ty) const {
  486   TypeSize getTypeAllocSize(Type *Ty) const {
  499   TypeSize getTypeAllocSizeInBits(Type *Ty) const {
  624 inline TypeSize DataLayout::getTypeSizeInBits(Type *Ty) const {
  628     return TypeSize::Fixed(getPointerSizeInBits(0));
  630     return TypeSize::Fixed(getPointerSizeInBits(Ty->getPointerAddressSpace()));
  638     return TypeSize::Fixed(
  641     return TypeSize::Fixed(Ty->getIntegerBitWidth());
  643     return TypeSize::Fixed(16);
  645     return TypeSize::Fixed(32);
  648     return TypeSize::Fixed(64);
  651     return TypeSize::Fixed(128);
  655     return TypeSize::Fixed(80);
include/llvm/IR/Type.h
  293   TypeSize getPrimitiveSizeInBits() const LLVM_READONLY;
include/llvm/Support/TypeSize.h
   59   static constexpr TypeSize Fixed(uint64_t Size) {
   63   static constexpr TypeSize Scalable(uint64_t MinSize) {
   70   friend bool operator==(const TypeSize &LHS, const TypeSize &RHS) {
   70   friend bool operator==(const TypeSize &LHS, const TypeSize &RHS) {
   75   friend bool operator!=(const TypeSize &LHS, const TypeSize &RHS) {
   75   friend bool operator!=(const TypeSize &LHS, const TypeSize &RHS) {
   88   friend bool operator<(const TypeSize &LHS, const TypeSize &RHS) {
   88   friend bool operator<(const TypeSize &LHS, const TypeSize &RHS) {
   95   friend bool operator>(const TypeSize &LHS, const TypeSize &RHS) {
   95   friend bool operator>(const TypeSize &LHS, const TypeSize &RHS) {
   99   friend bool operator<=(const TypeSize &LHS, const TypeSize &RHS) {
   99   friend bool operator<=(const TypeSize &LHS, const TypeSize &RHS) {
  103   friend bool operator>=(const TypeSize &LHS, const TypeSize& RHS) {
  103   friend bool operator>=(const TypeSize &LHS, const TypeSize& RHS) {
  109   TypeSize operator*(unsigned RHS) const {
  113   friend TypeSize operator*(const unsigned LHS, const TypeSize &RHS) {
  113   friend TypeSize operator*(const unsigned LHS, const TypeSize &RHS) {
  117   TypeSize operator/(unsigned RHS) const {
  151   TypeSize operator*(uint64_t RHS) const {
  155   TypeSize operator*(int RHS) const {
  159   TypeSize operator*(int64_t RHS) const {
  163   friend TypeSize operator*(const uint64_t LHS, const TypeSize &RHS) {
  163   friend TypeSize operator*(const uint64_t LHS, const TypeSize &RHS) {
  167   friend TypeSize operator*(const int LHS, const TypeSize &RHS) {
  167   friend TypeSize operator*(const int LHS, const TypeSize &RHS) {
  171   friend TypeSize operator*(const int64_t LHS, const TypeSize &RHS) {
  171   friend TypeSize operator*(const int64_t LHS, const TypeSize &RHS) {
  175   TypeSize operator/(uint64_t RHS) const {
  179   TypeSize operator/(int RHS) const {
  183   TypeSize operator/(int64_t RHS) const {
  193 inline TypeSize alignTo(TypeSize Size, uint64_t Align) {
  193 inline TypeSize alignTo(TypeSize Size, uint64_t Align) {
lib/Analysis/IVDescriptors.cpp
  135     auto NumTypeBits = DL.getTypeSizeInBits(Exit->getType());
lib/CodeGen/LowLevelType.cpp
   32     auto SizeInBits = DL.getTypeSizeInBits(&Ty);
lib/IR/Instructions.cpp
 2983   TypeSize SrcBits = SrcTy->getPrimitiveSizeInBits();   // 0 for ptr
 2984   TypeSize DestBits = DestTy->getPrimitiveSizeInBits(); // 0 for ptr
 3045   TypeSize SrcBits = SrcTy->getPrimitiveSizeInBits();   // 0 for ptr
 3046   TypeSize DestBits = DestTy->getPrimitiveSizeInBits(); // 0 for ptr
lib/IR/Type.cpp
  115 TypeSize Type::getPrimitiveSizeInBits() const {
  117   case Type::HalfTyID: return TypeSize::Fixed(16);
  118   case Type::FloatTyID: return TypeSize::Fixed(32);
  119   case Type::DoubleTyID: return TypeSize::Fixed(64);
  120   case Type::X86_FP80TyID: return TypeSize::Fixed(80);
  121   case Type::FP128TyID: return TypeSize::Fixed(128);
  122   case Type::PPC_FP128TyID: return TypeSize::Fixed(128);
  123   case Type::X86_MMXTyID: return TypeSize::Fixed(64);
  125     return TypeSize::Fixed(cast<IntegerType>(this)->getBitWidth());
  130   default: return TypeSize::Fixed(0);
lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
  793   auto Size = DL.getTypeAllocSize(Ty);
lib/Transforms/Coroutines/CoroSplit.cpp
  798   auto Size = DL.getTypeAllocSize(Shape.FrameTy);
 1210     auto Size = DL.getTypeAllocSize(Shape.FrameTy);
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
  717     auto EltSize = DL.getTypeAllocSize(ET);
 1244     auto EltSize = DL.getTypeAllocSize(AT->getElementType());
lib/Transforms/Scalar/LoopPredication.cpp
  452   auto RangeCheckTypeBitSize = DL.getTypeSizeInBits(RangeCheckType);
lib/Transforms/Vectorize/SLPVectorizer.cpp
 5144       auto NumTypeBits = DL->getTypeSizeInBits(Scalar->getType());
tools/clang/lib/CodeGen/CGCall.cpp
 4148         auto scalarSize = CGM.getDataLayout().getTypeAllocSize(scalarType);
tools/clang/lib/CodeGen/TargetInfo.cpp
 8382     auto AllocSize = getDataLayout().getTypeAllocSize(AI.getCoerceToType());
tools/polly/lib/Analysis/ScopInfo.cpp
  281   auto OldElementSize = DL.getTypeAllocSizeInBits(ElementType);
  282   auto NewElementSize = DL.getTypeAllocSizeInBits(NewElementType);
tools/polly/lib/Transform/DeLICM.cpp
 1051     auto StoreSize =
 1068       auto MASize = DL.getTypeAllocSize(MA->getAccessValue()->getType());
tools/polly/lib/Transform/ScheduleOptimizer.cpp
  864   auto ElementSizeA = DL.getTypeAllocSize(MMI.A->getElementType());
  865   auto ElementSizeB = DL.getTypeAllocSize(MMI.B->getElementType());
  866   auto ElementSizeC = DL.getTypeAllocSize(MMI.WriteToC->getElementType());
  879   auto ElementSizeA = DL.getTypeSizeInBits(MMI.A->getElementType());
  880   auto ElementSizeB = DL.getTypeSizeInBits(MMI.B->getElementType());
  881   auto ElementSizeC = DL.getTypeSizeInBits(MMI.WriteToC->getElementType());
unittests/IR/VectorTypesTest.cpp
  177   TypeSize V2I32Len = V2Int32Ty->getPrimitiveSizeInBits();
  226   TypeSize ScV2I32Len = ScV2Int32Ty->getPrimitiveSizeInBits();
usr/include/c++/7.4.0/bits/stl_algo.h
 3461     inline _Tp
 3462     max(initializer_list<_Tp> __l)
 3468     max(initializer_list<_Tp> __l, _Compare __comp)
usr/include/c++/7.4.0/initializer_list
   50       typedef _E 		value_type;
   51       typedef const _E& 	reference;
   52       typedef const _E& 	const_reference;
   54       typedef const _E* 	iterator;
   55       typedef const _E* 	const_iterator;
utils/unittest/googletest/include/gtest/gtest-printers.h
  173   static void PrintValue(const T& value, ::std::ostream* os) {
  205     ::std::basic_ostream<Char, CharTraits>& os, const T& x) {
  206   TypeWithoutFormatter<T,
  207       (internal::IsAProtocolMessage<T>::value ? kProtobuf :
  208        internal::ImplicitlyConvertible<const T&, internal::BiggestInt>::value ?
  223 void DefaultPrintNonContainerTo(const T& value, ::std::ostream* os) {
  276   static ::std::string Format(const ToPrint& value) {
  351     const T1& value, const T2& /* other_operand */) {
  351     const T1& value, const T2& /* other_operand */) {
  352   return FormatForComparison<T1, T2>::Format(value);
  352   return FormatForComparison<T1, T2>::Format(value);
  366 void UniversalPrint(const T& value, ::std::ostream* os);
  373                     const C& container, ::std::ostream* os) {
  439                     const T& value, ::std::ostream* os) {
  455 void PrintTo(const T& value, ::std::ostream* os) {
  478   DefaultPrintTo(IsContainerTest<T>(0), is_pointer<T>(), value, os);
  699   static void Print(const T& value, ::std::ostream* os) {
  784   static void Print(const T& value, ::std::ostream* os) {
  856   typedef T T1;
  983   internal::UniversalTersePrinter<T>::Print(value, &ss);
utils/unittest/googletest/include/gtest/gtest.h
 1377                                    const T1& lhs, const T2& rhs) {
 1377                                    const T1& lhs, const T2& rhs) {
 1389                             const T1& lhs,
 1390                             const T2& rhs) {
 1419                                  const T1& lhs,
 1420                                  const T2& rhs) {
 1487                                    const T1& val1, const T2& val2,
 1487                                    const T1& val1, const T2& val2,
utils/unittest/googletest/include/gtest/internal/custom/raw-ostream.h
   29   static const T& printable(const T& V) { return V; }
   29   static const T& printable(const T& V) { return V; }
   35 auto printable(const T &V) -> decltype(StreamSwitch<T>::printable(V)) {
   35 auto printable(const T &V) -> decltype(StreamSwitch<T>::printable(V)) {
   37   return StreamSwitch<T>::printable(V);
utils/unittest/googletest/include/gtest/internal/gtest-internal.h
   94 ::std::string PrintToString(const T& value);