LLVM  8.0.1
Classes | Namespaces | Functions
Instrumentation.h File Reference
#include "llvm/ADT/StringRef.h"
#include "llvm/IR/BasicBlock.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.

Classes

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

Namespaces

 llvm
 This class represents lattice values for constants.
 
 llvm::pgo
 

Functions

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, const std::string &ModuleId)
 
ModulePassllvm::createGCOVProfilerPass (const GCOVOptions &Options=GCOVOptions::getDefault())
 
ModulePassllvm::createPGOInstrumentationGenLegacyPass ()
 
ModulePassllvm::createPGOInstrumentationUseLegacyPass (StringRef Filename=StringRef(""))
 
ModulePassllvm::createPGOIndirectCallPromotionLegacyPass (bool InLTO=false, bool SamplePGO=false)
 
FunctionPass * llvm::createPGOMemOPSizeOptLegacyPass ()
 
Instructionllvm::pgo::promoteIndirectCall (Instruction *Inst, Function *F, uint64_t Count, uint64_t TotalCount, bool AttachProfToDirectCall, OptimizationRemarkEmitter *ORE)
 
ModulePassllvm::createInstrProfilingLegacyPass (const InstrProfOptions &Options=InstrProfOptions())
 Insert frontend instrumentation based profiling. More...
 
FunctionPassllvm::createAddressSanitizerFunctionPass (bool CompileKernel=false, bool Recover=false, bool UseAfterScope=false)
 
ModulePass * llvm::createAddressSanitizerModulePass (bool CompileKernel=false, bool Recover=false, bool UseGlobalsGC=true, bool UseOdrIndicator=true)
 
FunctionPassllvm::createHWAddressSanitizerPass (bool CompileKernel=false, bool Recover=false)
 
ModulePass * llvm::createDataFlowSanitizerPass (const std::vector< std::string > &ABIListFiles=std::vector< std::string >(), void *(*getArgTLS)()=nullptr, void *(*getRetValTLS)()=nullptr)
 
ModulePassllvm::createEfficiencySanitizerPass (const EfficiencySanitizerOptions &Options=EfficiencySanitizerOptions())
 
ModulePassllvm::createSanitizerCoverageModulePass (const SanitizerCoverageOptions &Options=SanitizerCoverageOptions())
 
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...