Lines Matching refs:STI
119 bool MipsMCCodeEmitter::isMicroMips(const MCSubtargetInfo &STI) const { in isMicroMips()
120 return STI.hasFeature(Mips::FeatureMicroMips); in isMicroMips()
123 bool MipsMCCodeEmitter::isMips32r6(const MCSubtargetInfo &STI) const { in isMips32r6()
124 return STI.hasFeature(Mips::FeatureMips32r6); in isMips32r6()
136 const MCSubtargetInfo &STI) const { in encodeInstruction()
163 uint32_t Binary = getBinaryCodeForInstr(TmpInst, Fixups, STI); in encodeInstruction()
174 if (isMicroMips(STI)) { in encodeInstruction()
175 if (isMips32r6(STI)) { in encodeInstruction()
192 Binary = getBinaryCodeForInstr(TmpInst, Fixups, STI); in encodeInstruction()
197 unsigned RegPair = getMovePRegPairOpValue(MI, 0, Fixups, STI); in encodeInstruction()
213 } else if (IsLittleEndian && isMicroMips(STI)) { in encodeInstruction()
227 const MCSubtargetInfo &STI) const { in getBranchTargetOpValue()
249 const MCSubtargetInfo &STI) const { in getBranchTargetOpValue1SImm16()
271 const MCSubtargetInfo &STI) const { in getBranchTargetOpValueMMR6()
294 const MCSubtargetInfo &STI) const { in getBranchTargetOpValueLsl2MMR6()
317 const MCSubtargetInfo &STI) const { in getBranchTarget7OpValueMM()
338 const MCSubtargetInfo &STI) const { in getBranchTargetOpValueMMPC10()
359 const MCSubtargetInfo &STI) const { in getBranchTargetOpValueMM()
381 const MCSubtargetInfo &STI) const { in getBranchTarget21OpValue()
403 const MCSubtargetInfo &STI) const { in getBranchTarget21OpValueMM()
425 const MCSubtargetInfo &STI) const { in getBranchTarget26OpValue()
446 const MCSubtargetInfo &STI) const { in getBranchTarget26OpValueMM()
469 const MCSubtargetInfo &STI) const { in getJumpOffset16OpValue()
479 isMicroMips(STI) ? Mips::fixup_MICROMIPS_LO16 : Mips::fixup_Mips_LO16; in getJumpOffset16OpValue()
490 const MCSubtargetInfo &STI) const { in getJumpTargetOpValue()
507 const MCSubtargetInfo &STI) const { in getJumpTargetOpValueMM()
524 const MCSubtargetInfo &STI) const { in getUImm5Lsl2Encoding()
528 unsigned Res = getMachineOpValue(MI, MO, Fixups, STI); in getUImm5Lsl2Encoding()
542 const MCSubtargetInfo &STI) const { in getSImm3Lsa2Value()
555 const MCSubtargetInfo &STI) const { in getUImm6Lsl2Encoding()
568 const MCSubtargetInfo &STI) const { in getSImm9AddiuspValue()
580 const MCSubtargetInfo &STI) const { in getExprOpValue()
593 getExprOpValue(cast<MCBinaryExpr>(Expr)->getLHS(), Fixups, STI); in getExprOpValue()
594 Res += getExprOpValue(cast<MCBinaryExpr>(Expr)->getRHS(), Fixups, STI); in getExprOpValue()
610 return getExprOpValue(MipsExpr->getSubExpr(), Fixups, STI); in getExprOpValue()
618 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_TLS_DTPREL_HI16 in getExprOpValue()
622 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_TLS_DTPREL_LO16 in getExprOpValue()
626 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_GOTTPREL in getExprOpValue()
630 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_GOT16 in getExprOpValue()
634 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_CALL16 in getExprOpValue()
638 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_GOT_DISP in getExprOpValue()
648 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_GOT_PAGE in getExprOpValue()
652 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_GOT_OFST in getExprOpValue()
661 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_GPOFF_LO in getExprOpValue()
664 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_LO16 in getExprOpValue()
668 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_HIGHEST in getExprOpValue()
672 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_HIGHER in getExprOpValue()
678 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_GPOFF_HI in getExprOpValue()
681 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_HI16 in getExprOpValue()
691 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_TLS_GD in getExprOpValue()
695 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_TLS_LDM in getExprOpValue()
699 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_TLS_TPREL_HI16 in getExprOpValue()
703 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_TLS_TPREL_LO16 in getExprOpValue()
708 isMicroMips(STI) ? Mips::fixup_MICROMIPS_SUB : Mips::fixup_Mips_SUB; in getExprOpValue()
725 const MCSubtargetInfo &STI) const { in getMachineOpValue()
737 return getExprOpValue(MO.getExpr(),Fixups, STI); in getMachineOpValue()
745 const MCSubtargetInfo &STI) const { in getMemEncoding()
748 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo), Fixups, STI) in getMemEncoding()
750 unsigned OffBits = getMachineOpValue(MI, MI.getOperand(OpNo+1), Fixups, STI); in getMemEncoding()
761 const MCSubtargetInfo &STI) const { in getMemEncodingMMImm4()
765 Fixups, STI) << 4; in getMemEncodingMMImm4()
767 Fixups, STI); in getMemEncodingMMImm4()
775 const MCSubtargetInfo &STI) const { in getMemEncodingMMImm4Lsl1()
779 Fixups, STI) << 4; in getMemEncodingMMImm4Lsl1()
781 Fixups, STI) >> 1; in getMemEncodingMMImm4Lsl1()
789 const MCSubtargetInfo &STI) const { in getMemEncodingMMImm4Lsl2()
793 Fixups, STI) << 4; in getMemEncodingMMImm4Lsl2()
795 Fixups, STI) >> 2; in getMemEncodingMMImm4Lsl2()
803 const MCSubtargetInfo &STI) const { in getMemEncodingMMSPImm5Lsl2()
810 Fixups, STI) >> 2; in getMemEncodingMMSPImm5Lsl2()
818 const MCSubtargetInfo &STI) const { in getMemEncodingMMGPImm7Lsl2()
825 Fixups, STI) >> 2; in getMemEncodingMMGPImm7Lsl2()
833 const MCSubtargetInfo &STI) const { in getMemEncodingMMImm9()
837 STI) << 16; in getMemEncodingMMImm9()
839 getMachineOpValue(MI, MI.getOperand(OpNo + 1), Fixups, STI); in getMemEncodingMMImm9()
847 const MCSubtargetInfo &STI) const { in getMemEncodingMMImm11()
851 STI) << 16; in getMemEncodingMMImm11()
852 unsigned OffBits = getMachineOpValue(MI, MI.getOperand(OpNo+1), Fixups, STI); in getMemEncodingMMImm11()
860 const MCSubtargetInfo &STI) const { in getMemEncodingMMImm12()
874 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo), Fixups, STI) in getMemEncodingMMImm12()
876 unsigned OffBits = getMachineOpValue(MI, MI.getOperand(OpNo+1), Fixups, STI); in getMemEncodingMMImm12()
884 const MCSubtargetInfo &STI) const { in getMemEncodingMMImm16()
888 STI) << 16; in getMemEncodingMMImm16()
889 unsigned OffBits = getMachineOpValue(MI, MI.getOperand(OpNo+1), Fixups, STI); in getMemEncodingMMImm16()
897 const MCSubtargetInfo &STI) const { in getMemEncodingMMImm4sp()
915 unsigned OffBits = getMachineOpValue(MI, MI.getOperand(OpNo+1), Fixups, STI); in getMemEncodingMMImm4sp()
925 const MCSubtargetInfo &STI) const { in getSizeInsEncoding()
928 unsigned Position = getMachineOpValue(MI, MI.getOperand(OpNo-1), Fixups, STI); in getSizeInsEncoding()
929 unsigned Size = getMachineOpValue(MI, MI.getOperand(OpNo), Fixups, STI); in getSizeInsEncoding()
938 const MCSubtargetInfo &STI) const { in getUImmWithOffsetEncoding()
940 unsigned Value = getMachineOpValue(MI, MI.getOperand(OpNo), Fixups, STI); in getUImmWithOffsetEncoding()
948 const MCSubtargetInfo &STI) const { in getSimm19Lsl2Encoding()
952 unsigned Res = getMachineOpValue(MI, MO, Fixups, STI); in getSimm19Lsl2Encoding()
961 Mips::Fixups FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_PC19_S2 in getSimm19Lsl2Encoding()
970 const MCSubtargetInfo &STI) const { in getSimm18Lsl3Encoding()
974 unsigned Res = getMachineOpValue(MI, MI.getOperand(OpNo), Fixups, STI); in getSimm18Lsl3Encoding()
983 Mips::Fixups FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_PC18_S3 in getSimm18Lsl3Encoding()
992 const MCSubtargetInfo &STI) const { in getUImm3Mod8Encoding()
1001 const MCSubtargetInfo &STI) const { in getUImm4AndValue()
1029 const MCSubtargetInfo &STI) const { in getRegisterListOpValue()
1049 const MCSubtargetInfo &STI) const { in getRegisterListOpValue16()
1056 const MCSubtargetInfo &STI) const { in getMovePRegPairOpValue()
1090 const MCSubtargetInfo &STI) const { in getMovePRegSingleOpValue()
1113 const MCSubtargetInfo &STI) const { in getSimm23Lsl2Encoding()