Home
last modified time | relevance | path

Searched refs:Hi20 (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/
DRISCVInstrInfo.cpp169 uint64_t Hi20 = ((Val + 0x800) >> 12) & 0xfffff; in movImm32() local
172 .addImm(Hi20) in movImm32()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/AsmParser/
DRISCVAsmParser.cpp1122 int64_t Hi20 = ((Value + 0x800) >> 12) & 0xFFFFF; in emitLoadImm() local
1126 if (Hi20) { in emitLoadImm()
1128 MCInstBuilder(RISCV::LUI).addReg(DestReg).addImm(Hi20)); in emitLoadImm()
1132 if (Lo12 || Hi20 == 0) { in emitLoadImm()