Interface LIRGenerationProvider
- All Known Implementing Classes:
AArch64HotSpotBackend
,AMD64HotSpotBackend
,HotSpotHostBackend
public interface LIRGenerationProvider
Provides compiler backend-specific generation helpers for the
LIRCompilerBackend
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
emitCode
(CompilationResultBuilder crb, jdk.vm.ci.meta.ResolvedJavaMethod installedCodeOwner, EntryPointDecorator entryPointDecorator) Emits the code for a given graph.newCompilationResultBuilder
(LIRGenerationResult lirGenResult, FrameMap frameMap, CompilationResult compilationResult, CompilationResultBuilderFactory factory) Creates the object used to fill in the details of a given compilation result.newLIRGenerationResult
(CompilationIdentifier compilationId, LIR lir, RegisterAllocationConfig registerAllocationConfig, StructuredGraph graph, Object stub) newLIRGenerator
(LIRGenerationResult lirGenRes) newNodeLIRBuilder
(StructuredGraph graph, LIRGeneratorTool lirGen)
-
Method Details
-
newLIRGenerator
-
newLIRGenerationResult
LIRGenerationResult newLIRGenerationResult(CompilationIdentifier compilationId, LIR lir, RegisterAllocationConfig registerAllocationConfig, StructuredGraph graph, Object stub) -
newNodeLIRBuilder
-
newCompilationResultBuilder
CompilationResultBuilder newCompilationResultBuilder(LIRGenerationResult lirGenResult, FrameMap frameMap, CompilationResult compilationResult, CompilationResultBuilderFactory factory) Creates the object used to fill in the details of a given compilation result. -
emitCode
void emitCode(CompilationResultBuilder crb, jdk.vm.ci.meta.ResolvedJavaMethod installedCodeOwner, EntryPointDecorator entryPointDecorator) Emits the code for a given graph.- Parameters:
installedCodeOwner
- the method the compiled code will be associated with once installed. This argument can be null.entryPointDecorator
- optional argument that injects code into the entry point.
-