Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Target/
DTargetData.cpp47 StructSize = 0; in StructLayout()
56 if ((StructSize & (TyAlign-1)) != 0) in StructLayout()
57 StructSize = TargetData::RoundUpAlignment(StructSize, TyAlign); in StructLayout()
62 MemberOffsets[i] = StructSize; in StructLayout()
63 StructSize += TD.getTypeAllocSize(Ty); // Consume space for this data item in StructLayout()
71 if ((StructSize & (StructAlignment-1)) != 0) in StructLayout()
72 StructSize = TargetData::RoundUpAlignment(StructSize, StructAlignment); in StructLayout()
/external/llvm/lib/IR/
DDataLayout.cpp43 StructSize = 0; in StructLayout()
53 if ((StructSize & (TyAlign-1)) != 0) { in StructLayout()
55 StructSize = alignTo(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 = alignTo(StructSize, StructAlignment); in StructLayout()
/external/swiftshader/third_party/LLVM/include/llvm/Target/
DTargetData.h316 uint64_t StructSize; variable
323 return StructSize; in getSizeInBytes()
327 return 8*StructSize; in getSizeInBits()
/external/swiftshader/third_party/LLVM/lib/Target/Sparc/
DDelaySlotFiller.cpp82 bool needsUnimp(MachineBasicBlock::iterator I, unsigned &StructSize);
305 bool Filler::needsUnimp(MachineBasicBlock::iterator I, unsigned &StructSize) in needsUnimp() argument
321 StructSize = MO.getImm(); in needsUnimp()
/external/llvm/include/llvm/IR/
DDataLayout.h474 uint64_t StructSize; variable
480 uint64_t getSizeInBytes() const { return StructSize; } in getSizeInBytes()
482 uint64_t getSizeInBits() const { return 8 * StructSize; } in getSizeInBits()
/external/llvm/lib/Target/Sparc/
DDelaySlotFiller.cpp89 bool needsUnimp(MachineBasicBlock::iterator I, unsigned &StructSize);
356 bool Filler::needsUnimp(MachineBasicBlock::iterator I, unsigned &StructSize) in needsUnimp() argument
373 StructSize = MO.getImm(); in needsUnimp()
/external/llvm/lib/Analysis/
DBasicAliasAnalysis.cpp933 const uint64_t StructSize = SL->getSizeInBytes(); in aliasSameBasePointerGEPs() local
937 auto EltsDontOverlap = [StructSize](uint64_t V1Off, uint64_t V1Size, in aliasSameBasePointerGEPs()
940 ((V2Off + V2Size <= StructSize) || in aliasSameBasePointerGEPs()
941 (V2Off + V2Size - StructSize <= V1Off)); in aliasSameBasePointerGEPs()