#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 "llvm/Support/Compiler.h"
#include <cassert>
#include <cstdint>
#include <limits>
#include <string>
Go to the source code of this file.
|
namespace | llvm |
| This is an optimization pass for GlobalISel generic memory operations.
|
namespace | llvm::pgo |
|
LLVM_ABI bool | llvm::checkIfAlreadyInstrumented (Module &M, StringRef Flag) |
| Check if module has flag attached, if not add the flag.
|
LLVM_ABI BasicBlock::iterator | llvm::PrepareToSplitEntryBlock (BasicBlock &BB, BasicBlock::iterator IP) |
| Instrumentation passes often insert conditional checks into entry blocks.
|
LLVM_ABI GlobalVariable * | llvm::createPrivateGlobalForString (Module &M, StringRef Str, bool AllowMerging, Twine NamePrefix="") |
LLVM_ABI Comdat * | llvm::getOrCreateFunctionComdat (Function &F, Triple &T) |
LLVM_ABI void | llvm::setGlobalVariableLargeSection (const Triple &TargetTriple, GlobalVariable &GV) |
LLVM_ABI CallBase & | llvm::pgo::promoteIndirectCall (CallBase &CB, Function *F, uint64_t Count, uint64_t TotalCount, bool AttachProfToDirectCall, OptimizationRemarkEmitter *ORE) |
LLVM_ABI void | llvm::createProfileSamplingVar (Module &M) |