Lines Matching defs:Label
113 class Label {
115 Label() = default;
116 explicit Label(Environment *env);
117 explicit Label(CircuitBuilder *cirBuilder);
118 ~Label() = default;
119 Label(Label const &label) = default;
120 Label &operator=(Label const &label) = default;
121 Label(Label &&label) = default;
122 Label &operator=(Label &&label) = default;
147 inline void AppendPredecessor(const Label *predecessor)
151 inline std::vector<Label> GetPredecessors() const
153 std::vector<Label> labels;
155 labels.emplace_back(Label(rawlabel));
257 explicit Label(LabelImpl *impl) : impl_(impl) {}
268 using LabelImpl = Label::LabelImpl;
274 Label *GetCurrentLabel() const
278 void SetCurrentLabel(Label *label)
334 inline Label GetLabelFromSelector(GateRef sel)
336 Label::LabelImpl *rawlabel = phiToLabels_[sel];
337 return Label(rawlabel);
339 inline void AddSelectorToLabel(GateRef sel, Label label)
345 auto impl = new Label::LabelImpl(env, control);
349 void SubCfgEntry(Label *entry)
379 Label *currentLabel_ {nullptr};
384 Label entry_;
386 std::stack<Label *> stack_;