mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-29 14:40:25 +00:00
* Removed extraneous #includes
* Fixed file headers to be consistent with the rest of LLVM * Other minor fixes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3277 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b91b31c12d
commit
179cdfb5c8
@ -1,8 +1,5 @@
|
|||||||
// $Id$ -*-c++-*-
|
//===-- llvm/CodeGen/InstForest.h ------------------------------*- C++ -*--===//
|
||||||
//***************************************************************************
|
//
|
||||||
// File:
|
|
||||||
// InstrForest.h
|
|
||||||
//
|
|
||||||
// Purpose:
|
// Purpose:
|
||||||
// Convert SSA graph to instruction trees for instruction selection.
|
// Convert SSA graph to instruction trees for instruction selection.
|
||||||
//
|
//
|
||||||
@ -17,9 +14,7 @@
|
|||||||
// (2) O and I are part of the same basic block, and
|
// (2) O and I are part of the same basic block, and
|
||||||
// (3) O has only a single use, viz., I.
|
// (3) O has only a single use, viz., I.
|
||||||
//
|
//
|
||||||
// History:
|
//===----------------------------------------------------------------------===//
|
||||||
// 6/28/01 - Vikram Adve - Created
|
|
||||||
//**************************************************************************/
|
|
||||||
|
|
||||||
#ifndef LLVM_CODEGEN_INSTRFOREST_H
|
#ifndef LLVM_CODEGEN_INSTRFOREST_H
|
||||||
#define LLVM_CODEGEN_INSTRFOREST_H
|
#define LLVM_CODEGEN_INSTRFOREST_H
|
||||||
|
@ -1,14 +1,8 @@
|
|||||||
// $Id$ -*-c++-*-
|
//===-- llvm/CodeGen/InstrSelection.h --------------------------*- C++ -*--===//
|
||||||
//***************************************************************************
|
//
|
||||||
// File:
|
// External interface to instruction selection.
|
||||||
// InstrSelection.h
|
//
|
||||||
//
|
//===----------------------------------------------------------------------===//
|
||||||
// Purpose:
|
|
||||||
// External interface to instruction selection.
|
|
||||||
//
|
|
||||||
// History:
|
|
||||||
// 7/02/01 - Vikram Adve - Created
|
|
||||||
//**************************************************************************/
|
|
||||||
|
|
||||||
#ifndef LLVM_CODEGEN_INSTR_SELECTION_H
|
#ifndef LLVM_CODEGEN_INSTR_SELECTION_H
|
||||||
#define LLVM_CODEGEN_INSTR_SELECTION_H
|
#define LLVM_CODEGEN_INSTR_SELECTION_H
|
||||||
@ -21,9 +15,9 @@ class InstructionNode;
|
|||||||
class TargetMachine;
|
class TargetMachine;
|
||||||
class Pass;
|
class Pass;
|
||||||
|
|
||||||
/************************* Required Functions *******************************
|
//===--------------------- Required Functions ---------------------------------
|
||||||
* Target-dependent functions that MUST be implemented for each target.
|
// Target-dependent functions that MUST be implemented for each target.
|
||||||
***************************************************************************/
|
//
|
||||||
|
|
||||||
const unsigned MAX_INSTR_PER_VMINSTR = 8;
|
const unsigned MAX_INSTR_PER_VMINSTR = 8;
|
||||||
|
|
||||||
|
@ -1,15 +1,9 @@
|
|||||||
// $Id$ -*-c++-*-
|
//===-- llvm/CodeGen/InstrSelectionSupport.h --------------------*- C++ -*-===//
|
||||||
//***************************************************************************
|
//
|
||||||
// File:
|
// Target-independent instruction selection code. See SparcInstrSelection.cpp
|
||||||
// InstrSelectionSupport.h
|
// for usage.
|
||||||
//
|
|
||||||
// Purpose:
|
|
||||||
// Target-independent instruction selection code.
|
|
||||||
// See SparcInstrSelection.cpp for usage.
|
|
||||||
//
|
//
|
||||||
// History:
|
//===----------------------------------------------------------------------===//
|
||||||
// 10/10/01 - Vikram Adve - Created
|
|
||||||
//**************************************************************************/
|
|
||||||
|
|
||||||
#ifndef LLVM_CODEGEN_INSTR_SELECTION_SUPPORT_H
|
#ifndef LLVM_CODEGEN_INSTR_SELECTION_SUPPORT_H
|
||||||
#define LLVM_CODEGEN_INSTR_SELECTION_SUPPORT_H
|
#define LLVM_CODEGEN_INSTR_SELECTION_SUPPORT_H
|
||||||
|
@ -1,29 +1,20 @@
|
|||||||
// $Id$ -*-c++-*-
|
//===-- llvm/CodeGen/MachineInstrAnnot.h ------------------------*- C++ -*-===//
|
||||||
//***************************************************************************
|
//
|
||||||
// File:
|
// Annotations used to pass information between code generation phases.
|
||||||
// MachineInstrAnnot.h
|
|
||||||
//
|
//
|
||||||
// Purpose:
|
//===----------------------------------------------------------------------===//
|
||||||
// Annotations used to pass information between code generation phases.
|
|
||||||
//
|
|
||||||
// History:
|
|
||||||
// 5/10/02 - Vikram Adve - Created
|
|
||||||
//**************************************************************************/
|
|
||||||
|
|
||||||
#ifndef MACHINE_INSTR_ANNOT_h
|
#ifndef MACHINE_INSTR_ANNOT_h
|
||||||
#define MACHINE_INSTR_ANNOT_h
|
#define MACHINE_INSTR_ANNOT_h
|
||||||
|
|
||||||
#include "llvm/Annotation.h"
|
#include "llvm/Annotation.h"
|
||||||
#include "llvm/CodeGen/MachineInstr.h"
|
#include "llvm/CodeGen/MachineInstr.h"
|
||||||
#include <vector>
|
|
||||||
|
|
||||||
class Value;
|
class Value;
|
||||||
class TmpInstruction;
|
class TmpInstruction;
|
||||||
class CallInst;
|
class CallInst;
|
||||||
|
|
||||||
|
|
||||||
class CallArgInfo {
|
class CallArgInfo {
|
||||||
private:
|
|
||||||
// Flag values for different argument passing methods
|
// Flag values for different argument passing methods
|
||||||
static const unsigned char IntArgReg = 0x1;
|
static const unsigned char IntArgReg = 0x1;
|
||||||
static const unsigned char FPArgReg = 0x2;
|
static const unsigned char FPArgReg = 0x2;
|
||||||
@ -60,9 +51,8 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
class CallArgsDescriptor: public Annotation { // Annotation for a MachineInstr
|
class CallArgsDescriptor: public Annotation { // Annotation for a MachineInstr
|
||||||
private:
|
|
||||||
static AnnotationID AID; // AnnotationID for this class
|
static AnnotationID AID; // AnnotationID for this class
|
||||||
std::vector<CallArgInfo> argInfoVec; // Descriptor for each argument
|
std::vector<CallArgInfo> argInfoVec; // Descriptor for each argument
|
||||||
const CallInst* callInstr; // The call instruction == result value
|
const CallInst* callInstr; // The call instruction == result value
|
||||||
const Value* funcPtr; // Pointer for indirect calls
|
const Value* funcPtr; // Pointer for indirect calls
|
||||||
TmpInstruction* retAddrReg; // Tmp value for return address reg.
|
TmpInstruction* retAddrReg; // Tmp value for return address reg.
|
||||||
|
@ -13,7 +13,6 @@
|
|||||||
#include "llvm/Analysis/LiveVar/FunctionLiveVarInfo.h" // FIXME: Remove when modularized better
|
#include "llvm/Analysis/LiveVar/FunctionLiveVarInfo.h" // FIXME: Remove when modularized better
|
||||||
#include "llvm/Target/TargetMachine.h"
|
#include "llvm/Target/TargetMachine.h"
|
||||||
#include "llvm/BasicBlock.h"
|
#include "llvm/BasicBlock.h"
|
||||||
#include "llvm/Instruction.h"
|
|
||||||
#include "Support/CommandLine.h"
|
#include "Support/CommandLine.h"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
using std::cerr;
|
using std::cerr;
|
||||||
|
@ -1,20 +1,15 @@
|
|||||||
/* -*-C++-*-
|
//===-- SchedGraph.h - Scheduling Graph --------------------------*- C++ -*--=//
|
||||||
****************************************************************************
|
//
|
||||||
* File:
|
// Purpose:
|
||||||
* SchedGraph.h
|
// Scheduling graph based on SSA graph plus extra dependence edges
|
||||||
*
|
// capturing dependences due to machine resources (machine registers,
|
||||||
* Purpose:
|
// CC registers, and any others).
|
||||||
* Scheduling graph based on SSA graph plus extra dependence edges
|
//
|
||||||
* capturing dependences due to machine resources (machine registers,
|
// Strategy:
|
||||||
* CC registers, and any others).
|
// This graph tries to leverage the SSA graph as much as possible,
|
||||||
*
|
// but captures the extra dependences through a common interface.
|
||||||
* Strategy:
|
//
|
||||||
* This graph tries to leverage the SSA graph as much as possible,
|
//===----------------------------------------------------------------------===//
|
||||||
* but captures the extra dependences through a common interface.
|
|
||||||
*
|
|
||||||
* History:
|
|
||||||
* 7/20/01 - Vikram Adve - Created
|
|
||||||
***************************************************************************/
|
|
||||||
|
|
||||||
#ifndef LLVM_CODEGEN_SCHEDGRAPH_H
|
#ifndef LLVM_CODEGEN_SCHEDGRAPH_H
|
||||||
#define LLVM_CODEGEN_SCHEDGRAPH_H
|
#define LLVM_CODEGEN_SCHEDGRAPH_H
|
||||||
|
@ -1,10 +1,4 @@
|
|||||||
// $Id$ -*-C++-*-
|
//===-- SchedPriorities.h - Encapsulate scheduling heuristics -------------===//
|
||||||
//***************************************************************************
|
|
||||||
// File:
|
|
||||||
// SchedPriorities.h
|
|
||||||
//
|
|
||||||
// Purpose:
|
|
||||||
// Encapsulate heuristics for instruction scheduling.
|
|
||||||
//
|
//
|
||||||
// Strategy:
|
// Strategy:
|
||||||
// Priority ordering rules:
|
// Priority ordering rules:
|
||||||
@ -13,10 +7,8 @@
|
|||||||
// (3) Instruction that has the maximum number of dependent instructions.
|
// (3) Instruction that has the maximum number of dependent instructions.
|
||||||
// Note that rules 2 and 3 are only used if issue conflicts prevent
|
// Note that rules 2 and 3 are only used if issue conflicts prevent
|
||||||
// choosing a higher priority instruction by rule 1.
|
// choosing a higher priority instruction by rule 1.
|
||||||
//
|
//
|
||||||
// History:
|
//===----------------------------------------------------------------------===//
|
||||||
// 7/30/01 - Vikram Adve - Created
|
|
||||||
//**************************************************************************/
|
|
||||||
|
|
||||||
#include "SchedPriorities.h"
|
#include "SchedPriorities.h"
|
||||||
#include "llvm/Analysis/LiveVar/FunctionLiveVarInfo.h"
|
#include "llvm/Analysis/LiveVar/FunctionLiveVarInfo.h"
|
||||||
|
@ -1,10 +1,4 @@
|
|||||||
// -*-C++-*-
|
//===-- SchedPriorities.h - Encapsulate scheduling heuristics --*- C++ -*--===//
|
||||||
//***************************************************************************
|
|
||||||
// File:
|
|
||||||
// SchedPriorities.h
|
|
||||||
//
|
|
||||||
// Purpose:
|
|
||||||
// Encapsulate heuristics for instruction scheduling.
|
|
||||||
//
|
//
|
||||||
// Strategy:
|
// Strategy:
|
||||||
// Priority ordering rules:
|
// Priority ordering rules:
|
||||||
@ -13,10 +7,8 @@
|
|||||||
// (3) Instruction that has the maximum number of dependent instructions.
|
// (3) Instruction that has the maximum number of dependent instructions.
|
||||||
// Note that rules 2 and 3 are only used if issue conflicts prevent
|
// Note that rules 2 and 3 are only used if issue conflicts prevent
|
||||||
// choosing a higher priority instruction by rule 1.
|
// choosing a higher priority instruction by rule 1.
|
||||||
//
|
//
|
||||||
// History:
|
//===----------------------------------------------------------------------===//
|
||||||
// 7/30/01 - Vikram Adve - Created
|
|
||||||
//**************************************************************************/
|
|
||||||
|
|
||||||
#ifndef LLVM_CODEGEN_SCHEDPRIORITIES_H
|
#ifndef LLVM_CODEGEN_SCHEDPRIORITIES_H
|
||||||
#define LLVM_CODEGEN_SCHEDPRIORITIES_H
|
#define LLVM_CODEGEN_SCHEDPRIORITIES_H
|
||||||
@ -26,7 +18,7 @@
|
|||||||
#include "llvm/Target/MachineSchedInfo.h"
|
#include "llvm/Target/MachineSchedInfo.h"
|
||||||
#include <list>
|
#include <list>
|
||||||
#include <Support/hash_set>
|
#include <Support/hash_set>
|
||||||
#include <iostream>
|
|
||||||
class Function;
|
class Function;
|
||||||
class MachineInstr;
|
class MachineInstr;
|
||||||
class SchedulingManager;
|
class SchedulingManager;
|
||||||
|
@ -1,13 +1,8 @@
|
|||||||
//***************************************************************************
|
//===-- PhyRegAlloc.cpp ---------------------------------------------------===//
|
||||||
// File:
|
|
||||||
// PhyRegAlloc.cpp
|
|
||||||
//
|
//
|
||||||
// Purpose:
|
// Register allocation for LLVM.
|
||||||
// Register allocation for LLVM.
|
//
|
||||||
//
|
//===----------------------------------------------------------------------===//
|
||||||
// History:
|
|
||||||
// 9/10/01 - Ruchira Sasanka - created.
|
|
||||||
//**************************************************************************/
|
|
||||||
|
|
||||||
#include "llvm/CodeGen/RegisterAllocation.h"
|
#include "llvm/CodeGen/RegisterAllocation.h"
|
||||||
#include "llvm/CodeGen/PhyRegAlloc.h"
|
#include "llvm/CodeGen/PhyRegAlloc.h"
|
||||||
|
@ -1,22 +1,14 @@
|
|||||||
// $Id$ -*-c++-*-
|
//===-- MachineFrameInfo.cpp-----------------------------------------------===//
|
||||||
//***************************************************************************
|
|
||||||
// File:
|
|
||||||
// MachineFrameInfo.cpp
|
|
||||||
//
|
//
|
||||||
// Purpose:
|
// Interface to layout of stack frame on target machine. Most functions of
|
||||||
// Interface to layout of stack frame on target machine.
|
// class MachineFrameInfo have to be machine-specific so there is little code
|
||||||
// Most functions of class MachineFrameInfo have to be machine-specific
|
// here.
|
||||||
// so there is little code here.
|
|
||||||
//
|
//
|
||||||
// History:
|
//===----------------------------------------------------------------------===//
|
||||||
// 4/17/02 - Vikram Adve - Created
|
|
||||||
//**************************************************************************/
|
|
||||||
|
|
||||||
|
|
||||||
#include "llvm/Target/MachineFrameInfo.h"
|
#include "llvm/Target/MachineFrameInfo.h"
|
||||||
#include "llvm/CodeGen/MachineCodeForMethod.h"
|
#include "llvm/CodeGen/MachineCodeForMethod.h"
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
MachineFrameInfo::getIncomingArgOffset(MachineCodeForMethod& mcInfo,
|
MachineFrameInfo::getIncomingArgOffset(MachineCodeForMethod& mcInfo,
|
||||||
unsigned argNum) const
|
unsigned argNum) const
|
||||||
|
@ -13,7 +13,6 @@
|
|||||||
#include "llvm/Analysis/LiveVar/FunctionLiveVarInfo.h" // FIXME: Remove when modularized better
|
#include "llvm/Analysis/LiveVar/FunctionLiveVarInfo.h" // FIXME: Remove when modularized better
|
||||||
#include "llvm/Target/TargetMachine.h"
|
#include "llvm/Target/TargetMachine.h"
|
||||||
#include "llvm/BasicBlock.h"
|
#include "llvm/BasicBlock.h"
|
||||||
#include "llvm/Instruction.h"
|
|
||||||
#include "Support/CommandLine.h"
|
#include "Support/CommandLine.h"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
using std::cerr;
|
using std::cerr;
|
||||||
|
@ -1,20 +1,15 @@
|
|||||||
/* -*-C++-*-
|
//===-- SchedGraph.h - Scheduling Graph --------------------------*- C++ -*--=//
|
||||||
****************************************************************************
|
//
|
||||||
* File:
|
// Purpose:
|
||||||
* SchedGraph.h
|
// Scheduling graph based on SSA graph plus extra dependence edges
|
||||||
*
|
// capturing dependences due to machine resources (machine registers,
|
||||||
* Purpose:
|
// CC registers, and any others).
|
||||||
* Scheduling graph based on SSA graph plus extra dependence edges
|
//
|
||||||
* capturing dependences due to machine resources (machine registers,
|
// Strategy:
|
||||||
* CC registers, and any others).
|
// This graph tries to leverage the SSA graph as much as possible,
|
||||||
*
|
// but captures the extra dependences through a common interface.
|
||||||
* Strategy:
|
//
|
||||||
* This graph tries to leverage the SSA graph as much as possible,
|
//===----------------------------------------------------------------------===//
|
||||||
* but captures the extra dependences through a common interface.
|
|
||||||
*
|
|
||||||
* History:
|
|
||||||
* 7/20/01 - Vikram Adve - Created
|
|
||||||
***************************************************************************/
|
|
||||||
|
|
||||||
#ifndef LLVM_CODEGEN_SCHEDGRAPH_H
|
#ifndef LLVM_CODEGEN_SCHEDGRAPH_H
|
||||||
#define LLVM_CODEGEN_SCHEDGRAPH_H
|
#define LLVM_CODEGEN_SCHEDGRAPH_H
|
||||||
|
@ -1,10 +1,4 @@
|
|||||||
// $Id$ -*-C++-*-
|
//===-- SchedPriorities.h - Encapsulate scheduling heuristics -------------===//
|
||||||
//***************************************************************************
|
|
||||||
// File:
|
|
||||||
// SchedPriorities.h
|
|
||||||
//
|
|
||||||
// Purpose:
|
|
||||||
// Encapsulate heuristics for instruction scheduling.
|
|
||||||
//
|
//
|
||||||
// Strategy:
|
// Strategy:
|
||||||
// Priority ordering rules:
|
// Priority ordering rules:
|
||||||
@ -13,10 +7,8 @@
|
|||||||
// (3) Instruction that has the maximum number of dependent instructions.
|
// (3) Instruction that has the maximum number of dependent instructions.
|
||||||
// Note that rules 2 and 3 are only used if issue conflicts prevent
|
// Note that rules 2 and 3 are only used if issue conflicts prevent
|
||||||
// choosing a higher priority instruction by rule 1.
|
// choosing a higher priority instruction by rule 1.
|
||||||
//
|
//
|
||||||
// History:
|
//===----------------------------------------------------------------------===//
|
||||||
// 7/30/01 - Vikram Adve - Created
|
|
||||||
//**************************************************************************/
|
|
||||||
|
|
||||||
#include "SchedPriorities.h"
|
#include "SchedPriorities.h"
|
||||||
#include "llvm/Analysis/LiveVar/FunctionLiveVarInfo.h"
|
#include "llvm/Analysis/LiveVar/FunctionLiveVarInfo.h"
|
||||||
|
@ -1,10 +1,4 @@
|
|||||||
// -*-C++-*-
|
//===-- SchedPriorities.h - Encapsulate scheduling heuristics --*- C++ -*--===//
|
||||||
//***************************************************************************
|
|
||||||
// File:
|
|
||||||
// SchedPriorities.h
|
|
||||||
//
|
|
||||||
// Purpose:
|
|
||||||
// Encapsulate heuristics for instruction scheduling.
|
|
||||||
//
|
//
|
||||||
// Strategy:
|
// Strategy:
|
||||||
// Priority ordering rules:
|
// Priority ordering rules:
|
||||||
@ -13,10 +7,8 @@
|
|||||||
// (3) Instruction that has the maximum number of dependent instructions.
|
// (3) Instruction that has the maximum number of dependent instructions.
|
||||||
// Note that rules 2 and 3 are only used if issue conflicts prevent
|
// Note that rules 2 and 3 are only used if issue conflicts prevent
|
||||||
// choosing a higher priority instruction by rule 1.
|
// choosing a higher priority instruction by rule 1.
|
||||||
//
|
//
|
||||||
// History:
|
//===----------------------------------------------------------------------===//
|
||||||
// 7/30/01 - Vikram Adve - Created
|
|
||||||
//**************************************************************************/
|
|
||||||
|
|
||||||
#ifndef LLVM_CODEGEN_SCHEDPRIORITIES_H
|
#ifndef LLVM_CODEGEN_SCHEDPRIORITIES_H
|
||||||
#define LLVM_CODEGEN_SCHEDPRIORITIES_H
|
#define LLVM_CODEGEN_SCHEDPRIORITIES_H
|
||||||
@ -26,7 +18,7 @@
|
|||||||
#include "llvm/Target/MachineSchedInfo.h"
|
#include "llvm/Target/MachineSchedInfo.h"
|
||||||
#include <list>
|
#include <list>
|
||||||
#include <Support/hash_set>
|
#include <Support/hash_set>
|
||||||
#include <iostream>
|
|
||||||
class Function;
|
class Function;
|
||||||
class MachineInstr;
|
class MachineInstr;
|
||||||
class SchedulingManager;
|
class SchedulingManager;
|
||||||
|
@ -1,29 +1,20 @@
|
|||||||
// $Id$ -*-c++-*-
|
//===-- llvm/CodeGen/MachineInstrAnnot.h ------------------------*- C++ -*-===//
|
||||||
//***************************************************************************
|
//
|
||||||
// File:
|
// Annotations used to pass information between code generation phases.
|
||||||
// MachineInstrAnnot.h
|
|
||||||
//
|
//
|
||||||
// Purpose:
|
//===----------------------------------------------------------------------===//
|
||||||
// Annotations used to pass information between code generation phases.
|
|
||||||
//
|
|
||||||
// History:
|
|
||||||
// 5/10/02 - Vikram Adve - Created
|
|
||||||
//**************************************************************************/
|
|
||||||
|
|
||||||
#ifndef MACHINE_INSTR_ANNOT_h
|
#ifndef MACHINE_INSTR_ANNOT_h
|
||||||
#define MACHINE_INSTR_ANNOT_h
|
#define MACHINE_INSTR_ANNOT_h
|
||||||
|
|
||||||
#include "llvm/Annotation.h"
|
#include "llvm/Annotation.h"
|
||||||
#include "llvm/CodeGen/MachineInstr.h"
|
#include "llvm/CodeGen/MachineInstr.h"
|
||||||
#include <vector>
|
|
||||||
|
|
||||||
class Value;
|
class Value;
|
||||||
class TmpInstruction;
|
class TmpInstruction;
|
||||||
class CallInst;
|
class CallInst;
|
||||||
|
|
||||||
|
|
||||||
class CallArgInfo {
|
class CallArgInfo {
|
||||||
private:
|
|
||||||
// Flag values for different argument passing methods
|
// Flag values for different argument passing methods
|
||||||
static const unsigned char IntArgReg = 0x1;
|
static const unsigned char IntArgReg = 0x1;
|
||||||
static const unsigned char FPArgReg = 0x2;
|
static const unsigned char FPArgReg = 0x2;
|
||||||
@ -60,9 +51,8 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
class CallArgsDescriptor: public Annotation { // Annotation for a MachineInstr
|
class CallArgsDescriptor: public Annotation { // Annotation for a MachineInstr
|
||||||
private:
|
|
||||||
static AnnotationID AID; // AnnotationID for this class
|
static AnnotationID AID; // AnnotationID for this class
|
||||||
std::vector<CallArgInfo> argInfoVec; // Descriptor for each argument
|
std::vector<CallArgInfo> argInfoVec; // Descriptor for each argument
|
||||||
const CallInst* callInstr; // The call instruction == result value
|
const CallInst* callInstr; // The call instruction == result value
|
||||||
const Value* funcPtr; // Pointer for indirect calls
|
const Value* funcPtr; // Pointer for indirect calls
|
||||||
TmpInstruction* retAddrReg; // Tmp value for return address reg.
|
TmpInstruction* retAddrReg; // Tmp value for return address reg.
|
||||||
|
@ -1,13 +1,8 @@
|
|||||||
//***************************************************************************
|
//===-- PhyRegAlloc.cpp ---------------------------------------------------===//
|
||||||
// File:
|
|
||||||
// PhyRegAlloc.cpp
|
|
||||||
//
|
//
|
||||||
// Purpose:
|
// Register allocation for LLVM.
|
||||||
// Register allocation for LLVM.
|
//
|
||||||
//
|
//===----------------------------------------------------------------------===//
|
||||||
// History:
|
|
||||||
// 9/10/01 - Ruchira Sasanka - created.
|
|
||||||
//**************************************************************************/
|
|
||||||
|
|
||||||
#include "llvm/CodeGen/RegisterAllocation.h"
|
#include "llvm/CodeGen/RegisterAllocation.h"
|
||||||
#include "llvm/CodeGen/PhyRegAlloc.h"
|
#include "llvm/CodeGen/PhyRegAlloc.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user