Lines Matching defs:Addr
69 bool ComputeAddress(const Value *Obj, Address &Addr);
72 bool EmitLoad(MVT VT, unsigned &ResultReg, Address &Addr,
74 bool EmitStore(MVT VT, unsigned SrcReg, Address &Addr,
142 bool MipsFastISel::ComputeAddress(const Value *Obj, Address &Addr) {
151 Addr.Base.Reg = getRegForValue(Obj);
152 return Addr.Base.Reg != 0;
155 bool MipsFastISel::EmitLoad(MVT VT, unsigned &ResultReg, Address &Addr,
190 EmitInstLoad(Opc, ResultReg, Addr.Base.Reg, Addr.Offset);
214 bool MipsFastISel::EmitStore(MVT VT, unsigned SrcReg, Address &Addr,
239 EmitInstStore(Opc, SrcReg, Addr.Base.Reg, Addr.Offset);
254 Address Addr;
255 if (!ComputeAddress(I->getOperand(0), Addr))
259 if (!EmitLoad(VT, ResultReg, Addr, cast<LoadInst>(I)->getAlignment()))
284 Address Addr;
285 if (!ComputeAddress(I->getOperand(1), Addr))
288 if (!EmitStore(VT, SrcReg, Addr, cast<StoreInst>(I)->getAlignment()))