|
LLVM 24.0.0git
|
#include "RISCVGatherScatterLowering.h"#include "RISCVTargetMachine.h"#include "llvm/Analysis/InstSimplifyFolder.h"#include "llvm/Analysis/LoopInfo.h"#include "llvm/Analysis/ValueTracking.h"#include "llvm/Analysis/VectorUtils.h"#include "llvm/CodeGen/TargetPassConfig.h"#include "llvm/IR/GetElementPtrTypeIterator.h"#include "llvm/IR/IRBuilder.h"#include "llvm/IR/IntrinsicInst.h"#include "llvm/IR/PatternMatch.h"#include "llvm/InitializePasses.h"#include "llvm/Pass.h"#include "llvm/Transforms/Utils/Local.h"#include <optional>Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "riscv-gather-scatter-lowering" |
Functions | |
| INITIALIZE_PASS_BEGIN (RISCVGatherScatterLoweringLegacy, DEBUG_TYPE, "RISC-V gather/scatter lowering pass", false, false) INITIALIZE_PASS_END(RISCVGatherScatterLoweringLegacy | |
| static std::pair< Value *, Value * > | matchStridedConstant (Constant *StartC) |
| static std::pair< Value *, Value * > | matchStridedStart (Value *Start, IRBuilderBase &Builder) |
Variables | |
| DEBUG_TYPE | |
| RISC V gather scatter lowering | pass |
| RISC V gather scatter lowering | false |
| #define DEBUG_TYPE "riscv-gather-scatter-lowering" |
Definition at line 33 of file RISCVGatherScatterLowering.cpp.
| INITIALIZE_PASS_BEGIN | ( | RISCVGatherScatterLoweringLegacy | , |
| DEBUG_TYPE | , | ||
| "RISC-V gather/scatter lowering pass" | , | ||
| false | , | ||
| false | ) |
References DEBUG_TYPE, and INITIALIZE_PASS_DEPENDENCY.
Definition at line 105 of file RISCVGatherScatterLowering.cpp.
References C(), llvm::cast(), llvm::dyn_cast_or_null(), llvm::Constant::getAggregateElement(), llvm::Value::getType(), llvm::ConstantInt::getValue(), and llvm::isa().
Referenced by matchStridedStart().
|
static |
Definition at line 137 of file RISCVGatherScatterLowering.cpp.
References llvm::cast(), llvm::dwarf_linker::DebugLoc, llvm::dyn_cast(), llvm::getSplatValue(), llvm::Instruction::isCommutative(), llvm_unreachable, llvm::PatternMatch::m_Intrinsic(), llvm::PatternMatch::match(), matchStridedConstant(), matchStridedStart(), and llvm::Splat.
Referenced by matchStridedStart().
| DEBUG_TYPE |
Definition at line 97 of file RISCVGatherScatterLowering.cpp.
| RISC V gather scatter lowering false |
Definition at line 98 of file RISCVGatherScatterLowering.cpp.
| RISC V gather scatter lowering pass |
Definition at line 98 of file RISCVGatherScatterLowering.cpp.