LLVM  13.0.0git
Namespaces | Functions
PseudoProbe.cpp File Reference
#include "llvm/IR/PseudoProbe.h"
#include "llvm/IR/DebugInfoMetadata.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/Instruction.h"
#include <unordered_set>
Include dependency graph for PseudoProbe.cpp:

Go to the source code of this file.




Optional< PseudoProbellvm::extractProbeFromDiscriminator (const Instruction &Inst)
Optional< PseudoProbellvm::extractProbe (const Instruction &Inst)
void llvm::setProbeDistributionFactor (Instruction &Inst, float Factor)
void llvm::addPseudoProbeAttribute (PseudoProbeInst &Inst, PseudoProbeAttributes Attr)
bool llvm::moveAndDanglePseudoProbes (BasicBlock *From, Instruction *To)
 A block emptied (i.e., with all instructions moved out of it) won't be sampled at run time. More...
bool llvm::removeRedundantPseudoProbes (BasicBlock *Block)
 Same dangling probes in one blocks are redundant since they all have the same semantic that is to rely on the counts inference too to get reasonable count for the same original block. More...