A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://clang.llvm.org/doxygen/classclang_1_1CodeGenerator.html below:

clang: clang::CodeGenerator Class Reference

The primary public interface to the Clang code generator. More...

#include "clang/CodeGen/ModuleBuilder.h"

The primary public interface to the Clang code generator.

This is not really an abstract interface.

Definition at line 52 of file ModuleBuilder.h.

◆ CGM()

Return an opaque reference to the CodeGenModule object, which can be used in various secondary APIs.

It is valid as long as the CodeGenerator exists.

Definition at line 328 of file ModuleBuilder.cpp.

References CGM().

Referenced by CGM().

◆ GetAddrOfGlobal() llvm::Constant * CodeGenerator::GetAddrOfGlobal ( GlobalDecl  decl, bool  isForDefinition  )

Return the LLVM address of the given global entity.

Parameters
isForDefinition If true, the caller intends to define the entity; the object returned will be an llvm::GlobalValue of some sort. If false, the caller just intends to use the entity; the object returned may be any sort of constant value, and the code generator will schedule the entity for emission if a definition has been registered with this code generator.

Definition at line 352 of file ModuleBuilder.cpp.

References GetAddrOfGlobal().

Referenced by GetAddrOfGlobal().

◆ getCGDebugInfo() ◆ GetDeclForMangledName() const Decl * CodeGenerator::GetDeclForMangledName ( llvm::StringRef  MangledName ) ◆ GetMangledName() llvm::StringRef CodeGenerator::GetMangledName ( GlobalDecl  GD ) ◆ GetModule() llvm::Module * CodeGenerator::GetModule ( )

Return the module that this code generator is building into.

This may return null after HandleTranslationUnit is called; this signifies that there was an error generating code. A diagnostic will have been generated in this case, and the module will be deleted.

It will also return null if the module is released.

Definition at line 332 of file ModuleBuilder.cpp.

References GetModule().

Referenced by GetModule().

◆ ReleaseModule() llvm::Module * CodeGenerator::ReleaseModule ( ) ◆ StartModule() llvm::Module * CodeGenerator::StartModule ( llvm::StringRef  ModuleName, llvm::LLVMContext &  C  )

The documentation for this class was generated from the following files:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4