LLVM: lib/Target/ARM/MVEGatherScatterLowering.cpp File Reference (original) (raw)
Go to the source code of this file.
| Macros | |
|---|---|
| #define | DEBUG_TYPE "arm-mve-gather-scatter-lowering" |
| Functions | |
|---|---|
| INITIALIZE_PASS (MVEGatherScatterLowering, DEBUG_TYPE, "MVE gather/scattering lowering pass", false, false) Pass *llvm | |
| static bool | checkOffsetSize (Value *Offsets, unsigned TargetElemCount) |
| static bool | isAddLikeOr (Instruction *I, const DataLayout &DL) |
| static bool | hasAllGatScatUsers (Instruction *I, const DataLayout &DL) |
| static Value * | CheckAndCreateOffsetAdd (Value *X, unsigned ScaleX, Value *Y, unsigned ScaleY, IRBuilder<> &Builder) |
◆ DEBUG_TYPE
#define DEBUG_TYPE "arm-mve-gather-scatter-lowering"
◆ CheckAndCreateOffsetAdd()
Definition at line 1111 of file MVEGatherScatterLowering.cpp.
References llvm::Add, assert(), llvm::cast(), checkOffsetSize(), llvm::dbgs(), llvm::dyn_cast(), llvm::Constant::getAggregateElement(), llvm::VectorType::getElementType(), llvm::FixedVectorType::getNumElements(), llvm::Type::getPrimitiveSizeInBits(), llvm::Type::getScalarSizeInBits(), llvm::ConstantInt::getZExtValue(), LLVM_DEBUG, N, X, and Y.
◆ checkOffsetSize()
◆ hasAllGatScatUsers()
◆ INITIALIZE_PASS()
| INITIALIZE_PASS | ( | MVEGatherScatterLowering | , |
|---|---|---|---|
| DEBUG_TYPE | , | ||
| "MVE gather/scattering lowering pass" | , | ||
| false | , | ||
| false | ) |
◆ isAddLikeOr()
◆ EnableMaskedGatherScatters
| cl::opt< bool > EnableMaskedGatherScatters("enable-arm-maskedgatscat", cl::Hidden, cl::init(true), cl::desc("Enable the generation of masked gathers and scatters")) | ( | "enable-arm-maskedgatscat" | , |
|---|---|---|---|
| cl::Hidden | , | ||
| cl::init(true) | , | ||
| cl::desc("Enable the generation of masked gathers and scatters") | ) |