Home
last modified time | relevance | path

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

/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-10.0/llvm/lib/IR/
DDataLayout.cpp48 StructSize = 0; in StructLayout()
58 if (!isAligned(TyAlign, StructSize)) { in StructLayout()
60 StructSize = alignTo(StructSize, TyAlign); in StructLayout()
66 MemberOffsets[i] = StructSize; in StructLayout()
67 StructSize += DL.getTypeAllocSize(Ty); // Consume space for this data item in StructLayout()
72 if (!isAligned(StructAlignment, StructSize)) { in StructLayout()
74 StructSize = alignTo(StructSize, StructAlignment); in StructLayout()
/external/llvm-project/llvm/lib/IR/
DDataLayout.cpp49 StructSize = 0; in StructLayout()
59 if (!isAligned(TyAlign, StructSize)) { 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()
73 if (!isAligned(StructAlignment, StructSize)) { in StructLayout()
75 StructSize = alignTo(StructSize, StructAlignment); in StructLayout()
/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-project/llvm/include/llvm/IR/
DDataLayout.h626 uint64_t StructSize; variable
633 uint64_t getSizeInBytes() const { return StructSize; } in getSizeInBytes()
635 uint64_t getSizeInBits() const { return 8 * StructSize; } in getSizeInBits()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDataLayout.h586 uint64_t StructSize; variable
593 uint64_t getSizeInBytes() const { return StructSize; } in getSizeInBytes()
595 uint64_t getSizeInBits() const { return 8 * StructSize; } in getSizeInBits()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
DCoroFrame.cpp344 unsigned StructSize = 0; member
353 if ((StructSize & (TyAlign - 1)) != 0) in addType()
354 StructSize = alignTo(StructSize, TyAlign); in addType()
356 StructSize += DL.getTypeAllocSize(Ty); // Consume space for this data item. in addType()
366 auto Natural = alignTo(StructSize, TyAlign); in computePadding()
367 auto Forced = alignTo(StructSize, ForcedAlignment); in computePadding()
371 return std::max(Natural, Forced) - StructSize; in computePadding()
/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-project/llvm/lib/Target/Sparc/
DDelaySlotFiller.cpp86 bool needsUnimp(MachineBasicBlock::iterator I, unsigned &StructSize);
353 bool Filler::needsUnimp(MachineBasicBlock::iterator I, unsigned &StructSize) in needsUnimp() argument
370 StructSize = MO.getImm(); in needsUnimp()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
DDelaySlotFiller.cpp86 bool needsUnimp(MachineBasicBlock::iterator I, unsigned &StructSize);
353 bool Filler::needsUnimp(MachineBasicBlock::iterator I, unsigned &StructSize) in needsUnimp() argument
370 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/llvm-project/llvm/lib/Transforms/Coroutines/
DCoroFrame.cpp391 uint64_t StructSize = 0; member in __anoneccd3f7d0611::FrameTypeBuilder
466 Offset = alignTo(StructSize, FieldAlignment); in addField()
467 StructSize = Offset + FieldSize; in addField()
483 return StructSize; in getStructSize()
649 StructSize = SizeAndAlign.first; in finish()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DBasicAliasAnalysis.cpp1223 const uint64_t StructSize = SL->getSizeInBytes(); in aliasSameBasePointerGEPs() local
1227 auto EltsDontOverlap = [StructSize](uint64_t V1Off, uint64_t V1Size, in aliasSameBasePointerGEPs()
1230 ((V2Off + V2Size <= StructSize) || in aliasSameBasePointerGEPs()
1231 (V2Off + V2Size - StructSize <= V1Off)); in aliasSameBasePointerGEPs()
/external/llvm-project/clang/lib/AST/
DASTContext.cpp2702 Optional<int64_t> StructSize = in hasUniqueObjectRepresentations() local
2705 return StructSize && in hasUniqueObjectRepresentations()
2706 StructSize.getValue() == static_cast<int64_t>(getTypeSize(Ty)); in hasUniqueObjectRepresentations()
/external/googletest/googlemock/include/gmock/
Dgmock-matchers.h3081 template <typename Struct, typename StructSize>