Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:Block

77 //                          Fixed block information
80 // The number of instructions in a basic block and the CPU resources used by
83 /// Compute the resource usage in basic block MBB.
86 assert(MBB && "No basic block");
91 // Compute resource usage in the block.
169 // Compute resources from trace above. The top block is simple.
178 // Compute from the block above. A post-order traversal ensures the
202 // Compute resources for the current block.
214 // Compute from the block below. A post-order traversal ensures the
262 /// by this block and all blocks following it in its trace.
278 // trace through a block B is computed by two DFS traversals of the CFG
287 // This means that a loop header can never appear above the center block of a
288 // trace, except as the trace head. Below the center block, loop exiting edges
329 // Pick the predecessor that would give this block the smallest InstrDepth.
357 // Pick the successor that would give this block the smallest InstrHeight.
434 // From is null once when To is the trace center block.
445 // To is a new block. Mark the block as visited in case the CFG has cycles
553 // because the instructions in that block may change. Other blocks may be
745 /// 1. The maximum height+depth over all instructions in the trace center block.
747 /// 2. The longest cross-block dependency chain. For small blocks, it is
749 /// instructions in the block.
752 /// center block.
778 // block in the trace that needs to be recomputed.
789 // FIXME: If MBB is non-null at this point, it is the last pre-computed block
796 // Go through trace blocks in top-down order, stopping after the center block.
949 /// when reaching the block that contains DefMI.
953 assert(!Trace.empty() && "Trace should contain at least one block");
998 // MBB is the highest precomputed block in the trace.
1038 // If MBB is the last block in the trace, and it has a back-edge to the
1063 // Go through the block backwards.
1149 "MI must be in the trace center block");
1169 /// When bottom is set include instructions in current block in estimate.
1186 /// All instructions before current block
1188 // plus instructions in current block
1201 // Add up resources above and below the center block.
1238 // Instrs: #instructions in current trace outside current block.
1309 const MachineTraceMetrics::TraceBlockInfo *Block = &TBI;
1311 while (Block->hasValidDepth() && Block->Pred) {
1312 unsigned Num = Block->Pred->getNumber();
1314 Block = &TE.BlockInfo[Num];
1317 Block = &TBI;
1319 while (Block->hasValidHeight() && Block->Succ) {
1320 unsigned Num = Block->Succ->getNumber();
1322 Block = &TE.BlockInfo[Num];