Home
last modified time | relevance | path

Searched refs:StructSize (Results 1 – 12 of 12) 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-7.0/llvm/lib/IR/
DDataLayout.cpp49 StructSize = 0; in StructLayout()
59 if ((StructSize & (TyAlign-1)) != 0) { in StructLayout()
61 StructSize = alignTo(StructSize, TyAlign); in StructLayout()
67 MemberOffsets[i] = StructSize; in StructLayout()
68 StructSize += DL.getTypeAllocSize(Ty); // Consume space for this data item in StructLayout()
76 if ((StructSize & (StructAlignment-1)) != 0) { in StructLayout()
78 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-7.0/llvm/lib/Transforms/Coroutines/
DCoroFrame.cpp321 unsigned StructSize = 0; member
330 if ((StructSize & (TyAlign - 1)) != 0) in addType()
331 StructSize = alignTo(StructSize, TyAlign); in addType()
333 StructSize += DL.getTypeAllocSize(Ty); // Consume space for this data item. in addType()
343 auto Natural = alignTo(StructSize, TyAlign); in computePadding()
344 auto Forced = alignTo(StructSize, ForcedAlignment); in computePadding()
348 return std::max(Natural, Forced) - StructSize; in computePadding()
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DDataLayout.h522 uint64_t StructSize; variable
529 uint64_t getSizeInBytes() const { return StructSize; } in getSizeInBytes()
531 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Sparc/
DDelaySlotFiller.cpp87 bool needsUnimp(MachineBasicBlock::iterator I, unsigned &StructSize);
354 bool Filler::needsUnimp(MachineBasicBlock::iterator I, unsigned &StructSize) in needsUnimp() argument
371 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DBasicAliasAnalysis.cpp1131 const uint64_t StructSize = SL->getSizeInBytes(); in aliasSameBasePointerGEPs() local
1135 auto EltsDontOverlap = [StructSize](uint64_t V1Off, uint64_t V1Size, in aliasSameBasePointerGEPs()
1138 ((V2Off + V2Size <= StructSize) || in aliasSameBasePointerGEPs()
1139 (V2Off + V2Size - StructSize <= V1Off)); in aliasSameBasePointerGEPs()