Home | History | Annotate | Download | only in ARM

Lines Matching defs:Size

86     /// BasicBlockInfo - Information about the offset and size of a single
100 /// Size - Size of the basic block in bytes. If the block contains
103 /// The size does not include any alignment padding whether from the
105 unsigned Size;
112 /// of unknown size. The real size may be smaller than Size bytes by a
121 BasicBlockInfo() : Offset(0), Size(0), KnownBits(0), Unalign(0),
129 // If the block size isn't a multiple of the known bits, assume the
131 if (Size & ((1u << Bits) - 1))
132 Bits = countTrailingZeros(Size);
140 unsigned PO = Offset + Size;
338 DEBUG(dbgs() << "Verifying " << CPUsers.size() << " CP users.\n");
339 for (unsigned i = 0, e = CPUsers.size(); i != e; ++i) {
357 /// print block size and offset information - debugging
360 for (unsigned J = 0, E = BBInfo.size(); J !=E; ++J) {
366 << format(" size=%#x\n", BBInfo[J].Size);
382 << MCP->getConstants().size() << " CP entries, aligned to "
428 AFI->initPICLabelUId(CPEMIs.size());
447 for (unsigned i = 0, e = CPUsers.size(); i != e; ++i)
459 for (unsigned i = 0, e = ImmBranches.size(); i != e; ++i)
483 for (unsigned i = 0, e = CPEntries.size(); i != e; ++i) {
484 for (unsigned j = 0, je = CPEntries[i].size(); j != je; ++j) {
533 for (unsigned i = 0, e = CPs.size(); i != e; ++i) {
534 unsigned Size = TD.getTypeAllocSize(CPs[i].getType());
535 assert(Size >= 4 && "Too small constant pool entry");
540 assert((Size % Align) == 0 && "CP Entry not multiple of 4 bytes!");
547 .addImm(i).addConstantPoolIndex(i).addImm(Size);
561 DEBUG(dbgs() << "Moved CPI#" << i << " to end of function, size = "
562 << Size << ", align = " << Align <<'\n');
593 for (unsigned i = 0, e = CPEs.size(); i != e; ++i) {
610 assert(CPI < MCP->getConstants().size() && "Invalid constant pool index.");
639 // First thing, compute the size of all basic blocks, and see if the function
641 // alignment assumptions, as we don't know for sure the size of any
727 // Basic size info comes from the TSFlags field.
797 /// computeBlockSize - Compute the size and some alignment information for MBB.
801 BBI.Size = 0;
807 BBI.Size += TII->GetInstSizeInBytes(I);
809 // The actual size may be smaller, but still a multiple of the instr size.
927 // block, it cannot contain a tablejump. The size includes
1007 unsigned Size = U.CPEMI->getOperand(2).getImm();
1008 unsigned CPEEnd = CPEOffset + Size;
1134 for (unsigned i = 0, e = CPEs.size(); i != e; ++i) {
1245 // Size of branch to insert.
1268 BBInfo[UserMBB->getNumber()].Size += Delta;
1320 unsigned NumCPUsers = CPUsers.size();
1367 unsigned Size = CPEMI->getOperand(2).getImm();
1437 .addImm(ID).addConstantPoolIndex(CPI).addImm(Size);
1444 // Increase the size of the island block to account for the new entry.
1445 BBInfo[NewIsland->getNumber()].Size += Size;
1465 unsigned Size = CPEMI->getOperand(2).getImm();
1467 BBInfo[CPEBB->getNumber()].Size -= Size;
1468 // All succeeding offsets have the current size value added in, fix this.
1470 BBInfo[CPEBB->getNumber()].Size = 0;
1490 for (unsigned i = 0, e = CPEntries.size(); i != e; ++i) {
1492 for (unsigned j = 0, ee = CPEs.size(); j != ee; ++j) {
1557 BBInfo[MBB->getNumber()].Size += 2;
1621 BBInfo[MBB->getNumber()].Size -= delta;
1636 BBInfo[MBB->getNumber()].Size += TII->GetInstSizeInBytes(&MBB->back());
1642 BBInfo[MBB->getNumber()].Size += TII->GetInstSizeInBytes(&MBB->back());
1647 BBInfo[MI->getParent()->getNumber()].Size -= TII->GetInstSizeInBytes(MI);
1658 for (unsigned i = 0, e = PushPopMIs.size(); i != e; ++i) {
1698 for (unsigned i = 0, e = CPUsers.size(); i != e; ++i) {
1737 BBInfo[MBB->getNumber()].Size -= 2;
1752 for (unsigned i = 0, e = ImmBranches.size(); i != e; ++i) {
1779 BBInfo[MBB->getNumber()].Size -= 2;
1827 BBInfo[MBB->getNumber()].Size -= 2;
1851 for (unsigned i = 0, e = T2JumpTables.size(); i != e; ++i) {
1858 assert(JTI < JT.size());
1864 for (unsigned j = 0, ee = JTBBs.size(); j != ee; ++j) {
1957 BBInfo[MBB->getNumber()].Size -= delta;
1977 for (unsigned i = 0, e = T2JumpTables.size(); i != e; ++i) {
1984 assert(JTI < JT.size());
1991 for (unsigned j = 0, ee = JTBBs.size(); j != ee; ++j) {