Polly 20.0.0git
Public Member Functions | Private Attributes | List of all members
polly::IRInserter Class Referencefinal

Add Polly specifics when running IRBuilder. More...

#include <IRBuilder.h>

Inheritance diagram for polly::IRInserter:
Inheritance graph
[legend]

Public Member Functions

 IRInserter ()=default
 
 IRInserter (ScopAnnotator &A)
 
void InsertHelper (llvm::Instruction *I, const llvm::Twine &Name, llvm::BasicBlock::iterator InsertPt) const override
 

Private Attributes

ScopAnnotatorAnnotator = nullptr
 

Detailed Description

Add Polly specifics when running IRBuilder.

This is used to add additional items such as e.g. the llvm.loop.parallel metadata.

Definition at line 120 of file IRBuilder.h.

Constructor & Destructor Documentation

◆ IRInserter() [1/2]

polly::IRInserter::IRInserter ( )
default

◆ IRInserter() [2/2]

polly::IRInserter::IRInserter ( ScopAnnotator A)
inline

Definition at line 123 of file IRBuilder.h.

Member Function Documentation

◆ InsertHelper()

void polly::IRInserter::InsertHelper ( llvm::Instruction *  I,
const llvm::Twine &  Name,
llvm::BasicBlock::iterator  InsertPt 
) const
inlineoverride

Definition at line 125 of file IRBuilder.h.

References polly::ScopAnnotator::annotate(), and Annotator.

Member Data Documentation

◆ Annotator

ScopAnnotator* polly::IRInserter::Annotator = nullptr
private

Definition at line 133 of file IRBuilder.h.

Referenced by InsertHelper().


The documentation for this class was generated from the following file: