class StackLifetime::LifetimeAnnotationWriter
Declaration
class StackLifetime::LifetimeAnnotationWriter
: public AssemblyAnnotationWriter { /* full declaration omitted */ };
Declared at: llvm/lib/Analysis/StackLifetime.cpp:340
Inherits from: AssemblyAnnotationWriter
Member Variables
- private const llvm::StackLifetime& SL
Method Overview
- public LifetimeAnnotationWriter(const llvm::StackLifetime & SL)
- private void emitBasicBlockStartAnnot(const llvm::BasicBlock * BB, llvm::formatted_raw_ostream & OS)
- private void printInfoComment(const llvm::Value & V, llvm::formatted_raw_ostream & OS)
- private void printInstrAlive(unsigned int InstrNo, llvm::formatted_raw_ostream & OS)
Inherited from AssemblyAnnotationWriter:
- public emitBasicBlockEndAnnot
- public emitBasicBlockStartAnnot
- public emitFunctionAnnot
- public emitInstructionAnnot
- public printInfoComment
Methods
¶LifetimeAnnotationWriter(
const llvm::StackLifetime& SL)
LifetimeAnnotationWriter(
const llvm::StackLifetime& SL)
Declared at: llvm/lib/Analysis/StackLifetime.cpp:377
Parameters
- const llvm::StackLifetime& SL
¶void emitBasicBlockStartAnnot(
const llvm::BasicBlock* BB,
llvm::formatted_raw_ostream& OS)
void emitBasicBlockStartAnnot(
const llvm::BasicBlock* BB,
llvm::formatted_raw_ostream& OS)
Description
emitBasicBlockStartAnnot - This may be implemented to emit a string right after the basic block label, but before the first instruction in the block.
Declared at: llvm/lib/Analysis/StackLifetime.cpp:354
Parameters
- const llvm::BasicBlock* BB
- llvm::formatted_raw_ostream& OS
¶void printInfoComment(
const llvm::Value& V,
llvm::formatted_raw_ostream& OS)
void printInfoComment(
const llvm::Value& V,
llvm::formatted_raw_ostream& OS)
Description
printInfoComment - This may be implemented to emit a comment to the right of an instruction or global value.
Declared at: llvm/lib/Analysis/StackLifetime.cpp:362
Parameters
- const llvm::Value& V
- llvm::formatted_raw_ostream& OS
¶void printInstrAlive(
unsigned int InstrNo,
llvm::formatted_raw_ostream& OS)
void printInstrAlive(
unsigned int InstrNo,
llvm::formatted_raw_ostream& OS)
Declared at: llvm/lib/Analysis/StackLifetime.cpp:344
Parameters
- unsigned int InstrNo
- llvm::formatted_raw_ostream& OS