ckompiler

CKompiler

  • Introduction
  • Build Targets
    • Kotlin Multiplatform Project
    • Internals Explorer
  • Build Instructions
    • CLI
    • Tests
    • JS Library
    • Internals Explorer Angular App
    • Documentation (this site!)
    • Dokka Kotlin documentation
  • The CLI
  • References

Implementation Details

  • Overview
  • Front-end
    • Lexer
    • Parser
      • Interfaces and Delegation
      • The ITokenHandler Interface
      • Nested Declarator Parsing
    • Errors
      • Diagnostics
      • Compiler Errors
  • Middle-end (Analysis and IR)
    • Control Flow
      • JSON serialization
      • Graphical representation for CFGs
    • SSA Form
  • Back-end
    • Target-Specific Information
    • The MachineInstruction class
    • The Instruction Graph
    • The Code Generation Interfaces
    • Code Generation Process
    • --mi-debug mode

Compiler Behaviour

  • List of Implementation Defined Behaviours
  • List of Undefined Behaviours
  • List of Unspecified Behaviours
ckompiler
  • References
  • View page source

References

The documentation in the code makes references to some of these documents, especially to the C standard.

  • C11 draft standard

  • SSA book

  • System V ABI

  • NASM documentation

  • x86_64 calling conventions

  • Intel 64 ISA reference

  • A simple, fast dominance algorithm, Cooper et al

  • Register Allocation for Programs in SSA Form, Sebastian Hack

  • Computing Liveness Sets for SSA-Form Programs, Brander et al

  • Register Spilling and Live-Range Splitting for SSA-Form Programs, Braun & Hack

Previous Next

© Copyright 2021, Slak44.

Built with Sphinx using a theme provided by Read the Docs.