diff options
| author | Chris Lattner <sabre@nondot.org> | 2001-12-03 22:26:30 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2001-12-03 22:26:30 +0000 |
| commit | 3462ae3ad7944394d0e9b82be222a43a26ca289a (patch) | |
| tree | f9ecc5677deccb6e178948795e6e268023d98a0c /llvm/lib/CodeGen/InstrSelection/InstrForest.cpp | |
| parent | bca18d7d96fd6d0df98019074e144f5b270d222c (diff) | |
| download | bcm5719-llvm-3462ae3ad7944394d0e9b82be222a43a26ca289a.tar.gz bcm5719-llvm-3462ae3ad7944394d0e9b82be222a43a26ca289a.zip | |
Rename ConstPoolVal -> Constant
Rename ConstPool* -> Constant*
Rename ConstPoolVals.h -> ConstantVals.h
llvm-svn: 1407
Diffstat (limited to 'llvm/lib/CodeGen/InstrSelection/InstrForest.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/InstrSelection/InstrForest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/InstrSelection/InstrForest.cpp b/llvm/lib/CodeGen/InstrSelection/InstrForest.cpp index e0f0219a73f..ce3e2c3a3f7 100644 --- a/llvm/lib/CodeGen/InstrSelection/InstrForest.cpp +++ b/llvm/lib/CodeGen/InstrSelection/InstrForest.cpp @@ -27,7 +27,7 @@ #include "llvm/iTerminators.h" #include "llvm/iMemory.h" #include "llvm/iPHINode.h" -#include "llvm/ConstPoolVals.h" +#include "llvm/ConstantVals.h" #include "llvm/BasicBlock.h" #include "llvm/CodeGen/MachineInstr.h" #include "Support/STLExtras.h" @@ -289,7 +289,7 @@ InstrForest::buildTreeForInstruction(Instruction *instr) && !instr->isTerminator(); if (includeAddressOperand || isa<Instruction>(operand) || - isa<ConstPoolVal>(operand) || isa<MethodArgument>(operand) || + isa<Constant>(operand) || isa<MethodArgument>(operand) || isa<GlobalVariable>(operand)) { // This operand is a data value @@ -318,7 +318,7 @@ InstrForest::buildTreeForInstruction(Instruction *instr) // Recursively create a treeNode for it. opTreeNode = buildTreeForInstruction((Instruction*)operand); } - else if (ConstPoolVal *CPV = dyn_cast<ConstPoolVal>(operand)) + else if (Constant *CPV = dyn_cast<Constant>(operand)) { // Create a leaf node for a constant opTreeNode = new ConstantNode(CPV); |

