Home | History | Annotate | Download | only in AsmPrinter

Lines Matching full:numbits

75   unsigned NumBits = 0;
77 NumBits = TD.getPreferredAlignmentLog(GVar);
80 if (InBits > NumBits)
81 NumBits = InBits;
85 return NumBits;
89 // If the GVAlign is larger than NumBits, or if we are required to obey
90 // NumBits because the GV has an assigned section, obey it.
91 if (GVAlign > NumBits || GV->hasSection())
92 NumBits = GVAlign;
93 return NumBits;
1426 void AsmPrinter::EmitAlignment(unsigned NumBits, const GlobalValue *GV) const {
1427 if (GV) NumBits = getGVAlignmentLog2(GV, *TM.getTargetData(), NumBits);
1429 if (NumBits == 0) return; // 1-byte aligned: no need to emit alignment.
1432 OutStreamer.EmitCodeAlignment(1 << NumBits);
1434 OutStreamer.EmitValueToAlignment(1 << NumBits, 0, 1, 0);