#include "llvm/ADT/StringRef.h"
#include "llvm/IR/BasicBlock.h"
#include <cassert>
#include <cstdint>
#include <limits>
#include <string>
#include <vector>
Go to the source code of this file.
|
| | llvm |
| | This class represents lattice values for constants.
|
| |
| | llvm::pgo |
| |
|
| BasicBlock::iterator | llvm::PrepareToSplitEntryBlock (BasicBlock &BB, BasicBlock::iterator IP) |
| | Instrumentation passes often insert conditional checks into entry blocks. More...
|
| |
| GlobalVariable * | llvm::createPrivateGlobalForString (Module &M, StringRef Str, bool AllowMerging, const char *NamePrefix="") |
| |
| Comdat * | llvm::GetOrCreateFunctionComdat (Function &F, Triple &T, const std::string &ModuleId) |
| |
| ModulePass * | llvm::createGCOVProfilerPass (const GCOVOptions &Options=GCOVOptions::getDefault()) |
| |
| ModulePass * | llvm::createPGOInstrumentationGenLegacyPass (bool IsCS=false) |
| |
| ModulePass * | llvm::createPGOInstrumentationUseLegacyPass (StringRef Filename=StringRef(""), bool IsCS=false) |
| |
| ModulePass * | llvm::createPGOInstrumentationGenCreateVarLegacyPass (StringRef CSInstrName=StringRef("")) |
| |
| ModulePass * | llvm::createPGOIndirectCallPromotionLegacyPass (bool InLTO=false, bool SamplePGO=false) |
| |
| FunctionPass * | llvm::createPGOMemOPSizeOptLegacyPass () |
| |
| Instruction * | llvm::pgo::promoteIndirectCall (Instruction *Inst, Function *F, uint64_t Count, uint64_t TotalCount, bool AttachProfToDirectCall, OptimizationRemarkEmitter *ORE) |
| |
| ModulePass * | llvm::createInstrProfilingLegacyPass (const InstrProfOptions &Options=InstrProfOptions(), bool IsCS=false) |
| | Insert frontend instrumentation based profiling. Parameter IsCS indicates if. More...
|
| |
| ModulePass * | llvm::createInstrOrderFilePass () |
| |
| ModulePass * | llvm::createDataFlowSanitizerPass (const std::vector< std::string > &ABIListFiles=std::vector< std::string >(), void *(*getArgTLS)()=nullptr, void *(*getRetValTLS)()=nullptr) |
| |
| 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...
|
| |