|
LLVM 23.0.0git
|
#include "RISCV.h"#include "RISCVTargetMachine.h"#include "llvm/ADT/Statistic.h"#include "llvm/Analysis/ValueTracking.h"#include "llvm/CodeGen/TargetPassConfig.h"#include "llvm/IR/Dominators.h"#include "llvm/IR/IRBuilder.h"#include "llvm/IR/InstVisitor.h"#include "llvm/IR/IntrinsicInst.h"#include "llvm/IR/Intrinsics.h"#include "llvm/IR/PatternMatch.h"#include "llvm/InitializePasses.h"#include "llvm/Pass.h"#include "llvm/Transforms/Utils/Local.h"Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "riscv-codegenprepare" |
| #define | PASS_NAME "RISC-V CodeGenPrepare" |
Functions | |
| static Value * | buildMulTree (IRBuilder<> &Builder, ElementCount PieceEC, Value *Vec) |
| INITIALIZE_PASS_BEGIN (RISCVCodeGenPrepareLegacyPass, DEBUG_TYPE, PASS_NAME, false, false) INITIALIZE_PASS_END(RISCVCodeGenPrepareLegacyPass | |
Variables | |
| DEBUG_TYPE | |
| PASS_NAME | |
| false | |
| #define DEBUG_TYPE "riscv-codegenprepare" |
Definition at line 33 of file RISCVCodeGenPrepare.cpp.
| #define PASS_NAME "RISC-V CodeGenPrepare" |
Definition at line 34 of file RISCVCodeGenPrepare.cpp.
|
static |
Definition at line 269 of file RISCVCodeGenPrepare.cpp.
References assert(), llvm::cast(), llvm::VectorType::get(), llvm::details::FixedOrScalableQuantity< LeafTy, ValueTy >::getKnownMinValue(), llvm::Value::getType(), llvm::isPowerOf2_32(), llvm::SmallVectorTemplateCommon< T, typename >::size(), and llvm::SmallVectorImpl< T >::truncate().
| INITIALIZE_PASS_BEGIN | ( | RISCVCodeGenPrepareLegacyPass | , |
| DEBUG_TYPE | , | ||
| PASS_NAME | , | ||
| false | , | ||
| false | ) |
References DEBUG_TYPE, INITIALIZE_PASS_DEPENDENCY, and PASS_NAME.
| DEBUG_TYPE |
Definition at line 438 of file RISCVCodeGenPrepare.cpp.
| false |
Definition at line 438 of file RISCVCodeGenPrepare.cpp.
| PASS_NAME |
Definition at line 438 of file RISCVCodeGenPrepare.cpp.