Lines Matching refs:ImmOp64
3410 static uint64_t convertIntToDoubleImm(uint64_t ImmOp64) { in convertIntToDoubleImm() argument
3413 if ((Hi_32(ImmOp64) & 0x7ff00000) == 0) { in convertIntToDoubleImm()
3414 APFloat RealVal(APFloat::IEEEdouble(), ImmOp64); in convertIntToDoubleImm()
3415 ImmOp64 = RealVal.bitcastToAPInt().getZExtValue(); in convertIntToDoubleImm()
3417 return ImmOp64; in convertIntToDoubleImm()
3420 static uint32_t covertDoubleImmToSingleImm(uint64_t ImmOp64) { in covertDoubleImmToSingleImm() argument
3423 double DoubleImm = llvm::bit_cast<double>(ImmOp64); in covertDoubleImmToSingleImm()
3436 uint64_t ImmOp64 = Inst.getOperand(1).getImm(); in expandLoadSingleImmToGPR() local
3438 uint32_t ImmOp32 = covertDoubleImmToSingleImm(convertIntToDoubleImm(ImmOp64)); in expandLoadSingleImmToGPR()
3453 uint64_t ImmOp64 = Inst.getOperand(1).getImm(); in expandLoadSingleImmToFPR() local
3455 ImmOp64 = convertIntToDoubleImm(ImmOp64); in expandLoadSingleImmToFPR()
3457 uint32_t ImmOp32 = covertDoubleImmToSingleImm(ImmOp64); in expandLoadSingleImmToFPR()
3466 if (Lo_32(ImmOp64) == 0) { in expandLoadSingleImmToFPR()
3507 uint64_t ImmOp64 = Inst.getOperand(1).getImm(); in expandLoadDoubleImmToGPR() local
3509 ImmOp64 = convertIntToDoubleImm(ImmOp64); in expandLoadDoubleImmToGPR()
3511 if (Lo_32(ImmOp64) == 0) { in expandLoadDoubleImmToGPR()
3513 if (loadImmediate(ImmOp64, FirstReg, Mips::NoRegister, false, false, in expandLoadDoubleImmToGPR()
3517 if (loadImmediate(Hi_32(ImmOp64), FirstReg, Mips::NoRegister, true, false, in expandLoadDoubleImmToGPR()
3541 getStreamer().emitIntValue(ImmOp64, 8); in expandLoadDoubleImmToGPR()
3572 uint64_t ImmOp64 = Inst.getOperand(1).getImm(); in expandLoadDoubleImmToFPR() local
3574 ImmOp64 = convertIntToDoubleImm(ImmOp64); in expandLoadDoubleImmToFPR()
3577 if (ImmOp64 != 0) { in expandLoadDoubleImmToFPR()
3583 if ((Lo_32(ImmOp64) == 0) && in expandLoadDoubleImmToFPR()
3584 !((Hi_32(ImmOp64) & 0xffff0000) && (Hi_32(ImmOp64) & 0x0000ffff))) { in expandLoadDoubleImmToFPR()
3587 loadImmediate(ImmOp64, TmpReg, Mips::NoRegister, false, false, IDLoc, in expandLoadDoubleImmToFPR()
3595 loadImmediate(Hi_32(ImmOp64), TmpReg, Mips::NoRegister, true, false, in expandLoadDoubleImmToFPR()
3624 getStreamer().emitIntValue(ImmOp64, 8); in expandLoadDoubleImmToFPR()