Lines Matching defs:Shape
35 struct Shape;
51 Shape
89 Shape *Parent; // The shape we are directly inside
112 struct Shape {
115 Shape *Next; // The shape that will appear in the code right after this one
116 Shape *Natural; // The shape that control flow gets to naturally (if there is
128 Shape(ShapeKind KindInit) : Id(-1), Next(nullptr), Kind(KindInit) {}
134 struct SimpleShape : public Shape {
137 SimpleShape() : Shape(SK_Simple), Inner(nullptr) {}
139 static bool classof(const Shape *S) { return S->getKind() == SK_Simple; }
145 struct LabeledShape : public Shape {
148 LabeledShape(ShapeKind KindInit) : Shape(KindInit), Labeled(false) {}
153 typedef std::map<int, Shape *> IdShapeMap;
170 static bool classof(const Shape *S) { return S->getKind() == SK_Multiple; }
177 Shape *Inner;
181 static bool classof(const Shape *S) { return S->getKind() == SK_Loop; }