LLVM 19.0.0git
Classes | Namespaces
EmbedBitcodePass.h File Reference

This file provides a pass which clones the current module and runs the provided pass pipeline on the clone. More...

#include "llvm/IR/PassManager.h"

Go to the source code of this file.

Classes

struct  llvm::EmbedBitcodeOptions
 
class  llvm::EmbedBitcodePass
 Pass embeds a copy of the module optimized with the provided pass pipeline into a global variable. More...
 

Namespaces

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

Detailed Description

This file provides a pass which clones the current module and runs the provided pass pipeline on the clone.

The optimized module is stored into a global variable in the .llvm.lto section. Primarily, this pass is used to support the FatLTO pipeline, but could be used to generate a bitcode section for any arbitrary pass pipeline without changing the current module.

Definition in file EmbedBitcodePass.h.