Bidirectional mapping between a function's basic blocks and dense indices.

Synopsis

Declared in <llvm/Transforms/Coroutines/SuspendCrossingInfo.h>

class BlockToIndexMapping;

Member Functions

Name

Description

BlockToIndexMapping [constructor]

Build a mapping covering every basic block in F.

blockToIndex

Return the dense index assigned to BB.

indexToBlock

Return the basic block stored at Index.

size

Return the number of mapped basic blocks.

Created with MrDocs