class PredicateInfoAnnotatedWriter

Declaration

class PredicateInfoAnnotatedWriter : public AssemblyAnnotationWriter { /* full declaration omitted */ };

Description

An assembly annotator class to print PredicateInfo information in comments.

Declared at: llvm/lib/Transforms/Utils/PredicateInfo.cpp:891

Inherits from: AssemblyAnnotationWriter

Member Variables

private const llvm::PredicateInfo* PredInfo

Method Overview

Inherited from AssemblyAnnotationWriter:

Methods

PredicateInfoAnnotatedWriter(
    const llvm::PredicateInfo* M)

Declared at: llvm/lib/Transforms/Utils/PredicateInfo.cpp:896

Parameters

const llvm::PredicateInfo* M

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/Transforms/Utils/PredicateInfo.cpp:898

Parameters

const llvm::BasicBlock* BB
llvm::formatted_raw_ostream& OS

void emitInstructionAnnot(
    const llvm::Instruction* I,
    llvm::formatted_raw_ostream& OS)

Description

emitInstructionAnnot - This may be implemented to emit a string right before an instruction is emitted.

Declared at: llvm/lib/Transforms/Utils/PredicateInfo.cpp:901

Parameters

const llvm::Instruction* I
llvm::formatted_raw_ostream& OS