LLVM  16.0.0git
Classes | Namespaces | Functions
Instrumentation.h File Reference
#include "llvm/ADT/StringRef.h"
#include "llvm/IR/BasicBlock.h"
#include "llvm/IR/DebugInfoMetadata.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/Instruction.h"
#include <cassert>
#include <cstdint>
#include <limits>
#include <string>
#include <vector>
Include dependency graph for Instrumentation.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  llvm::GCOVOptions
struct  llvm::InstrProfOptions
 Options for the frontend instrumentation based profiling pass. More...
struct  llvm::SanitizerCoverageOptions
struct  llvm::InstrumentationIRBuilder


 This is an optimization pass for GlobalISel generic memory operations.


BasicBlock::iterator llvm::PrepareToSplitEntryBlock (BasicBlock &BB, BasicBlock::iterator IP)
 Instrumentation passes often insert conditional checks into entry blocks. More...
GlobalVariablellvm::createPrivateGlobalForString (Module &M, StringRef Str, bool AllowMerging, const char *NamePrefix="")
Comdatllvm::getOrCreateFunctionComdat (Function &F, Triple &T)
CallBasellvm::pgo::promoteIndirectCall (CallBase &CB, Function *F, uint64_t Count, uint64_t TotalCount, bool AttachProfToDirectCall, OptimizationRemarkEmitter *ORE)
static uint64_t llvm::calculateCountScale (uint64_t MaxCount)
 Calculate what to divide by to scale counts. More...
static uint32_t llvm::scaleBranchCount (uint64_t Count, uint64_t Scale)
 Scale an individual branch count. More...