mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-22 10:33:23 +00:00
9166181257
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359 91177308-0d34-0410-b5e6-96231b3b80d8
31 lines
578 B
C++
31 lines
578 B
C++
/* Title: LiveVarSet.h
|
|
Author: Ruchira Sasanka
|
|
Date: Jun 30, 01
|
|
Purpose: Contains the class definition of LiveVarSet which is used for
|
|
live variable analysis.
|
|
*/
|
|
|
|
#ifndef LIVE_VAR_SET_H
|
|
#define LIVE_VAR_SET_H
|
|
|
|
#include "ValueSet.h"
|
|
#include "llvm/Instruction.h"
|
|
#include "llvm/Type.h"
|
|
|
|
class LiveVarSet : public ValueSet
|
|
{
|
|
|
|
public:
|
|
|
|
// This function applies a machine instr to a live var set (accepts OutSet)
|
|
// and makes necessary changes to it (produces InSet).
|
|
|
|
void applyTranferFuncForMInst(const MachineInstr *const MInst);
|
|
|
|
};
|
|
|
|
|
|
#endif
|
|
|
|
|