Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/lib/Target/Mips/
H A DMipsMCInstLower.cpp46 case MipsII::MO_NO_FLAG: in LowerSymbolOperand()
48 case MipsII::MO_GPREL: in LowerSymbolOperand()
51 case MipsII::MO_GOT_CALL: in LowerSymbolOperand()
54 case MipsII::MO_GOT: in LowerSymbolOperand()
57 case MipsII::MO_ABS_HI: in LowerSymbolOperand()
60 case MipsII::MO_ABS_LO: in LowerSymbolOperand()
63 case MipsII::MO_TLSGD: in LowerSymbolOperand()
66 case MipsII::MO_TLSLDM: in LowerSymbolOperand()
107 case MipsII::MO_HIGHER: in LowerSymbolOperand()
110 case MipsII::MO_HIGHEST: in LowerSymbolOperand()
[all …]
H A DMipsReturnProtectorLowering.cpp59 .addGlobalAddress(FName, 0, MipsII::MO_GPOFF_HI); in insertReturnProtectorPrologue()
61 .addGlobalAddress(cookie, 0, MipsII::MO_GOT_HI16); in insertReturnProtectorPrologue()
67 .addGlobalAddress(cookie, 0, MipsII::MO_GOT_LO16); in insertReturnProtectorPrologue()
73 .addGlobalAddress(FName, 0, MipsII::MO_GPOFF_LO); in insertReturnProtectorPrologue()
81 .addGlobalAddress(cookie, 0, MipsII::MO_HIGHEST); in insertReturnProtectorPrologue()
83 .addGlobalAddress(cookie, 0, MipsII::MO_ABS_HI); in insertReturnProtectorPrologue()
86 .addGlobalAddress(cookie, 0, MipsII::MO_HIGHER); in insertReturnProtectorPrologue()
95 .addGlobalAddress(cookie, 0, MipsII::MO_ABS_LO); in insertReturnProtectorPrologue()
183 .addGlobalAddress(cookie, 0, MipsII::MO_ABS_HI); in insertReturnProtectorEpilogue()
186 .addGlobalAddress(cookie, 0, MipsII::MO_HIGHER); in insertReturnProtectorEpilogue()
[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.cpp95 .addGlobalAddress(FName, 0, MipsII::MO_GPOFF_HI); in initGlobalBaseReg()
99 .addGlobalAddress(FName, 0, MipsII::MO_GPOFF_LO); in initGlobalBaseReg()
109 .addExternalSymbol("__gnu_local_gp", MipsII::MO_ABS_HI); in initGlobalBaseReg()
111 .addExternalSymbol("__gnu_local_gp", MipsII::MO_ABS_LO); in initGlobalBaseReg()
124 .addGlobalAddress(FName, 0, MipsII::MO_GPOFF_HI); in initGlobalBaseReg()
127 .addGlobalAddress(FName, 0, MipsII::MO_GPOFF_LO); in initGlobalBaseReg()
H A DMipsAsmPrinter.cpp746 case MipsII::MO_GPREL: O << "%gp_rel("; break; in printOperand()
747 case MipsII::MO_GOT_CALL: O << "%call16("; break; in printOperand()
748 case MipsII::MO_GOT: O << "%got("; break; in printOperand()
749 case MipsII::MO_ABS_HI: O << "%hi("; break; in printOperand()
750 case MipsII::MO_ABS_LO: O << "%lo("; break; in printOperand()
751 case MipsII::MO_HIGHER: O << "%higher("; break; in printOperand()
752 case MipsII::MO_HIGHEST: O << "%highest(("; break; in printOperand()
753 case MipsII::MO_TLSGD: O << "%tlsgd("; break; in printOperand()
754 case MipsII::MO_GOTTPREL: O << "%gottprel("; break; in printOperand()
755 case MipsII::MO_TPREL_HI: O << "%tprel_hi("; break; in printOperand()
[all …]
H A DMipsISelLowering.h384 unsigned GOTFlag = IsN32OrN64 ? MipsII::MO_GOT_PAGE : MipsII::MO_GOT; in getAddrLocal()
390 unsigned LoFlag = IsN32OrN64 ? MipsII::MO_GOT_OFST : MipsII::MO_ABS_LO; in getAddrLocal()
435 SDValue Hi = getTargetNode(N, Ty, DAG, MipsII::MO_ABS_HI); in getAddrNonPIC()
436 SDValue Lo = getTargetNode(N, Ty, DAG, MipsII::MO_ABS_LO); in getAddrNonPIC()
452 SDValue Hi = getTargetNode(N, Ty, DAG, MipsII::MO_ABS_HI); in getAddrNonPICSym64()
453 SDValue Lo = getTargetNode(N, Ty, DAG, MipsII::MO_ABS_LO); in getAddrNonPICSym64()
457 getTargetNode(N, Ty, DAG, MipsII::MO_HIGHEST)); in getAddrNonPICSym64()
458 SDValue Higher = getTargetNode(N, Ty, DAG, MipsII::MO_HIGHER); in getAddrNonPICSym64()
479 SDValue GPRel = getTargetNode(N, Ty, DAG, MipsII::MO_GPREL); in getAddrGPRel()
H A DMipsBranchExpansion.cpp495 .addMBB(TgtMBB, MipsII::MO_ABS_HI) in expandToLongBranch()
503 .addMBB(TgtMBB, MipsII::MO_ABS_LO) in expandToLongBranch()
603 .addMBB(TgtMBB, MipsII::MO_ABS_HI) in expandToLongBranch()
614 .addMBB(TgtMBB, MipsII::MO_ABS_LO) in expandToLongBranch()
691 .addMBB(TgtMBB, MipsII::MO_HIGHEST); in expandToLongBranch()
695 .addMBB(TgtMBB, MipsII::MO_HIGHER); in expandToLongBranch()
702 .addMBB(TgtMBB, MipsII::MO_ABS_HI); in expandToLongBranch()
709 .addMBB(TgtMBB, MipsII::MO_ABS_LO); in expandToLongBranch()
713 .addMBB(TgtMBB, MipsII::MO_ABS_HI); in expandToLongBranch()
717 .addMBB(TgtMBB, MipsII::MO_ABS_LO); in expandToLongBranch()
[all …]
H A DMipsInstructionSelector.cpp394 .addJumpTableIndex(I.getOperand(1).getIndex(), MipsII::MO_ABS_LO) in select()
678 if (I.getOperand(1).getTargetFlags() == MipsII::MO_GOT_CALL) in select()
679 LWGOT->getOperand(2).setTargetFlags(MipsII::MO_GOT_CALL); in select()
681 LWGOT->getOperand(2).setTargetFlags(MipsII::MO_GOT); in select()
697 ADDiu->getOperand(2).setTargetFlags(MipsII::MO_ABS_LO); in select()
707 LUi->getOperand(1).setTargetFlags(MipsII::MO_ABS_HI); in select()
716 ADDiu->getOperand(2).setTargetFlags(MipsII::MO_ABS_LO); in select()
729 .addJumpTableIndex(I.getOperand(1).getIndex(), MipsII::MO_GOT) in select()
737 .addJumpTableIndex(I.getOperand(1).getIndex(), MipsII::MO_ABS_HI); in select()
H A DMicroMipsSizeReduction.cpp140 static const MipsInstrInfo *MipsII; member in __anon8722b3b60111::MicroMipsSizeReduce
205 const MipsInstrInfo *MicroMipsSizeReduce::MipsII; member in __anon8722b3b60111::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.cpp2111 N, SDLoc(N), Ty, DAG, MipsII::MO_GOT_HI16, MipsII::MO_GOT_LO16, in lowerGlobalAddress()
2117 (ABI.IsN32() || ABI.IsN64()) ? MipsII::MO_GOT_DISP : MipsII::MO_GOT, in lowerGlobalAddress()
2181 MipsII::MO_DTPREL_HI); in lowerGlobalTLSAddress()
2184 MipsII::MO_DTPREL_LO); in lowerGlobalTLSAddress()
2194 MipsII::MO_GOTTPREL); in lowerGlobalTLSAddress()
2203 MipsII::MO_TPREL_HI); in lowerGlobalTLSAddress()
2205 MipsII::MO_TPREL_LO); in lowerGlobalTLSAddress()
3428 MipsII::MO_CALL_LO16, Chain, in LowerCall()
3439 MipsII::MO_NO_FLAG); in LowerCall()
3447 Sym, getPointerTy(DAG.getDataLayout()), MipsII::MO_NO_FLAG); in LowerCall()
[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.td1150 let OperandNamespace = "MipsII";
/openbsd/gnu/llvm/llvm/tools/llvm-exegesis/lib/Mips/
H A DTarget.cpp21 switch (Instr.Description.TSFlags & MipsII::FormMask) { in isInvalidMemoryInstr()
25 case MipsII::Pseudo: in isInvalidMemoryInstr()
26 case MipsII::FrmR: in isInvalidMemoryInstr()
27 case MipsII::FrmJ: in isInvalidMemoryInstr()
28 case MipsII::FrmFR: in isInvalidMemoryInstr()
31 case MipsII::FrmI: in isInvalidMemoryInstr()
34 case MipsII::FrmFI: in isInvalidMemoryInstr()
35 case MipsII::FrmOther: in isInvalidMemoryInstr()
/openbsd/gnu/llvm/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsBaseInfo.h28 namespace MipsII {
/openbsd/gnu/llvm/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp1844 OpInfo.OperandType != MipsII::OPERAND_MEM_SIMM9) in needsExpandMemInst()
1849 if (OpInfo.OperandType == MipsII::OPERAND_MEM_SIMM9) in needsExpandMemInst()
2170 case MipsII::OPERAND_MEM_SIMM9: in processInstruction()
5948 if ((TSFlags & MipsII::HasFCCRegOperand) && in checkTargetMatchPredicate()