clang-tools 23.0.0git
BitcodeWriter.cpp File Reference
#include "BitcodeWriter.h"
#include "llvm/ADT/IndexedMap.h"
#include <initializer_list>

Go to the source code of this file.

Namespaces

namespace  clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
namespace  clang::doc

Functions

static void generateAbbrev (std::shared_ptr< BitCodeAbbrev > &Abbrev, const std::initializer_list< BitCodeAbbrevOp > Ops)
static void genBoolAbbrev (std::shared_ptr< BitCodeAbbrev > &Abbrev)
static void genIntAbbrev (std::shared_ptr< BitCodeAbbrev > &Abbrev)
static void genSymbolIdAbbrev (std::shared_ptr< BitCodeAbbrev > &Abbrev)
static void genStringAbbrev (std::shared_ptr< BitCodeAbbrev > &Abbrev)
static void genLocationAbbrev (std::shared_ptr< BitCodeAbbrev > &Abbrev)

Function Documentation

◆ genBoolAbbrev()

void genBoolAbbrev ( std::shared_ptr< BitCodeAbbrev > & Abbrev)
static

Definition at line 43 of file BitcodeWriter.cpp.

References clang::doc::BitCodeConstants::BoolSize, and generateAbbrev().

◆ generateAbbrev()

void generateAbbrev ( std::shared_ptr< BitCodeAbbrev > & Abbrev,
const std::initializer_list< BitCodeAbbrevOp > Ops )
static

◆ genIntAbbrev()

void genIntAbbrev ( std::shared_ptr< BitCodeAbbrev > & Abbrev)
static

Definition at line 50 of file BitcodeWriter.cpp.

References generateAbbrev(), and clang::doc::BitCodeConstants::IntSize.

◆ genLocationAbbrev()

void genLocationAbbrev ( std::shared_ptr< BitCodeAbbrev > & Abbrev)
static

◆ genStringAbbrev()

void genStringAbbrev ( std::shared_ptr< BitCodeAbbrev > & Abbrev)
static

◆ genSymbolIdAbbrev()

void genSymbolIdAbbrev ( std::shared_ptr< BitCodeAbbrev > & Abbrev)
static