LLVM  14.0.0git
Macros | Functions
MIRFSDiscriminator.cpp File Reference
#include "llvm/CodeGen/MIRFSDiscriminator.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/Analysis/BlockFrequencyInfoImpl.h"
#include "llvm/IR/Function.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Transforms/Utils/SampleProfileLoaderBaseUtil.h"
#include <unordered_map>
Include dependency graph for MIRFSDiscriminator.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "mirfs-discriminators"
 

Functions

static uint64_t getCallStackHash (const MachineBasicBlock &BB, const MachineInstr &MI, const DILocation *DIL)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "mirfs-discriminators"

Definition at line 29 of file MIRFSDiscriminator.cpp.

Function Documentation

◆ getCallStackHash()

static uint64_t getCallStackHash ( const MachineBasicBlock BB,
const MachineInstr MI,
const DILocation DIL 
)
static

Definition at line 45 of file MIRFSDiscriminator.cpp.

References BB, llvm::MD5Hash(), llvm::MipsISD::Ret, and llvm::to_string().