diff options
| author | Dan Gohman <gohman@apple.com> | 2008-12-03 18:15:48 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2008-12-03 18:15:48 +0000 |
| commit | 69cc2cbbff5232ac55a8387856b17c148e7663dd (patch) | |
| tree | 0ffe280ade3a93d429a948ad52dc3b3a9b3dcf34 /llvm/utils/TableGen | |
| parent | 78407ac8e5cff3ed29609402c811df44651a900a (diff) | |
| download | bcm5719-llvm-69cc2cbbff5232ac55a8387856b17c148e7663dd.tar.gz bcm5719-llvm-69cc2cbbff5232ac55a8387856b17c148e7663dd.zip | |
Rename isSimpleLoad to canFoldAsLoad, to better reflect its meaning.
llvm-svn: 60487
Diffstat (limited to 'llvm/utils/TableGen')
| -rw-r--r-- | llvm/utils/TableGen/CodeGenInstruction.cpp | 2 | ||||
| -rw-r--r-- | llvm/utils/TableGen/CodeGenInstruction.h | 2 | ||||
| -rw-r--r-- | llvm/utils/TableGen/InstrInfoEmitter.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/llvm/utils/TableGen/CodeGenInstruction.cpp b/llvm/utils/TableGen/CodeGenInstruction.cpp index a8f747647dc..185db01418b 100644 --- a/llvm/utils/TableGen/CodeGenInstruction.cpp +++ b/llvm/utils/TableGen/CodeGenInstruction.cpp @@ -84,7 +84,7 @@ CodeGenInstruction::CodeGenInstruction(Record *R, const std::string &AsmStr) isIndirectBranch = R->getValueAsBit("isIndirectBranch"); isBarrier = R->getValueAsBit("isBarrier"); isCall = R->getValueAsBit("isCall"); - isSimpleLoad = R->getValueAsBit("isSimpleLoad"); + canFoldAsLoad = R->getValueAsBit("canFoldAsLoad"); mayLoad = R->getValueAsBit("mayLoad"); mayStore = R->getValueAsBit("mayStore"); bool isTwoAddress = R->getValueAsBit("isTwoAddress"); diff --git a/llvm/utils/TableGen/CodeGenInstruction.h b/llvm/utils/TableGen/CodeGenInstruction.h index 0727e38c538..f4afd5e45ba 100644 --- a/llvm/utils/TableGen/CodeGenInstruction.h +++ b/llvm/utils/TableGen/CodeGenInstruction.h @@ -89,7 +89,7 @@ namespace llvm { bool isIndirectBranch; bool isBarrier; bool isCall; - bool isSimpleLoad; + bool canFoldAsLoad; bool mayLoad, mayStore; bool isPredicable; bool isConvertibleToThreeAddress; diff --git a/llvm/utils/TableGen/InstrInfoEmitter.cpp b/llvm/utils/TableGen/InstrInfoEmitter.cpp index 705901f91df..6201690b10e 100644 --- a/llvm/utils/TableGen/InstrInfoEmitter.cpp +++ b/llvm/utils/TableGen/InstrInfoEmitter.cpp @@ -262,7 +262,7 @@ void InstrInfoEmitter::emitRecord(const CodeGenInstruction &Inst, unsigned Num, if (Inst.isBarrier) OS << "|(1<<TID::Barrier)"; if (Inst.hasDelaySlot) OS << "|(1<<TID::DelaySlot)"; if (Inst.isCall) OS << "|(1<<TID::Call)"; - if (Inst.isSimpleLoad) OS << "|(1<<TID::SimpleLoad)"; + if (Inst.canFoldAsLoad) OS << "|(1<<TID::FoldableAsLoad)"; if (Inst.mayLoad) OS << "|(1<<TID::MayLoad)"; if (Inst.mayStore) OS << "|(1<<TID::MayStore)"; if (Inst.isPredicable) OS << "|(1<<TID::Predicable)"; |

