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()
52 if ((StructSize & (TyAlign-1)) != 0) in StructLayout()
53 StructSize = RoundUpToAlignment(StructSize, TyAlign); in StructLayout()
58 MemberOffsets[i] = StructSize; in StructLayout()
59 StructSize += DL.getTypeAllocSize(Ty); // Consume space for this data item in StructLayout()
67 if ((StructSize & (StructAlignment-1)) != 0) in StructLayout()
68 StructSize = RoundUpToAlignment(StructSize, StructAlignment); in StructLayout()
/external/llvm/include/llvm/IR/
DDataLayout.h474 uint64_t StructSize; variable
479 uint64_t getSizeInBytes() const { return StructSize; } in getSizeInBytes()
481 uint64_t getSizeInBits() const { return 8 * StructSize; } in getSizeInBits()
/external/llvm/lib/Target/Sparc/
DDelaySlotFiller.cpp88 bool needsUnimp(MachineBasicBlock::iterator I, unsigned &StructSize);
337 bool Filler::needsUnimp(MachineBasicBlock::iterator I, unsigned &StructSize) in needsUnimp() argument
354 StructSize = MO.getImm(); in needsUnimp()
/external/llvm/lib/Analysis/
DBasicAliasAnalysis.cpp961 const uint64_t StructSize = SL->getSizeInBytes(); in aliasSameBasePointerGEPs() local
965 auto EltsDontOverlap = [StructSize](uint64_t V1Off, uint64_t V1Size, in aliasSameBasePointerGEPs()
968 ((V2Off + V2Size <= StructSize) || in aliasSameBasePointerGEPs()
969 (V2Off + V2Size - StructSize <= V1Off)); in aliasSameBasePointerGEPs()