MSP430InstPrinter.cpp (226633) | MSP430InstPrinter.cpp (234353) |
---|---|
1//===-- MSP430InstPrinter.cpp - Convert MSP430 MCInst to assembly syntax --===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// --- 78 unchanged lines hidden (view full) --- 87 88void MSP430InstPrinter::printCCOperand(const MCInst *MI, unsigned OpNo, 89 raw_ostream &O) { 90 unsigned CC = MI->getOperand(OpNo).getImm(); 91 92 switch (CC) { 93 default: 94 llvm_unreachable("Unsupported CC code"); | 1//===-- MSP430InstPrinter.cpp - Convert MSP430 MCInst to assembly syntax --===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// --- 78 unchanged lines hidden (view full) --- 87 88void MSP430InstPrinter::printCCOperand(const MCInst *MI, unsigned OpNo, 89 raw_ostream &O) { 90 unsigned CC = MI->getOperand(OpNo).getImm(); 91 92 switch (CC) { 93 default: 94 llvm_unreachable("Unsupported CC code"); |
95 break; | |
96 case MSP430CC::COND_E: 97 O << "eq"; 98 break; 99 case MSP430CC::COND_NE: 100 O << "ne"; 101 break; 102 case MSP430CC::COND_HS: 103 O << "hs"; --- 12 unchanged lines hidden --- | 95 case MSP430CC::COND_E: 96 O << "eq"; 97 break; 98 case MSP430CC::COND_NE: 99 O << "ne"; 100 break; 101 case MSP430CC::COND_HS: 102 O << "hs"; --- 12 unchanged lines hidden --- |