LLVM 22.0.0git
|
A pass for printing the PhiValues for a function. More...
#include "llvm/Analysis/PhiValues.h"
Public Member Functions | |
PhiValuesPrinterPass (raw_ostream &OS) | |
LLVM_ABI PreservedAnalyses | run (Function &F, FunctionAnalysisManager &AM) |
Public Member Functions inherited from llvm::PassInfoMixin< PhiValuesPrinterPass > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Static Public Member Functions | |
static bool | isRequired () |
Static Public Member Functions inherited from llvm::PassInfoMixin< PhiValuesPrinterPass > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. |
A pass for printing the PhiValues for a function.
This pass doesn't print whatever information the PhiValues happens to hold, but instead first uses the PhiValues to analyze all the phis in the function so the complete information is printed.
Definition at line 130 of file PhiValues.h.
|
inlineexplicit |
Definition at line 134 of file PhiValues.h.
|
inlinestatic |
Definition at line 136 of file PhiValues.h.
PreservedAnalyses PhiValuesPrinterPass::run | ( | Function & | F, |
FunctionAnalysisManager & | AM ) |
Definition at line 197 of file PhiValues.cpp.
References llvm::PreservedAnalyses::all(), F, llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), llvm::PhiValues::getValuesForPhi(), and llvm::PhiValues::print().