Lines Matching refs:node
26 void VisitNode(Node* node, OperationTyper& op_typer);
28 void RecordHint(Node* node) {
29 DCHECK_EQ(node->opcode(), IrOpcode::kSLVerifierHint);
30 hints_.push_back(node);
34 base::Optional<Type> GetType(Node* node) const {
35 if (NodeProperties::IsTyped(node)) {
36 return NodeProperties::GetType(node);
40 if (node->id() < data_.size()) {
41 return data_[node->id()].type;
47 void ResizeDataIfNecessary(Node* node) {
48 if (data_.size() <= node->id()) {
49 data_.resize(node->id() + 1);
51 DCHECK_EQ(data_[node->id()].truncation,
55 void SetType(Node* node, const Type& type) {
56 ResizeDataIfNecessary(node);
57 data_[node->id()].type = type;
60 Type InputType(Node* node, int input_index) const {
63 Node* input = node->InputAt(input_index);
76 void SetTruncation(Node* node, const Truncation& truncation) {
77 ResizeDataIfNecessary(node);
78 data_[node->id()].truncation = truncation;
81 Truncation InputTruncation(Node* node, int input_index) const {
85 Node* input = node->InputAt(input_index);
92 void CheckType(Node* node, const Type& type);
93 void CheckAndSet(Node* node, const Type& type, const Truncation& trunc);