Lines Matching defs:index
63 static Node* GetValueInput(Node* node, int index) {
64 CHECK_LE(0, index);
65 CHECK_LT(index, node->op()->ValueInputCount());
66 return node->InputAt(FirstValueIndex(node) + index);
69 static const Node* GetValueInput(const Node* node, int index) {
70 CHECK_LE(0, index);
71 CHECK_LT(index, node->op()->ValueInputCount());
72 return node->InputAt(FirstValueIndex(node) + index);
85 static Node* GetEffectInput(Node* node, int index = 0) {
86 CHECK_LE(0, index);
87 CHECK_LT(index, node->op()->EffectInputCount());
88 return node->InputAt(FirstEffectIndex(node) + index);
91 static Node* GetControlInput(Node* node, int index = 0) {
92 CHECK_LE(0, index);
93 CHECK_LT(index, node->op()->ControlInputCount());
94 return node->InputAt(FirstControlIndex(node) + index);
153 static void ReplaceValueInput(Node* node, Node* value, int index);
155 static void ReplaceControlInput(Node* node, Node* control, int index = 0);
156 static void ReplaceEffectInput(Node* node, Node* effect, int index = 0);
192 // Collect the output-value projection for the given output index.