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 401 of file StandardInstrumentations.h.
|
inline |
Definition at line 403 of file StandardInstrumentations.h.
Definition at line 689 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 662 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 726 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 424 of file StandardInstrumentations.h.
Definition at line 423 of file StandardInstrumentations.h.