Searched refs:LUI (Results 1 – 14 of 14) sorted by relevance
| /src/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVMacroFusion.td | 12 // Fuse LUI followed by ADDI or ADDIW: 18 "Enable LUI+ADDI macro fusion", 19 CheckOpcode<[LUI]>,
|
| H A D | RISCVMergeBaseOffset.cpp | 87 if (Hi.getOpcode() != RISCV::LUI && Hi.getOpcode() != RISCV::AUIPC && in INITIALIZE_PASS() 116 if (Hi.getOpcode() == RISCV::LUI || Hi.getOpcode() == RISCV::PseudoMovAddr) { in INITIALIZE_PASS() 215 if (OffsetLui.getOpcode() != RISCV::LUI || in foldLargeOffset() 233 } else if (OffsetTail.getOpcode() == RISCV::LUI) { in foldLargeOffset() 487 Hi.setDesc(TII->get(RISCV::LUI)); in foldIntoMemoryOps()
|
| H A D | RISCVPostRAExpandPseudoInsts.cpp | 111 BuildMI(MBB, MBBI, DL, TII->get(RISCV::LUI)) in expandMovAddr()
|
| H A D | RISCVInstrInfo.td | 283 let ParserMatchClass = UImmAsmOperand<20, "LUI">; 613 def LUI : RVInstU<OPC_LUI, (outs GPR:$rd), (ins uimm20_lui:$imm20), 1331 // Pseudo for a rematerializable LUI+ADDI sequence for loading an address. 1351 def : Pat<(riscv_hi tglobaladdr:$in), (LUI tglobaladdr:$in)>; 1352 def : Pat<(riscv_hi tblockaddress:$in), (LUI tblockaddress:$in)>; 1353 def : Pat<(riscv_hi tjumptable:$in), (LUI tjumptable:$in)>; 1354 def : Pat<(riscv_hi tconstpool:$in), (LUI tconstpool:$in)>; 1367 def : Pat<(riscv_hi tglobaltlsaddr:$in), (LUI tglobaltlsaddr:$in)>;
|
| H A D | RISCVAsmPrinter.cpp | 589 MCInstBuilder(RISCV::LUI).addReg(ScratchRegs[1]).addImm(Hi20)); in LowerKCFI_CHECK()
|
| H A D | RISCVInstrFormats.td | 145 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 | 2467 CurDAG->getMachineNode(RISCV::LUI, DL, VT, in selectConstantAddr()
|
| /src/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/ |
| H A D | RISCVMatInt.cpp | 31 case RISCV::LUI: in getInstSeqCost() 72 Res.emplace_back(RISCV::LUI, Hi20); in generateInstSeqImpl() 525 case RISCV::LUI: in getOpndKind()
|
| /src/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>}, 681 bool operator()(LUI inst) { return inst.rd.Write(m_emu, SignExt(inst.imm)); } in operator ()()
|
| /src/contrib/llvm-project/lld/ELF/Arch/ |
| H A D | RISCV.cpp | 66 LUI = 0x37, enumerator 580 write32le(loc, utype(LUI, X_A0, hi20(val))); // lui a0,<hi20> in tlsdescToLe()
|
| /src/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/ |
| H A D | RISCVInstructionSelector.cpp | 1044 MachineInstr *AddrHi = MIB.buildInstr(RISCV::LUI, {AddrHiDest}, {}) in selectAddr()
|