Classes
The following classes are available globally.
-
A
See moreModulerepresents the top-level structure of an LLVM program. An LLVM module is effectively a translation unit or a collection of translation units merged together.Declaration
Swift
public final class Module: CustomStringConvertible -
A
See moreContextrepresents execution states for the core LLVM IR system.Declaration
Swift
public class Context
-
An
See moreIRBuilderis a helper object that generates LLVM instructions. IR Builders keep track of a position within a function or basic block and has methods to insert instructions at that position.Declaration
Swift
public class IRBuilder
-
A
See moreJITis a Just-In-Time compiler that will compile and execute LLVM IR that has been generated in aModule. It can execute arbitrary functions and return the value the function generated, allowing you to write interactive programs that will run as soon as they are compiled.Declaration
Swift
public final class JIT
-
MemoryBufferprovides simple read-only access to a block of memory, and provides simple methods for reading files and standard input into a memory buffer. In addition to basic access to the characters in the file, this interface guarantees you can read one character past the end of the file, and that this character will read as ‘\0’.The ‘\0’ guarantee is needed to support an optimization – it’s intended to be more efficient for clients which are reading all the data to stop reading when they encounter a ‘\0’ than to continually check the file position to see if it has reached the end of the file.
See moreDeclaration
Swift
public class MemoryBuffer: Sequence
-
A
See moreFunctionPassManageris an object that collects a sequence of passes which run over a particular IR construct, and runs each of them in sequence over each such construct.Declaration
Swift
public class FunctionPassManager
-
A
See moreTargetDataencapsulates information about the data requirements of a particular target architecture and can be used to retrieve information about sizes and offsets of types with respect to this target.Declaration
Swift
public class TargetData
-
A
See moreTargetobject represents an object that encapsulates information about a host architecture, vendor, ABI, etc.Declaration
Swift
public class Target -
A
See moreTargetMachineobject represents an object that encapsulates information about a particular machine (i.e. CPU type) associated with a target environment.Declaration
Swift
public class TargetMachine
Classes Reference