mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
remove some dead code
lib/Analysis/IPA/InlineCost.cpp | 18 ------------------ lib/Analysis/RegionPass.cpp | 1 - lib/Analysis/TypeBasedAliasAnalysis.cpp | 1 - lib/Transforms/Scalar/LoopUnswitch.cpp | 21 --------------------- lib/Transforms/Utils/LCSSA.cpp | 2 -- lib/Transforms/Utils/LoopSimplify.cpp | 6 ------ utils/TableGen/AsmWriterEmitter.cpp | 13 ------------- utils/TableGen/DFAPacketizerEmitter.cpp | 7 ------- utils/TableGen/IntrinsicEmitter.cpp | 2 -- 9 files changed, 71 deletions(-) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206506 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -709,19 +709,6 @@ public:
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
bool operator()(const IAPrinter &RHS) {
|
||||
if (Conds.size() < RHS.Conds.size())
|
||||
return true;
|
||||
|
||||
unsigned Idx = 0;
|
||||
for (std::vector<std::string>::iterator
|
||||
I = Conds.begin(), E = Conds.end(); I != E; ++I)
|
||||
if (*I != RHS.Conds[Idx++])
|
||||
return *I < RHS.Conds[Idx++];
|
||||
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
} // end anonymous namespace
|
||||
|
@@ -139,7 +139,6 @@ public:
|
||||
//
|
||||
// Modify the DFA.
|
||||
//
|
||||
void initialize();
|
||||
void addState(State *);
|
||||
|
||||
//
|
||||
@@ -248,12 +247,6 @@ bool State::canAddInsnClass(unsigned InsnClass) const {
|
||||
}
|
||||
|
||||
|
||||
void DFA::initialize() {
|
||||
assert(currentState && "Missing current state");
|
||||
currentState->isInitial = true;
|
||||
}
|
||||
|
||||
|
||||
void DFA::addState(State *S) {
|
||||
assert(!states.count(S) && "State already exists");
|
||||
states.insert(S);
|
||||
|
@@ -45,8 +45,6 @@ public:
|
||||
raw_ostream &OS);
|
||||
void EmitIntrinsicToOverloadTable(const std::vector<CodeGenIntrinsic> &Ints,
|
||||
raw_ostream &OS);
|
||||
void EmitVerifier(const std::vector<CodeGenIntrinsic> &Ints,
|
||||
raw_ostream &OS);
|
||||
void EmitGenerator(const std::vector<CodeGenIntrinsic> &Ints,
|
||||
raw_ostream &OS);
|
||||
void EmitAttributes(const std::vector<CodeGenIntrinsic> &Ints,
|
||||
|
Reference in New Issue
Block a user