LLVM: lib/Transforms/Vectorize/LoadStoreVectorizer.cpp File Reference (original) (raw)

Go to the source code of this file.

Macros
#define DEBUG_TYPE "load-store-vectorizer"
Functions
STATISTIC (NumVectorInstructions, "Number of vector accesses generated")
STATISTIC (NumScalarsVectorized, "Number of scalar accesses vectorized")
INITIALIZE_PASS_BEGIN (LoadStoreVectorizerLegacyPass, DEBUG_TYPE, "Vectorize load and Store instructions", false, false) INITIALIZE_PASS_DEPENDENCY(AssumptionCacheTracker)
INITIALIZE_PASS_END (LoadStoreVectorizerLegacyPass, DEBUG_TYPE, "Vectorize load and store instructions", false, false) Pass *llvm
static bool checkNoWrapFlags (Instruction *I, bool Signed)
static bool checkIfSafeAddSequence (const APInt &IdxDiff, Instruction *AddOpA, unsigned MatchingOpIdxA, Instruction *AddOpB, unsigned MatchingOpIdxB, bool Signed)

DEBUG_TYPE

#define DEBUG_TYPE "load-store-vectorizer"

checkIfSafeAddSequence()

Definition at line 1371 of file LoadStoreVectorizer.cpp.

References assert(), llvm::cast(), checkNoWrapFlags(), llvm::dbgs(), llvm::dyn_cast(), llvm::Instruction::getOpcode(), llvm::User::getOperand(), llvm::APInt::getSExtValue(), llvm::isa(), LLVM_DEBUG, and Signed.

checkNoWrapFlags()

INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( LoadStoreVectorizerLegacyPass ,
DEBUG_TYPE ,
"Vectorize load and Store instructions" ,
false ,
false )

INITIALIZE_PASS_END()

INITIALIZE_PASS_END ( LoadStoreVectorizerLegacyPass ,
DEBUG_TYPE ,
"Vectorize load and store instructions" ,
false ,
false )

STATISTIC() [1/2]

STATISTIC ( NumScalarsVectorized ,
"Number of scalar accesses vectorized" )

STATISTIC() [2/2]

STATISTIC ( NumVectorInstructions ,
"Number of vector accesses generated" )