LLVM
15.0.0git
|
#include "ARCInstrInfo.h"
#include "ARCTargetMachine.h"
#include "MCTargetDesc/ARCInfo.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include "llvm/InitializePasses.h"
#include "llvm/Support/Debug.h"
#include <vector>
Go to the source code of this file.
Namespaces | |
llvm | |
This is an optimization pass for GlobalISel generic memory operations. | |
Macros | |
#define | DEBUG_TYPE "arc-branch-finalize" |
Functions | |
void | llvm::initializeARCBranchFinalizePass (PassRegistry &Registry) |
FunctionPass * | llvm::createARCBranchFinalizePass () |
INITIALIZE_PASS_BEGIN (ARCBranchFinalize, "arc-branch-finalize", "ARC finalize branches", false, false) INITIALIZE_PASS_END(ARCBranchFinalize | |
arc branch ARC finalize static false unsigned | getCCForBRcc (unsigned CC) |
static bool | isBRccPseudo (MachineInstr *MI) |
static unsigned | getBRccForPseudo (MachineInstr *MI) |
static unsigned | getCmpForPseudo (MachineInstr *MI) |
Variables | |
arc branch | finalize |
arc branch ARC finalize | branches |
arc branch ARC finalize | false |
#define DEBUG_TYPE "arc-branch-finalize" |
Definition at line 25 of file ARCBranchFinalize.cpp.
|
static |
Definition at line 100 of file ARCBranchFinalize.cpp.
References assert(), isBRccPseudo(), and MI.
Definition at line 76 of file ARCBranchFinalize.cpp.
References llvm::ARCCC::EQ, llvm::ARCCC::GE, llvm::ARCCC::HS, llvm::ARCCC::LO, llvm::ARCCC::LT, and llvm::ARCCC::NE.
|
static |
Definition at line 107 of file ARCBranchFinalize.cpp.
References assert(), isBRccPseudo(), and MI.
INITIALIZE_PASS_BEGIN | ( | ARCBranchFinalize | , |
"arc-branch-finalize" | , | ||
"ARC finalize branches" | , | ||
false | , | ||
false | |||
) |
|
static |
Definition at line 95 of file ARCBranchFinalize.cpp.
References MI.
Referenced by getBRccForPseudo(), and getCmpForPseudo().
Definition at line 66 of file ARCBranchFinalize.cpp.
Definition at line 66 of file ARCBranchFinalize.cpp.
arc branch finalize |
Definition at line 65 of file ARCBranchFinalize.cpp.
Referenced by llvm::pdb::DbiStreamBuilder::commit(), llvm::objcopy::wasm::Writer::write(), and llvm::objcopy::xcoff::XCOFFWriter::write().