Lines Matching refs:InstID

1624 static bool PushValueAndType(const Value *V, unsigned InstID,  in PushValueAndType()  argument
1629 Vals.push_back(InstID - ValID); in PushValueAndType()
1630 if (ValID >= InstID) { in PushValueAndType()
1639 static void pushValue(const Value *V, unsigned InstID, in pushValue() argument
1643 Vals.push_back(InstID - ValID); in pushValue()
1646 static void pushValueSigned(const Value *V, unsigned InstID, in pushValueSigned() argument
1650 int64_t diff = ((int32_t)InstID - (int32_t)ValID); in pushValueSigned()
1655 static void WriteInstruction(const Instruction &I, unsigned InstID, in WriteInstruction() argument
1665 if (!PushValueAndType(I.getOperand(0), InstID, Vals, VE)) in WriteInstruction()
1672 if (!PushValueAndType(I.getOperand(0), InstID, Vals, VE)) in WriteInstruction()
1674 pushValue(I.getOperand(1), InstID, Vals, VE); in WriteInstruction()
1692 PushValueAndType(I.getOperand(i), InstID, Vals, VE); in WriteInstruction()
1697 PushValueAndType(I.getOperand(0), InstID, Vals, VE); in WriteInstruction()
1704 PushValueAndType(I.getOperand(0), InstID, Vals, VE); in WriteInstruction()
1705 PushValueAndType(I.getOperand(1), InstID, Vals, VE); in WriteInstruction()
1712 PushValueAndType(I.getOperand(1), InstID, Vals, VE); in WriteInstruction()
1713 pushValue(I.getOperand(2), InstID, Vals, VE); in WriteInstruction()
1714 PushValueAndType(I.getOperand(0), InstID, Vals, VE); in WriteInstruction()
1718 PushValueAndType(I.getOperand(0), InstID, Vals, VE); in WriteInstruction()
1719 PushValueAndType(I.getOperand(1), InstID, Vals, VE); in WriteInstruction()
1723 PushValueAndType(I.getOperand(0), InstID, Vals, VE); in WriteInstruction()
1724 pushValue(I.getOperand(1), InstID, Vals, VE); in WriteInstruction()
1725 PushValueAndType(I.getOperand(2), InstID, Vals, VE); in WriteInstruction()
1729 PushValueAndType(I.getOperand(0), InstID, Vals, VE); in WriteInstruction()
1730 pushValue(I.getOperand(1), InstID, Vals, VE); in WriteInstruction()
1731 pushValue(I.getOperand(2), InstID, Vals, VE); in WriteInstruction()
1737 PushValueAndType(I.getOperand(0), InstID, Vals, VE); in WriteInstruction()
1738 pushValue(I.getOperand(1), InstID, Vals, VE); in WriteInstruction()
1749 if (!PushValueAndType(I.getOperand(0), InstID, Vals, VE)) in WriteInstruction()
1753 PushValueAndType(I.getOperand(i), InstID, Vals, VE); in WriteInstruction()
1764 pushValue(II.getCondition(), InstID, Vals, VE); in WriteInstruction()
1773 pushValue(SI.getCondition(), InstID, Vals, VE); in WriteInstruction()
1786 pushValue(I.getOperand(0), InstID, Vals, VE); in WriteInstruction()
1802 PushValueAndType(Callee, InstID, Vals, VE); in WriteInstruction()
1806 pushValue(I.getOperand(i), InstID, Vals, VE); // fixed param. in WriteInstruction()
1812 PushValueAndType(I.getOperand(i), InstID, Vals, VE); // vararg in WriteInstruction()
1818 PushValueAndType(I.getOperand(0), InstID, Vals, VE); in WriteInstruction()
1834 pushValueSigned(PN.getIncomingValue(i), InstID, Vals64, VE); in WriteInstruction()
1847 PushValueAndType(LP.getPersonalityFn(), InstID, Vals, VE); in WriteInstruction()
1855 PushValueAndType(LP.getClause(I), InstID, Vals, VE); in WriteInstruction()
1878 PushValueAndType(I.getOperand(0), InstID, Vals, VE); in WriteInstruction()
1881 if (!PushValueAndType(I.getOperand(0), InstID, Vals, VE)) // ptr in WriteInstruction()
1897 PushValueAndType(I.getOperand(1), InstID, Vals, VE); // ptrty + ptr in WriteInstruction()
1898 pushValue(I.getOperand(0), InstID, Vals, VE); // val. in WriteInstruction()
1908 PushValueAndType(I.getOperand(0), InstID, Vals, VE); // ptrty + ptr in WriteInstruction()
1909 pushValue(I.getOperand(1), InstID, Vals, VE); // cmp. in WriteInstruction()
1910 pushValue(I.getOperand(2), InstID, Vals, VE); // newval. in WriteInstruction()
1922 PushValueAndType(I.getOperand(0), InstID, Vals, VE); // ptrty + ptr in WriteInstruction()
1923 pushValue(I.getOperand(1), InstID, Vals, VE); // val. in WriteInstruction()
1946 PushValueAndType(CI.getCalledValue(), InstID, Vals, VE); // Callee in WriteInstruction()
1954 pushValue(CI.getArgOperand(i), InstID, Vals, VE); // fixed param. in WriteInstruction()
1961 PushValueAndType(CI.getArgOperand(i), InstID, Vals, VE); // varargs in WriteInstruction()
1968 pushValue(I.getOperand(0), InstID, Vals, VE); // valist. in WriteInstruction()
2092 unsigned InstID = CstEnd; in WriteFunction() local
2102 WriteInstruction(*I, InstID, VE, Stream, Vals); in WriteFunction()
2105 ++InstID; in WriteFunction()