Lines Matching defs:NumBits
81 unsigned NumBits = 0;
83 NumBits = DL.getPreferredAlignmentLog(GVar);
86 if (InBits > NumBits)
87 NumBits = InBits;
91 return NumBits;
95 // If the GVAlign is larger than NumBits, or if we are required to obey
96 // NumBits because the GV has an assigned section, obey it.
97 if (GVAlign > NumBits || GV->hasSection())
98 NumBits = GVAlign;
99 return NumBits;
1753 void AsmPrinter::EmitAlignment(unsigned NumBits, const GlobalObject *GV) const {
1755 NumBits = getGVAlignmentLog2(GV, GV->getParent()->getDataLayout(), NumBits);
1757 if (NumBits == 0) return; // 1-byte aligned: no need to emit alignment.
1759 assert(NumBits <
1763 OutStreamer->EmitCodeAlignment(1u << NumBits);
1765 OutStreamer->EmitValueToAlignment(1u << NumBits);