Home | History | Annotate | Download | only in AsmParser

Lines Matching refs:MCInst

1 //===-- MipsAsmParser.cpp - Parse Mips assembly to MCInst instructions ----===//
15 #include "llvm/MC/MCInst.h"
131 bool needsExpansion(MCInst &Inst);
133 void expandInstruction(MCInst &Inst, SMLoc IDLoc,
134 SmallVectorImpl<MCInst> &Instructions);
135 void expandLoadImm(MCInst &Inst, SMLoc IDLoc,
136 SmallVectorImpl<MCInst> &Instructions);
137 void expandLoadAddressImm(MCInst &Inst, SMLoc IDLoc,
138 SmallVectorImpl<MCInst> &Instructions);
139 void expandLoadAddressReg(MCInst &Inst, SMLoc IDLoc,
140 SmallVectorImpl<MCInst> &Instructions);
141 void expandMemInst(MCInst &Inst, SMLoc IDLoc,
142 SmallVectorImpl<MCInst> &Instructions,
197 bool processInstruction(MCInst &Inst, SMLoc IDLoc,
198 SmallVectorImpl<MCInst> &Instructions);
275 void addRegOperands(MCInst &Inst, unsigned N) const {
280 void addExpr(MCInst &Inst, const MCExpr *Expr) const{
290 void addImmOperands(MCInst &Inst, unsigned N) const {
296 void addMemOperands(MCInst &Inst, unsigned N) const {
378 void addRegAsmOperands(MCInst &Inst, unsigned N) const {
443 bool MipsAsmParser::processInstruction(MCInst &Inst, SMLoc IDLoc,
444 SmallVectorImpl<MCInst> &Instructions) {
451 MCInst NopInst;
502 bool MipsAsmParser::needsExpansion(MCInst &Inst) {
514 void MipsAsmParser::expandInstruction(MCInst &Inst, SMLoc IDLoc,
515 SmallVectorImpl<MCInst> &Instructions) {
526 void MipsAsmParser::expandLoadImm(MCInst &Inst, SMLoc IDLoc,
527 SmallVectorImpl<MCInst> &Instructions) {
528 MCInst tmpInst;
570 void MipsAsmParser::expandLoadAddressReg(MCInst &Inst, SMLoc IDLoc,
571 SmallVectorImpl<MCInst> &Instructions) {
572 MCInst tmpInst;
612 void MipsAsmParser::expandLoadAddressImm(MCInst &Inst, SMLoc IDLoc,
613 SmallVectorImpl<MCInst> &Instructions) {
614 MCInst tmpInst;
645 void MipsAsmParser::expandMemInst(MCInst &Inst, SMLoc IDLoc,
646 SmallVectorImpl<MCInst> &Instructions, bool isLoad, bool isImmOpnd) {
648 MCInst TempInst;
731 MCInst Inst;
732 SmallVector<MCInst, 8> Instructions;
1588 // First operand in MCInst is instruction mnemonic.