2009-11-04 07:52:08 +08:00
|
|
|
//===-- SlotIndexes.cpp - Slot Indexes Pass ------------------------------===//
|
|
|
|
//
|
2019-01-19 16:50:56 +08:00
|
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2009-11-04 07:52:08 +08:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#include "llvm/CodeGen/SlotIndexes.h"
|
2011-03-05 02:08:29 +08:00
|
|
|
#include "llvm/ADT/Statistic.h"
|
2009-11-04 07:52:08 +08:00
|
|
|
#include "llvm/CodeGen/MachineFunction.h"
|
2018-04-30 22:59:11 +08:00
|
|
|
#include "llvm/Config/llvm-config.h"
|
Sink all InitializePasses.h includes
This file lists every pass in LLVM, and is included by Pass.h, which is
very popular. Every time we add, remove, or rename a pass in LLVM, it
caused lots of recompilation.
I found this fact by looking at this table, which is sorted by the
number of times a file was changed over the last 100,000 git commits
multiplied by the number of object files that depend on it in the
current checkout:
recompiles touches affected_files header
342380 95 3604 llvm/include/llvm/ADT/STLExtras.h
314730 234 1345 llvm/include/llvm/InitializePasses.h
307036 118 2602 llvm/include/llvm/ADT/APInt.h
213049 59 3611 llvm/include/llvm/Support/MathExtras.h
170422 47 3626 llvm/include/llvm/Support/Compiler.h
162225 45 3605 llvm/include/llvm/ADT/Optional.h
158319 63 2513 llvm/include/llvm/ADT/Triple.h
140322 39 3598 llvm/include/llvm/ADT/StringRef.h
137647 59 2333 llvm/include/llvm/Support/Error.h
131619 73 1803 llvm/include/llvm/Support/FileSystem.h
Before this change, touching InitializePasses.h would cause 1345 files
to recompile. After this change, touching it only causes 550 compiles in
an incremental rebuild.
Reviewers: bkramer, asbirlea, bollu, jdoerfert
Differential Revision: https://reviews.llvm.org/D70211
2019-11-14 05:15:01 +08:00
|
|
|
#include "llvm/InitializePasses.h"
|
2009-11-04 07:52:08 +08:00
|
|
|
#include "llvm/Support/Debug.h"
|
|
|
|
#include "llvm/Support/raw_ostream.h"
|
|
|
|
|
|
|
|
using namespace llvm;
|
|
|
|
|
2014-04-22 10:02:50 +08:00
|
|
|
#define DEBUG_TYPE "slotindexes"
|
|
|
|
|
2009-11-04 07:52:08 +08:00
|
|
|
char SlotIndexes::ID = 0;
|
Sink all InitializePasses.h includes
This file lists every pass in LLVM, and is included by Pass.h, which is
very popular. Every time we add, remove, or rename a pass in LLVM, it
caused lots of recompilation.
I found this fact by looking at this table, which is sorted by the
number of times a file was changed over the last 100,000 git commits
multiplied by the number of object files that depend on it in the
current checkout:
recompiles touches affected_files header
342380 95 3604 llvm/include/llvm/ADT/STLExtras.h
314730 234 1345 llvm/include/llvm/InitializePasses.h
307036 118 2602 llvm/include/llvm/ADT/APInt.h
213049 59 3611 llvm/include/llvm/Support/MathExtras.h
170422 47 3626 llvm/include/llvm/Support/Compiler.h
162225 45 3605 llvm/include/llvm/ADT/Optional.h
158319 63 2513 llvm/include/llvm/ADT/Triple.h
140322 39 3598 llvm/include/llvm/ADT/StringRef.h
137647 59 2333 llvm/include/llvm/Support/Error.h
131619 73 1803 llvm/include/llvm/Support/FileSystem.h
Before this change, touching InitializePasses.h would cause 1345 files
to recompile. After this change, touching it only causes 550 compiles in
an incremental rebuild.
Reviewers: bkramer, asbirlea, bollu, jdoerfert
Differential Revision: https://reviews.llvm.org/D70211
2019-11-14 05:15:01 +08:00
|
|
|
|
|
|
|
SlotIndexes::SlotIndexes() : MachineFunctionPass(ID), mf(nullptr) {
|
|
|
|
initializeSlotIndexesPass(*PassRegistry::getPassRegistry());
|
|
|
|
}
|
|
|
|
|
|
|
|
SlotIndexes::~SlotIndexes() {
|
|
|
|
// The indexList's nodes are all allocated in the BumpPtrAllocator.
|
|
|
|
indexList.clearAndLeakNodesUnsafely();
|
|
|
|
}
|
|
|
|
|
2017-05-26 05:26:32 +08:00
|
|
|
INITIALIZE_PASS(SlotIndexes, DEBUG_TYPE,
|
2010-10-08 06:25:06 +08:00
|
|
|
"Slot index numbering", false, false)
|
2009-11-04 07:52:08 +08:00
|
|
|
|
2011-03-05 03:43:38 +08:00
|
|
|
STATISTIC(NumLocalRenum, "Number of local renumberings");
|
2011-03-05 02:08:29 +08:00
|
|
|
|
2009-11-04 07:52:08 +08:00
|
|
|
void SlotIndexes::getAnalysisUsage(AnalysisUsage &au) const {
|
|
|
|
au.setPreservesAll();
|
|
|
|
MachineFunctionPass::getAnalysisUsage(au);
|
|
|
|
}
|
|
|
|
|
|
|
|
void SlotIndexes::releaseMemory() {
|
|
|
|
mi2iMap.clear();
|
2011-04-02 14:03:31 +08:00
|
|
|
MBBRanges.clear();
|
2009-11-04 07:52:08 +08:00
|
|
|
idx2MBBMap.clear();
|
2012-04-17 12:15:51 +08:00
|
|
|
indexList.clear();
|
|
|
|
ileAllocator.Reset();
|
2009-11-04 07:52:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
bool SlotIndexes::runOnMachineFunction(MachineFunction &fn) {
|
|
|
|
|
|
|
|
// Compute numbering as follows:
|
|
|
|
// Grab an iterator to the start of the index list.
|
|
|
|
// Iterate over all MBBs, and within each MBB all MIs, keeping the MI
|
|
|
|
// iterator in lock-step (though skipping it over indexes which have
|
|
|
|
// null pointers in the instruction field).
|
|
|
|
// At each iteration assert that the instruction pointed to in the index
|
2012-04-17 12:15:51 +08:00
|
|
|
// is the same one pointed to by the MI iterator. This
|
2009-11-04 07:52:08 +08:00
|
|
|
|
|
|
|
// FIXME: This can be simplified. The mi2iMap_, Idx2MBBMap, etc. should
|
|
|
|
// only need to be set up once after the first numbering is computed.
|
|
|
|
|
|
|
|
mf = &fn;
|
|
|
|
|
|
|
|
// Check that the list contains only the sentinal.
|
2012-04-17 12:15:51 +08:00
|
|
|
assert(indexList.empty() && "Index list non-empty at initial numbering?");
|
2009-11-04 07:52:08 +08:00
|
|
|
assert(idx2MBBMap.empty() &&
|
|
|
|
"Index -> MBB mapping non-empty at initial numbering?");
|
2011-04-02 14:03:31 +08:00
|
|
|
assert(MBBRanges.empty() &&
|
2009-11-04 07:52:08 +08:00
|
|
|
"MBB -> Index mapping non-empty at initial numbering?");
|
|
|
|
assert(mi2iMap.empty() &&
|
|
|
|
"MachineInstr -> Index mapping non-empty at initial numbering?");
|
|
|
|
|
|
|
|
unsigned index = 0;
|
2011-04-02 14:03:31 +08:00
|
|
|
MBBRanges.resize(mf->getNumBlockIDs());
|
|
|
|
idx2MBBMap.reserve(mf->size());
|
2009-11-04 07:52:08 +08:00
|
|
|
|
2014-04-14 08:51:57 +08:00
|
|
|
indexList.push_back(createEntry(nullptr, index));
|
2009-12-22 08:11:50 +08:00
|
|
|
|
2010-02-11 00:03:48 +08:00
|
|
|
// Iterate over the function.
|
2016-07-01 23:08:52 +08:00
|
|
|
for (MachineBasicBlock &MBB : *mf) {
|
2009-11-04 07:52:08 +08:00
|
|
|
// Insert an index for the MBB start.
|
2012-04-17 12:15:51 +08:00
|
|
|
SlotIndex blockStartIndex(&indexList.back(), SlotIndex::Slot_Block);
|
2009-11-04 07:52:08 +08:00
|
|
|
|
2016-07-01 23:08:52 +08:00
|
|
|
for (MachineInstr &MI : MBB) {
|
2018-05-09 10:42:00 +08:00
|
|
|
if (MI.isDebugInstr())
|
2010-01-23 06:38:21 +08:00
|
|
|
continue;
|
2009-11-04 07:52:08 +08:00
|
|
|
|
|
|
|
// Insert a store index for the instr.
|
2016-07-01 23:08:52 +08:00
|
|
|
indexList.push_back(createEntry(&MI, index += SlotIndex::InstrDist));
|
2009-11-04 07:52:08 +08:00
|
|
|
|
|
|
|
// Save this base index in the maps.
|
2016-07-01 23:08:52 +08:00
|
|
|
mi2iMap.insert(std::make_pair(
|
|
|
|
&MI, SlotIndex(&indexList.back(), SlotIndex::Slot_Block)));
|
2009-11-04 07:52:08 +08:00
|
|
|
}
|
|
|
|
|
2011-03-05 02:51:09 +08:00
|
|
|
// We insert one blank instructions between basic blocks.
|
2014-04-14 08:51:57 +08:00
|
|
|
indexList.push_back(createEntry(nullptr, index += SlotIndex::InstrDist));
|
2009-12-22 08:11:50 +08:00
|
|
|
|
2016-07-01 23:08:52 +08:00
|
|
|
MBBRanges[MBB.getNumber()].first = blockStartIndex;
|
|
|
|
MBBRanges[MBB.getNumber()].second = SlotIndex(&indexList.back(),
|
2011-11-14 04:45:27 +08:00
|
|
|
SlotIndex::Slot_Block);
|
2016-07-01 23:08:52 +08:00
|
|
|
idx2MBBMap.push_back(IdxMBBPair(blockStartIndex, &MBB));
|
2009-11-04 07:52:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// Sort the Idx2MBBMap
|
2019-06-23 21:16:03 +08:00
|
|
|
llvm::sort(idx2MBBMap, less_first());
|
2009-11-04 07:52:08 +08:00
|
|
|
|
2018-05-14 20:53:11 +08:00
|
|
|
LLVM_DEBUG(mf->print(dbgs(), this));
|
2009-11-04 07:52:08 +08:00
|
|
|
|
|
|
|
// And we're done!
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
[LiveIntervals] Replace handleMoveIntoBundle
Summary:
The current handleMoveIntoBundle implementation is unusable,
it attempts to access the slot indexes of bundled instructions.
It also leaves bundled instructions with slot indexes assigned.
Replace handleMoveIntoBundle this with a more explicit
handleMoveIntoNewBundle function which recalculates the live
intervals for all instructions moved into a newly formed bundle,
and removes slot indexes from these instructions.
Reviewers: arsenm, MaskRay, kariddi, tpr, qcolombet
Reviewed By: qcolombet
Subscribers: MatzeB, wdng, hiraditya, arphaman, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D77969
2020-04-16 18:57:55 +08:00
|
|
|
void SlotIndexes::removeMachineInstrFromMaps(MachineInstr &MI,
|
|
|
|
bool AllowBundled) {
|
|
|
|
assert((AllowBundled || !MI.isBundledWithPred()) &&
|
|
|
|
"Use removeSingleMachineInstrFromMaps() instead");
|
2017-03-17 08:41:33 +08:00
|
|
|
Mi2IndexMap::iterator mi2iItr = mi2iMap.find(&MI);
|
|
|
|
if (mi2iItr == mi2iMap.end())
|
|
|
|
return;
|
|
|
|
|
|
|
|
SlotIndex MIIndex = mi2iItr->second;
|
|
|
|
IndexListEntry &MIEntry = *MIIndex.listEntry();
|
|
|
|
assert(MIEntry.getInstr() == &MI && "Instruction indexes broken.");
|
|
|
|
mi2iMap.erase(mi2iItr);
|
|
|
|
// FIXME: Eventually we want to actually delete these indexes.
|
|
|
|
MIEntry.setInstr(nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
void SlotIndexes::removeSingleMachineInstrFromMaps(MachineInstr &MI) {
|
|
|
|
Mi2IndexMap::iterator mi2iItr = mi2iMap.find(&MI);
|
|
|
|
if (mi2iItr == mi2iMap.end())
|
|
|
|
return;
|
|
|
|
|
|
|
|
SlotIndex MIIndex = mi2iItr->second;
|
|
|
|
IndexListEntry &MIEntry = *MIIndex.listEntry();
|
|
|
|
assert(MIEntry.getInstr() == &MI && "Instruction indexes broken.");
|
|
|
|
mi2iMap.erase(mi2iItr);
|
|
|
|
|
|
|
|
// When removing the first instruction of a bundle update mapping to next
|
|
|
|
// instruction.
|
|
|
|
if (MI.isBundledWithSucc()) {
|
|
|
|
// Only the first instruction of a bundle should have an index assigned.
|
[LiveIntervals] Replace handleMoveIntoBundle
Summary:
The current handleMoveIntoBundle implementation is unusable,
it attempts to access the slot indexes of bundled instructions.
It also leaves bundled instructions with slot indexes assigned.
Replace handleMoveIntoBundle this with a more explicit
handleMoveIntoNewBundle function which recalculates the live
intervals for all instructions moved into a newly formed bundle,
and removes slot indexes from these instructions.
Reviewers: arsenm, MaskRay, kariddi, tpr, qcolombet
Reviewed By: qcolombet
Subscribers: MatzeB, wdng, hiraditya, arphaman, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D77969
2020-04-16 18:57:55 +08:00
|
|
|
assert(!MI.isBundledWithPred() && "Should be first bundle instruction");
|
2017-03-17 08:41:33 +08:00
|
|
|
|
|
|
|
MachineBasicBlock::instr_iterator Next = std::next(MI.getIterator());
|
|
|
|
MachineInstr &NextMI = *Next;
|
|
|
|
MIEntry.setInstr(&NextMI);
|
|
|
|
mi2iMap.insert(std::make_pair(&NextMI, MIIndex));
|
|
|
|
return;
|
|
|
|
} else {
|
|
|
|
// FIXME: Eventually we want to actually delete these indexes.
|
|
|
|
MIEntry.setInstr(nullptr);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-04-17 12:15:51 +08:00
|
|
|
// Renumber indexes locally after curItr was inserted, but failed to get a new
|
2011-03-05 03:43:38 +08:00
|
|
|
// index.
|
2012-04-17 12:15:51 +08:00
|
|
|
void SlotIndexes::renumberIndexes(IndexList::iterator curItr) {
|
2011-03-05 03:43:38 +08:00
|
|
|
// Number indexes with half the default spacing so we can catch up quickly.
|
|
|
|
const unsigned Space = SlotIndex::InstrDist/2;
|
2015-03-16 17:53:42 +08:00
|
|
|
static_assert((Space & 3) == 0, "InstrDist must be a multiple of 2*NUM");
|
2011-03-05 03:43:38 +08:00
|
|
|
|
2014-03-02 20:27:27 +08:00
|
|
|
IndexList::iterator startItr = std::prev(curItr);
|
2012-04-17 12:15:51 +08:00
|
|
|
unsigned index = startItr->getIndex();
|
2011-03-05 03:43:38 +08:00
|
|
|
do {
|
2012-04-17 12:15:51 +08:00
|
|
|
curItr->setIndex(index += Space);
|
|
|
|
++curItr;
|
2011-03-05 03:43:38 +08:00
|
|
|
// If the next index is bigger, we have caught up.
|
2012-04-17 12:15:51 +08:00
|
|
|
} while (curItr != indexList.end() && curItr->getIndex() <= index);
|
2011-03-05 03:43:38 +08:00
|
|
|
|
2018-05-14 20:53:11 +08:00
|
|
|
LLVM_DEBUG(dbgs() << "\n*** Renumbered SlotIndexes " << startItr->getIndex()
|
|
|
|
<< '-' << index << " ***\n");
|
2011-03-05 03:43:38 +08:00
|
|
|
++NumLocalRenum;
|
|
|
|
}
|
|
|
|
|
2013-02-20 14:46:41 +08:00
|
|
|
// Repair indexes after adding and removing instructions.
|
|
|
|
void SlotIndexes::repairIndexesInRange(MachineBasicBlock *MBB,
|
|
|
|
MachineBasicBlock::iterator Begin,
|
|
|
|
MachineBasicBlock::iterator End) {
|
2013-02-21 06:10:00 +08:00
|
|
|
// FIXME: Is this really necessary? The only caller repairIntervalsForRange()
|
|
|
|
// does the same thing.
|
|
|
|
// Find anchor points, which are at the beginning/end of blocks or at
|
|
|
|
// instructions that already have indexes.
|
2016-02-27 14:40:41 +08:00
|
|
|
while (Begin != MBB->begin() && !hasIndex(*Begin))
|
2013-02-21 06:10:00 +08:00
|
|
|
--Begin;
|
2016-02-27 14:40:41 +08:00
|
|
|
while (End != MBB->end() && !hasIndex(*End))
|
2013-02-21 06:10:00 +08:00
|
|
|
++End;
|
|
|
|
|
2013-02-20 14:46:41 +08:00
|
|
|
bool includeStart = (Begin == MBB->begin());
|
|
|
|
SlotIndex startIdx;
|
|
|
|
if (includeStart)
|
|
|
|
startIdx = getMBBStartIdx(MBB);
|
|
|
|
else
|
2016-02-27 14:40:41 +08:00
|
|
|
startIdx = getInstructionIndex(*Begin);
|
2013-02-20 14:46:41 +08:00
|
|
|
|
|
|
|
SlotIndex endIdx;
|
|
|
|
if (End == MBB->end())
|
|
|
|
endIdx = getMBBEndIdx(MBB);
|
|
|
|
else
|
2016-02-27 14:40:41 +08:00
|
|
|
endIdx = getInstructionIndex(*End);
|
2013-02-20 14:46:41 +08:00
|
|
|
|
|
|
|
// FIXME: Conceptually, this code is implementing an iterator on MBB that
|
|
|
|
// optionally includes an additional position prior to MBB->begin(), indicated
|
|
|
|
// by the includeStart flag. This is done so that we can iterate MIs in a MBB
|
|
|
|
// in parallel with SlotIndexes, but there should be a better way to do this.
|
2015-10-10 03:40:45 +08:00
|
|
|
IndexList::iterator ListB = startIdx.listEntry()->getIterator();
|
|
|
|
IndexList::iterator ListI = endIdx.listEntry()->getIterator();
|
2013-02-20 14:46:41 +08:00
|
|
|
MachineBasicBlock::iterator MBBI = End;
|
|
|
|
bool pastStart = false;
|
|
|
|
while (ListI != ListB || MBBI != Begin || (includeStart && !pastStart)) {
|
|
|
|
assert(ListI->getIndex() >= startIdx.getIndex() &&
|
|
|
|
(includeStart || !pastStart) &&
|
|
|
|
"Decremented past the beginning of region to repair.");
|
|
|
|
|
|
|
|
MachineInstr *SlotMI = ListI->getInstr();
|
2016-07-01 23:08:52 +08:00
|
|
|
MachineInstr *MI = (MBBI != MBB->end() && !pastStart) ? &*MBBI : nullptr;
|
2013-02-20 14:46:41 +08:00
|
|
|
bool MBBIAtBegin = MBBI == Begin && (!includeStart || pastStart);
|
|
|
|
|
|
|
|
if (SlotMI == MI && !MBBIAtBegin) {
|
|
|
|
--ListI;
|
|
|
|
if (MBBI != Begin)
|
|
|
|
--MBBI;
|
|
|
|
else
|
|
|
|
pastStart = true;
|
|
|
|
} else if (MI && mi2iMap.find(MI) == mi2iMap.end()) {
|
|
|
|
if (MBBI != Begin)
|
|
|
|
--MBBI;
|
|
|
|
else
|
|
|
|
pastStart = true;
|
|
|
|
} else {
|
|
|
|
--ListI;
|
|
|
|
if (SlotMI)
|
2016-02-27 14:40:41 +08:00
|
|
|
removeMachineInstrFromMaps(*SlotMI);
|
2013-02-20 14:46:41 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// In theory this could be combined with the previous loop, but it is tricky
|
|
|
|
// to update the IndexList while we are iterating it.
|
|
|
|
for (MachineBasicBlock::iterator I = End; I != Begin;) {
|
|
|
|
--I;
|
2016-07-01 23:08:52 +08:00
|
|
|
MachineInstr &MI = *I;
|
2018-05-09 10:42:00 +08:00
|
|
|
if (!MI.isDebugInstr() && mi2iMap.find(&MI) == mi2iMap.end())
|
2016-07-01 23:08:52 +08:00
|
|
|
insertMachineInstrInMaps(MI);
|
2013-02-20 14:46:41 +08:00
|
|
|
}
|
|
|
|
}
|
2011-03-05 03:43:38 +08:00
|
|
|
|
2017-10-15 22:32:27 +08:00
|
|
|
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
|
2016-01-30 04:50:44 +08:00
|
|
|
LLVM_DUMP_METHOD void SlotIndexes::dump() const {
|
2012-04-17 12:15:51 +08:00
|
|
|
for (IndexList::const_iterator itr = indexList.begin();
|
|
|
|
itr != indexList.end(); ++itr) {
|
2010-01-05 09:25:50 +08:00
|
|
|
dbgs() << itr->getIndex() << " ";
|
2009-11-04 07:52:08 +08:00
|
|
|
|
2014-04-14 08:51:57 +08:00
|
|
|
if (itr->getInstr()) {
|
2010-01-05 09:25:50 +08:00
|
|
|
dbgs() << *itr->getInstr();
|
2009-11-04 07:52:08 +08:00
|
|
|
} else {
|
2010-01-05 09:25:50 +08:00
|
|
|
dbgs() << "\n";
|
2009-11-04 07:52:08 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-04-02 14:03:31 +08:00
|
|
|
for (unsigned i = 0, e = MBBRanges.size(); i != e; ++i)
|
2017-12-05 01:18:51 +08:00
|
|
|
dbgs() << "%bb." << i << "\t[" << MBBRanges[i].first << ';'
|
2011-04-02 14:03:31 +08:00
|
|
|
<< MBBRanges[i].second << ")\n";
|
2009-11-04 07:52:08 +08:00
|
|
|
}
|
2012-09-07 03:06:06 +08:00
|
|
|
#endif
|
2009-11-04 07:52:08 +08:00
|
|
|
|
|
|
|
// Print a SlotIndex to a raw_ostream.
|
|
|
|
void SlotIndex::print(raw_ostream &os) const {
|
2011-02-04 04:29:41 +08:00
|
|
|
if (isValid())
|
2012-04-17 12:15:51 +08:00
|
|
|
os << listEntry()->getIndex() << "Berd"[getSlot()];
|
2011-02-04 04:29:41 +08:00
|
|
|
else
|
|
|
|
os << "invalid";
|
2009-11-04 07:52:08 +08:00
|
|
|
}
|
|
|
|
|
2017-10-15 22:32:27 +08:00
|
|
|
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
|
2009-11-04 07:52:08 +08:00
|
|
|
// Dump a SlotIndex to stderr.
|
2016-01-30 04:50:44 +08:00
|
|
|
LLVM_DUMP_METHOD void SlotIndex::dump() const {
|
2010-01-05 09:25:50 +08:00
|
|
|
print(dbgs());
|
|
|
|
dbgs() << "\n";
|
2009-11-04 07:52:08 +08:00
|
|
|
}
|
2012-09-07 03:06:06 +08:00
|
|
|
#endif
|
2009-11-04 07:52:08 +08:00
|
|
|
|