/external/llvm/lib/IR/ |
D | DataLayout.cpp | 43 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/ |
D | DataLayout.cpp | 48 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/ |
D | DataLayout.cpp | 49 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/ |
D | DataLayout.h | 474 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/ |
D | DataLayout.h | 626 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/ |
D | DataLayout.h | 586 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/ |
D | CoroFrame.cpp | 344 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/ |
D | DelaySlotFiller.cpp | 89 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/ |
D | DelaySlotFiller.cpp | 86 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/ |
D | DelaySlotFiller.cpp | 86 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/ |
D | BasicAliasAnalysis.cpp | 933 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/ |
D | CoroFrame.cpp | 391 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/ |
D | BasicAliasAnalysis.cpp | 1223 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/ |
D | ASTContext.cpp | 2702 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/ |
D | gmock-matchers.h | 3081 template <typename Struct, typename StructSize>
|