Lines Matching defs:operator
11 #include "src/compiler/operator.h"
240 Node& operator=(const Node&) = delete;
271 void* operator new(size_t, void* location) { return location; }
316 std::ostream& operator<<(std::ostream& os, const Node& n);
322 operator Node*() const { return node_; }
323 Node* operator->() const { return node_; }
347 Node* operator=(Node* value) {
363 Node* operator=(Node* value) {
387 inline value_type operator[](int index) const;
409 inline value_type operator[](int index) const;
432 bool operator==(const Edge& other) { return input_ptr_ == other.input_ptr_; }
433 bool operator!=(const Edge& other) { return !(*this == other); }
498 Edge operator*() const { return Edge(use_, input_ptr_); }
499 bool operator==(const iterator& other) const {
502 bool operator!=(const iterator& other) const { return !(*this == other); }
503 iterator& operator++() {
508 iterator operator++(int);
509 iterator& operator+=(difference_type offset) {
514 iterator operator+(difference_type offset) const {
517 difference_type operator-(const iterator& other) const {
541 Edge Node::InputEdges::operator[](int index) const {
556 Node* operator*() const { return *input_ptr_; }
557 bool operator==(const const_iterator& other) const {
560 bool operator!=(const const_iterator& other) const {
563 const_iterator& operator++() {
567 const_iterator operator++(int);
568 const_iterator& operator+=(difference_type offset) {
572 const_iterator operator+(difference_type offset) const {
575 difference_type operator-(const const_iterator& other) const {
598 Node* Node::Inputs::operator[](int index) const { return input_root_[index]; }
605 Edge operator*() const { return Edge(current_, current_->input_ptr()); }
606 bool operator==(const iterator& other) const {
609 bool operator!=(const iterator& other) const { return !(*this == other); }
610 iterator& operator++() {
616 iterator operator++(int);
650 Node* operator*() const { return current_->from(); }
651 bool operator==(const const_iterator& other) const {
654 bool operator!=(const const_iterator& other) const {
657 const_iterator& operator++() {
668 const_iterator operator++(int);