sun::driver::ExceptionSafeIRCompiler

sun::driver::ExceptionSafeIRCompiler

class · Source (opens in a new tab)

class sun::driver::ExceptionSafeIRCompiler : public IRCompileLayer::IRCompiler

Creates independent target machines using instruction selection with valid EH spills.

Inherits

  • IRCompileLayer::IRCompiler (public)

Public Functions

ExceptionSafeIRCompiler

public · function · Source (opens in a new tab)

sun::driver::ExceptionSafeIRCompiler::ExceptionSafeIRCompiler(JITTargetMachineBuilder builder)

Retains target settings without sharing mutable machine state between compilations.

operator()

public · function · Source (opens in a new tab)

Expected< std::unique_ptr< MemoryBuffer > > sun::driver::ExceptionSafeIRCompiler::operator()(Module &module) override

Compiles with SelectionDAG or FastISel after overriding target defaults.

Private Fields

builder_

private · variable · Source (opens in a new tab)

JITTargetMachineBuilder sun::driver::ExceptionSafeIRCompiler::builder_

No documentation comment.