LLVM 20.0.0git
|
#include "llvm/Passes/StandardInstrumentations.h"
Public Member Functions | |
IRComparer (const IRDataT< T > &Before, const IRDataT< T > &After) | |
void | compare (bool CompareModule, std::function< void(bool InModule, unsigned Minor, const FuncDataT< T > &Before, const FuncDataT< T > &After)> CompareFunc) |
Static Public Member Functions | |
static void | analyzeIR (Any IR, IRDataT< T > &Data) |
Static Protected Member Functions | |
template<typename FunctionT > | |
static bool | generateFunctionData (IRDataT< T > &Data, const FunctionT &F) |
Protected Attributes | |
const IRDataT< T > & | Before |
const IRDataT< T > & | After |
Definition at line 403 of file StandardInstrumentations.h.
|
inline |
Definition at line 405 of file StandardInstrumentations.h.
Definition at line 696 of file StandardInstrumentations.cpp.
References llvm::Data, F, IR, and llvm_unreachable.
Referenced by llvm::DotCfgChangeReporter::generateIRRepresentation(), llvm::InLineChangePrinter::generateIRRepresentation(), and llvm::DotCfgChangeReporter::handleInitialIR().
void IRComparer::compare | ( | bool | CompareModule, |
std::function< void(bool InModule, unsigned Minor, const FuncDataT< T > &Before, const FuncDataT< T > &After)> | CompareFunc | ||
) |
Definition at line 669 of file StandardInstrumentations.cpp.
References A, After, assert(), B, Before, and llvm::OrderedChangedData< FuncDataT< T > >::report().
Referenced by llvm::DotCfgChangeReporter::handleAfter(), llvm::InLineChangePrinter::handleAfter(), and llvm::DotCfgChangeReporter::handleInitialIR().
|
staticprotected |
Definition at line 733 of file StandardInstrumentations.cpp.
References B, llvm::Data, F, llvm::formatv(), llvm::OrderedChangedData< T >::getData(), llvm::OrderedChangedData< T >::getOrder(), I, llvm::StringMap< ValueTy, AllocatorTy >::insert(), and shouldGenerateData().
Definition at line 426 of file StandardInstrumentations.h.
Definition at line 425 of file StandardInstrumentations.h.