mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Make a bunch of symbols private.
llvm-svn: 138025
This commit is contained in:
parent
c5a90f3683
commit
0d60a5573c
@ -390,6 +390,7 @@ void Loop::dump() const {
|
|||||||
// UnloopUpdater implementation
|
// UnloopUpdater implementation
|
||||||
//
|
//
|
||||||
|
|
||||||
|
namespace {
|
||||||
/// Find the new parent loop for all blocks within the "unloop" whose last
|
/// Find the new parent loop for all blocks within the "unloop" whose last
|
||||||
/// backedges has just been removed.
|
/// backedges has just been removed.
|
||||||
class UnloopUpdater {
|
class UnloopUpdater {
|
||||||
@ -421,6 +422,7 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
Loop *getNearestLoop(BasicBlock *BB, Loop *BBLoop);
|
Loop *getNearestLoop(BasicBlock *BB, Loop *BBLoop);
|
||||||
};
|
};
|
||||||
|
} // end anonymous namespace
|
||||||
|
|
||||||
/// updateBlockParents - Update the parent loop for all blocks that are directly
|
/// updateBlockParents - Update the parent loop for all blocks that are directly
|
||||||
/// contained within the original "unloop".
|
/// contained within the original "unloop".
|
||||||
|
@ -51,7 +51,7 @@ STATISTIC(NumGlobalSplits, "Number of split global live ranges");
|
|||||||
STATISTIC(NumLocalSplits, "Number of split local live ranges");
|
STATISTIC(NumLocalSplits, "Number of split local live ranges");
|
||||||
STATISTIC(NumEvicted, "Number of interferences evicted");
|
STATISTIC(NumEvicted, "Number of interferences evicted");
|
||||||
|
|
||||||
cl::opt<bool> CompactRegions("compact-regions", cl::init(true));
|
static cl::opt<bool> CompactRegions("compact-regions", cl::init(true));
|
||||||
|
|
||||||
static RegisterRegAlloc greedyRegAlloc("greedy", "greedy register allocator",
|
static RegisterRegAlloc greedyRegAlloc("greedy", "greedy register allocator",
|
||||||
createGreedyRegisterAllocator);
|
createGreedyRegisterAllocator);
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
using namespace llvm;
|
using namespace llvm;
|
||||||
|
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
cl::opt<bool> StressSchedOpt(
|
static cl::opt<bool> StressSchedOpt(
|
||||||
"stress-sched", cl::Hidden, cl::init(false),
|
"stress-sched", cl::Hidden, cl::init(false),
|
||||||
cl::desc("Stress test instruction scheduling"));
|
cl::desc("Stress test instruction scheduling"));
|
||||||
#endif
|
#endif
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
#include "llvm/Support/raw_ostream.h" // FIXME: for debug only. remove!
|
#include "llvm/Support/raw_ostream.h" // FIXME: for debug only. remove!
|
||||||
using namespace llvm;
|
using namespace llvm;
|
||||||
|
|
||||||
cl::opt<bool>
|
static cl::opt<bool>
|
||||||
VerifyARMPseudo("verify-arm-pseudo-expand", cl::Hidden,
|
VerifyARMPseudo("verify-arm-pseudo-expand", cl::Hidden,
|
||||||
cl::desc("Verify machine code after expanding ARM pseudos"));
|
cl::desc("Verify machine code after expanding ARM pseudos"));
|
||||||
|
|
||||||
|
@ -115,7 +115,7 @@ static bool LowerAtomicIntrinsic(IntrinsicInst *II) {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool LowerAtomicCmpXchgInst(AtomicCmpXchgInst *CXI) {
|
static bool LowerAtomicCmpXchgInst(AtomicCmpXchgInst *CXI) {
|
||||||
IRBuilder<> Builder(CXI->getParent(), CXI);
|
IRBuilder<> Builder(CXI->getParent(), CXI);
|
||||||
Value *Ptr = CXI->getPointerOperand();
|
Value *Ptr = CXI->getPointerOperand();
|
||||||
Value *Cmp = CXI->getCompareOperand();
|
Value *Cmp = CXI->getCompareOperand();
|
||||||
@ -131,7 +131,7 @@ bool LowerAtomicCmpXchgInst(AtomicCmpXchgInst *CXI) {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool LowerAtomicRMWInst(AtomicRMWInst *RMWI) {
|
static bool LowerAtomicRMWInst(AtomicRMWInst *RMWI) {
|
||||||
IRBuilder<> Builder(RMWI->getParent(), RMWI);
|
IRBuilder<> Builder(RMWI->getParent(), RMWI);
|
||||||
Value *Ptr = RMWI->getPointerOperand();
|
Value *Ptr = RMWI->getPointerOperand();
|
||||||
Value *Val = RMWI->getValOperand();
|
Value *Val = RMWI->getValOperand();
|
||||||
|
Loading…
Reference in New Issue
Block a user