LLVM: lib/CodeGen/BasicBlockPathCloning.cpp File Reference (original) (raw)

BasicBlockPathCloning implementation. More...

#include "[llvm/ADT/SmallVector.h](SmallVector%5F8h%5Fsource.html)"
#include "[llvm/ADT/StringRef.h](StringRef%5F8h%5Fsource.html)"
#include "[llvm/CodeGen/BasicBlockSectionUtils.h](BasicBlockSectionUtils%5F8h%5Fsource.html)"
#include "[llvm/CodeGen/BasicBlockSectionsProfileReader.h](BasicBlockSectionsProfileReader%5F8h%5Fsource.html)"
#include "[llvm/CodeGen/MachineFunction.h](MachineFunction%5F8h%5Fsource.html)"
#include "[llvm/CodeGen/MachineFunctionPass.h](MachineFunctionPass%5F8h%5Fsource.html)"
#include "[llvm/CodeGen/Passes.h](CodeGen%5F2Passes%5F8h%5Fsource.html)"
#include "[llvm/CodeGen/TargetInstrInfo.h](TargetInstrInfo%5F8h%5Fsource.html)"
#include "[llvm/InitializePasses.h](InitializePasses%5F8h%5Fsource.html)"
#include "[llvm/Support/WithColor.h](WithColor%5F8h%5Fsource.html)"
#include "[llvm/Target/TargetMachine.h](llvm%5F2Target%5F2TargetMachine%5F8h%5Fsource.html)"

Go to the source code of this file.

Classes
class llvm::BasicBlockPathCloning
Namespaces
namespace llvm
This is an optimization pass for GlobalISel generic memory operations.
Functions
Variables
bb path cloning

Detailed Description

BasicBlockPathCloning implementation.

The purpose of this pass is to clone basic block paths based on information provided by the -fbasic-block-sections=list option. Please refer to BasicBlockSectionsProfileReader.cpp to see a path cloning example.

Definition in file BasicBlockPathCloning.cpp.

Function Documentation

INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( BasicBlockPathCloning ,
"bb-path-cloning"
)

Variable Documentation

cloning

bb path cloning

Definition at line 233 of file BasicBlockPathCloning.cpp.