Lines Matching +full:4 +full:- +full:pixel +full:- +full:align
1 //===- llvm/MC/MCDXContainerWriter.cpp - DXContainer Writer -----*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
47 // Presently DXContainer files usually contain 7-10 parts. Reserving space for
62 PartOffset = alignTo(PartOffset, Align(4ul));
79 // Write 16-bytes of 0's for the hash.
100 W.write<char>(ArrayRef<char>(Sec.getName().data(), 4));
106 // DXContainer parts should be 4-byte aligned.
107 PartSize = alignTo(PartSize, Align(4));
122 static_cast<uint16_t>(TT.getEnvironment() - Triple::Pixel);
124 // The program header's size field is in 32-bit words.
125 Header.Size = (SectionSize + sizeof(dxbc::ProgramHeader) + 3) / 4;
126 memcpy(Header.Bitcode.Magic, "DXIL", 4);
138 unsigned Size = W.OS.tell() - Start;
139 W.OS.write_zeros(offsetToAlignment(Size, Align(4)));