LLVM 20.0.0git
Public Member Functions | List of all members
llvm::BlockToIndexMapping Class Reference

#include "llvm/Transforms/Coroutines/SuspendCrossingInfo.h"

Public Member Functions

size_t size () const
 
 BlockToIndexMapping (Function &F)
 
size_t blockToIndex (BasicBlock const *BB) const
 
BasicBlockindexToBlock (unsigned Index) const
 

Detailed Description

Definition at line 31 of file SuspendCrossingInfo.h.

Constructor & Destructor Documentation

◆ BlockToIndexMapping()

llvm::BlockToIndexMapping::BlockToIndexMapping ( Function F)
inline

Definition at line 37 of file SuspendCrossingInfo.h.

References F, and llvm::sort().

Member Function Documentation

◆ blockToIndex()

size_t llvm::BlockToIndexMapping::blockToIndex ( BasicBlock const BB) const
inline

◆ indexToBlock()

BasicBlock * llvm::BlockToIndexMapping::indexToBlock ( unsigned  Index) const
inline

Definition at line 49 of file SuspendCrossingInfo.h.

References Index.

Referenced by llvm::SuspendCrossingInfo::dump().

◆ size()

size_t llvm::BlockToIndexMapping::size ( ) const
inline

The documentation for this class was generated from the following file: