Home | History | Annotate | Download | only in MCTargetDesc

Lines Matching refs:STI

115 bool MipsMCCodeEmitter::isMicroMips(const MCSubtargetInfo &STI) const {
116 return STI.getFeatureBits()[Mips::FeatureMicroMips];
119 bool MipsMCCodeEmitter::isMips32r6(const MCSubtargetInfo &STI) const {
120 return STI.getFeatureBits()[Mips::FeatureMips32r6];
128 const MCSubtargetInfo &STI,
134 if (IsLittleEndian && Size == 4 && isMicroMips(STI)) {
135 EmitInstruction(Val >> 16, 2, STI, OS);
136 EmitInstruction(Val, 2, STI, OS);
150 const MCSubtargetInfo &STI) const
173 uint32_t Binary = getBinaryCodeForInstr(TmpInst, Fixups, STI);
184 if (isMicroMips(STI)) {
185 if (isMips32r6(STI)) {
203 Binary = getBinaryCodeForInstr(TmpInst, Fixups, STI);
214 EmitInstruction(Binary, Size, STI, OS);
223 const MCSubtargetInfo &STI) const {
246 const MCSubtargetInfo &STI) const {
268 const MCSubtargetInfo &STI) const {
290 const MCSubtargetInfo &STI) const {
313 const MCSubtargetInfo &STI) const {
336 const MCSubtargetInfo &STI) const {
358 const MCSubtargetInfo &STI) const {
376 const MCSubtargetInfo &STI) const {
395 const MCSubtargetInfo &STI) const {
413 const MCSubtargetInfo &STI) const {
431 const MCSubtargetInfo &STI) const {
436 unsigned Res = getMachineOpValue(MI, MO, Fixups, STI);
450 const MCSubtargetInfo &STI) const {
464 const MCSubtargetInfo &STI) const {
478 const MCSubtargetInfo &STI) const {
491 const MCSubtargetInfo &STI) const {
503 unsigned Res = getExprOpValue(cast<MCBinaryExpr>(Expr)->getLHS(), Fixups, STI);
504 Res += getExprOpValue(cast<MCBinaryExpr>(Expr)->getRHS(), Fixups, STI);
521 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_HI16
525 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_LO16
549 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_GOT_PAGE
553 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_GOT_OFST
557 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_GOT_DISP
564 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_CALL16
568 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_GOT16
572 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_GOT16
576 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_HI16
580 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_LO16
584 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_TLS_GD
588 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_TLS_LDM
592 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_TLS_DTPREL_HI16
596 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_TLS_DTPREL_LO16
603 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_TLS_TPREL_HI16
607 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_TLS_TPREL_LO16
647 const MCSubtargetInfo &STI) const {
660 return getExprOpValue(MO.getExpr(),Fixups, STI);
668 const MCSubtargetInfo &STI) const {
671 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo),Fixups, STI) << 16;
672 unsigned OffBits = getMachineOpValue(MI, MI.getOperand(OpNo+1), Fixups, STI);
712 const MCSubtargetInfo &STI) const {
715 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo),Fixups, STI) << 16;
716 unsigned OffBits = getMachineOpValue(MI, MI.getOperand(OpNo+1), Fixups, STI);
724 const MCSubtargetInfo &STI) const {
728 Fixups, STI) << 4;
730 Fixups, STI);
738 const MCSubtargetInfo &STI) const {
742 Fixups, STI) << 4;
744 Fixups, STI) >> 1;
752 const MCSubtargetInfo &STI) const {
756 Fixups, STI) << 4;
758 Fixups, STI) >> 2;
766 const MCSubtargetInfo &STI) const {
773 Fixups, STI) >> 2;
781 const MCSubtargetInfo &STI) const {
788 Fixups, STI) >> 2;
796 const MCSubtargetInfo &STI) const {
800 STI) << 16;
801 unsigned OffBits = getMachineOpValue(MI, MI.getOperand(OpNo + 1), Fixups, STI);
809 const MCSubtargetInfo &STI) const {
823 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo), Fixups, STI) << 16;
824 unsigned OffBits = getMachineOpValue(MI, MI.getOperand(OpNo+1), Fixups, STI);
832 const MCSubtargetInfo &STI) const {
836 STI) << 16;
837 unsigned OffBits = getMachineOpValue(MI, MI.getOperand(OpNo+1), Fixups, STI);
845 const MCSubtargetInfo &STI) const {
863 unsigned OffBits = getMachineOpValue(MI, MI.getOperand(OpNo+1), Fixups, STI);
873 const MCSubtargetInfo &STI) const {
876 unsigned Position = getMachineOpValue(MI, MI.getOperand(OpNo-1), Fixups, STI);
877 unsigned Size = getMachineOpValue(MI, MI.getOperand(OpNo), Fixups, STI);
886 const MCSubtargetInfo &STI) const {
888 unsigned Value = getMachineOpValue(MI, MI.getOperand(OpNo), Fixups, STI);
896 const MCSubtargetInfo &STI) const {
900 unsigned Res = getMachineOpValue(MI, MO, Fixups, STI);
917 const MCSubtargetInfo &STI) const {
921 unsigned Res = getMachineOpValue(MI, MI.getOperand(OpNo), Fixups, STI);
938 const MCSubtargetInfo &STI) const {
947 const MCSubtargetInfo &STI) const {
975 const MCSubtargetInfo &STI) const {
995 const MCSubtargetInfo &STI) const {
1002 const MCSubtargetInfo &STI) const {
1003 return getMachineOpValue(MI, MI.getOperand(OpNo), Fixups, STI);
1009 const MCSubtargetInfo &STI) const {
1043 const MCSubtargetInfo &STI) const {