HomeSort by relevance Sort by last modified time
    Searched defs:SetTheory (Results 1 - 2 of 2) sorted by null

  /external/llvm/utils/TableGen/
SetTheory.h 1 //===- SetTheory.h - Generate ordered sets from DAG expressions -*- C++ -*-===//
10 // This file implements the SetTheory class that computes ordered sets of
15 // expanders can be added to a SetTheory instance to teach it how to find the
63 class SetTheory {
76 virtual void apply(SetTheory&, DagInit *Expr, RecSet &Elts,
88 virtual void expand(SetTheory&, Record*, RecSet &Elts) =0;
104 /// Create a SetTheory instance with only the standard operators.
105 SetTheory();
SetTheory.cpp 1 //===- SetTheory.cpp - Generate ordered sets from DAG expressions ---------===//
10 // This file implements the SetTheory class that computes ordered sets of
15 #include "SetTheory.h"
25 typedef SetTheory::RecSet RecSet;
26 typedef SetTheory::RecVec RecVec;
29 struct AddOp : public SetTheory::Operator {
30 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts, ArrayRef<SMLoc> Loc) {
36 struct SubOp : public SetTheory::Operator {
37 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts, ArrayRef<SMLoc> Loc) {
51 struct AndOp : public SetTheory::Operator
    [all...]

Completed in 25 milliseconds