Module: RLTK::CG

Defined in:
lib/rltk/cg.rb,
lib/rltk/cg/llvm.rb,
lib/rltk/cg/type.rb,
lib/rltk/cg/value.rb,
lib/rltk/cg/module.rb,
lib/rltk/cg/target.rb,
lib/rltk/cg/triple.rb,
lib/rltk/cg/builder.rb,
lib/rltk/cg/context.rb,
lib/rltk/cg/support.rb,
lib/rltk/cg/bindings.rb,
lib/rltk/cg/function.rb,
lib/rltk/cg/contractor.rb,
lib/rltk/cg/basic_block.rb,
lib/rltk/cg/instruction.rb,
lib/rltk/cg/pass_manager.rb,
lib/rltk/cg/generic_value.rb,
lib/rltk/cg/memory_buffer.rb,
lib/rltk/cg/execution_engine.rb

Overview

Classes and Modules #

Defined Under Namespace

Modules: BindingClass, Bindings, LLVM, Support Classes: ARightShiftInst, AddInst, AddrSpaceCastInst, AggregateType, AllocaInst, AndInst, Argument, ArrayAllocaInst, ArrayMallocInst, ArrayType, AtomicRMWInst, BasicBlock, BasicIntType, BitCastInst, BranchInst, Builder, CallInst, CondBranchInst, Constant, ConstantAggregate, ConstantArray, ConstantExpr, ConstantInteger, ConstantNull, ConstantNullPtr, ConstantNumber, ConstantReal, ConstantString, ConstantStruct, ConstantUndef, ConstantVector, Context, Contractor, Double, DoubleType, ExactSDivInst, ExecutionEngine, ExtractElementInst, ExtractValueInst, FAddInst, FCmpInst, FDivInst, FMulInst, FNegInst, FP128, FP128Type, FPCastInst, FPExtendInst, FPToSIInst, FPToUIInst, FPTruncInst, FRemInst, FSubInst, Float, FloatType, FreeInst, Function, FunctionPassManager, FunctionType, GenericValue, GetElementPtrInst, GlobalAlias, GlobalStringInst, GlobalStringPtrInst, GlobalValue, GlobalVariable, Half, HalfType, InBoundsGEPInst, InsertElementInst, InsertValueInst, Instruction, Int1, Int16, Int16Type, Int1Type, Int32, Int32Type, Int64, Int64Type, Int8, Int8Type, IntCastInst, IntCmpInst, IntPtr, IntToPtrInst, IntType, Interpreter, InvokeInst, IsNotNullInst, IsNullInstInst, JITCompiler, LRightShiftInst, LabelType, LeftShiftInst, LoadInst, MCJITCompiler, MCJITCompilerOptions, MallocInst, MemoryBuffer, Module, MulInst, NSWAddInst, NSWMulInst, NSWNegInst, NSWSubInst, NUWAddInst, NUWMulInst, NUWNegInst, NUWSubInst, NegInst, NotInst, NumberType, OrInst, PPCFP128, PPCFP128Type, PassManager, PassRegistry, PhiInst, PointerType, PtrCastInst, PtrDiffInst, PtrToIntInst, RealType, ReturnAggregateInst, ReturnInst, ReturnVoidInst, SDivInst, SIToFPInst, SRemInst, SelectInst, ShuffleVectorInst, SignExtendInst, SignExtendOrBitCastInst, SimpleAggregateType, SimpleIntType, SimpleType, StoreInst, StructGEPInst, StructType, SubInst, SwitchInst, Target, TargetData, TargetMachine, Triple, TruncateInst, TruncateOrBitCastInst, Type, UDivInst, UIToFPInst, URemInst, UnreachableInst, User, Value, VectorType, VoidType, X86FP80, X86FP80Type, X86MMXType, XOrInst, ZeroExtendInst, ZeroExtendOrBitCastInst

Constant Summary collapse

NativeIntType =

The native integer type on the current (not the target) platform.

RLTK::CG.const_get("Int#{FFI.type_size(:int) * 8}Type")
NativeInt =

The native integer value class on the current (not the target) platform.

RLTK::CG.const_get("Int#{FFI.type_size(:int) * 8}")
TRUE =

A constant Int 1 representing the Boolean value TRUE.

Int1.new(-1)
FALSE =

A constant Int 1 representing the Boolean value FALSE.

Int1.new( 0)
PASS_GROUPS =
[
	:analysis,
	:core,
	:inst_combine,
	:instrumentation,
	:ipa,
	:ipo,
	:objc_arc_opts,
	:scalar_opts,
	:target,
	:transform_utils,
	:vectorization
]