Home
last modified time | relevance | path

Searched refs:UserOp (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVVLOptimizer.cpp54 getMinimumVLForUser(const MachineOperand &UserOp) const;
1284 RISCVVLOptimizer::getMinimumVLForUser(const MachineOperand &UserOp) const { in getMinimumVLForUser()
1285 const MachineInstr &UserMI = *UserOp.getParent(); in getMinimumVLForUser()
1307 if (UserOp.isTied()) { in getMinimumVLForUser()
1308 assert(UserOp.getOperandNo() == UserMI.getNumExplicitDefs() && in getMinimumVLForUser()
1320 if (isVectorOpUsedAsScalarOp(UserOp)) { in getMinimumVLForUser()
1341 for (auto &UserOp : MRI->use_operands(MI.getOperand(0).getReg())) in checkUsers() local
1342 Worklist.insert(&UserOp); in checkUsers()
1345 MachineOperand &UserOp = *Worklist.pop_back_val(); in checkUsers() local
1346 const MachineInstr &UserMI = *UserOp.getParent(); in checkUsers()
[all …]
H A DRISCVOptWInstrs.cpp93 static bool vectorPseudoHasAllNBitUsers(const MachineOperand &UserOp, in vectorPseudoHasAllNBitUsers() argument
95 const MachineInstr &MI = *UserOp.getParent(); in vectorPseudoHasAllNBitUsers()
108 if (UserOp.getOperandNo() == RISCVII::getVLOpNum(MCID)) in vectorPseudoHasAllNBitUsers()
144 for (auto &UserOp : MRI.use_nodbg_operands(DestReg)) { in hasAllNBitUsers() local
145 const MachineInstr *UserMI = UserOp.getParent(); in hasAllNBitUsers()
146 unsigned OpIdx = UserOp.getOperandNo(); in hasAllNBitUsers()
150 if (vectorPseudoHasAllNBitUsers(UserOp, Bits)) in hasAllNBitUsers()
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchOptWInstrs.cpp123 for (auto &UserOp : MRI.use_nodbg_operands(DestReg)) { in hasAllNBitUsers() local
124 const MachineInstr *UserMI = UserOp.getParent(); in hasAllNBitUsers()
125 unsigned OpIdx = UserOp.getOperandNo(); in hasAllNBitUsers()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/
H A DRISCVInstructionSelector.cpp218 for (auto &UserOp : MRI->use_nodbg_operands(DestReg)) { in hasAllNBitUsers() local
219 assert(UserOp.getParent() && "UserOp must have a parent"); in hasAllNBitUsers()
220 const MachineInstr &UserMI = *UserOp.getParent(); in hasAllNBitUsers()
221 unsigned OpIdx = UserOp.getOperandNo(); in hasAllNBitUsers()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp16298 User *UserOp = nullptr; in gather() local
16301 UserOp = SI; in gather()
16325 UserOp = InsElt; in gather()
16327 if (UserOp) { in gather()
16329 ExternalUses.emplace_back(V, UserOp, *Entries.front(), FoundLane); in gather()