Home | History | Annotate | Download | only in AsmPrinter

Lines Matching refs:NumBits

79   unsigned NumBits = 0;
81 NumBits = TD.getPreferredAlignmentLog(GVar);
84 if (InBits > NumBits)
85 NumBits = InBits;
89 return NumBits;
93 // If the GVAlign is larger than NumBits, or if we are required to obey
94 // NumBits because the GV has an assigned section, obey it.
95 if (GVAlign > NumBits || GV->hasSection())
96 NumBits = GVAlign;
97 return NumBits;
1533 void AsmPrinter::EmitAlignment(unsigned NumBits, const GlobalObject *GV) const {
1534 if (GV) NumBits = getGVAlignmentLog2(GV, *TM.getDataLayout(), NumBits);
1536 if (NumBits == 0) return; // 1-byte aligned: no need to emit alignment.
1539 OutStreamer.EmitCodeAlignment(1 << NumBits);
1541 OutStreamer.EmitValueToAlignment(1 << NumBits);