LLVM API Documentation

Defines | Functions | Variables
Scalarizer.cpp File Reference
#include "llvm/ADT/STLExtras.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/InstVisitor.h"
#include "llvm/Pass.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Transforms/Scalar.h"
#include "llvm/Transforms/Utils/BasicBlockUtils.h"
Include dependency graph for Scalarizer.cpp:

Go to the source code of this file.

Defines

#define DEBUG_TYPE   "scalarizer"

Functions

 INITIALIZE_PASS (Scalarizer,"scalarizer","Scalarize vector operations", false, false) Scatterer

Variables

static cl::opt< boolScalarizeLoadStore ("scalarize-load-store", cl::Hidden, cl::init(false), cl::desc("Allow the scalarizer pass to scalarize loads and store"))

Define Documentation

#define DEBUG_TYPE   "scalarizer"

Definition at line 27 of file Scalarizer.cpp.


Function Documentation

INITIALIZE_PASS ( Scalarizer  ,
"scalarizer"  ,
"Scalarize vector operations"  ,
false  ,
false   
)

Definition at line 178 of file Scalarizer.cpp.

References llvm::dyn_cast(), and llvm::Type::getVectorNumElements().


Variable Documentation

cl::opt<bool> ScalarizeLoadStore("scalarize-load-store", cl::Hidden, cl::init(false), cl::desc("Allow the scalarizer pass to scalarize loads and store")) [static]