Extremely trivial cache for predecessor iterator queries.

Synopsis

Declared in <llvm/IR/PredIteratorCache.h>

class PredIteratorCache;

Description

This is useful for code that repeatedly wants the predecessor list for the same blocks.

Member Functions

Name

Description

clear

clear ‐ Remove all information.

get

Return the cached predecessor list for BB.

size

Return the number of predecessors of BB.

Created with MrDocs