summaryrefslogtreecommitdiff
path: root/lib/CodeGen/DFAPacketizer.cpp
diff options
context:
space:
mode:
authorSebastian Pop <spop@codeaurora.org>2011-12-06 17:34:11 +0000
committerSebastian Pop <spop@codeaurora.org>2011-12-06 17:34:11 +0000
commitf6f77e90a18142e196cbc2a6ee87cdf7461b17df (patch)
tree8baf3abc8559e215c0d9f43688f9aa945c594640 /lib/CodeGen/DFAPacketizer.cpp
parent88c09143b6af07ed7b16381885a03c4b10886f96 (diff)
downloadllvm-f6f77e90a18142e196cbc2a6ee87cdf7461b17df.tar.gz
llvm-f6f77e90a18142e196cbc2a6ee87cdf7461b17df.tar.bz2
llvm-f6f77e90a18142e196cbc2a6ee87cdf7461b17df.tar.xz
add missing point at the end of sentences
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145943 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/DFAPacketizer.cpp')
-rw-r--r--lib/CodeGen/DFAPacketizer.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/CodeGen/DFAPacketizer.cpp b/lib/CodeGen/DFAPacketizer.cpp
index f80f16055b..c0e505f0d8 100644
--- a/lib/CodeGen/DFAPacketizer.cpp
+++ b/lib/CodeGen/DFAPacketizer.cpp
@@ -35,7 +35,7 @@ DFAPacketizer::DFAPacketizer(const InstrItineraryData *I, const int (*SIT)[2],
//
-// ReadTable - Read the DFA transition table and update CachedTable
+// ReadTable - Read the DFA transition table and update CachedTable.
//
// Format of the transition tables:
// DFAStateInputTable[][2] = pairs of <Input, Transition> for all valid
@@ -47,7 +47,7 @@ void DFAPacketizer::ReadTable(unsigned int state) {
unsigned ThisState = DFAStateEntryTable[state];
unsigned NextStateInTable = DFAStateEntryTable[state+1];
// Early exit in case CachedTable has already contains this
- // state's transitions
+ // state's transitions.
if (CachedTable.count(UnsignPair(state,
DFAStateInputTable[ThisState][0])))
return;
@@ -59,7 +59,7 @@ void DFAPacketizer::ReadTable(unsigned int state) {
// canReserveResources - Check if the resources occupied by a MCInstrDesc
-// are available in the current state
+// are available in the current state.
bool DFAPacketizer::canReserveResources(const llvm::MCInstrDesc* MID) {
unsigned InsnClass = MID->getSchedClass();
const llvm::InstrStage* IS = InstrItins->beginStage(InsnClass);
@@ -71,7 +71,7 @@ bool DFAPacketizer::canReserveResources(const llvm::MCInstrDesc* MID) {
// reserveResources - Reserve the resources occupied by a MCInstrDesc and
-// change the current state to reflect that change
+// change the current state to reflect that change.
void DFAPacketizer::reserveResources(const llvm::MCInstrDesc* MID) {
unsigned InsnClass = MID->getSchedClass();
const llvm::InstrStage* IS = InstrItins->beginStage(InsnClass);
@@ -84,14 +84,14 @@ void DFAPacketizer::reserveResources(const llvm::MCInstrDesc* MID) {
// canReserveResources - Check if the resources occupied by a machine
-// instruction are available in the current state
+// instruction are available in the current state.
bool DFAPacketizer::canReserveResources(llvm::MachineInstr* MI) {
const llvm::MCInstrDesc& MID = MI->getDesc();
return canReserveResources(&MID);
}
// reserveResources - Reserve the resources occupied by a machine
-// instruction and change the current state to reflect that change
+// instruction and change the current state to reflect that change.
void DFAPacketizer::reserveResources(llvm::MachineInstr* MI) {
const llvm::MCInstrDesc& MID = MI->getDesc();
reserveResources(&MID);