mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 23:32:27 +00:00
More symbols that should be static.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182590 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a32218a7ec
commit
603100d3de
@ -17,13 +17,11 @@
|
|||||||
|
|
||||||
using namespace llvm;
|
using namespace llvm;
|
||||||
|
|
||||||
bool CompileForDebugging;
|
|
||||||
|
|
||||||
// -debug-compile - Command line option to inform opt and llc passes to
|
// -debug-compile - Command line option to inform opt and llc passes to
|
||||||
// compile for debugging
|
// compile for debugging
|
||||||
static cl::opt<bool, true>
|
static cl::opt<bool> CompileForDebugging("debug-compile",
|
||||||
Debug("debug-compile", cl::desc("Compile for debugging"), cl::Hidden,
|
cl::desc("Compile for debugging"),
|
||||||
cl::location(CompileForDebugging), cl::init(false));
|
cl::Hidden, cl::init(false));
|
||||||
|
|
||||||
void NVPTXMCAsmInfo::anchor() {}
|
void NVPTXMCAsmInfo::anchor() {}
|
||||||
|
|
||||||
|
@ -1362,8 +1362,8 @@ static bool SinkThenElseCodeToEnd(BranchInst *BI1) {
|
|||||||
///
|
///
|
||||||
/// \return The pointer to the value of the previous store if the store can be
|
/// \return The pointer to the value of the previous store if the store can be
|
||||||
/// hoisted into the predecessor block. 0 otherwise.
|
/// hoisted into the predecessor block. 0 otherwise.
|
||||||
Value *isSafeToSpeculateStore(Instruction *I, BasicBlock *BrBB,
|
static Value *isSafeToSpeculateStore(Instruction *I, BasicBlock *BrBB,
|
||||||
BasicBlock *StoreBB, BasicBlock *EndBB) {
|
BasicBlock *StoreBB, BasicBlock *EndBB) {
|
||||||
StoreInst *StoreToHoist = dyn_cast<StoreInst>(I);
|
StoreInst *StoreToHoist = dyn_cast<StoreInst>(I);
|
||||||
if (!StoreToHoist)
|
if (!StoreToHoist)
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user