/external/llvm/lib/Target/ARM/InstPrinter/ |
ARMInstPrinter.h | 28 virtual void printInst(const MCInst *MI, raw_ostream &O); 35 void printInstruction(const MCInst *MI, raw_ostream &O); 39 void printOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O); 41 void printSORegOperand(const MCInst *MI, unsigned OpNum, raw_ostream &O); 43 void printAddrMode2Operand(const MCInst *MI, unsigned OpNum, raw_ostream &O); 44 void printAM2PostIndexOp(const MCInst *MI, unsigned OpNum, raw_ostream &O); 45 void printAM2PreOrOffsetIndexOp(const MCInst *MI, unsigned OpNum, 47 void printAddrMode2OffsetOperand(const MCInst *MI, unsigned OpNum, 50 void printAddrMode3Operand(const MCInst *MI, unsigned OpNum, raw_ostream &O); 51 void printAM3PostIndexOp(const MCInst *MI, unsigned OpNum, raw_ostream &O) [all...] |
ARMInstPrinter.cpp | 36 void ARMInstPrinter::printInst(const MCInst *MI, raw_ostream &O) { 37 unsigned Opcode = MI->getOpcode(); 42 const MCOperand &Dst = MI->getOperand(0); 43 const MCOperand &MO1 = MI->getOperand(1); 44 const MCOperand &MO2 = MI->getOperand(2); 45 const MCOperand &MO3 = MI->getOperand(3); 48 printSBitModifierOperand(MI, 6, O); 49 printPredicateOperand(MI, 4, O); 70 MI->getOperand(0).getReg() == ARM::SP) { 72 printPredicateOperand(MI, 2, O) [all...] |
/external/llvm/lib/Target/X86/InstPrinter/ |
X86ATTInstPrinter.h | 28 virtual void printInst(const MCInst *MI, raw_ostream &OS); 33 bool printAliasInstr(const MCInst *MI, raw_ostream &OS); 36 void printInstruction(const MCInst *MI, raw_ostream &OS); 40 void printOperand(const MCInst *MI, unsigned OpNo, raw_ostream &OS); 41 void printMemReference(const MCInst *MI, unsigned Op, raw_ostream &OS); 42 void printSSECC(const MCInst *MI, unsigned Op, raw_ostream &OS); 43 void print_pcrel_imm(const MCInst *MI, unsigned OpNo, raw_ostream &OS); 45 void printopaquemem(const MCInst *MI, unsigned OpNo, raw_ostream &O) { 46 printMemReference(MI, OpNo, O); 49 void printi8mem(const MCInst *MI, unsigned OpNo, raw_ostream &O) [all...] |
X86IntelInstPrinter.h | 30 virtual void printInst(const MCInst *MI, raw_ostream &OS); 34 void printInstruction(const MCInst *MI, raw_ostream &O); 38 void printOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O); 39 void printMemReference(const MCInst *MI, unsigned Op, raw_ostream &O); 40 void printSSECC(const MCInst *MI, unsigned Op, raw_ostream &O); 41 void print_pcrel_imm(const MCInst *MI, unsigned OpNo, raw_ostream &O); 43 void printopaquemem(const MCInst *MI, unsigned OpNo, raw_ostream &O) { 45 printMemReference(MI, OpNo, O); 48 void printi8mem(const MCInst *MI, unsigned OpNo, raw_ostream &O) { 50 printMemReference(MI, OpNo, O) [all...] |
X86InstComments.cpp | 29 void llvm::EmitAnyX86InstComments(const MCInst *MI, raw_ostream &OS, 35 switch (MI->getOpcode()) { 37 Src1Name = getRegName(MI->getOperand(1).getReg()); 38 Src2Name = getRegName(MI->getOperand(2).getReg()); 39 DecodeINSERTPSMask(MI->getOperand(3).getImm(), ShuffleMask); 43 Src2Name = getRegName(MI->getOperand(2).getReg()); 44 Src1Name = getRegName(MI->getOperand(0).getReg()); 49 Src2Name = getRegName(MI->getOperand(2).getReg()); 50 Src1Name = getRegName(MI->getOperand(0).getReg()); 55 Src1Name = getRegName(MI->getOperand(1).getReg()) [all...] |
X86ATTInstPrinter.cpp | 42 void X86ATTInstPrinter::printInst(const MCInst *MI, raw_ostream &OS) { 44 if (!printAliasInstr(MI, OS)) 45 printInstruction(MI, OS); 49 EmitAnyX86InstComments(MI, *CommentStream, getRegisterName); 56 void X86ATTInstPrinter::printSSECC(const MCInst *MI, unsigned Op, 58 switch (MI->getOperand(Op).getImm()) { 75 void X86ATTInstPrinter::print_pcrel_imm(const MCInst *MI, unsigned OpNo, 77 const MCOperand &Op = MI->getOperand(OpNo); 87 void X86ATTInstPrinter::printOperand(const MCInst *MI, unsigned OpNo, 89 const MCOperand &Op = MI->getOperand(OpNo) [all...] |
X86IntelInstPrinter.cpp | 35 void X86IntelInstPrinter::printInst(const MCInst *MI, raw_ostream &OS) { 36 printInstruction(MI, OS); 40 EmitAnyX86InstComments(MI, *CommentStream, getRegisterName); 46 void X86IntelInstPrinter::printSSECC(const MCInst *MI, unsigned Op, 48 switch (MI->getOperand(Op).getImm()) { 63 void X86IntelInstPrinter::print_pcrel_imm(const MCInst *MI, unsigned OpNo, 65 const MCOperand &Op = MI->getOperand(OpNo); 79 void X86IntelInstPrinter::printOperand(const MCInst *MI, unsigned OpNo, 81 const MCOperand &Op = MI->getOperand(OpNo); 92 void X86IntelInstPrinter::printMemReference(const MCInst *MI, unsigned Op [all...] |
/external/llvm/lib/CodeGen/ |
AntiDepBreaker.h | 54 virtual void Observe(MachineInstr *MI, unsigned Count, 62 void UpdateDbgValue(MachineInstr *MI, unsigned OldReg, unsigned NewReg) { 63 assert (MI->isDebugValue() && "MI is not DBG_VALUE!"); 64 if (MI && MI->getOperand(0).isReg() && MI->getOperand(0).getReg() == OldReg) 65 MI->getOperand(0).setReg(NewReg);
|
LowerSubregs.cpp | 56 bool LowerSubregToReg(MachineInstr *MI); 57 bool LowerCopy(MachineInstr *MI); 59 void TransferDeadFlag(MachineInstr *MI, unsigned DstReg, 61 void TransferImplicitDefs(MachineInstr *MI); 71 /// TransferDeadFlag - MI is a pseudo-instruction with DstReg dead, 75 LowerSubregsInstructionPass::TransferDeadFlag(MachineInstr *MI, 79 prior(MachineBasicBlock::iterator(MI)); ; --MII) { 82 assert(MII != MI->getParent()->begin() && 87 /// TransferImplicitDefs - MI is a pseudo-instruction, and the lowered 89 /// operands from MI to the replacement instruction [all...] |
TargetInstrInfoImpl.cpp | 60 MachineInstr *TargetInstrInfoImpl::commuteInstruction(MachineInstr *MI, 62 const MCInstrDesc &MCID = MI->getDesc(); 64 if (HasDef && !MI->getOperand(0).isReg()) 68 if (!findCommutedOpIndices(MI, Idx1, Idx2)) { 71 Msg << "Don't know how to commute: " << *MI; 75 assert(MI->getOperand(Idx1).isReg() && MI->getOperand(Idx2).isReg() && 77 unsigned Reg1 = MI->getOperand(Idx1).getReg(); 78 unsigned Reg2 = MI->getOperand(Idx2).getReg(); 79 bool Reg1IsKill = MI->getOperand(Idx1).isKill() [all...] |
/external/llvm/lib/Target/PowerPC/InstPrinter/ |
PPCInstPrinter.cpp | 33 void PPCInstPrinter::printInst(const MCInst *MI, raw_ostream &O) { 35 if (MI->getOpcode() == PPC::RLWINM) { 36 unsigned char SH = MI->getOperand(2).getImm(); 37 unsigned char MB = MI->getOperand(3).getImm(); 38 unsigned char ME = MI->getOperand(4).getImm(); 48 printOperand(MI, 0, O); 50 printOperand(MI, 1, O); 56 if ((MI->getOpcode() == PPC::OR || MI->getOpcode() == PPC::OR8) && 57 MI->getOperand(1).getReg() == MI->getOperand(2).getReg()) [all...] |
PPCInstPrinter.h | 35 virtual void printInst(const MCInst *MI, raw_ostream &O); 41 void printInstruction(const MCInst *MI, raw_ostream &O); 45 void printOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O); 46 void printPredicateOperand(const MCInst *MI, unsigned OpNo, 50 void printS5ImmOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O); 51 void printU5ImmOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O); 52 void printU6ImmOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O); 53 void printS16ImmOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O); 54 void printU16ImmOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O); 55 void printS16X4ImmOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O) [all...] |
/external/llvm/lib/Target/MBlaze/InstPrinter/ |
MBlazeInstPrinter.h | 27 virtual void printInst(const MCInst *MI, raw_ostream &O); 30 void printInstruction(const MCInst *MI, raw_ostream &O); 34 void printOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O, 36 void printFSLImm(const MCInst *MI, int OpNo, raw_ostream &O); 37 void printUnsignedImm(const MCInst *MI, int OpNo, raw_ostream &O); 38 void printMemOperand(const MCInst *MI, int OpNo,raw_ostream &O,
|
MBlazeInstPrinter.cpp | 28 void MBlazeInstPrinter::printInst(const MCInst *MI, raw_ostream &O) { 29 printInstruction(MI, O); 32 void MBlazeInstPrinter::printOperand(const MCInst *MI, unsigned OpNo, 35 const MCOperand &Op = MI->getOperand(OpNo); 46 void MBlazeInstPrinter::printFSLImm(const MCInst *MI, int OpNo, 48 const MCOperand &MO = MI->getOperand(OpNo); 52 printOperand(MI, OpNo, O, NULL); 55 void MBlazeInstPrinter::printUnsignedImm(const MCInst *MI, int OpNo, 57 const MCOperand &MO = MI->getOperand(OpNo); 61 printOperand(MI, OpNo, O, NULL) [all...] |
/external/llvm/lib/Target/MSP430/InstPrinter/ |
MSP430InstPrinter.h | 27 virtual void printInst(const MCInst *MI, raw_ostream &O); 30 void printInstruction(const MCInst *MI, raw_ostream &O); 33 void printOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O, 35 void printPCRelImmOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O); 36 void printSrcMemOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O, 38 void printCCOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
|
/external/llvm/lib/Target/PTX/ |
PTXRegisterInfo.cpp | 35 MachineInstr& MI = *II; 38 while (!MI.getOperand(Index).isFI()) { 40 assert(Index < MI.getNumOperands() && 44 int FrameIndex = MI.getOperand(Index).getIndex(); 46 DEBUG(dbgs() << "eliminateFrameIndex: " << MI); 51 MI.getOperand(Index).ChangeToImmediate(FrameIndex);
|
/external/llvm/lib/Target/ARM/ |
ARMCodeEmitter.cpp | 77 unsigned getBinaryCodeForInstr(const MachineInstr &MI) const; 85 void emitInstruction(const MachineInstr &MI); 92 void emitConstPoolInstruction(const MachineInstr &MI); 93 void emitMOVi32immInstruction(const MachineInstr &MI); 94 void emitMOVi2piecesInstruction(const MachineInstr &MI); 95 void emitLEApcrelInstruction(const MachineInstr &MI); 96 void emitLEApcrelJTInstruction(const MachineInstr &MI); 97 void emitPseudoMoveInstruction(const MachineInstr &MI); 99 void emitPseudoInstruction(const MachineInstr &MI); 100 unsigned getMachineSoRegOpValue(const MachineInstr &MI, [all...] |
/external/llvm/lib/Target/CellSPU/ |
SPUAsmPrinter.cpp | 51 void printInstruction(const MachineInstr *MI, raw_ostream &OS); 55 void EmitInstruction(const MachineInstr *MI) { 58 printInstruction(MI, OS); 63 void printOperand(const MachineInstr *MI, unsigned OpNo, raw_ostream &O) { 64 const MachineOperand &MO = MI->getOperand(OpNo); 74 bool PrintAsmOperand(const MachineInstr *MI, unsigned OpNo, 77 bool PrintAsmMemoryOperand(const MachineInstr *MI, unsigned OpNo, 83 printU7ImmOperand(const MachineInstr *MI, unsigned OpNo, raw_ostream &O) 85 unsigned int value = MI->getOperand(OpNo).getImm(); 91 printShufAddr(const MachineInstr *MI, unsigned OpNo, raw_ostream &O [all...] |
/external/llvm/lib/Target/X86/ |
X86AsmPrinter.h | 52 virtual void EmitInstruction(const MachineInstr *MI); 57 void printOperand(const MachineInstr *MI, unsigned OpNo, raw_ostream &O, 59 void print_pcrel_imm(const MachineInstr *MI, unsigned OpNo, raw_ostream &O); 62 bool PrintAsmOperand(const MachineInstr *MI, unsigned OpNo, 65 bool PrintAsmMemoryOperand(const MachineInstr *MI, unsigned OpNo, 69 void printMachineInstruction(const MachineInstr *MI); 70 void printSSECC(const MachineInstr *MI, unsigned Op, raw_ostream &O); 71 void printMemReference(const MachineInstr *MI, unsigned Op, raw_ostream &O, 73 void printLeaMemReference(const MachineInstr *MI, unsigned Op, raw_ostream &O, 76 void printPICLabel(const MachineInstr *MI, unsigned Op, raw_ostream &O) [all...] |
/external/llvm/lib/Target/Mips/InstPrinter/ |
MipsInstPrinter.cpp | 72 void MipsInstPrinter::printInst(const MCInst *MI, raw_ostream &O) { 73 printInstruction(MI, O); 76 void MipsInstPrinter::printOperand(const MCInst *MI, unsigned OpNo, 78 const MCOperand &Op = MI->getOperand(OpNo); 93 void MipsInstPrinter::printUnsignedImm(const MCInst *MI, int opNum, 95 const MCOperand &MO = MI->getOperand(opNum); 99 printOperand(MI, opNum, O); 103 printMemOperand(const MCInst *MI, int opNum, raw_ostream &O) { 107 printOperand(MI, opNum+1, O); 109 printOperand(MI, opNum, O) [all...] |
/external/llvm/lib/Target/PowerPC/ |
PPCCodeEmitter.cpp | 53 unsigned getBinaryCodeForInstr(const MachineInstr &MI) const; 60 unsigned getMachineOpValue(const MachineInstr &MI, 63 unsigned get_crbitm_encoding(const MachineInstr &MI, unsigned OpNo) const; 64 unsigned getDirectBrEncoding(const MachineInstr &MI, unsigned OpNo) const; 65 unsigned getCondBrEncoding(const MachineInstr &MI, unsigned OpNo) const; 67 unsigned getHA16Encoding(const MachineInstr &MI, unsigned OpNo) const; 68 unsigned getLO16Encoding(const MachineInstr &MI, unsigned OpNo) const; 69 unsigned getMemRIEncoding(const MachineInstr &MI, unsigned OpNo) const; 70 unsigned getMemRIXEncoding(const MachineInstr &MI, unsigned OpNo) const; 114 const MachineInstr &MI = *I [all...] |
PPCMCCodeEmitter.cpp | 39 unsigned getDirectBrEncoding(const MCInst &MI, unsigned OpNo, 41 unsigned getCondBrEncoding(const MCInst &MI, unsigned OpNo, 43 unsigned getHA16Encoding(const MCInst &MI, unsigned OpNo, 45 unsigned getLO16Encoding(const MCInst &MI, unsigned OpNo, 47 unsigned getMemRIEncoding(const MCInst &MI, unsigned OpNo, 49 unsigned getMemRIXEncoding(const MCInst &MI, unsigned OpNo, 51 unsigned get_crbitm_encoding(const MCInst &MI, unsigned OpNo, 56 unsigned getMachineOpValue(const MCInst &MI,const MCOperand &MO, 61 unsigned getBinaryCodeForInstr(const MCInst &MI, 63 void EncodeInstruction(const MCInst &MI, raw_ostream &OS [all...] |
/external/llvm/lib/Target/Blackfin/ |
BlackfinAsmPrinter.cpp | 48 void printOperand(const MachineInstr *MI, int opNum, raw_ostream &O); 49 void printMemoryOperand(const MachineInstr *MI, int opNum, raw_ostream &O); 50 void printInstruction(const MachineInstr *MI, raw_ostream &O);// autogen'd. 53 void EmitInstruction(const MachineInstr *MI) { 56 printInstruction(MI, OS); 59 bool PrintAsmOperand(const MachineInstr *MI, unsigned OpNo, 62 bool PrintAsmMemoryOperand(const MachineInstr *MI, unsigned OpNo, 74 void BlackfinAsmPrinter::printOperand(const MachineInstr *MI, int opNum, 76 const MachineOperand &MO = MI->getOperand(opNum); 111 void BlackfinAsmPrinter::printMemoryOperand(const MachineInstr *MI, int opNum [all...] |
/external/llvm/lib/Target/MSP430/ |
MSP430AsmPrinter.cpp | 51 void printOperand(const MachineInstr *MI, int OpNum, 53 void printSrcMemOperand(const MachineInstr *MI, int OpNum, 55 bool PrintAsmOperand(const MachineInstr *MI, unsigned OpNo, 58 bool PrintAsmMemoryOperand(const MachineInstr *MI, 61 void EmitInstruction(const MachineInstr *MI); 66 void MSP430AsmPrinter::printOperand(const MachineInstr *MI, int OpNum, 68 const MachineOperand &MO = MI->getOperand(OpNum); 113 void MSP430AsmPrinter::printSrcMemOperand(const MachineInstr *MI, int OpNum, 115 const MachineOperand &Base = MI->getOperand(OpNum); 116 const MachineOperand &Disp = MI->getOperand(OpNum+1) [all...] |
/external/llvm/lib/Target/Mips/ |
MipsAsmPrinter.h | 42 void EmitInstruction(const MachineInstr *MI); 52 bool PrintAsmOperand(const MachineInstr *MI, unsigned OpNo, 55 bool PrintAsmMemoryOperand(const MachineInstr *MI, unsigned OpNum, 58 void printOperand(const MachineInstr *MI, int opNum, raw_ostream &O); 59 void printUnsignedImm(const MachineInstr *MI, int opNum, raw_ostream &O); 60 void printMemOperand(const MachineInstr *MI, int opNum, raw_ostream &O); 61 void printMemOperandEA(const MachineInstr *MI, int opNum, raw_ostream &O); 62 void printFCCOperand(const MachineInstr *MI, int opNum, raw_ostream &O, 65 virtual MachineLocation getDebugValueLocation(const MachineInstr *MI) const; 66 void PrintDebugValueComment(const MachineInstr *MI, raw_ostream &OS) [all...] |