Lines Matching refs:Mods
99 friend raw_ostream &operator <<(raw_ostream &OS, AMDGPUOperand::Modifiers Mods);
142 Modifiers Mods; member
147 Modifiers Mods; member
198 return isRegKind() && !Reg.Mods.hasModifiers(); in isReg()
348 return isRegKind() ? Reg.Mods : Imm.Mods; in getModifiers()
351 void setModifiers(Modifiers Mods) { in setModifiers() argument
354 Reg.Mods = Mods; in setModifiers()
356 Imm.Mods = Mods; in setModifiers()
372 if (isImmTy(ImmTyNone) && ApplyModifiers && Imm.Mods.hasFPModifiers()) { in addImmOperands()
375 bool Negate = Imm.Mods.Neg; // Only negate can get here in addImmOperands()
405 Modifiers Mods = getModifiers(); in addRegOrImmWithInputModsOperands() local
406 Inst.addOperand(MCOperand::createImm(Mods.getModifiersOperand())); in addRegOrImmWithInputModsOperands()
469 OS << "<register " << getReg() << " mods: " << Reg.Mods << '>'; in print()
476 OS << " mods: " << Imm.Mods << '>'; in print()
494 Op->Imm.Mods = {false, false, false}; in CreateImm()
519 Op->Reg.Mods = {false, false, false}; in CreateReg()
535 raw_ostream &operator <<(raw_ostream &OS, AMDGPUOperand::Modifiers Mods) { in operator <<() argument
536 OS << "abs:" << Mods.Abs << " neg: " << Mods.Neg << " sext:" << Mods.Sext; in operator <<()
1063 AMDGPUOperand::Modifiers Mods = {false, false, false}; in parseRegOrImmWithFPInputMods() local
1065 Mods.Neg = true; in parseRegOrImmWithFPInputMods()
1073 Mods.Abs = true; in parseRegOrImmWithFPInputMods()
1081 Mods.Abs = true; in parseRegOrImmWithFPInputMods()
1084 if (Mods.hasFPModifiers()) { in parseRegOrImmWithFPInputMods()
1086 Op.setModifiers(Mods); in parseRegOrImmWithFPInputMods()
1110 AMDGPUOperand::Modifiers Mods = {false, false, false}; in parseRegOrImmWithIntInputMods() local
1117 Mods.Sext = true; in parseRegOrImmWithIntInputMods()
1120 if (Mods.hasIntModifiers()) { in parseRegOrImmWithIntInputMods()
1122 Op.setModifiers(Mods); in parseRegOrImmWithIntInputMods()