Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Debug/TimeProfiling.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ class TimeTrace


struct Node {
USE_ALLOCATOR(Node)
const char* name;
Lib::Stack<std::unique_ptr<Node>> children;
Measurements measurements;
Expand Down
2 changes: 0 additions & 2 deletions Indexing/AcyclicityIndex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ namespace Indexing
subterms(subterms)
{}

USE_ALLOCATOR(AcyclicityIndex::IndexEntry);

Literal* lit;
Clause* clause;
Expand Down Expand Up @@ -173,7 +172,6 @@ namespace Indexing
return new CycleSearchTreeNode(t, l, c, n, n ? n->depth : 0, substIndex, true);
}

USE_ALLOCATOR(AcyclicityIndex::CycleSearchTreeNode);

TypedTermList term;
Literal *lit;
Expand Down
1 change: 0 additions & 1 deletion Indexing/AcyclicityIndex.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ struct CycleQueryResult {
clausesTheta(c)
{}

USE_ALLOCATOR(CycleQueryResult);

unsigned totalLengthClauses();

Expand Down
3 changes: 0 additions & 3 deletions Indexing/ClauseCodeTree.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ class ClauseCodeTree : public CodeTree
void init(CodeOp* entry_, LitInfo* linfos_, size_t linfoCnt_,
ClauseCodeTree* tree_, Stack<CodeOp*>* firstsInBlocks_);

USE_ALLOCATOR(RemovingLiteralMatcher);
};

//////// retrieval //////////
Expand All @@ -82,7 +81,6 @@ class ClauseCodeTree : public CodeTree

inline ILStruct* getILS() { ASS(matched()); return op->getILS(); }

USE_ALLOCATOR(LiteralMatcher);

private:
bool _eagerlyMatched;
Expand All @@ -104,7 +102,6 @@ class ClauseCodeTree : public CodeTree
bool matched() { return lms.isNonEmpty() && lms.top()->success(); }
CodeOp* getSuccessOp() { ASS(matched()); return lms.top()->op; }

USE_ALLOCATOR(ClauseMatcher);

private:
void enterLiteral(CodeOp* entry, bool seekOnlySuccess);
Expand Down
1 change: 0 additions & 1 deletion Indexing/CodeTree.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ class CodeTree

void ensureFreshness(unsigned globalTimestamp);

USE_ALLOCATOR(ILStruct);

struct GVArrComparator;

Expand Down
2 changes: 0 additions & 2 deletions Indexing/CodeTreeInterfaces.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ class CodeTreeSubstitution
: _bindings(bindings), _resultNormalizer(resultNormalizer)
{}

USE_ALLOCATOR(CodeTreeSubstitution);

TermList apply(unsigned var)
{
Expand Down Expand Up @@ -109,7 +108,6 @@ class CodeTreeTIS<Data>::ResultIterator
}
}

USE_ALLOCATOR(ResultIterator);

