Home
last modified time | relevance | path

Searched refs:MipsII (Results 1 – 18 of 18) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsMCInstLower.cpp45 case MipsII::MO_NO_FLAG: in LowerSymbolOperand()
47 case MipsII::MO_GPREL: in LowerSymbolOperand()
50 case MipsII::MO_GOT_CALL: in LowerSymbolOperand()
53 case MipsII::MO_GOT: in LowerSymbolOperand()
56 case MipsII::MO_ABS_HI: in LowerSymbolOperand()
59 case MipsII::MO_ABS_LO: in LowerSymbolOperand()
62 case MipsII::MO_TLSGD: in LowerSymbolOperand()
65 case MipsII::MO_TLSLDM: in LowerSymbolOperand()
68 case MipsII::MO_DTPREL_HI: in LowerSymbolOperand()
71 case MipsII in LowerSymbolOperand()
[all...]
H A DMipsMulMulBugPass.cpp55 bool fixMulMulBB(MachineBasicBlock &MBB, const MipsInstrInfo &MipsII);
66 const MipsInstrInfo &MipsII = in runOnMachineFunction() local
72 Modified |= fixMulMulBB(MBB, MipsII); in runOnMachineFunction()
110 const MipsInstrInfo &MipsII) { in fixMulMulBB() argument
127 const MCInstrDesc &NewMCID = MipsII.get(Mips::NOP); in fixMulMulBB()
H A DMipsMachineFunction.cpp96 .addGlobalAddress(FName, 0, MipsII::MO_GPOFF_HI); in initGlobalBaseReg()
100 .addGlobalAddress(FName, 0, MipsII::MO_GPOFF_LO); in initGlobalBaseReg()
110 .addExternalSymbol("__gnu_local_gp", MipsII::MO_ABS_HI); in initGlobalBaseReg()
112 .addExternalSymbol("__gnu_local_gp", MipsII::MO_ABS_LO); in initGlobalBaseReg()
125 .addGlobalAddress(FName, 0, MipsII::MO_GPOFF_HI); in initGlobalBaseReg()
128 .addGlobalAddress(FName, 0, MipsII::MO_GPOFF_LO); in initGlobalBaseReg()
H A DMipsAsmPrinter.cpp165 if (MO.isMCSymbol() && (MO.getTargetFlags() & MipsII::MO_JALR)) { in emitDirectiveRelocJalr()
631 case MipsII::MO_GPREL: O << "%gp_rel("; break; in printOperand()
632 case MipsII::MO_GOT_CALL: O << "%call16("; break; in printOperand()
633 case MipsII::MO_GOT: O << "%got("; break; in printOperand()
634 case MipsII::MO_ABS_HI: O << "%hi("; break; in printOperand()
635 case MipsII::MO_ABS_LO: O << "%lo("; break; in printOperand()
636 case MipsII::MO_HIGHER: O << "%higher("; break; in printOperand()
637 case MipsII::MO_HIGHEST: O << "%highest(("; break; in printOperand()
638 case MipsII::MO_TLSGD: O << "%tlsgd("; break; in printOperand()
639 case MipsII::MO_GOTTPREL: O << "%gottprel("; break; in printOperand()
[all …]
H A DMipsISelLowering.h386 unsigned GOTFlag = IsN32OrN64 ? MipsII::MO_GOT_PAGE : MipsII::MO_GOT; in getAddrLocal()
392 unsigned LoFlag = IsN32OrN64 ? MipsII::MO_GOT_OFST : MipsII::MO_ABS_LO; in getAddrLocal()
437 SDValue Hi = getTargetNode(N, Ty, DAG, MipsII::MO_ABS_HI); in getAddrNonPIC()
438 SDValue Lo = getTargetNode(N, Ty, DAG, MipsII::MO_ABS_LO); in getAddrNonPIC()
454 SDValue Hi = getTargetNode(N, Ty, DAG, MipsII::MO_ABS_HI); in getAddrNonPICSym64()
455 SDValue Lo = getTargetNode(N, Ty, DAG, MipsII::MO_ABS_LO); in getAddrNonPICSym64()
459 getTargetNode(N, Ty, DAG, MipsII::MO_HIGHEST)); in getAddrNonPICSym64()
460 SDValue Higher = getTargetNode(N, Ty, DAG, MipsII::MO_HIGHER); in getAddrNonPICSym64()
481 SDValue GPRel = getTargetNode(N, Ty, DAG, MipsII::MO_GPREL); in getAddrGPRel()
H A DMipsBranchExpansion.cpp494 .addMBB(TgtMBB, MipsII::MO_ABS_HI) in expandToLongBranch()
502 .addMBB(TgtMBB, MipsII::MO_ABS_LO) in expandToLongBranch()
602 .addMBB(TgtMBB, MipsII::MO_ABS_HI) in expandToLongBranch()
613 .addMBB(TgtMBB, MipsII::MO_ABS_LO) in expandToLongBranch()
690 .addMBB(TgtMBB, MipsII::MO_HIGHEST); in expandToLongBranch()
694 .addMBB(TgtMBB, MipsII::MO_HIGHER); in expandToLongBranch()
701 .addMBB(TgtMBB, MipsII::MO_ABS_HI); in expandToLongBranch()
708 .addMBB(TgtMBB, MipsII::MO_ABS_LO); in expandToLongBranch()
712 .addMBB(TgtMBB, MipsII::MO_ABS_HI); in expandToLongBranch()
716 .addMBB(TgtMBB, MipsII::MO_ABS_LO); in expandToLongBranch()
[all …]
H A DMipsInstructionSelector.cpp388 .addJumpTableIndex(I.getOperand(1).getIndex(), MipsII::MO_ABS_LO) in select()
673 if (I.getOperand(1).getTargetFlags() == MipsII::MO_GOT_CALL) in select()
674 LWGOT->getOperand(2).setTargetFlags(MipsII::MO_GOT_CALL); in select()
676 LWGOT->getOperand(2).setTargetFlags(MipsII::MO_GOT); in select()
692 ADDiu->getOperand(2).setTargetFlags(MipsII::MO_ABS_LO); in select()
702 LUi->getOperand(1).setTargetFlags(MipsII::MO_ABS_HI); in select()
711 ADDiu->getOperand(2).setTargetFlags(MipsII::MO_ABS_LO); in select()
724 .addJumpTableIndex(I.getOperand(1).getIndex(), MipsII::MO_GOT) in select()
732 .addJumpTableIndex(I.getOperand(1).getIndex(), MipsII::MO_ABS_HI); in select()
H A DMicroMipsSizeReduction.cpp140 static const MipsInstrInfo *MipsII; member in __anon444259690111::MicroMipsSizeReduce
205 const MipsInstrInfo *MicroMipsSizeReduce::MipsII; member in __anon444259690111::MicroMipsSizeReduce
704 MI->setDesc(MipsII->get(Entry.NarrowOpc())); in ReplaceInstruction()
709 const MCInstrDesc &NewMCID = MipsII->get(Entry.NarrowOpc()); in ReplaceInstruction()
784 MipsII = static_cast<const MipsInstrInfo *>(Subtarget->getInstrInfo()); in runOnMachineFunction()
H A DMips16ISelDAGToDAG.cpp84 .addExternalSymbol("_gp_disp", MipsII::MO_ABS_HI); in initGlobalBaseReg()
86 .addExternalSymbol("_gp_disp", MipsII::MO_ABS_LO); in initGlobalBaseReg()
H A DMipsOptimizePICCall.cpp291 if (Flags != MipsII::MO_GOT_CALL && Flags != MipsII::MO_CALL_LO16) in isCallViaRegister()
H A DMipsInstrInfo.cpp581 return (MI.getDesc().TSFlags & MipsII::IsCTI) == 0; in SafeInForbiddenSlot()
628 return (MI.getDesc().TSFlags & MipsII::HasForbiddenSlot) != 0; in HasForbiddenSlot()
752 if (MO.isMCSymbol() && (MO.getTargetFlags() & MipsII::MO_JALR)) in genInstrWithNewOpc()
753 MIB.addSym(MO.getMCSymbol(), MipsII::MO_JALR); in genInstrWithNewOpc()
905 using namespace MipsII; in getSerializableDirectMachineOperandTargetFlags()
H A DMipsISelLowering.cpp2134 N, SDLoc(N), Ty, DAG, MipsII::MO_GOT_HI16, MipsII::MO_GOT_LO16, in lowerGlobalAddress()
2140 (ABI.IsN32() || ABI.IsN64()) ? MipsII::MO_GOT_DISP : MipsII::MO_GOT, in lowerGlobalAddress()
2175 unsigned Flag = (model == TLSModel::LocalDynamic) ? MipsII::MO_TLSLDM in lowerGlobalTLSAddress()
2176 : MipsII::MO_TLSGD; in lowerGlobalTLSAddress()
2204 MipsII::MO_DTPREL_HI); in lowerGlobalTLSAddress()
2207 MipsII::MO_DTPREL_LO); in lowerGlobalTLSAddress()
2217 MipsII::MO_GOTTPREL); in lowerGlobalTLSAddress()
2226 MipsII::MO_TPREL_HI); in lowerGlobalTLSAddress()
2228 MipsII::MO_TPREL_LO); in lowerGlobalTLSAddress()
3172 MI.addOperand(MachineOperand::CreateMCSymbol(S, MipsII::MO_JALR)); in AdjustInstrPostInstrSelection()
[all …]
H A DMipsFastISel.cpp419 .addGlobalAddress(GV, 0, MipsII::MO_GOT); in materializeGV()
425 .addGlobalAddress(GV, 0, MipsII::MO_ABS_LO); in materializeGV()
436 .addSym(Sym, MipsII::MO_GOT); in materializeExternalCallSym()
1570 MIB.addSym(Symbol, MipsII::MO_JALR); in fastLowerCall()
1573 Addr.getGlobalValue()->getName()), MipsII::MO_JALR); in fastLowerCall()
H A DMipsCallLowering.cpp486 CalleeGlobalValue->getOperand(1).setTargetFlags(MipsII::MO_GOT_CALL); in lowerCall()
H A DMips16ISelLowering.cpp494 MipsII::MO_GOT, Chain, in getOpndList()
H A DMipsInstrInfo.td1151 let OperandNamespace = "MipsII";
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsBaseInfo.h28 namespace MipsII {
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp729 return !inMicroMipsMode() && (MCID.TSFlags & MipsII::HasForbiddenSlot); in hasForbiddenSlot()
733 return !(MCID.TSFlags & MipsII::IsCTI); in SafeInForbiddenSlot()
1848 OpInfo.OperandType != MipsII::OPERAND_MEM_SIMM9) in needsExpandMemInst()
1853 if (OpInfo.OperandType == MipsII::OPERAND_MEM_SIMM9) in needsExpandMemInst()
2160 case MipsII::OPERAND_MEM_SIMM9: in processInstruction()
5976 if ((TSFlags & MipsII::HasFCCRegOperand) && in checkTargetMatchPredicate()