LLVM 20.0.0git
|
#include "RISCV.h"
#include "RISCVTargetMachine.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/Support/Debug.h"
#include "llvm/Target/TargetOptions.h"
#include <optional>
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "riscv-merge-base-offset" |
#define | RISCV_MERGE_BASE_OFFSET_NAME "RISC-V Merge Base Offset" |
Functions | |
INITIALIZE_PASS (RISCVMergeBaseOffsetOpt, DEBUG_TYPE, RISCV_MERGE_BASE_OFFSET_NAME, false, false) bool RISCVMergeBaseOffsetOpt | |
#define DEBUG_TYPE "riscv-merge-base-offset" |
Definition at line 24 of file RISCVMergeBaseOffset.cpp.
#define RISCV_MERGE_BASE_OFFSET_NAME "RISC-V Merge Base Offset" |
Definition at line 25 of file RISCVMergeBaseOffset.cpp.
INITIALIZE_PASS | ( | RISCVMergeBaseOffsetOpt | , |
DEBUG_TYPE | , | ||
RISCV_MERGE_BASE_OFFSET_NAME | , | ||
false | , | ||
false | |||
) |
Definition at line 66 of file RISCVMergeBaseOffset.cpp.
References assert(), llvm::dbgs(), llvm::MachineOperand::getBlockAddress(), llvm::MachineOperand::getGlobal(), llvm::MachineOperand::getIndex(), llvm::MachineOperand::getOffset(), llvm::MachineOperand::getTargetFlags(), llvm::MachineOperand::getType(), Hi, llvm::MachineOperand::isBlockAddress(), llvm::MachineOperand::isCPI(), llvm::MachineOperand::isGlobal(), LLVM_DEBUG, Lo, llvm::RISCVII::MO_HI, llvm::RISCVII::MO_LO, llvm::MachineOperand::MO_MCSymbol, llvm::RISCVII::MO_PCREL_HI, llvm::RISCVII::MO_PCREL_LO, and MRI.