mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 23:32:27 +00:00
Remove unnecessary use of NonCopyable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7641 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dfd414ab77
commit
8043127860
@ -21,7 +21,6 @@
|
|||||||
#include "llvm/Support/CFG.h"
|
#include "llvm/Support/CFG.h"
|
||||||
#include "Support/TarjanSCCIterator.h"
|
#include "Support/TarjanSCCIterator.h"
|
||||||
#include "Support/Statistic.h"
|
#include "Support/Statistic.h"
|
||||||
#include "Support/NonCopyable.h"
|
|
||||||
#include "Support/STLExtras.h"
|
#include "Support/STLExtras.h"
|
||||||
#include "Support/hash_map"
|
#include "Support/hash_map"
|
||||||
#include "Support/hash_set"
|
#include "Support/hash_set"
|
||||||
@ -116,14 +115,14 @@ struct ModRefTable
|
|||||||
/// and all that use any node.
|
/// and all that use any node.
|
||||||
///--------------------------------------------------------------------------
|
///--------------------------------------------------------------------------
|
||||||
|
|
||||||
class ModRefInfoBuilder: public InstVisitor<ModRefInfoBuilder>,
|
class ModRefInfoBuilder : public InstVisitor<ModRefInfoBuilder> {
|
||||||
public NonCopyable
|
|
||||||
{
|
|
||||||
const DSGraph& funcGraph;
|
const DSGraph& funcGraph;
|
||||||
const FunctionModRefInfo& funcModRef;
|
const FunctionModRefInfo& funcModRef;
|
||||||
ModRefTable& modRefTable;
|
ModRefTable& modRefTable;
|
||||||
|
|
||||||
ModRefInfoBuilder(); // do not implement
|
ModRefInfoBuilder(); // DO NOT IMPLEMENT
|
||||||
|
ModRefInfoBuilder(const ModRefInfoBuilder&); // DO NOT IMPLEMENT
|
||||||
|
void operator=(const ModRefInfoBuilder&); // DO NOT IMPLEMENT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/*ctor*/ ModRefInfoBuilder(const DSGraph& _funcGraph,
|
/*ctor*/ ModRefInfoBuilder(const DSGraph& _funcGraph,
|
||||||
|
@ -45,7 +45,6 @@
|
|||||||
#include "llvm/DerivedTypes.h"
|
#include "llvm/DerivedTypes.h"
|
||||||
#include "llvm/Support/InstVisitor.h"
|
#include "llvm/Support/InstVisitor.h"
|
||||||
#include "llvm/Support/Cilkifier.h"
|
#include "llvm/Support/Cilkifier.h"
|
||||||
#include "Support/NonCopyable.h"
|
|
||||||
#include "Support/Statistic.h"
|
#include "Support/Statistic.h"
|
||||||
#include "Support/STLExtras.h"
|
#include "Support/STLExtras.h"
|
||||||
#include "Support/hash_set"
|
#include "Support/hash_set"
|
||||||
@ -280,9 +279,7 @@ void Cilkifier::visitCallInst(CallInst& CI)
|
|||||||
// useful parallelism.
|
// useful parallelism.
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
|
|
||||||
class FindParallelCalls: public InstVisitor<FindParallelCalls>,
|
class FindParallelCalls : public InstVisitor<FindParallelCalls> {
|
||||||
public NonCopyable
|
|
||||||
{
|
|
||||||
typedef hash_set<CallInst*> DependentsSet;
|
typedef hash_set<CallInst*> DependentsSet;
|
||||||
typedef DependentsSet::iterator Dependents_iterator;
|
typedef DependentsSet::iterator Dependents_iterator;
|
||||||
typedef DependentsSet::const_iterator Dependents_const_iterator;
|
typedef DependentsSet::const_iterator Dependents_const_iterator;
|
||||||
@ -296,6 +293,8 @@ class FindParallelCalls: public InstVisitor<FindParallelCalls>,
|
|||||||
CallInst* root,
|
CallInst* root,
|
||||||
DependentsSet& depsOfRoot);
|
DependentsSet& depsOfRoot);
|
||||||
|
|
||||||
|
FindParallelCalls(const FindParallelCalls &); // DO NOT IMPLEMENT
|
||||||
|
void operator=(const FindParallelCalls&); // DO NOT IMPLEMENT
|
||||||
public:
|
public:
|
||||||
std::vector<CallInst*> parallelCalls;
|
std::vector<CallInst*> parallelCalls;
|
||||||
|
|
||||||
|
@ -21,7 +21,6 @@
|
|||||||
#include "llvm/Support/CFG.h"
|
#include "llvm/Support/CFG.h"
|
||||||
#include "Support/TarjanSCCIterator.h"
|
#include "Support/TarjanSCCIterator.h"
|
||||||
#include "Support/Statistic.h"
|
#include "Support/Statistic.h"
|
||||||
#include "Support/NonCopyable.h"
|
|
||||||
#include "Support/STLExtras.h"
|
#include "Support/STLExtras.h"
|
||||||
#include "Support/hash_map"
|
#include "Support/hash_map"
|
||||||
#include "Support/hash_set"
|
#include "Support/hash_set"
|
||||||
@ -116,14 +115,14 @@ struct ModRefTable
|
|||||||
/// and all that use any node.
|
/// and all that use any node.
|
||||||
///--------------------------------------------------------------------------
|
///--------------------------------------------------------------------------
|
||||||
|
|
||||||
class ModRefInfoBuilder: public InstVisitor<ModRefInfoBuilder>,
|
class ModRefInfoBuilder : public InstVisitor<ModRefInfoBuilder> {
|
||||||
public NonCopyable
|
|
||||||
{
|
|
||||||
const DSGraph& funcGraph;
|
const DSGraph& funcGraph;
|
||||||
const FunctionModRefInfo& funcModRef;
|
const FunctionModRefInfo& funcModRef;
|
||||||
ModRefTable& modRefTable;
|
ModRefTable& modRefTable;
|
||||||
|
|
||||||
ModRefInfoBuilder(); // do not implement
|
ModRefInfoBuilder(); // DO NOT IMPLEMENT
|
||||||
|
ModRefInfoBuilder(const ModRefInfoBuilder&); // DO NOT IMPLEMENT
|
||||||
|
void operator=(const ModRefInfoBuilder&); // DO NOT IMPLEMENT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/*ctor*/ ModRefInfoBuilder(const DSGraph& _funcGraph,
|
/*ctor*/ ModRefInfoBuilder(const DSGraph& _funcGraph,
|
||||||
|
@ -45,7 +45,6 @@
|
|||||||
#include "llvm/DerivedTypes.h"
|
#include "llvm/DerivedTypes.h"
|
||||||
#include "llvm/Support/InstVisitor.h"
|
#include "llvm/Support/InstVisitor.h"
|
||||||
#include "llvm/Support/Cilkifier.h"
|
#include "llvm/Support/Cilkifier.h"
|
||||||
#include "Support/NonCopyable.h"
|
|
||||||
#include "Support/Statistic.h"
|
#include "Support/Statistic.h"
|
||||||
#include "Support/STLExtras.h"
|
#include "Support/STLExtras.h"
|
||||||
#include "Support/hash_set"
|
#include "Support/hash_set"
|
||||||
@ -280,9 +279,7 @@ void Cilkifier::visitCallInst(CallInst& CI)
|
|||||||
// useful parallelism.
|
// useful parallelism.
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
|
|
||||||
class FindParallelCalls: public InstVisitor<FindParallelCalls>,
|
class FindParallelCalls : public InstVisitor<FindParallelCalls> {
|
||||||
public NonCopyable
|
|
||||||
{
|
|
||||||
typedef hash_set<CallInst*> DependentsSet;
|
typedef hash_set<CallInst*> DependentsSet;
|
||||||
typedef DependentsSet::iterator Dependents_iterator;
|
typedef DependentsSet::iterator Dependents_iterator;
|
||||||
typedef DependentsSet::const_iterator Dependents_const_iterator;
|
typedef DependentsSet::const_iterator Dependents_const_iterator;
|
||||||
@ -296,6 +293,8 @@ class FindParallelCalls: public InstVisitor<FindParallelCalls>,
|
|||||||
CallInst* root,
|
CallInst* root,
|
||||||
DependentsSet& depsOfRoot);
|
DependentsSet& depsOfRoot);
|
||||||
|
|
||||||
|
FindParallelCalls(const FindParallelCalls &); // DO NOT IMPLEMENT
|
||||||
|
void operator=(const FindParallelCalls&); // DO NOT IMPLEMENT
|
||||||
public:
|
public:
|
||||||
std::vector<CallInst*> parallelCalls;
|
std::vector<CallInst*> parallelCalls;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user