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

References

lib/Target/AMDGPU/SIFoldOperands.cpp
  189   MachineInstr *MI = Fold.UseMI;
  190   MachineOperand &Old = MI->getOperand(Fold.UseOpNo);
  193   if (Fold.isImm()) {
  196         AMDGPU::isInlinableLiteralV216(static_cast<uint16_t>(Fold.ImmToFold),
  223         if (!isUInt<16>(Fold.ImmToFold)) {
  224           if (!(Fold.ImmToFold & 0xffff)) {
  227             Old.ChangeToImmediate((Fold.ImmToFold >> 16) & 0xffff);
  231           Old.ChangeToImmediate(Fold.ImmToFold & 0xffff);
  241   if ((Fold.isImm() || Fold.isFI() || Fold.isGlobal()) && Fold.needsShrink()) {
  241   if ((Fold.isImm() || Fold.isFI() || Fold.isGlobal()) && Fold.needsShrink()) {
  241   if ((Fold.isImm() || Fold.isFI() || Fold.isGlobal()) && Fold.needsShrink()) {
  241   if ((Fold.isImm() || Fold.isFI() || Fold.isGlobal()) && Fold.needsShrink()) {
  250     int Op32 = Fold.getShrinkOpcode();
  278     if (Fold.isCommuted())
  283   assert(!Fold.needsShrink() && "not handled");
  285   if (Fold.isImm()) {
  286     Old.ChangeToImmediate(Fold.ImmToFold);
  290   if (Fold.isGlobal()) {
  291     Old.ChangeToGA(Fold.OpToFold->getGlobal(), Fold.OpToFold->getOffset(),
  291     Old.ChangeToGA(Fold.OpToFold->getGlobal(), Fold.OpToFold->getOffset(),
  292                    Fold.OpToFold->getTargetFlags());
  296   if (Fold.isFI()) {
  297     Old.ChangeToFrameIndex(Fold.FrameIndexToFold);
  301   MachineOperand *New = Fold.OpToFold;