|
LLVM 23.0.0git
|
#include "X86.h"#include "X86InstrInfo.h"#include "X86MachineFunctionInfo.h"#include "X86Subtarget.h"#include "llvm/CodeGen/MachineDominators.h"#include "llvm/CodeGen/MachineFunctionPass.h"#include "llvm/CodeGen/MachineInstrBuilder.h"#include "llvm/CodeGen/MachineRegisterInfo.h"#include "llvm/InitializePasses.h"Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "x86-cleanup-local-dynamic-tls" |
Functions | |
| static MachineInstr * | ReplaceTLSBaseAddrCall (MachineInstr &I, Register TLSBaseAddrReg) |
| static MachineInstr * | SetRegister (MachineInstr &I, Register *TLSBaseAddrReg) |
| static bool | VisitNode (MachineDomTreeNode *Node, Register TLSBaseAddrReg) |
| static bool | cleanupLocalDynamicTLS (MachineDominatorTree &DT) |
| static bool | shouldSkipLocalDynamicTLS (MachineFunction &MF) |
| #define DEBUG_TYPE "x86-cleanup-local-dynamic-tls" |
Definition at line 27 of file X86CleanupLocalDynamicTLS.cpp.
|
static |
Definition at line 132 of file X86CleanupLocalDynamicTLS.cpp.
References llvm::DominatorTreeBase< NodeT, IsPostDom >::getRootNode(), and VisitNode().
Referenced by llvm::X86CleanupLocalDynamicTLSPass::run().
|
static |
Definition at line 58 of file X86CleanupLocalDynamicTLS.cpp.
References llvm::MachineInstrBuilder::addReg(), llvm::BuildMI(), llvm::X86Subtarget::getInstrInfo(), llvm::MachineFunction::getSubtarget(), I, is64Bit(), and TII.
Referenced by VisitNode().
|
static |
Definition at line 79 of file X86CleanupLocalDynamicTLS.cpp.
References llvm::MachineInstrBuilder::addReg(), llvm::BuildMI(), llvm::X86Subtarget::getInstrInfo(), llvm::MachineFunction::getRegInfo(), llvm::MachineFunction::getSubtarget(), I, is64Bit(), llvm::Next, and TII.
Referenced by VisitNode().
|
static |
Definition at line 136 of file X86CleanupLocalDynamicTLS.cpp.
References llvm::MachineFunction::getInfo(), and llvm::X86MachineFunctionInfo::getNumLocalDynamicTLSAccesses().
Referenced by llvm::X86CleanupLocalDynamicTLSPass::run().
|
static |
Definition at line 104 of file X86CleanupLocalDynamicTLS.cpp.
References llvm::MachineBasicBlock::begin(), Changed, E(), llvm::MachineBasicBlock::end(), I, ReplaceTLSBaseAddrCall(), SetRegister(), and VisitNode().
Referenced by cleanupLocalDynamicTLS(), llvm::sys::unicode::nearestMatchesForCodepointName(), and VisitNode().