19 :
ObjectLayer(ES), BaseLayer(BaseLayer), Transform(
std::move(Transform)) {}
22 std::unique_ptr<MemoryBuffer>
O) {
23 assert(O &&
"Module must not be null");
25 if (
auto TransformedObj = Transform(std::move(O)))
26 BaseLayer.
emit(std::move(R), std::move(*TransformedObj));
This class represents lattice values for constants.
Tracks responsibility for materialization, and mediates interactions between MaterializationUnits and...
ExecutionSession & getExecutionSession()
Returns the execution session for this layer.
virtual void emit(MaterializationResponsibility R, std::unique_ptr< MemoryBuffer > O)=0
Emit should materialize the given IR.
An ExecutionSession represents a running JIT program.
void reportError(Error Err)
Report a error for this execution session.
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
void failMaterialization()
Notify all not-yet-emitted covered by this MaterializationResponsibility instance that an error has o...
Interface for Layers that accept object files.