Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
return Builder::LOAD(BasePtr, offset, name);
}
+ Value* BuilderGfxMem::TranlsateGfxAddress(Value* xpGfxAddress)
+ {
+ return INT_TO_PTR(xpGfxAddress, PointerType::get(mInt8Ty, 0));
+ }
+
}
virtual Value *GATHERDD(Value* src, Value* pBase, Value* indices, Value* mask, uint8_t scale = 1, JIT_MEM_CLIENT usage = MEM_CLIENT_INTERNAL);
+ Value* TranlsateGfxAddress(Value* xpGfxAddress);
+
protected:
void AssertGFXMemoryParams(Value* ptr, Builder::JIT_MEM_CLIENT usage);