aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineInstrBuilder.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-12-30 00:45:46 +0000
committerChris Lattner <sabre@nondot.org>2007-12-30 00:45:46 +0000
commit39697a83b5ebb857263fc8b9a83ea1834e9d7fe4 (patch)
treefc7ee3ddb254ad8abc2c3022b1e7abd7fe7ae4ae /include/llvm/CodeGen/MachineInstrBuilder.h
parent8019f41c0b7fda031d494e3900eada7d4e494772 (diff)
Shrinkify the machine operand creation method names.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45433 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineInstrBuilder.h')
-rw-r--r--include/llvm/CodeGen/MachineInstrBuilder.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/llvm/CodeGen/MachineInstrBuilder.h b/include/llvm/CodeGen/MachineInstrBuilder.h
index 39f241a54d..91c4ad9ac1 100644
--- a/include/llvm/CodeGen/MachineInstrBuilder.h
+++ b/include/llvm/CodeGen/MachineInstrBuilder.h
@@ -53,34 +53,34 @@ public:
}
const MachineInstrBuilder &addMBB(MachineBasicBlock *MBB) const {
- MI->addOperand(MachineOperand::CreateBasicBlock(MBB));
+ MI->addOperand(MachineOperand::CreateMBB(MBB));
return *this;
}
const MachineInstrBuilder &addFrameIndex(unsigned Idx) const {
- MI->addOperand(MachineOperand::CreateFrameIndex(Idx));
+ MI->addOperand(MachineOperand::CreateFI(Idx));
return *this;
}
const MachineInstrBuilder &addConstantPoolIndex(unsigned Idx,
int Offset = 0) const {
- MI->addOperand(MachineOperand::CreateConstantPoolIndex(Idx, Offset));
+ MI->addOperand(MachineOperand::CreateCPI(Idx, Offset));
return *this;
}
const MachineInstrBuilder &addJumpTableIndex(unsigned Idx) const {
- MI->addOperand(MachineOperand::CreateJumpTableIndex(Idx));
+ MI->addOperand(MachineOperand::CreateJTI(Idx));
return *this;
}
const MachineInstrBuilder &addGlobalAddress(GlobalValue *GV,
int Offset = 0) const {
- MI->addOperand(MachineOperand::CreateGlobalAddress(GV, Offset));
+ MI->addOperand(MachineOperand::CreateGA(GV, Offset));
return *this;
}
const MachineInstrBuilder &addExternalSymbol(const char *FnName) const{
- MI->addOperand(MachineOperand::CreateExternalSymbol(FnName, 0));
+ MI->addOperand(MachineOperand::CreateES(FnName, 0));
return *this;
}
};