Receber por email
← Voltar para o catálogo

LLVM Backend

Habilidade especializada para integração LLVM, incluindo geração de IR, passes de otimização e emissão de código nativo.

1.4kestrelas
Atualizado há 4 meses

Ver no GitHub ↗ Licença: MIT

Como adicionar

/plugin marketplace add a5c-ai/babysitter

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/llvm-backend/svg)](https://www.skillteca.com.br/skills/llvm-backend)

Skills relacionadas

Ver todas de Automação →

Alerta por categoria

Receba novas skills de Automação toda segunda

1 email curto, só com as skills novas de Automação. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

LLVM Backend Skill

Overview

Expert skill for LLVM integration including IR generation, optimization passes, and native code emission.

Capabilities

  • Generate LLVM IR from high-level AST/IR
  • Configure and run LLVM optimization passes
  • Implement custom LLVM passes
  • Handle LLVM type system mapping
  • Generate debug information (DWARF)
  • Configure target machine and code generation options
  • Implement LLVM JIT (ORC, MCJIT) integration
  • Handle cross-compilation target triples

Target Processes

  • code-generation-llvm.js
  • jit-compiler-development.js
  • debugger-adapter-development.js
  • ir-design.js

Dependencies

  • LLVM C++ API
  • llvm-sys bindings
  • Inkwell (Rust LLVM bindings)

Usage Guidelines

  1. Type Mapping: Establish clear mapping between source types and LLVM types
  2. SSA Form: Leverage LLVM's SSA form; generate clean IR and let LLVM optimize
  3. Debug Info: Generate debug info from the start using DIBuilder
  4. Optimization Levels: Test with -O0 first, then enable optimizations incrementally
  5. Target Configuration: Abstract target-specific code behind target triple configuration

Output Schema

{
  "type": "object",
  "properties": {
    "llvmVersion": { "type": "string" },
    "targetTriple": { "type": "string" },
    "optimizationLevel": {
      "type": "string",
      "enum": ["O0", "O1", "O2", "O3", "Os", "Oz"]
    },
    "passes": {
      "type": "array",
      "items": { "type": "string" }
    },
    "generatedFiles": {
      "type": "array",
      "items": { "type": "string" }
    }
  }
}
Compartilhar X LinkedIn