Home
last modified time | relevance | path

Searched refs:StructSize (Results 1 – 4 of 4) sorted by relevance

/external/llvm/lib/IR/
DDataLayout.cpp43 StructSize = 0; in StructLayout()
53 if ((StructSize & (TyAlign-1)) != 0) { in StructLayout()
55 StructSize = RoundUpToAlignment(StructSize, TyAlign); in StructLayout()
61 MemberOffsets[i] = StructSize; in StructLayout()
62 StructSize += DL.getTypeAllocSize(Ty); // Consume space for this data item in StructLayout()
70 if ((StructSize & (StructAlignment-1)) != 0) { in StructLayout()
72 StructSize = RoundUpToAlignment(StructSize, StructAlignment); in StructLayout()
/external/llvm/include/llvm/IR/
DDataLayout.h476 uint64_t StructSize; variable
482 uint64_t getSizeInBytes() const { return StructSize; } in getSizeInBytes()
484 uint64_t getSizeInBits() const { return 8 * StructSize; } in getSizeInBits()
/external/llvm/lib/Target/Sparc/
DDelaySlotFiller.cpp88 bool needsUnimp(MachineBasicBlock::iterator I, unsigned &StructSize);
339 bool Filler::needsUnimp(MachineBasicBlock::iterator I, unsigned &StructSize) in needsUnimp() argument
356 StructSize = MO.getImm(); in needsUnimp()
/external/llvm/lib/Analysis/
DBasicAliasAnalysis.cpp865 const uint64_t StructSize = SL->getSizeInBytes(); in aliasSameBasePointerGEPs() local
869 auto EltsDontOverlap = [StructSize](uint64_t V1Off, uint64_t V1Size, in aliasSameBasePointerGEPs()
872 ((V2Off + V2Size <= StructSize) || in aliasSameBasePointerGEPs()
873 (V2Off + V2Size - StructSize <= V1Off)); in aliasSameBasePointerGEPs()