Home
last modified time | relevance | path

Searched refs:UserMI (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DProcessImplicitDefs.cpp90 MachineInstr *UserMI = MO.getParent(); in processImplicitDef() local
91 if (!canTurnIntoImplicitDef(UserMI)) in processImplicitDef()
93 LLVM_DEBUG(dbgs() << "Converting to IMPLICIT_DEF: " << *UserMI); in processImplicitDef()
94 UserMI->setDesc(TII->get(TargetOpcode::IMPLICIT_DEF)); in processImplicitDef()
95 WorkList.insert(UserMI); in processImplicitDef()
103 MachineBasicBlock::instr_iterator UserMI = MI->getIterator(); in processImplicitDef() local
106 for (++UserMI; UserMI != UserE; ++UserMI) { in processImplicitDef()
107 for (MachineOperand &MO : UserMI->operands()) { in processImplicitDef()
124 LLVM_DEBUG(dbgs() << "Physreg user: " << *UserMI); in processImplicitDef()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVOptWInstrs.cpp145 const MachineInstr *UserMI = UserOp.getParent(); in hasAllNBitUsers() local
148 switch (UserMI->getOpcode()) { in hasAllNBitUsers()
208 unsigned ShAmt = UserMI->getOperand(2).getImm(); in hasAllNBitUsers()
210 Worklist.push_back(std::make_pair(UserMI, Bits - ShAmt)); in hasAllNBitUsers()
219 if (Bits >= (ST.getXLen() - UserMI->getOperand(2).getImm())) in hasAllNBitUsers()
221 Worklist.push_back(std::make_pair(UserMI, Bits)); in hasAllNBitUsers()
224 uint64_t Imm = UserMI->getOperand(2).getImm(); in hasAllNBitUsers()
227 Worklist.push_back(std::make_pair(UserMI, Bits)); in hasAllNBitUsers()
231 uint64_t Imm = UserMI->getOperand(2).getImm(); in hasAllNBitUsers()
234 Worklist.push_back(std::make_pair(UserMI, Bits)); in hasAllNBitUsers()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchOptWInstrs.cpp124 const MachineInstr *UserMI = UserOp.getParent(); in hasAllNBitUsers() local
127 switch (UserMI->getOpcode()) { in hasAllNBitUsers()
190 unsigned ShAmt = UserMI->getOperand(2).getImm(); in hasAllNBitUsers()
192 Worklist.push_back(std::make_pair(UserMI, Bits - ShAmt)); in hasAllNBitUsers()
201 if (Bits >= (ST.getGRLen() - UserMI->getOperand(2).getImm())) in hasAllNBitUsers()
203 Worklist.push_back(std::make_pair(UserMI, Bits)); in hasAllNBitUsers()
206 uint64_t Imm = UserMI->getOperand(2).getImm(); in hasAllNBitUsers()
209 Worklist.push_back(std::make_pair(UserMI, Bits)); in hasAllNBitUsers()
213 uint64_t Imm = UserMI->getOperand(2).getImm(); in hasAllNBitUsers()
216 Worklist.push_back(std::make_pair(UserMI, Bits)); in hasAllNBitUsers()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYConstantIslandPass.cpp847 MachineInstr *UserMI = U.MI; in findInRangeCPEntry() local
851 if (isCPEntryInRange(UserMI, UserOffset, CPEMI, U.getMaxDisp(), U.NegOk, in findInRangeCPEntry()
867 if (isCPEntryInRange(UserMI, UserOffset, CPEs[I].CPEMI, U.getMaxDisp(), in findInRangeCPEntry()
874 for (unsigned J = 0, E = UserMI->getNumOperands(); J != E; ++J) in findInRangeCPEntry()
875 if (UserMI->getOperand(J).isCPI()) { in findInRangeCPEntry()
876 UserMI->getOperand(J).setIndex(CPEs[I].CPI); in findInRangeCPEntry()
968 MachineInstr *UserMI = U.MI; in createNewWater() local
970 MachineBasicBlock *UserMBB = UserMI->getParent(); in createNewWater()
1033 MachineBasicBlock::iterator MI = UserMI; in createNewWater()
1037 for (unsigned Offset = UserOffset + TII->getInstSizeInBytes(*UserMI); in createNewWater()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsConstantIslandPass.cpp1042 MachineInstr *UserMI = U.MI; in findInRangeCPEntry() local
1046 if (isCPEntryInRange(UserMI, UserOffset, CPEMI, U.getMaxDisp(), U.NegOk, in findInRangeCPEntry()
1062 if (isCPEntryInRange(UserMI, UserOffset, CPE.CPEMI, U.getMaxDisp(), in findInRangeCPEntry()
1069 for (MachineOperand &MO : UserMI->operands()) in findInRangeCPEntry()
1095 MachineInstr *UserMI = U.MI; in findLongFormInRangeCPEntry() local
1099 if (isCPEntryInRange(UserMI, UserOffset, CPEMI, in findLongFormInRangeCPEntry()
1103 UserMI->setDesc(TII->get(U.getLongFormOpcode())); in findLongFormInRangeCPEntry()
1118 if (isCPEntryInRange(UserMI, UserOffset, CPE.CPEMI, U.getLongFormMaxDisp(), in findLongFormInRangeCPEntry()
1125 for (MachineOperand &MO : UserMI->operands()) in findLongFormInRangeCPEntry()
1210 MachineInstr *UserMI = U.MI; in createNewWater() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMConstantIslandPass.cpp1236 MachineInstr *UserMI = U.MI; in findInRangeCPEntry() local
1240 if (isCPEntryInRange(UserMI, UserOffset, CPEMI, U.getMaxDisp(), U.NegOk, in findInRangeCPEntry()
1256 if (isCPEntryInRange(UserMI, UserOffset, CPE.CPEMI, U.getMaxDisp(), in findInRangeCPEntry()
1263 for (MachineOperand &MO : UserMI->operands()) in findInRangeCPEntry()
1372 MachineInstr *UserMI = U.MI; in createNewWater() local
1375 MachineBasicBlock *UserMBB = UserMI->getParent(); in createNewWater()
1456 UserOffset + TII->getInstSizeInBytes(*UserMI) + 1); in createNewWater()
1468 MachineBasicBlock::iterator I = UserMI; in createNewWater()
1471 for (unsigned Offset = UserOffset + TII->getInstSizeInBytes(*UserMI); in createNewWater()
1483 MachineBasicBlock::iterator MI = UserMI; in createNewWater()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.cpp9486 auto *UserMI = &*MRI.use_instr_nodbg_begin(DefReg); in isExtendLikelyToBeFolded() local
9487 return UserMI->getOpcode() == TargetOpcode::G_PTR_ADD; in isExtendLikelyToBeFolded()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrInfo.cpp7565 const MachineInstr &UserMI, in isNonFoldablePartialRegisterLoad() argument
7568 unsigned UserOpc = UserMI.getOpcode(); in isNonFoldablePartialRegisterLoad()