LLVM 19.0.0git
Classes | Namespaces | Functions | Variables
BasicBlockPathCloning.cpp File Reference

BasicBlockPathCloning implementation. More...

#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/CodeGen/BasicBlockSectionUtils.h"
#include "llvm/CodeGen/BasicBlockSectionsProfileReader.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include "llvm/InitializePasses.h"
#include "llvm/Support/WithColor.h"
#include "llvm/Target/TargetMachine.h"

Go to the source code of this file.


class  llvm::BasicBlockPathCloning


namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.


 INITIALIZE_PASS_BEGIN (BasicBlockPathCloning, "bb-path-cloning", "Applies path clonings for the -basic-block-sections=list option", false, false) INITIALIZE_PASS_END(BasicBlockPathCloning


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 ( BasicBlockPathCloning  ,

Variable Documentation

◆ cloning

bb path cloning

Definition at line 223 of file BasicBlockPathCloning.cpp.