reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/CodeGen/MachineOperand.h
  721   void ChangeToImmediate(int64_t ImmVal);

References

lib/CodeGen/MachineInstr.cpp
 2100   Orig.getOperand(1).ChangeToImmediate(0U);
lib/Target/AArch64/AArch64InstrInfo.cpp
 3486     MI.getOperand(ImmIdx).ChangeToImmediate(NewOffset);
lib/Target/AArch64/AArch64InstructionSelector.cpp
 1565       ImmOp.ChangeToImmediate(
 1569       I.getOperand(1).ChangeToImmediate(Val);
 1572       I.getOperand(1).ChangeToImmediate(Val);
 3357   ImmOp.ChangeToImmediate(Imm);
lib/Target/AArch64/AArch64RegisterInfo.cpp
  473     MI.getOperand(FIOperandNum + 1).ChangeToImmediate(Offset.getBytes());
  480     FI.ChangeToImmediate(Offset);
lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
 1405     ImmOp.ChangeToImmediate(Imm.getZExtValue());
 1407     ImmOp.ChangeToImmediate(ImmOp.getCImm()->getZExtValue());
lib/Target/AMDGPU/SIFixSGPRCopies.cpp
  647             MI.getOperand(1).ChangeToImmediate(Imm);
  728                     MO->ChangeToImmediate(Copied.getImm());
lib/Target/AMDGPU/SIFoldOperands.cpp
  227             Old.ChangeToImmediate((Fold.ImmToFold >> 16) & 0xffff);
  231           Old.ChangeToImmediate(Fold.ImmToFold & 0xffff);
  286     Old.ChangeToImmediate(Fold.ImmToFold);
  498     UseMI->getOperand(UseOpIdx).ChangeToImmediate(OpToFold.getImm());
  647       UseMI->getOperand(1).ChangeToImmediate(OpToFold.getImm());
  793           UseMI->getOperand(1).ChangeToImmediate(OpToFold.getImm());
  972     MI->getOperand(1).ChangeToImmediate(~ImmOp->getImm());
 1014     MI->getOperand(Src0Idx).ChangeToImmediate(NewImm);
lib/Target/AMDGPU/SIInsertSkips.cpp
  402       A->getOperand(2).ChangeToImmediate(-1);
lib/Target/AMDGPU/SIInstrInfo.cpp
 1653     RegOp.ChangeToImmediate(NonRegOp.getImm());
 2341     UseMI.getOperand(1).ChangeToImmediate(ImmOp->getImm());
 2412       Src1->ChangeToImmediate(Imm);
 2437           Src0->ChangeToImmediate(Def->getOperand(1).getImm());
 2456             Src0->ChangeToImmediate(Def->getOperand(1).getImm());
 2490       Src2->ChangeToImmediate(Imm);
 4110     Src0.ChangeToImmediate(Src1.getImm());
lib/Target/AMDGPU/SIRegisterInfo.cpp
 1227       FIOp.ChangeToImmediate(Offset);
lib/Target/AMDGPU/SIShrinkInstructions.cpp
   92           Src0.ChangeToImmediate(MovSrc.getImm());
  373           Src0->ChangeToImmediate(NewImm);
lib/Target/ARC/ARCRegisterInfo.cpp
  195     MI.getOperand(FIOperandNum + 1).ChangeToImmediate(Offset);
lib/Target/ARM/ARMBaseInstrInfo.cpp
 2551       MI.getOperand(FrameRegIdx+1).ChangeToImmediate(Offset);
 2567     MI.getOperand(FrameRegIdx+1).ChangeToImmediate(ThisImmVal);
 2651         ImmOp.ChangeToImmediate(ImmedOffset);
 2664       ImmOp.ChangeToImmediate(ImmedOffset);
 3327   UseMI.getOperand(2).ChangeToImmediate(SOImmValV2);
lib/Target/ARM/ARMInstructionSelector.cpp
  972       Val.ChangeToImmediate(0);
lib/Target/ARM/Thumb2InstrInfo.cpp
  511       MI.getOperand(FrameRegIdx+1).ChangeToImmediate(Offset);
  524       MI.getOperand(FrameRegIdx+1).ChangeToImmediate(Offset);
  542     MI.getOperand(FrameRegIdx+1).ChangeToImmediate(ThisImmVal);
  562       MI.getOperand(FrameRegIdx+1).ChangeToImmediate(0);
  670       ImmOp.ChangeToImmediate(ImmedOffset);
  688     ImmOp.ChangeToImmediate(ImmedOffset);
lib/Target/ARM/ThumbRegisterInfo.cpp
  401       ImmOp.ChangeToImmediate(ImmedOffset);
  418       ImmOp.ChangeToImmediate(0);
  422       ImmOp.ChangeToImmediate(ImmedOffset);
  489     MI.getOperand(FIOperandNum+1).ChangeToImmediate(Offset);
lib/Target/AVR/AVRRegisterInfo.cpp
  245   MI.getOperand(FIOperandNum + 1).ChangeToImmediate(Offset);
lib/Target/BPF/BPFRegisterInfo.cpp
  120     MI.getOperand(i + 1).ChangeToImmediate(Offset);
lib/Target/Hexagon/HexagonRegisterInfo.cpp
  207       MI.getOperand(FIOp).ChangeToImmediate(RealOffset);
  231   MI.getOperand(FIOp+1).ChangeToImmediate(RealOffset);
lib/Target/Lanai/LanaiRegisterInfo.cpp
  245     MI.getOperand(FIOperandNum + 1).ChangeToImmediate(Offset);
lib/Target/MSP430/MSP430RegisterInfo.cpp
  154   MI.getOperand(FIOperandNum + 1).ChangeToImmediate(Offset);
lib/Target/Mips/Mips16RegisterInfo.cpp
  144   MI.getOperand(OpNo + 1).ChangeToImmediate(Offset);
lib/Target/Mips/MipsConstantIslandPass.cpp
 1660             I->getOperand(2).ChangeToImmediate(index);
lib/Target/Mips/MipsSERegisterInfo.cpp
  257   MI.getOperand(OpNo + 1).ChangeToImmediate(Offset);
lib/Target/NVPTX/NVPTXRegisterInfo.cpp
  126   MI.getOperand(FIOperandNum + 1).ChangeToImmediate(Offset);
lib/Target/NVPTX/NVPTXReplaceImageHandles.cpp
  128     Op.ChangeToImmediate(Idx);
lib/Target/PowerPC/PPCInstrInfo.cpp
 2275   MI.getOperand(OpNo).ChangeToImmediate(Imm);
lib/Target/PowerPC/PPCRegisterInfo.cpp
 1085     MI.getOperand(OffsetOperandNo).ChangeToImmediate(Offset);
 1253   MI.getOperand(OffsetOperandNo).ChangeToImmediate(Offset);
lib/Target/RISCV/RISCVRegisterInfo.cpp
  143   MI.getOperand(FIOperandNum + 1).ChangeToImmediate(Offset);
lib/Target/Sparc/DelaySlotFiller.cpp
  471   RestoreMI->getOperand(2).ChangeToImmediate(imm);
lib/Target/Sparc/SparcRegisterInfo.cpp
  119     MI.getOperand(FIOperandNum + 1).ChangeToImmediate(Offset);
  141     MI.getOperand(FIOperandNum + 1).ChangeToImmediate(LO10(Offset));
  159   MI.getOperand(FIOperandNum + 1).ChangeToImmediate(0);
lib/Target/SystemZ/SystemZFrameLowering.cpp
  508     MBBI->getOperand(AddrOpNo + 1).ChangeToImmediate(Offset);
lib/Target/SystemZ/SystemZInstrInfo.cpp
  665   UseMI.getOperand(UseIdx).ChangeToImmediate(ImmVal);
lib/Target/SystemZ/SystemZRegisterInfo.cpp
  273     MI->getOperand(FIOperandNum + 1).ChangeToImmediate(Offset);
  333   MI->getOperand(FIOperandNum + 1).ChangeToImmediate(Offset);
lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp
  324           MO.ChangeToImmediate(LocalId);
  341           MO.ChangeToImmediate(LocalId);
lib/Target/X86/X86InstrBuilder.h
  138   MI->getOperand(Operand + 3).ChangeToImmediate(0);
lib/Target/X86/X86InstrInfo.cpp
 5047     MI.getOperand(1).ChangeToImmediate(0);
 5267     MI.getOperand(1).ChangeToImmediate(0);
lib/Target/X86/X86InstructionSelector.cpp
  579     InxOp.ChangeToImmediate(1); // set Scale
  647     I.getOperand(1).ChangeToImmediate(Val);
lib/Target/X86/X86OptimizeLEAs.cpp
  554     MI.getOperand(MemOpNo + X86::AddrScaleAmt).ChangeToImmediate(1);
  557     MI.getOperand(MemOpNo + X86::AddrDisp).ChangeToImmediate(AddrDispShift);
lib/Target/X86/X86RegisterInfo.cpp
  749     FI.ChangeToImmediate(FIOffset);
  773     MI.getOperand(FIOperandNum + 1).ChangeToImmediate(Offset);
  784       MI.getOperand(FIOperandNum + 3).ChangeToImmediate(Offset);
lib/Target/XCore/XCoreRegisterInfo.cpp
  291     MI.getOperand(FIOperandNum + 1).ChangeToImmediate(Offset);
  297   MI.getOperand(FIOperandNum + 1).ChangeToImmediate(0);