mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-07-18 12:29:27 +00:00
Rename method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55853 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7f132122c8
commit
9c7216f984
@ -227,8 +227,10 @@ protected:
|
|||||||
|
|
||||||
unsigned createResultReg(const TargetRegisterClass *RC);
|
unsigned createResultReg(const TargetRegisterClass *RC);
|
||||||
|
|
||||||
virtual unsigned TargetSelectConstantPoolLoad(Constant* C,
|
/// TargetMaterializeConstant - Emit a constant in a register using
|
||||||
MachineConstantPool* MCP) {
|
/// target-specific logic, such as constant pool loads.
|
||||||
|
virtual unsigned TargetMaterializeConstant(Constant* C,
|
||||||
|
MachineConstantPool* MCP) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -61,7 +61,7 @@ private:
|
|||||||
|
|
||||||
bool X86SelectSelect(Instruction *I);
|
bool X86SelectSelect(Instruction *I);
|
||||||
|
|
||||||
unsigned TargetSelectConstantPoolLoad(Constant *C, MachineConstantPool* MCP);
|
unsigned TargetMaterializeConstant(Constant *C, MachineConstantPool* MCP);
|
||||||
};
|
};
|
||||||
|
|
||||||
/// X86SelectConstAddr - Select and emit code to materialize constant address.
|
/// X86SelectConstAddr - Select and emit code to materialize constant address.
|
||||||
@ -549,8 +549,8 @@ X86FastISel::TargetSelectInstruction(Instruction *I) {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned X86FastISel::TargetSelectConstantPoolLoad(Constant *C,
|
unsigned X86FastISel::TargetMaterializeConstant(Constant *C,
|
||||||
MachineConstantPool* MCP) {
|
MachineConstantPool* MCP) {
|
||||||
unsigned CPLoad = getRegForValue(C);
|
unsigned CPLoad = getRegForValue(C);
|
||||||
if (CPLoad != 0)
|
if (CPLoad != 0)
|
||||||
return CPLoad;
|
return CPLoad;
|
||||||
|
Loading…
Reference in New Issue
Block a user