llvm::colorEHFunclets

Recompute which basic blocks belong to which EH funclets in F.

Synopsis

Declared in <llvm/IR/EHPersonalities.h>

DenseMap<BasicBlock*, ColorVector>
colorEHFunclets(Function& F);

Description

If an EH funclet personality is in use (see isFuncletEHPersonality), this will recompute which blocks are in which funclet. It is possible that some blocks are in multiple funclets. Consider this analysis to be expensive.

Return Value

Map from each basic block to the funclets (colors) that contain it.

Parameters

NameDescription
FFunction whose blocks are colored by funclet membership.