Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:MachineSSAUpdater

1 //===- MachineSSAUpdater.cpp - Unstructured SSA Update Tool ---------------===//
10 // This file implements the MachineSSAUpdater class. It's based on SSAUpdater
15 #include "llvm/CodeGen/MachineSSAUpdater.h"
37 MachineSSAUpdater::MachineSSAUpdater(MachineFunction &MF,
44 MachineSSAUpdater::~MachineSSAUpdater() {
50 void MachineSSAUpdater::Initialize(unsigned V) {
60 /// HasValueForBlock - Return true if the MachineSSAUpdater already has a value for
62 bool MachineSSAUpdater::HasValueForBlock(MachineBasicBlock *BB) const {
68 void MachineSSAUpdater::AddAvailableValue(MachineBasicBlock *BB, unsigned V) {
74 unsigned MachineSSAUpdater::GetValueAtEndOfBlock(MachineBasicBlock *BB) {
140 unsigned MachineSSAUpdater::GetValueInMiddleOfBlock(MachineBasicBlock *BB) {
221 void MachineSSAUpdater::RewriteUse(MachineOperand &U) {
234 void MachineSSAUpdater::ReplaceRegWith(unsigned OldReg, unsigned NewReg) {
268 /// SSAUpdaterTraits<MachineSSAUpdater> - Traits for the SSAUpdaterImpl
269 /// template, specialized for MachineSSAUpdater.
272 class SSAUpdaterTraits<MachineSSAUpdater> {
300 MachineSSAUpdater *Updater) {
312 MachineSSAUpdater *Updater) {
338 static MachineInstr *ValueIsPHI(unsigned Val, MachineSSAUpdater *Updater) {
344 static MachineInstr *ValueIsNewPHI(unsigned Val, MachineSSAUpdater *Updater) {
364 unsigned MachineSSAUpdater::GetValueAtEndOfBlockInternal(MachineBasicBlock *BB){
369 SSAUpdaterImpl<MachineSSAUpdater> Impl(this, &AvailableVals, InsertedPHIs);