Home | History | Annotate | Download | only in dfg

Lines Matching refs:NodeIndex

75     NodeIndex get(int operand)
98 void set(int operand, NodeIndex value)
120 NodeIndex getVariable(unsigned operand)
122 NodeIndex setNode = m_variables[operand].set;
126 NodeIndex getNode = m_variables[operand].get;
134 void setVariable(unsigned operand, NodeIndex value)
136 NodeIndex priorSet = m_variables[operand].set;
143 NodeIndex getTemporary(unsigned operand)
145 NodeIndex index = m_temporaries[operand];
153 void setTemporary(unsigned operand, NodeIndex value)
159 NodeIndex getArgument(unsigned operand)
164 NodeIndex setNode = m_arguments[argument].set;
168 NodeIndex getNode = m_arguments[argument].get;
176 void setArgument(int operand, NodeIndex value)
181 NodeIndex priorSet = m_arguments[argument].set;
188 NodeIndex getToInt32(int operand)
200 NodeIndex getToNumber(int operand)
214 NodeIndex toInt32(NodeIndex index)
250 NodeIndex toNumber(NodeIndex index)
281 NodeIndex getInt32Constant(int32_t value, unsigned constant)
283 NodeIndex index = m_constants[constant].asInt32;
286 NodeIndex resultIndex = addToGraph(Int32Constant, OpInfo(constant));
291 NodeIndex getDoubleConstant(double value, unsigned constant)
293 NodeIndex index = m_constants[constant].asNumeric;
296 NodeIndex resultIndex = addToGraph(DoubleConstant, OpInfo(constant));
301 NodeIndex getJSConstant(unsigned constant)
303 NodeIndex index = m_constants[constant].asJSValue;
307 NodeIndex resultIndex = addToGraph(JSConstant, OpInfo(constant));
313 NodeIndex getThis()
317 void setThis(NodeIndex value)
323 bool isInt32Constant(NodeIndex index)
327 bool isDoubleConstant(NodeIndex index)
331 bool isJSConstant(NodeIndex index)
337 int32_t valueOfInt32Constant(NodeIndex index)
342 double valueOfDoubleConstant(NodeIndex index)
347 JSValue valueOfJSConstant(NodeIndex index)
354 NodeIndex constantUndefined()
379 NodeIndex constantNull()
404 NodeIndex one()
432 NodeIndex addToGraph(NodeType op, NodeIndex child1 = NoNode, NodeIndex child2 = NoNode, NodeIndex child3 = NoNode)
434 NodeIndex resultIndex = (NodeIndex)m_graph.size();
441 NodeIndex addToGraph(NodeType op, OpInfo info, NodeIndex child1 = NoNode, NodeIndex child2 = NoNode, NodeIndex child3 = NoNode)
443 NodeIndex resultIndex = (NodeIndex)m_graph.size();
450 NodeIndex addToGraph(NodeType op, OpInfo info1, OpInfo info2, NodeIndex child1 = NoNode, NodeIndex child2 = NoNode, NodeIndex child3 = NoNode)
452 NodeIndex resultIndex = (NodeIndex)m_graph.size();
489 NodeIndex asInt32;
490 NodeIndex asNumeric;
491 NodeIndex asJSValue;
504 NodeIndex get;
505 NodeIndex set;
513 Vector <NodeIndex, 32> m_temporaries;
516 typedef HashMap<NodeIndex, NodeIndex> UnaryOpMap;
567 NodeIndex op1 = getThis();
575 NodeIndex op1 = getToInt32(currentInstruction[2].u.operand);
576 NodeIndex op2 = getToInt32(currentInstruction[3].u.operand);
582 NodeIndex op1 = getToInt32(currentInstruction[2].u.operand);
583 NodeIndex op2 = getToInt32(currentInstruction[3].u.operand);
589 NodeIndex op1 = getToInt32(currentInstruction[2].u.operand);
590 NodeIndex op2 = getToInt32(currentInstruction[3].u.operand);
596 NodeIndex op1 = getToInt32(currentInstruction[2].u.operand);
597 NodeIndex op2 = getToInt32(currentInstruction[3].u.operand);
598 NodeIndex result;
609 NodeIndex op1 = getToInt32(currentInstruction[2].u.operand);
610 NodeIndex op2 = getToInt32(currentInstruction[3].u.operand);
611 NodeIndex result;
622 NodeIndex op1 = getToInt32(currentInstruction[2].u.operand);
623 NodeIndex op2 = getToInt32(currentInstruction[3].u.operand);
624 NodeIndex result;
652 NodeIndex op = getToNumber(srcDst);
660 NodeIndex op = getToNumber(srcDst);
668 NodeIndex op = getToNumber(srcDst);
676 NodeIndex op = getToNumber(srcDst);
686 NodeIndex op1 = get(currentInstruction[2].u.operand);
687 NodeIndex op2 = get(currentInstruction[3].u.operand);
699 NodeIndex op1 = getToNumber(currentInstruction[2].u.operand);
700 NodeIndex op2 = getToNumber(currentInstruction[3].u.operand);
707 NodeIndex op1 = getToNumber(currentInstruction[2].u.operand);
708 NodeIndex op2 = getToNumber(currentInstruction[3].u.operand);
715 NodeIndex op1 = getToNumber(currentInstruction[2].u.operand);
716 NodeIndex op2 = getToNumber(currentInstruction[3].u.operand);
723 NodeIndex op1 = getToNumber(currentInstruction[2].u.operand);
724 NodeIndex op2 = getToNumber(currentInstruction[3].u.operand);
732 NodeIndex op = get(currentInstruction[2].u.operand);
739 NodeIndex value = get(currentInstruction[2].u.operand);
746 NodeIndex op1 = get(currentInstruction[2].u.operand);
747 NodeIndex op2 = get(currentInstruction[3].u.operand);
754 NodeIndex op1 = get(currentInstruction[2].u.operand);
755 NodeIndex op2 = get(currentInstruction[3].u.operand);
762 NodeIndex op1 = get(currentInstruction[2].u.operand);
763 NodeIndex op2 = get(currentInstruction[3].u.operand);
770 NodeIndex value = get(currentInstruction[2].u.operand);
777 NodeIndex op1 = get(currentInstruction[2].u.operand);
778 NodeIndex op2 = get(currentInstruction[3].u.operand);
785 NodeIndex op1 = get(currentInstruction[2].u.operand);
786 NodeIndex op2 = get(currentInstruction[3].u.operand);
793 NodeIndex value = get(currentInstruction[2].u.operand);
800 NodeIndex op1 = get(currentInstruction[2].u.operand);
801 NodeIndex op2 = get(currentInstruction[3].u.operand);
809 NodeIndex base = get(currentInstruction[2].u.operand);
810 NodeIndex property = get(currentInstruction[3].u.operand);
812 NodeIndex getByVal = addToGraph(GetByVal, base, property, aliases.lookupGetByVal(base, property));
820 NodeIndex base = get(currentInstruction[1].u.operand);
821 NodeIndex property = get(currentInstruction[2].u.operand);
822 NodeIndex value = get(currentInstruction[3].u.operand);
824 NodeIndex aliasedGet = aliases.lookupGetByVal(base, property);
825 NodeIndex
832 NodeIndex base = get(currentInstruction[2].u.operand);
835 NodeIndex getById = addToGraph(GetById, OpInfo(identifier), base);
843 NodeIndex value = get(currentInstruction[3].u.operand);
844 NodeIndex base = get(currentInstruction[1].u.operand);
849 NodeIndex putByIdDirect = addToGraph(PutByIdDirect, OpInfo(identifier), base, value);
852 NodeIndex putById = addToGraph(PutById, OpInfo(identifier), base, value);
860 NodeIndex getGlobalVar = addToGraph(GetGlobalVar, OpInfo(currentInstruction[2].u.operand));
866 NodeIndex value = get(currentInstruction[2].u.operand);
887 NodeIndex condition = get(currentInstruction[1].u.operand);
894 NodeIndex condition = get(currentInstruction[1].u.operand);
901 NodeIndex condition = get(currentInstruction[1].u.operand);
908 NodeIndex condition = get(currentInstruction[1].u.operand);
915 NodeIndex value = get(currentInstruction[1].u.operand);
916 NodeIndex condition = addToGraph(CompareEq, value, constantNull());
923 NodeIndex value = get(currentInstruction[1].u.operand);
924 NodeIndex condition = addToGraph(CompareEq, value, constantNull());
931 NodeIndex op1 = get(currentInstruction[1].u.operand);
932 NodeIndex op2 = get(currentInstruction[2].u.operand);
933 NodeIndex condition = addToGraph(CompareLess, op1, op2);
940 NodeIndex op1 = get(currentInstruction[1].u.operand);
941 NodeIndex op2 = get(currentInstruction[2].u.operand);
942 NodeIndex condition = addToGraph(CompareLessEq, op1, op2);
949 NodeIndex op1 = get(currentInstruction[1].u.operand);
950 NodeIndex op2 = get(currentInstruction[2].u.operand);
951 NodeIndex condition = addToGraph(CompareLess, op1, op2);
958 NodeIndex op1 = get(currentInstruction[1].u.operand);
959 NodeIndex op2 = get(currentInstruction[2].u.operand);
960 NodeIndex condition = addToGraph(CompareLessEq, op1, op2);
967 NodeIndex op1 = get(currentInstruction[1].u.operand);
968 NodeIndex op2 = get(currentInstruction[2].u.operand);
969 NodeIndex condition = addToGraph(CompareLess, op1, op2);
976 NodeIndex op1 = get(currentInstruction[1].u.operand);
977 NodeIndex op2 = get(currentInstruction[2].u.operand);
978 NodeIndex condition = addToGraph(CompareLessEq, op1, op2);
989 NodeIndex priorSet = m_variables[i].set;
1017 NodeIndex begin = m_graph.size();
1024 NodeIndex end = m_graph.size();