15bool RecordType::isEmpty()
const {
29 if (!BaseRT || !BaseRT->isEmpty())
41RecordType::getElementContainingOffset(
unsigned OffsetInBits)
const {
43 unsigned Start = Element.OffsetInBits;
44 unsigned Size = Element.FieldType->getSizeInBits().getFixedValue();
45 return OffsetInBits >= Start && OffsetInBits < Start +
Size;
56 if ((!VBaseRT || !VBaseRT->isEmpty()) &&
Contains(VBase))
61 if (
Field.IsUnnamedBitfield)
75 bool WasArray =
false;
78 if (AT->getNumElements() == 0)
80 Ty = AT->getElementType();
assert(UImm &&(UImm !=~static_cast< T >(0)) &&"Invalid immediate!")
OptimizedStructLayoutField Field
static bool Contains(directive::VersionRange V, int P)
bool canPassInRegisters() const
ArrayRef< FieldInfo > getBaseClasses() const
ArrayRef< FieldInfo > getFields() const
uint32_t getNumVirtualBaseClasses() const
bool hasFlexibleArrayMember() const
ArrayRef< FieldInfo > getVirtualBaseClasses() const
Represents the ABI-specific view of a type in LLVM.
This file defines the type system for the LLVMABI library, which mirrors ABI-relevant aspects of fron...
This is an optimization pass for GlobalISel generic memory operations.
decltype(auto) dyn_cast(const From &Val)
dyn_cast<X> - Return the argument parameter cast to the specified type.
LLVM_ABI bool isEmpty() const