Lines Matching defs:CPUser
116 /// CPUser - One user of a constant pool, keeping the machine instruction
123 /// CPUser is out of range, but there is another CP entry for the same
128 struct CPUser {
137 CPUser(MachineInstr *mi, MachineInstr *cpemi, unsigned maxdisp,
153 std::vector<CPUser> CPUsers;
156 /// pointer, the constpool index, and the number of CPUser's which
256 int findInRangeCPEntry(CPUser& U, unsigned UserOffset);
257 bool findAvailableWater(CPUser&U, unsigned UserOffset,
268 CPUser &U, unsigned &Growth);
283 unsigned getUserOffset(CPUser&) const;
290 const CPUser &U) {
310 for (CPUser &U : CPUsers) {
589 // Add a new CPEntry, but no corresponding CPUser yet.
950 CPUsers.push_back(CPUser(&I, CPEMI, MaxOffs, NegOk, IsSoImm));
1079 unsigned ARMConstantIslands::getUserOffset(CPUser &U) const {
1107 /// subtracted from MaxDisp instead. CPUser::getMaxDisp() does that.
1129 MachineBasicBlock* Water, CPUser &U,
1240 int ARMConstantIslands::findInRangeCPEntry(CPUser& U, unsigned UserOffset) {
1265 // Point the CPUser node to the replacement
1303 /// terminates, the CPE location for a particular CPUser is only allowed to
1306 bool ARMConstantIslands::findAvailableWater(CPUser &U, unsigned UserOffset,
1377 CPUser &U = CPUsers[CPUserIndex];
1499 CPUser &U = CPUsers[CPUIndex];
1558 CPUser &U = CPUsers[CPUserIndex];
1849 for (CPUser &U : CPUsers) {
2271 CPUser &User = CPUsers[JumpTableUserIndices[JTI]];
2402 // The LEA couldn't be eliminated, so we must add another CPUser to
2409 CPUsers.emplace_back(CPUser(NewJTMI, User.CPEMI, 4, false, false));