bool hasNext()
{
Expand Down
1 change: 0 additions & 1 deletion Indexing/LiteralMiniIndex.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ using namespace Kernel;
class LiteralMiniIndex
{
public:
USE_ALLOCATOR(LiteralMiniIndex);

LiteralMiniIndex() = default;
void init(Clause* cl);
Expand Down
1 change: 0 additions & 1 deletion Indexing/ResultSubstitution.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ class RSProxy
: public ResultSubstitution
{
public:
USE_ALLOCATOR(RSProxy);

RSProxy(RobSubstitution* subst, int queryBank, int resultBank)
: _subst(subst), _queryBank(queryBank), _resultBank(resultBank) {}
Expand Down
4 changes: 0 additions & 4 deletions Indexing/SubstitutionTree.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,6 @@ class SubstitutionTree final
virtual Node** childByTop(TermList::Top t, bool canCreate);
void remove(TermList::Top t);

USE_ALLOCATOR(UArrIntermediateNode);

int _size;
Node* _nodes[UARR_INTERMEDIATE_NODE_MAX_SIZE+1];
Expand Down Expand Up @@ -517,7 +516,6 @@ class SubstitutionTree final
inline void remove(TermList::Top t)
{ _nodes.remove(t); }

USE_ALLOCATOR(SListIntermediateNode);

class NodePtrComparator
{
Expand Down Expand Up @@ -723,7 +721,6 @@ class SubstitutionTree final
GenMatcher(TermOrLit query, unsigned nextSpecVar)
{ init(query,nextSpecVar); }

USE_ALLOCATOR(GenMatcher);

/**
* Bind special variable @b var to @b term. This method
Expand Down Expand Up @@ -904,7 +901,6 @@ class SubstitutionTree final
{
public:

USE_ALLOCATOR(InstMatcher);

void reset() {
_boundVars.reset();
Expand Down
2 changes: 0 additions & 2 deletions Indexing/SubstitutionTree_FastGen.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ struct SubstitutionTree<LeafData_>::GenMatcher::Binder
template<class LeafData_>
struct SubstitutionTree<LeafData_>::GenMatcher::Applicator
{
USE_ALLOCATOR(SubstitutionTree::GenMatcher::Applicator);

inline
Applicator(GenMatcher* parent, Renaming* resultNormalizer)
Expand All @@ -108,7 +107,6 @@ class SubstitutionTree<LeafData_>::GenMatcher::Substitution
: public ResultSubstitution
{
public:
USE_ALLOCATOR(SubstitutionTree::GenMatcher::Substitution);

Substitution(GenMatcher* parent, Renaming* resultNormalizer)
: _parent(parent), _resultNormalizer(resultNormalizer),
Expand Down
1 change: 0 additions & 1 deletion Indexing/SubstitutionTree_FastInst.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ class SubstitutionTree<LeafData_>::InstMatcher::Substitution
: public ResultSubstitution
{
public:
USE_ALLOCATOR(SubstitutionTree::InstMatcher::Substitution);

Substitution(InstMatcher* parent, Renaming* resultDenormalizer)
: _parent(parent), _resultDenormalizer(resultDenormalizer)
Expand Down
2 changes: 0 additions & 2 deletions Indexing/SubstitutionTree_Nodes.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ class SubstitutionTree<LeafData_>::UListLeaf
_size--;
}

USE_ALLOCATOR(UListLeaf);
private:
typedef List<LeafData> LDList;
LDList* _children;
Expand Down Expand Up @@ -100,7 +99,6 @@ class SubstitutionTree<LeafData_>::SListLeaf
void insert(LeafData ld) override { _children.insert(ld); }
void remove(LeafData ld) override { _children.remove(ld); }

USE_ALLOCATOR(SListLeaf);
private:
typedef SkipList<LeafData,LDComparator> LDSkipList;
LDSkipList _children;
Expand Down
1 change: 0 additions & 1 deletion Indexing/TermCodeTree.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ class TermCodeTree : public CodeTree

Data* next();

USE_ALLOCATOR(TermMatcher);
};

};
Expand Down
2 changes: 0 additions & 2 deletions Inferences/ALASCA/BinInf.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ struct BinInf
AlascaIndex<Lhs>* _lhs;
AlascaIndex<Rhs>* _rhs;
public:
USE_ALLOCATOR(BinInf);

BinInf(BinInf&&) = default;
BinInf(std::shared_ptr<AlascaState> shared, Rule rule)
Expand Down Expand Up @@ -176,7 +175,6 @@ struct TriInf
AlascaIndex<Premise1>* _prem1;
AlascaIndex<Premise2>* _prem2;
public:
USE_ALLOCATOR(TriInf);

TriInf(TriInf&&) = default;
TriInf(std::shared_ptr<AlascaState> shared, Rule rule)
Expand Down
1 change: 0 additions & 1 deletion Inferences/ALASCA/BwdDemodulation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ class BwdDemodulation
using Rhs = Demodulation::Rhs;
using Lhs = Demodulation::Lhs;
public:
USE_ALLOCATOR(BwdDemodulation);

BwdDemodulation(BwdDemodulation&&) = default;
BwdDemodulation(std::shared_ptr<AlascaState> shared)
Expand Down
1 change: 0 additions & 1 deletion Inferences/ALASCA/Demodulation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ using namespace Saturation;
class Demodulation
{
public:
USE_ALLOCATOR(Demodulation);

// ±ks + t ≈ 0 C[sσ]
// ============================
Expand Down
1 change: 0 additions & 1 deletion Inferences/ALASCA/EqFactoring.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ class EqFactoring
: public GeneratingInferenceEngine
{
public:
USE_ALLOCATOR(EqFactoring);

EqFactoring(EqFactoring&&) = default;
EqFactoring(std::shared_ptr<AlascaState> shared)
Expand Down
1 change: 0 additions & 1 deletion Inferences/ALASCA/FloorBounds.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ class FloorBounds
}

public:
USE_ALLOCATOR(FloorBounds);

FloorBounds(FloorBounds&&) = default;
FloorBounds(std::shared_ptr<AlascaState> shared)
Expand Down
1 change: 0 additions & 1 deletion Inferences/ALASCA/FwdDemodulation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ class FwdDemodulation
using Rhs = Demodulation::Rhs;
using Lhs = Demodulation::Lhs;
public:
USE_ALLOCATOR(FwdDemodulation);

FwdDemodulation(FwdDemodulation&&) = default;
FwdDemodulation(std::shared_ptr<AlascaState> shared)
Expand Down
1 change: 0 additions & 1 deletion Inferences/ALASCA/InequalityFactoring.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ class InequalityFactoring
: public GeneratingInferenceEngine
{
public:
USE_ALLOCATOR(InequalityFactoring);

InequalityFactoring(InequalityFactoring&&) = default;
InequalityFactoring(std::shared_ptr<AlascaState> shared)
Expand Down
1 change: 0 additions & 1 deletion Inferences/ALASCA/InequalityPredicateNormalization.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ class InequalityPredicateNormalization
: public ImmediateSimplificationEngine
{
public:
USE_ALLOCATOR(InequalityPredicateNormalization);

InequalityPredicateNormalization(std::shared_ptr<AlascaState> shared)
: _shared(std::move(shared)) {}
Expand Down
2 changes: 0 additions & 2 deletions Inferences/ALASCA/Normalization.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ class Normalization
std::shared_ptr<AlascaState> _shared;
public:
Normalization(std::shared_ptr<AlascaState> shared) : _shared(std::move(shared)) {}
USE_ALLOCATOR(Normalization);

virtual Clause* simplify(Clause* cl) final override;
};
Expand Down Expand Up @@ -72,7 +71,6 @@ class FloorElimination

public:
FloorElimination(std::shared_ptr<AlascaState> shared) : _shared(std::move(shared)) {}
USE_ALLOCATOR(FloorElimination);

virtual Clause* simplify(Clause* cl) final override {
auto res = RStack<Literal*>();
Expand Down
1 change: 0 additions & 1 deletion Inferences/ALASCA/TautologyDeletion.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ class TautologyDeletion
{
std::shared_ptr<AlascaState> _shared;
public:
USE_ALLOCATOR(TautologyDeletion);

TautologyDeletion(std::shared_ptr<AlascaState> shared)
: _shared(std::move(shared)) {}
Expand Down
1 change: 0 additions & 1 deletion Inferences/ALASCA/TermFactoring.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ class TermFactoring
: public GeneratingInferenceEngine
{
public:
USE_ALLOCATOR(TermFactoring);

TermFactoring(TermFactoring&&) = default;
TermFactoring(std::shared_ptr<AlascaState> shared)
Expand Down
1 change: 0 additions & 1 deletion Inferences/ALASCA/VariableElimination.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ class VariableElimination
: public SimplifyingGeneratingInference
{
public:
USE_ALLOCATOR(VariableElimination);

VariableElimination(VariableElimination&&) = default;
VariableElimination(std::shared_ptr<AlascaState> shared, bool simplify = true)
Expand Down
1 change: 0 additions & 1 deletion Inferences/Induction.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,6 @@ class InductionClauseIterator
processClause(premise);
}

USE_ALLOCATOR(InductionClauseIterator);
DECL_ELEMENT_TYPE(Clause*);

inline bool hasNext() { return _clauses.isNonEmpty(); }
Expand Down
2 changes: 0 additions & 2 deletions Inferences/SubsumptionDemodulationHelper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ using namespace Lib;
*/
class OverlayBinder
{
USE_ALLOCATOR(OverlayBinder);

public:
using Var = unsigned int;
Expand Down Expand Up @@ -217,7 +216,6 @@ std::ostream& operator<<(std::ostream& o, OverlayBinder const& binder);
*/
class SDClauseMatches
{
USE_ALLOCATOR(SDClauseMatches);

public:
SDClauseMatches(Clause* base, LiteralMiniIndex const& ixAlts);
Expand Down
1 change: 0 additions & 1 deletion Inferences/URResolution.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ void URResolution::detach()

struct URResolution::Item
{
USE_ALLOCATOR(URResolution::Item);

Item(Clause* cl, bool selectedOnly, URResolution& parent, bool mustResolveAll)
: _orig(cl), _color(cl->color()), _parent(parent)
Expand Down
1 change: 0 additions & 1 deletion Kernel/ALASCA/Index.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ template<class T>
class AlascaIndex : public Indexing::Index
{
public:
USE_ALLOCATOR(AlascaIndex);

AlascaIndex()
: _index()
Expand Down
1 change: 0 additions & 1 deletion Kernel/ALASCA/Ordering.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,6 @@ class LiteralOrdering
}

public:
USE_ALLOCATOR(LiteralOrdering);

LiteralOrdering(LiteralOrdering&& kbo) = default;
LiteralOrdering& operator=(LiteralOrdering&& kbo) = default;
Expand Down
1 change: 0 additions & 1 deletion Kernel/ALASCA/State.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
namespace Kernel {
struct AlascaState
{
USE_ALLOCATOR(AlascaState);

// TODO get rid of this
static std::shared_ptr<AlascaState> globalState;
Expand Down
Loading