mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-11-03 14:21:30 +00:00 
			
		
		
		
	git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1503 91177308-0d34-0410-b5e6-96231b3b80d8
		
			
				
	
	
		
			31 lines
		
	
	
		
			600 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			600 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 "llvm/Analysis/LiveVar/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
 | 
						|
 | 
						|
 |