Lines Matching refs:Opcode
67 Instruction(uint8_t Opcode) in Instruction()
68 : Opcode(Opcode) in Instruction()
71 uint8_t Opcode; member
79 void addInstruction(uint8_t Opcode) { in addInstruction() argument
80 Instructions.push_back(Instruction(Opcode)); in addInstruction()
83 void addInstruction(uint8_t Opcode, uint64_t Operand1) { in addInstruction() argument
84 Instructions.push_back(Instruction(Opcode)); in addInstruction()
88 void addInstruction(uint8_t Opcode, uint64_t Operand1, uint64_t Operand2) { in addInstruction() argument
89 Instructions.push_back(Instruction(Opcode)); in addInstruction()
103 uint8_t Opcode = Data.getU8(Offset); in parseInstructions() local
105 uint8_t Primary = Opcode & DWARF_CFI_PRIMARY_OPCODE_MASK; in parseInstructions()
110 uint64_t Op1 = Opcode & DWARF_CFI_PRIMARY_OPERAND_MASK; in parseInstructions()
123 switch (Opcode) { in parseInstructions()
130 addInstruction(Opcode); in parseInstructions()
134 addInstruction(Opcode, Data.getAddress(Offset)); in parseInstructions()
138 addInstruction(Opcode, Data.getU8(Offset)); in parseInstructions()
142 addInstruction(Opcode, Data.getU16(Offset)); in parseInstructions()
146 addInstruction(Opcode, Data.getU32(Offset)); in parseInstructions()
154 addInstruction(Opcode, Data.getULEB128(Offset)); in parseInstructions()
158 addInstruction(Opcode, Data.getSLEB128(Offset)); in parseInstructions()
165 addInstruction(Opcode, Data.getULEB128(Offset), in parseInstructions()
172 addInstruction(Opcode, Data.getULEB128(Offset), in parseInstructions()
350 static void printOperand(raw_ostream &OS, uint8_t Opcode, unsigned OperandIdx, in printOperand() argument
354 OperandType Type = OpTypes[Opcode][OperandIdx]; in printOperand()
359 if (const char *OpcodeName = CallFrameString(Opcode)) in printOperand()
362 OS << format(" Opcode %x", Opcode); in printOperand()
415 uint8_t Opcode = Instr.Opcode; in dumpInstructions() local
416 if (Opcode & DWARF_CFI_PRIMARY_OPCODE_MASK) in dumpInstructions()
417 Opcode &= DWARF_CFI_PRIMARY_OPCODE_MASK; in dumpInstructions()
418 OS << " " << CallFrameString(Opcode) << ":"; in dumpInstructions()
420 printOperand(OS, Opcode, i, Instr.Ops[i], CodeAlignmentFactor, in dumpInstructions()