Lines Matching defs:Entry
86 /// instruction and load the function address from object Entry.
87 unsigned getCount(ValueType Entry);
90 /// that loads from object Entry.
91 unsigned getReg(ValueType Entry);
94 void incCntAndSetReg(ValueType Entry, unsigned Reg);
215 ValueType Entry;
218 if (!isCallViaRegister(*I, Reg, Entry))
222 unsigned N = getCount(Entry);
229 getCallTargetRegOpnd(*I)->setReg(getReg(Entry));
237 if (Entry)
238 incCntAndSetReg(Entry, Reg);
265 // See if DefMI is an instruction that loads from a GOT entry that holds the
275 // Return the underlying object for the GOT entry in Val.
283 unsigned OptimizePICCall::getCount(ValueType Entry) {
284 return ScopedHT.lookup(Entry).first;
287 unsigned OptimizePICCall::getReg(ValueType Entry) {
288 unsigned Reg = ScopedHT.lookup(Entry).second;
293 void OptimizePICCall::incCntAndSetReg(ValueType Entry, unsigned Reg) {
294 CntRegP P = ScopedHT.lookup(Entry);
295 ScopedHT.insert(Entry, std::make_pair(P.first + 1, Reg));