| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVMergeBaseOffset.cpp | 86 if (Hi.getOpcode() != RISCV::LUI && Hi.getOpcode() != RISCV::AUIPC && in INITIALIZE_PASS() 115 if (Hi.getOpcode() == RISCV::LUI || Hi.getOpcode() == RISCV::PseudoMovAddr) { in INITIALIZE_PASS() 228 if (OffsetLui.getOpcode() != RISCV::LUI || in foldLargeOffset() 247 } else if (OffsetTail.getOpcode() == RISCV::LUI) { in foldLargeOffset() 509 Hi.setDesc(TII->get(RISCV::LUI)); in foldIntoMemoryOps()
|
| H A D | RISCVMacroFusion.cpp | |
| H A D | RISCVLandingPadSetup.cpp | 73 BuildMI(MBB, MI, MI.getDebugLoc(), TII.get(RISCV::LUI), RISCV::X7) in runOnMachineFunction()
|
| H A D | RISCVPostRAExpandPseudoInsts.cpp | 109 BuildMI(MBB, MBBI, DL, TII->get(RISCV::LUI)) in expandMovAddr()
|
| H A D | RISCVInstrInfo.td | 136 // Get the Hi 20 bits from an address. Selected to LUI. 381 let ParserMatchClass = UImmAsmOperand<20, "LUI">; 734 def LUI : RVInstU<OPC_LUI, (outs GPR:$rd), (ins uimm20_lui:$imm20), 1561 // Pseudo for a rematerializable LUI+ADDI sequence for loading an address. 1581 def : Pat<(riscv_hi tglobaladdr:$in), (LUI tglobaladdr:$in)>; 1582 def : Pat<(riscv_hi tblockaddress:$in), (LUI tblockaddress:$in)>; 1583 def : Pat<(riscv_hi tjumptable:$in), (LUI tjumptable:$in)>; 1584 def : Pat<(riscv_hi tconstpool:$in), (LUI tconstpool:$in)>; 1597 def : Pat<(riscv_hi tglobaltlsaddr:$in), (LUI tglobaltlsaddr:$in)>;
|
| H A D | RISCVOptWInstrs.cpp | 609 if (SrcMI->getOpcode() == RISCV::LUI && in isSignExtendedW()
|
| H A D | RISCVRegisterInfo.cpp | 1032 if (((I->getOpcode() == RISCV::LUI && Subtarget.hasLUIADDIFusion()) || in getRegAllocationHints()
|
| H A D | RISCVAsmPrinter.cpp | 695 MCInstBuilder(RISCV::LUI).addReg(ScratchRegs[1]).addImm(Hi20)); in LowerKCFI_CHECK()
|
| H A D | RISCVInstrFormats.td | 154 def OPC_LUI : RISCVOpcode<"LUI", 0b0110111>;
|
| H A D | RISCVInstrInfoC.td | 926 def : CompressPat<(LUI GPRNoX0X2:$rd, c_lui_imm:$imm),
|
| H A D | RISCVISelDAGToDAG.cpp | 2795 CurDAG->getMachineNode(RISCV::LUI, DL, VT, in selectConstantAddr()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/ |
| H A D | RISCVMatInt.cpp | 35 case RISCV::LUI: in getInstSeqCost() 94 Res.emplace_back(RISCV::LUI, Hi20); in generateInstSeqImpl() 561 case RISCV::LUI: in getOpndKind()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/RISCV/ |
| H A D | RISCVInstructions.h | 109 U_TYPE_INST(LUI); 276 LUI, AUIPC, JAL, JALR, B, LB, LH, LW, LBU, LHU, SB, SH, SW, ADDI, SLTI,
|
| H A D | RISCVCInstructions.h | 190 return LUI{rd, imm}; in DecodeC_LUI_ADDI16SP() 191 return LUI{rd, uint32_t(int32_t(imm | 0xfffc0000))}; in DecodeC_LUI_ADDI16SP()
|
| H A D | EmulateInstructionRISCV.cpp | 424 {"LUI", 0x7F, 0x37, DecodeUType<LUI>}, 682 bool operator()(LUI inst) { return inst.rd.Write(m_emu, SignExt(inst.imm)); } in operator ()()
|
| /freebsd/contrib/llvm-project/lld/ELF/Arch/ |
| H A D | RISCV.cpp | 68 LUI = 0x37, enumerator 579 write32le(loc, utype(LUI, X_A0, hi20(val))); // lui a0,<hi20> in tlsdescToLe()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/ |
| H A D | RISCVInstructionSelector.cpp | 1157 MachineInstr *AddrHi = MIB.buildInstr(RISCV::LUI, {AddrHiDest}, {}) in selectAddr()
|