Home | History | Annotate | Download | only in Analysis

Lines Matching full:cold

75 /// \brief Weight for a branch taken going into a cold block.
78 /// cold. A block is marked cold if it's postdominated by a
79 /// block containing a call to a cold function. Cold functions
80 /// are those marked with attribute 'cold'.
83 /// \brief Weight for a branch not-taken into a cold block.
86 /// cold.
244 /// \brief Calculate edge weights for edges leading to cold blocks.
246 /// A cold block is one post-dominated by a block with a call to a
247 /// cold function. Those edges are unlikely to be taken, so we give
250 /// Return true if we could compute the weights for cold edges.
257 // Determine which successors are post-dominated by a cold block.
266 // If all successors are in the set of blocks post-dominated by cold calls,
267 // this block is in the set post-dominated by cold calls.
271 // Otherwise, if the block itself contains a cold function, add it to the
272 // set of blocks postdominated by a cold call.
276 if (CI->hasFnAttr(Attribute::Cold)) {