Intel SPMD Program Compiler  1.9.1
Public Member Functions | Static Public Attributes | List of all members
ImproveMemoryOpsPass Class Reference
Inheritance diagram for ImproveMemoryOpsPass:
Inheritance graph
Collaboration diagram for ImproveMemoryOpsPass:
Collaboration graph

Public Member Functions

 ImproveMemoryOpsPass ()
const char * getPassName () const
bool runOnBasicBlock (llvm::BasicBlock &BB)

Static Public Attributes

static char ID = 0

Detailed Description

When the front-end emits gathers and scatters, it generates an array of vector-width pointers to represent the set of addresses to read from or write to. This optimization detects cases when the base pointer is a uniform pointer or when the indexing is into an array that can be converted into scatters/gathers from a single base pointer and an array of offsets.

See for example the comments discussing the __pseudo_gather functions in builtins.cpp for more information about this.

Definition at line 1424 of file opt.cpp.

Constructor & Destructor Documentation

ImproveMemoryOpsPass::ImproveMemoryOpsPass ( )

Definition at line 1427 of file opt.cpp.

Member Function Documentation

const char* ImproveMemoryOpsPass::getPassName ( ) const

Definition at line 1429 of file opt.cpp.

bool ImproveMemoryOpsPass::runOnBasicBlock ( llvm::BasicBlock &  BB)

Member Data Documentation

char ImproveMemoryOpsPass::ID = 0

Definition at line 1426 of file opt.cpp.

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