A | |
| abi_align [Llvm_target] |
Computes the ABI alignment of a type in bytes for a target.
|
| abi_size [Llvm_target] |
Computes the ABI size of a type in bytes for a target.
|
| add [Llvm_target.TargetData] | add_target_data td pm adds the target data td to the pass manager pm .
|
| add_aggressive_dce [Llvm_scalar_opts] |
See The
llvm::createAggressiveDCEPass function.
|
| add_alias [Llvm] | add_alias m t a n inserts an alias in the module m with the type t and
the aliasee a with the name n .
|
| add_argument_promotion [Llvm_ipo] |
See llvm::createAddArgumentPromotionPass
|
| add_basic_alias_analysis [Llvm_scalar_opts] |
See the
llvm::createBasicAliasAnalysisPass function.
|
| add_case [Llvm] | add_case sw onval bb causes switch instruction sw to branch to bb
when its input matches the constant onval .
|
| add_cfg_simplification [Llvm_scalar_opts] |
See the
llvm::createCFGSimplificationPass function.
|
| add_clause [Llvm] | add_clause lp clause adds the clause to the landingpad instruction.
|
| add_constant_merge [Llvm_ipo] | |
| add_constant_propagation [Llvm_scalar_opts] |
See the
llvm::createConstantPropogationPass function.
|
| add_correlated_value_propagation [Llvm_scalar_opts] |
See the
llvm::createCorrelatedValuePropagationPass function.
|
| add_dead_arg_elimination [Llvm_ipo] |
See llvm::createDeadArgEliminationPass function.
|
| add_dead_store_elimination [Llvm_scalar_opts] |
See
llvm::createDeadStoreEliminationPass function.
|
| add_destination [Llvm] | add_destination br bb adds the basic block bb as a possible branch
location for the indirectbr instruction br .
|
| add_early_cse [Llvm_scalar_opts] |
See the
llvm::createEarlyCSE function.
|
| add_function_attr [Llvm] | add_function_attr f a adds attribute a to the return type of function
f .
|
| add_function_attrs [Llvm_ipo] |
See llvm::createFunctionAttrsPass function.
|
| add_function_inlining [Llvm_ipo] |
See llvm::createFunctionInliningPass function.
|
| add_global_dce [Llvm_ipo] |
See llvm::createGlobalDCEPass function.
|
| add_global_optimizer [Llvm_ipo] |
See llvm::createGlobalOptimizerPass function.
|
| add_gvn [Llvm_scalar_opts] |
See the
llvm::createGVNPass function.
|
| add_incoming [Llvm] | add_incoming (v, bb) pn adds the value v to the phi node pn for use
with branches from bb .
|
| add_ind_var_simplification [Llvm_scalar_opts] |
See the
llvm::createIndVarSimplifyPass function.
|
| add_instruction_combination [Llvm_scalar_opts] |
See the
llvm::createInstructionCombiningPass function.
|
| add_instruction_param_attr [Llvm] | add_instruction_param_attr ci i a adds attribute a to the i th
parameter of the call or invoke instruction ci .
|
| add_internalize [Llvm_ipo] |
See llvm::createInternalizePass function.
|
| add_ipc_propagation [Llvm_ipo] |
See llvm::createIPConstantPropagationPass function.
|
| add_ipsccp [Llvm_ipo] |
See llvm::createIPSCCPPass function.
|
| add_jump_threading [Llvm_scalar_opts] |
See the
llvm::createJumpThreadingPass function.
|
| add_lib_call_simplification [Llvm_scalar_opts] |
See the
llvm::createSimplifyLibCallsPass function.
|
| add_licm [Llvm_scalar_opts] |
See the
llvm::createLICMPass function.
|
| add_loop_deletion [Llvm_scalar_opts] |
See the
llvm::createLoopDeletionPass function.
|
| add_loop_idiom [Llvm_scalar_opts] | |
| add_loop_rotation [Llvm_scalar_opts] |
See the
llvm::createLoopRotatePass function.
|
| add_loop_unroll [Llvm_scalar_opts] |
See the
llvm::createLoopUnrollPass function.
|
| add_loop_unswitch [Llvm_scalar_opts] |
See the
llvm::createLoopUnswitchPass function.
|
| add_lower_expect_intrinsic [Llvm_scalar_opts] |
See the
llvm::createLowerExpectIntrinsicPass function.
|
| add_memcpy_opt [Llvm_scalar_opts] |
See the
llvm::createMemCpyOptPass function.
|
| add_memory_to_register_demotion [Llvm_scalar_opts] |
See the
llvm::createDemoteMemoryToRegisterPass function.
|
| add_memory_to_register_promotion [Llvm_scalar_opts] |
See the
llvm::createPromoteMemoryToRegisterPass function.
|
| add_module [Llvm_executionengine.ExecutionEngine] | add_module m ee adds the module m to the execution engine ee .
|
| add_param_attr [Llvm] | add_param p a adds attribute a to parameter p .
|
| add_prune_eh [Llvm_ipo] |
See llvm::createPruneEHPass function.
|
| add_reassociation [Llvm_scalar_opts] |
See the
llvm::createReassociatePass function.
|
| add_scalar_repl_aggregation [Llvm_scalar_opts] |
See the
llvm::createScalarReplAggregatesPass function.
|
| add_scalar_repl_aggregation_ssa [Llvm_scalar_opts] |
See the
llvm::createScalarReplAggregatesPassSSA function.
|
| add_scalar_repl_aggregation_with_threshold [Llvm_scalar_opts] |
See the
llvm::createScalarReplAggregatesWithThreshold function.
|
| add_sccp [Llvm_scalar_opts] |
See the
llvm::createSCCPPass function.
|
| add_strip_dead_prototypes [Llvm_ipo] |
See llvm::createStripDeadPrototypesPass function.
|
| add_strip_symbols [Llvm_ipo] |
See llvm::createStripSymbolsPass function.
|
| add_tail_call_elimination [Llvm_scalar_opts] |
See the
llvm::createTailCallEliminationPass function.
|
| add_type_based_alias_analysis [Llvm_scalar_opts] |
See the
llvm::createTypeBasedAliasAnalysisPass function.
|
| add_verifier [Llvm_scalar_opts] |
See the
llvm::createVerifierPass function.
|
| address_space [Llvm] | address_space pty returns the address space qualifier of the pointer type
pty .
|
| align_of [Llvm] | align_of ty returns the alignof constant for the type ty .
|
| alignment [Llvm] | alignment g returns the required alignment of the global value g .
|
| append_block [Llvm] | append_block c name f creates a new basic block named name at the end of
function f in the context c .
|
| array_length [Llvm] | element_type aty returns the element count of the array type aty .
|
| array_type [Llvm] | array_type ty n returns the array type containing n elements of type
ty .
|
| as_float [Llvm_executionengine.GenericValue] | as_float fpty gv unboxes the floating point-valued generic value gv of
floating point type fpty .
|
| as_int [Llvm_executionengine.GenericValue] | as_int gv unboxes the integer-valued generic value gv as an int .
|
| as_int32 [Llvm_executionengine.GenericValue] | as_int32 gv unboxes the integer-valued generic value gv as an int32 .
|
| as_int64 [Llvm_executionengine.GenericValue] | as_int64 gv returns the integer-valued generic value gv as an int64 .
|
| as_nativeint [Llvm_executionengine.GenericValue] | as_natint gv unboxes the integer-valued generic value gv as a
nativeint .
|
| as_pointer [Llvm_executionengine.GenericValue] | as_pointer gv unboxes the pointer-valued generic value gv .
|
| as_string [Llvm_target.TargetData] | as_string td is the string representation of the target data td .
|
| assert_valid_function [Llvm_analysis] | verify_function f returns if the function f is valid, but prints a
validation report to stderr and aborts the program if it is invalid.
|
| assert_valid_module [Llvm_analysis] | verify_module m returns if the module m is valid, but prints a
validation report to stderr and aborts the program if it is invalid.
|
B | |
| basic_blocks [Llvm] | basic_blocks fn returns the basic blocks of the function f .
|
| block_address [Llvm] | block_address f bb returns the address of the basic block bb in the
function f .
|
| block_begin [Llvm] | block_begin f returns the first position in the basic block list of the
function f .
|
| block_end [Llvm] | block_end f returns the last position in the basic block list of
the function f .
|
| block_of_value [Llvm] | block_of_value v losslessly casts v to an llbasicblock .
|
| block_parent [Llvm] | block_parent bb returns the parent function that owns the basic block.
|
| block_pred [Llvm] | block_pred gv returns the function list position preceding After gv .
|
| block_succ [Llvm] | block_succ bb returns the basic block list position succeeding
Before bb .
|
| block_terminator [Llvm] | |
| build_add [Llvm] | build_add x y name b creates a
%name = add %x, %y
instruction at the position specified by the instruction builder b .
|
| build_aggregate_ret [Llvm] | build_aggregate_ret vs b creates a
ret {...} { %v1, %v2, ... }
instruction at the position specified by the instruction builder b .
|
| build_alloca [Llvm] | build_alloca ty name b creates a
%name = alloca %ty
instruction at the position specified by the instruction builder b .
|
| build_and [Llvm] | build_and x y name b creates a
%name = and %x, %y
instruction at the position specified by the instruction builder b .
|
| build_array_alloca [Llvm] | build_array_alloca ty n name b creates a
%name = alloca %ty, %n
instruction at the position specified by the instruction builder b .
|
| build_array_malloc [Llvm] | build_array_malloc ty val name b creates an array malloc
instruction at the position specified by the instruction builder b .
|
| build_ashr [Llvm] | build_ashr x y name b creates a
%name = ashr %x, %y
instruction at the position specified by the instruction builder b .
|
| build_bitcast [Llvm] | build_bitcast v ty name b creates a
%name = bitcast %p to %ty
instruction at the position specified by the instruction builder b .
|
| build_br [Llvm] | build_br bb b creates a
br %bb
instruction at the position specified by the instruction builder b .
|
| build_call [Llvm] | build_call fn args name b creates a
%name = call %fn(args...)
instruction at the position specified by the instruction builder b .
|
| build_cond_br [Llvm] | build_cond_br cond tbb fbb b creates a
br %cond, %tbb, %fbb
instruction at the position specified by the instruction builder b .
|
| build_exact_sdiv [Llvm] | build_exact_sdiv x y name b creates a
%name = exact sdiv %x, %y
instruction at the position specified by the instruction builder b .
|
| build_extractelement [Llvm] | build_extractelement vec i name b creates a
%name = extractelement %vec, %i
instruction at the position specified by the instruction builder b .
|
| build_extractvalue [Llvm] | build_insertvalue agg idx name b creates a
%name = extractvalue %agg, %idx
instruction at the position specified by the instruction builder b .
|
| build_fadd [Llvm] | build_fadd x y name b creates a
%name = fadd %x, %y
instruction at the position specified by the instruction builder b .
|
| build_fcmp [Llvm] | build_fcmp pred x y name b creates a
%name = fcmp %pred %x, %y
instruction at the position specified by the instruction builder b .
|
| build_fdiv [Llvm] | build_fdiv x y name b creates a
%name = fdiv %x, %y
instruction at the position specified by the instruction builder b .
|
| build_fmul [Llvm] | build_fmul x y name b creates a
%name = fmul %x, %y
instruction at the position specified by the instruction builder b .
|
| build_fneg [Llvm] | build_fneg x name b creates a
%name = fsub 0, %x
instruction at the position specified by the instruction builder b .
|
| build_fpcast [Llvm] | build_fpcast v ty name b creates a fpext, bitcast, or fptrunc
instruction at the position specified by the instruction builder b .
|
| build_fpext [Llvm] | build_fpext v ty name b creates a
%name = fpext %p to %ty
instruction at the position specified by the instruction builder b .
|
| build_fptosi [Llvm] | build_fptosi v ty name b creates a
%name = fptosi %p to %ty
instruction at the position specified by the instruction builder b .
|
| build_fptoui [Llvm] | build_fptoui v ty name b creates a
%name = fptoui %p to %ty
instruction at the position specified by the instruction builder b .
|
| build_fptrunc [Llvm] | build_fptrunc v ty name b creates a
%name = fptrunc %p to %ty
instruction at the position specified by the instruction builder b .
|
| build_free [Llvm] | build_free p b creates a free
instruction at the position specified by the instruction builder b .
|
| build_frem [Llvm] | build_frem x y name b creates a
%name = frem %x, %y
instruction at the position specified by the instruction builder b .
|
| build_fsub [Llvm] | build_fsub x y name b creates a
%name = fsub %x, %y
instruction at the position specified by the instruction builder b .
|
| build_gep [Llvm] | build_gep p indices name b creates a
%name = getelementptr %p, indices...
instruction at the position specified by the instruction builder b .
|
| build_global_string [Llvm] | build_global_string str name b creates a series of instructions that adds
a global string at the position specified by the instruction builder b .
|
| build_global_stringptr [Llvm] | build_global_stringptr str name b creates a series of instructions that
adds a global string pointer at the position specified by the instruction
builder b .
|
| build_icmp [Llvm] | build_icmp pred x y name b creates a
%name = icmp %pred %x, %y
instruction at the position specified by the instruction builder b .
|
| build_in_bounds_gep [Llvm] | build_in_bounds_gep p indices name b creates a
%name = gelementptr inbounds %p, indices...
instruction at the position specified by the instruction builder b .
|
| build_indirect_br [Llvm] | build_indirect_br addr count b creates a
indirectbr %addr
instruction at the position specified by the instruction builder b with
space reserved for count destinations.
|
| build_insertelement [Llvm] | build_insertelement vec elt i name b creates a
%name = insertelement %vec, %elt, %i
instruction at the position specified by the instruction builder b .
|
| build_insertvalue [Llvm] | build_insertvalue agg val idx name b creates a
%name = insertvalue %agg, %val, %idx
instruction at the position specified by the instruction builder b .
|
| build_intcast [Llvm] | build_intcast v ty name b creates a zext, bitcast, or trunc
instruction at the position specified by the instruction builder b .
|
| build_inttoptr [Llvm] | build_inttoptr v ty name b creates a
%name = inttoptr %p to %ty
instruction at the position specified by the instruction builder b .
|
| build_invoke [Llvm] | build_invoke fn args tobb unwindbb name b creates an
%name = invoke %fn(args) to %tobb unwind %unwindbb
instruction at the position specified by the instruction builder b .
|
| build_is_not_null [Llvm] | build_is_not_null val name b creates a
%name = icmp ne %val, null
instruction at the position specified by the instruction builder b .
|
| build_is_null [Llvm] | build_is_null val name b creates a
%name = icmp eq %val, null
instruction at the position specified by the instruction builder b .
|
| build_landingpad [Llvm] | build_landingpad ty persfn numclauses name b creates an
landingpad
instruction at the position specified by the instruction builder b .
|
| build_load [Llvm] | build_load v name b creates a
%name = load %v
instruction at the position specified by the instruction builder b .
|
| build_lshr [Llvm] | build_lshr x y name b creates a
%name = lshr %x, %y
instruction at the position specified by the instruction builder b .
|
| build_malloc [Llvm] | build_malloc ty name b creates an malloc
instruction at the position specified by the instruction builder b .
|
| build_mul [Llvm] | build_mul x y name b creates a
%name = mul %x, %y
instruction at the position specified by the instruction builder b .
|
| build_neg [Llvm] | build_neg x name b creates a
%name = sub 0, %x
instruction at the position specified by the instruction builder b .
|
| build_not [Llvm] | build_xor x name b creates a
%name = xor %x, -1
instruction at the position specified by the instruction builder b .
|
| build_nsw_add [Llvm] | build_nsw_add x y name b creates a
%name = nsw add %x, %y
instruction at the position specified by the instruction builder b .
|
| build_nsw_mul [Llvm] | build_nsw_mul x y name b creates a
%name = nsw mul %x, %y
instruction at the position specified by the instruction builder b .
|
| build_nsw_neg [Llvm] | build_nsw_neg x name b creates a
%name = nsw sub 0, %x
instruction at the position specified by the instruction builder b .
|
| build_nsw_sub [Llvm] | build_nsw_sub x y name b creates a
%name = nsw sub %x, %y
instruction at the position specified by the instruction builder b .
|
| build_nuw_add [Llvm] | build_nuw_add x y name b creates a
%name = nuw add %x, %y
instruction at the position specified by the instruction builder b .
|
| build_nuw_mul [Llvm] | build_nuw_mul x y name b creates a
%name = nuw mul %x, %y
instruction at the position specified by the instruction builder b .
|
| build_nuw_neg [Llvm] | build_nuw_neg x name b creates a
%name = nuw sub 0, %x
instruction at the position specified by the instruction builder b .
|
| build_nuw_sub [Llvm] | build_nuw_sub x y name b creates a
%name = nuw sub %x, %y
instruction at the position specified by the instruction builder b .
|
| build_or [Llvm] | build_or x y name b creates a
%name = or %x, %y
instruction at the position specified by the instruction builder b .
|
| build_phi [Llvm] | build_phi incoming name b creates a
%name = phi %incoming
instruction at the position specified by the instruction builder b .
|
| build_pointercast [Llvm] | build_pointercast v ty name b creates a bitcast or pointer-to-int
instruction at the position specified by the instruction builder b .
|
| build_ptrdiff [Llvm] | build_ptrdiff lhs rhs name b creates a series of instructions that measure
the difference between two pointer values at the position specified by the
instruction builder b .
|
| build_ptrtoint [Llvm] | build_ptrtoint v ty name b creates a
%name = prtotint %p to %ty
instruction at the position specified by the instruction builder b .
|
| build_resume [Llvm] | |
| build_ret [Llvm] | build_ret v b creates a
ret %v
instruction at the position specified by the instruction builder b .
|
| build_ret_void [Llvm] | build_ret_void b creates a
ret void
instruction at the position specified by the instruction builder b .
|
| build_sdiv [Llvm] | build_sdiv x y name b creates a
%name = sdiv %x, %y
instruction at the position specified by the instruction builder b .
|
| build_select [Llvm] | build_select cond thenv elsev name b creates a
%name = select %cond, %thenv, %elsev
instruction at the position specified by the instruction builder b .
|
| build_sext [Llvm] | build_sext v ty name b creates a
%name = sext %p to %ty
instruction at the position specified by the instruction builder b .
|
| build_sext_or_bitcast [Llvm] | build_sext_or_bitcast v ty name b creates a sext or bitcast
instruction at the position specified by the instruction builder b .
|
| build_shl [Llvm] | build_shl x y name b creates a
%name = shl %x, %y
instruction at the position specified by the instruction builder b .
|
| build_shufflevector [Llvm] | build_shufflevector veca vecb mask name b creates a
%name = shufflevector %veca, %vecb, %mask
instruction at the position specified by the instruction builder b .
|
| build_sitofp [Llvm] | build_sitofp v ty name b creates a
%name = sitofp %p to %ty
instruction at the position specified by the instruction builder b .
|
| build_srem [Llvm] | build_SRem x y name b creates a
%name = srem %x, %y
instruction at the position specified by the instruction builder b .
|
| build_store [Llvm] | build_store v p b creates a
store %v, %p
instruction at the position specified by the instruction builder b .
|
| build_struct_gep [Llvm] | build_struct_gep p idx name b creates a
%name = getelementptr %p, 0, idx
instruction at the position specified by the instruction builder b .
|
| build_sub [Llvm] | build_sub x y name b creates a
%name = sub %x, %y
instruction at the position specified by the instruction builder b .
|
| build_switch [Llvm] | build_switch case elsebb count b creates an empty
switch %case, %elsebb
instruction at the position specified by the instruction builder b with
space reserved for count cases.
|
| build_trunc [Llvm] | build_trunc v ty name b creates a
%name = trunc %p to %ty
instruction at the position specified by the instruction builder b .
|
| build_trunc_or_bitcast [Llvm] | build_trunc_or_bitcast v ty name b creates a trunc or bitcast
instruction at the position specified by the instruction builder b .
|
| build_udiv [Llvm] | build_udiv x y name b creates a
%name = udiv %x, %y
instruction at the position specified by the instruction builder b .
|
| build_uitofp [Llvm] | build_uitofp v ty name b creates a
%name = uitofp %p to %ty
instruction at the position specified by the instruction builder b .
|
| build_unreachable [Llvm] | build_unreachable b creates an
unreachable
instruction at the position specified by the instruction builder b .
|
| build_urem [Llvm] | build_urem x y name b creates a
%name = urem %x, %y
instruction at the position specified by the instruction builder b .
|
| build_va_arg [Llvm] | build_va_arg valist argty name b creates a
%name = va_arg %valist, %argty
instruction at the position specified by the instruction builder b .
|
| build_xor [Llvm] | build_xor x y name b creates a
%name = xor %x, %y
instruction at the position specified by the instruction builder b .
|
| build_zext [Llvm] | build_zext v ty name b creates a
%name = zext %p to %ty
instruction at the position specified by the instruction builder b .
|
| build_zext_or_bitcast [Llvm] | build_zext_or_bitcast v ty name b creates a zext or bitcast
instruction at the position specified by the instruction builder b .
|
| builder [Llvm] | builder context creates an instruction builder with no position in
the context context .
|
| builder_at [Llvm] | builder_at ip creates an instruction builder positioned at ip .
|
| builder_at_end [Llvm] | builder_at_end bb creates an instruction builder positioned at the end of
the basic block bb .
|
| builder_before [Llvm] | builder_before ins creates an instruction builder positioned before the
instruction isn .
|
| byte_order [Llvm_target] |
Returns the byte order of a target, either LLVMBigEndian or
LLVMLittleEndian.
|
C | |
| c [Llvm.CallConv] | c is the C calling convention.
|
| classify_type [Llvm] | |
| classify_value [Llvm] | |
| clear_current_debug_location [Llvm] | clear_current_debug_location b clears the current debug location in the
builder b .
|
| clear_metadata [Llvm] | clear_metadata i kind clears the metadata of kind kind in the
instruction i .
|
| cold [Llvm.CallConv] | cold is the calling convention for
callee-save.
|
| const_add [Llvm] | const_add c1 c2 returns the constant sum of two constants.
|
| const_all_ones [Llvm] | const_all_ones ty returns the constant '-1' of the integer or vector type
ty .
|
| const_and [Llvm] | const_and c1 c2 returns the constant bitwise AND of two integer
constants.
|
| const_array [Llvm] | const_array ty elts returns the constant array of type
array_type ty (Array.length elts) and containing the values elts .
|
| const_ashr [Llvm] | const_ashr c1 c2 returns the constant integer c1 right-shifted by the
constant integer c2 with sign extension.
|
| const_bitcast [Llvm] | const_bitcast c ty returns the constant bitwise conversion of constant c
to type ty of equal size.
|
| const_exact_sdiv [Llvm] | const_exact_sdiv c1 c2 returns the constant quotient c1 / c2 of two
signed integer constants.
|
| const_extractelement [Llvm] | const_extractelement vec i returns the constant i th element of
constant vector vec .
|
| const_extractvalue [Llvm] | const_extractvalue agg idxs returns the constant idxs th value of
constant aggregate agg .
|
| const_fadd [Llvm] | const_fadd c1 c2 returns the constant sum of two constant floats.
|
| const_fcmp [Llvm] | const_fcmp pred c1 c2 returns the constant comparison of two floating
point constants, c1 pred c2 .
|
| const_fdiv [Llvm] | const_fdiv c1 c2 returns the constant quotient c1 / c2 of two floating
point constants.
|
| const_float [Llvm] | const_float ty n returns the floating point constant of type ty and
value n .
|
| const_float_of_string [Llvm] | const_float_of_string ty s returns the floating point constant of type
ty and value n .
|
| const_fmul [Llvm] | const_fmul c1 c2 returns the constant product of two constants floats.
|
| const_fneg [Llvm] | const_fneg c returns the arithmetic negation of the constant float c .
|
| const_fpcast [Llvm] | const_fpcast c ty returns a constant fpext, bitcast, or fptrunc for fp ->
fp casts of constant c to type ty .
|
| const_fpext [Llvm] | const_fpext c ty returns the constant extension of floating point constant
c to the larger floating point type ty .
|
| const_fptosi [Llvm] | const_fptoui c ty returns the constant unsigned integer conversion of
floating point constant c to integer type ty .
|
| const_fptoui [Llvm] | const_fptoui c ty returns the constant unsigned integer conversion of
floating point constant c to integer type ty .
|
| const_fptrunc [Llvm] | const_fptrunc c ty returns the constant truncation of floating point
constant c to the smaller floating point type ty .
|
| const_frem [Llvm] | const_frem c1 c2 returns the constant remainder c1 MOD c2 of two
signed floating point constants.
|
| const_fsub [Llvm] | const_fsub c1 c2 returns the constant difference, c1 - c2 , of two
constant floats.
|
| const_gep [Llvm] | const_gep pc indices returns the constant getElementPtr of p1 with the
constant integers indices from the array indices .
|
| const_icmp [Llvm] | const_icmp pred c1 c2 returns the constant comparison of two integer
constants, c1 pred c2 .
|
| const_in_bounds_gep [Llvm] | const_in_bounds_gep pc indices returns the constant getElementPtr of p1
with the constant integers indices from the array indices .
|
| const_inline_asm [Llvm] | const_inline_asm ty asm con side align inserts a inline assembly string.
|
| const_insertelement [Llvm] | const_insertelement vec v i returns the constant vector with the same
elements as constant vector v but the i th element replaced by the
constant v .
|
| const_insertvalue [Llvm] | const_insertvalue agg val idxs inserts the value val in the specified
indexs idxs in the aggegate agg .
|
| const_int [Llvm] | const_int ty i returns the integer constant of type ty and value i .
|
| const_int_of_string [Llvm] | const_int_of_string ty s r returns the integer constant of type ty and
* value s , with the radix r .
|
| const_intcast [Llvm] | const_intcast c ty returns a constant zext, bitcast, or trunc for integer
-> integer casts of constant c to type ty .
|
| const_inttoptr [Llvm] | const_inttoptr c ty returns the constant pointer conversion of
integer constant c to pointer type ty .
|
| const_lshr [Llvm] | const_lshr c1 c2 returns the constant integer c1 right-shifted by the
constant integer c2 with zero extension.
|
| const_mul [Llvm] | const_mul c1 c2 returns the constant product of two constants.
|
| const_named_struct [Llvm] | const_named_struct namedty elts returns the structured constant of type
namedty (which must be a named structure type) and containing the values elts .
|
| const_neg [Llvm] | const_neg c returns the arithmetic negation of the constant c .
|
| const_not [Llvm] | const_not c returns the bitwise inverse of the constant c .
|
| const_nsw_add [Llvm] | const_nsw_add c1 c2 returns the constant sum of two constants with no
signed wrapping.
|
| const_nsw_mul [Llvm] | const_nsw_mul c1 c2 returns the constant product of two constants with
no signed wrapping.
|
| const_nsw_neg [Llvm] | const_nsw_neg c returns the arithmetic negation of the constant c with
no signed wrapping.
|
| const_nsw_sub [Llvm] | const_nsw_sub c1 c2 returns the constant difference of two constants with
no signed wrapping.
|
| const_null [Llvm] | const_null ty returns the constant null (zero) of the type ty .
|
| const_nuw_add [Llvm] | const_nuw_add c1 c2 returns the constant sum of two constants with no
unsigned wrapping.
|
| const_nuw_mul [Llvm] | const_nuw_mul c1 c2 returns the constant product of two constants with
no unsigned wrapping.
|
| const_nuw_neg [Llvm] | const_nuw_neg c returns the arithmetic negation of the constant c with
no unsigned wrapping.
|
| const_nuw_sub [Llvm] | const_nuw_sub c1 c2 returns the constant difference of two constants with
no unsigned wrapping.
|
| const_of_int64 [Llvm] | const_of_int64 ty i returns the integer constant of type ty and value
i .
|
| const_or [Llvm] | const_or c1 c2 returns the constant bitwise OR of two integer
constants.
|
| const_packed_struct [Llvm] | const_packed_struct context elts returns the structured constant of
type Llvm.packed_struct_type (Array.map type_of elts) and containing the
values elts in the context context .
|
| const_pointer_null [Llvm] | const_pointer_null ty returns the constant null (zero) pointer of the type
ty .
|
| const_pointercast [Llvm] | const_pointercast c ty returns a constant bitcast or a pointer-to-int
cast conversion of constant c to type ty of equal size.
|
| const_ptrtoint [Llvm] | const_ptrtoint c ty returns the constant integer conversion of
pointer constant c to integer type ty .
|
| const_sdiv [Llvm] | const_sdiv c1 c2 returns the constant quotient c1 / c2 of two signed
integer constants.
|
| const_select [Llvm] | const_select cond t f returns the constant conditional which returns value
t if the boolean constant cond is true and the value f otherwise.
|
| const_sext [Llvm] | const_sext c ty returns the constant sign extension of integer constant
c to the larger integer type ty .
|
| const_sext_or_bitcast [Llvm] | const_sext_or_bitcast c ty returns a constant sext or bitwise cast
conversion of constant c to type ty .
|
| const_shl [Llvm] | const_shl c1 c2 returns the constant integer c1 left-shifted by the
constant integer c2 .
|
| const_shufflevector [Llvm] | const_shufflevector a b mask returns a constant shufflevector .
|
| const_sitofp [Llvm] | const_sitofp c ty returns the constant floating point conversion of
signed integer constant c to the floating point type ty .
|
| const_srem [Llvm] | const_srem c1 c2 returns the constant remainder c1 MOD c2 of two
signed integer constants.
|
| const_string [Llvm] | const_string c s returns the constant i8 array with the values of the
characters in the string s in the context c .
|
| const_stringz [Llvm] | const_stringz c s returns the constant i8 array with the values of the
characters in the string s and a null terminator in the context c .
|
| const_struct [Llvm] | const_struct context elts returns the structured constant of type
struct_type (Array.map type_of elts) and containing the values elts
in the context context .
|
| const_sub [Llvm] | const_sub c1 c2 returns the constant difference, c1 - c2 , of two
constants.
|
| const_trunc [Llvm] | const_trunc c ty returns the constant truncation of integer constant c
to the smaller integer type ty .
|
| const_trunc_or_bitcast [Llvm] | const_trunc_or_bitcast c ty returns a constant trunc or bitwise cast
conversion of constant c to type ty .
|
| const_udiv [Llvm] | const_udiv c1 c2 returns the constant quotient c1 / c2 of two unsigned
integer constants.
|
| const_uitofp [Llvm] | const_uitofp c ty returns the constant floating point conversion of
unsigned integer constant c to the floating point type ty .
|
| const_urem [Llvm] | const_urem c1 c2 returns the constant remainder c1 MOD c2 of two
unsigned integer constants.
|
| const_vector [Llvm] | const_vector elts returns the vector constant of type
vector_type (type_of elts.(0)) (Array.length elts) and containing the
values elts .
|
| const_xor [Llvm] | const_xor c1 c2 returns the constant bitwise XOR of two integer
constants.
|
| const_zext [Llvm] | const_zext c ty returns the constant zero extension of integer constant
c to the larger integer type ty .
|
| const_zext_or_bitcast [Llvm] | const_zext_or_bitcast c ty returns a constant zext or bitwise cast
conversion of constant c to type ty .
|
| constexpr_opcode [Llvm] |
Operations on instructions
|
| create [Llvm_target.TargetData] | TargetData.create rep parses the target data string representation rep .
|
| create [Llvm_executionengine.ExecutionEngine] | create m creates a new execution engine, taking ownership of the
module m if successful.
|
| create [Llvm.PassManager] | PassManager.create () constructs a new whole-module pass pipeline.
|
| create_context [Llvm] | create_context () creates a context for storing the "global" state in
LLVM.
|
| create_function [Llvm.PassManager] | PassManager.create_function m constructs a new function-by-function
pass pipeline over the module m .
|
| create_interpreter [Llvm_executionengine.ExecutionEngine] | create_interpreter m creates a new interpreter, taking ownership of the
module m if successful.
|
| create_jit [Llvm_executionengine.ExecutionEngine] | create_jit m optlevel creates a new JIT (just-in-time compiler), taking
ownership of the module m if successful with the desired optimization
level optlevel .
|
| create_module [Llvm] | create_module context id creates a module with the supplied module ID in
the context context .
|
| current_debug_location [Llvm] | current_debug_location b returns the current debug location, or None
if none is currently set.
|
D | |
| data_layout [Llvm] | data_layout m is the data layout specifier for the module m , something
like e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-...-a0:0:64-f80:128:128 .
|
| declare_function [Llvm] | declare_function name ty m returns a new function of type ty and
with name name in module m .
|
| declare_global [Llvm] | declare_global ty name m returns a new global variable of type ty and
with name name in module m in the default address space (0).
|
| declare_qualified_global [Llvm] | declare_qualified_global ty name addrspace m returns a new global variable
of type ty and with name name in module m in the address space
addrspace .
|
| define_function [Llvm] | define_function name ty m creates a new function with name name and
type ty in module m .
|
| define_global [Llvm] | define_global name init m returns a new global with name name and
initializer init in module m in the default address space (0).
|
| define_qualified_global [Llvm] | define_qualified_global name init addrspace m returns a new global with
name name and initializer init in module m in the address space
addrspace .
|
| delete_block [Llvm] | delete_block bb deletes the basic block bb .
|
| delete_function [Llvm] | delete_function f destroys the function f .
|
| delete_global [Llvm] | delete_global gv destroys the global variable gv .
|
| delete_instruction [Llvm] | delete_instruction i deletes the instruction i .
|
| dispose [Llvm_target.TargetData] |
Deallocates a TargetData.
|
| dispose [Llvm_executionengine.ExecutionEngine] | dispose ee releases the memory used by the execution engine and must be
invoked to avoid memory leaks.
|
| dispose [Llvm.PassManager] |
Frees the memory of a pass pipeline.
|
| dispose [Llvm.MemoryBuffer] |
Disposes of a memory buffer.
|
| dispose_context [Llvm] | destroy_context () destroys a context.
|
| dispose_module [Llvm] | dispose_module m destroys a module m and all of the IR objects it
contained.
|
| double_type [Llvm] | double_type c returns the IEEE 64-bit floating point type in the context
c .
|
| dump_module [Llvm] | dump_module m prints the .ll representation of the module m to standard
error.
|
| dump_value [Llvm] | dump_value v prints the .ll representation of the value v to standard
error.
|
E | |
| element_at_offset [Llvm_target] |
Computes the structure element that contains the byte offset for a target.
|
| element_type [Llvm] | element_type ty returns the element type of the pointer, vector, or array
type ty .
|
| entry_block [Llvm] | entry_block fn returns the entry basic block of the function f .
|
F | |
| fast [Llvm.CallConv] | fast is the calling convention to allow LLVM
maximum optimization opportunities.
|
| finalize [Llvm.PassManager] | finalize fpm finalizes all of the function passes scheduled in in the
function pass manager fpm .
|
| find_function [Llvm_executionengine.ExecutionEngine] | find_function n ee finds the function named n defined in any of the
modules owned by the execution engine ee .
|
| float_type [Llvm] | float_type c returns the IEEE 32-bit floating point type in the context
c .
|
| fold_left_blocks [Llvm] | fold_left_blocks f init fn is f (... (f init b1) ...) bN where
b1,...,bN are the basic blocks of function fn .
|
| fold_left_functions [Llvm] | fold_left_function f init m is f (... (f init f1) ...) fN where
f1,...,fN are the functions of module m .
|
| fold_left_globals [Llvm] | fold_left_globals f init m is f (... (f init g1) ...) gN where
g1,...,gN are the global variables of module m .
|
| fold_left_instrs [Llvm] | fold_left_instrs f init bb is f (... (f init g1) ...) gN where
g1,...,gN are the instructions of basic block bb .
|
| fold_left_params [Llvm] | fold_left_params f init fn is f (... (f init b1) ...) bN where
b1,...,bN are the parameters of function fn .
|
| fold_left_uses [Llvm] | fold_left_uses f init v is f (... (f init u1) ...) uN where
u1,...,uN are the users of the value v .
|
| fold_right_blocks [Llvm] | fold_right_blocks f fn init is f (... (f init bN) ...) b1 where
b1,...,bN are the basic blocks of function fn .
|
| fold_right_functions [Llvm] | fold_right_functions f m init is f (... (f init fN) ...) f1 where
f1,...,fN are the functions of module m .
|
| fold_right_globals [Llvm] | fold_right_globals f m init is f g1 (... (f gN init) ...) where
g1,...,gN are the global variables of module m .
|
| fold_right_instrs [Llvm] | fold_right_instrs f bb init is f (... (f init fN) ...) f1 where
f1,...,fN are the instructions of basic block bb .
|
| fold_right_params [Llvm] | fold_right_params f fn init is f (... (f init bN) ...) b1 where
b1,...,bN are the parameters of function fn .
|
| fold_right_uses [Llvm] | fold_right_uses f v init is f u1 (... (f uN init) ...) where
u1,...,uN are the users of the value v .
|
| fp128_type [Llvm] | fp128_type c returns the IEEE 128-bit floating point type in the context
c .
|
| free_machine_code [Llvm_executionengine.ExecutionEngine] | free_machine_code f ee releases the memory in the execution engine ee
used to store the machine code for the function f .
|
| function_attr [Llvm] | function_attr f returns the function attribute for the function f .
|
| function_begin [Llvm] | function_begin m returns the first position in the function list of the
module m .
|
| function_call_conv [Llvm] | function_call_conv f returns the calling convention of the function f .
|
| function_end [Llvm] | function_end m returns the last position in the function list of
the module m .
|
| function_pred [Llvm] | function_pred gv returns the function list position preceding After gv .
|
| function_succ [Llvm] | function_succ gv returns the function list position succeeding
Before gv .
|
| function_type [Llvm] | function_type ret_ty param_tys returns the function type returning
ret_ty and taking param_tys as parameters.
|
G | |
| gc [Llvm] | gc f returns Some name if the function f has a garbage
collection algorithm specified and None otherwise.
|
| get_mdstring [Llvm] | get_mdstring v returns the MDString.
|
| get_module [Llvm_bitreader] | get_module context mb reads the bitcode for a new module m from the
memory buffer mb in the context context .
|
| get_named_metadata [Llvm] | get_named_metadata m name return all the MDNodes belonging to the named
* metadata (if any).
|
| global_begin [Llvm] | global_begin m returns the first position in the global variable list of
the module m .
|
| global_context [Llvm] |
See the function
llvm::getGlobalContext .
|
| global_end [Llvm] | global_end m returns the last position in the global variable list of the
module m .
|
| global_initializer [Llvm] | global_initializer gv returns the initializer for the global variable
gv .
|
| global_parent [Llvm] | global_parent g is the enclosing module of the global value g .
|
| global_pred [Llvm] | global_pred gv returns the global variable list position preceding
After gv .
|
| global_succ [Llvm] | global_succ gv returns the global variable list position succeeding
Before gv .
|
H | |
| has_metadata [Llvm] | has_metadata i returns whether or not the instruction i has any
metadata attached to it.
|
I | |
| i16_type [Llvm] | i16_type c returns an integer type of bitwidth 16 in the context c .
|
| i1_type [Llvm] | i1_type c returns an integer type of bitwidth 1 in the context c .
|
| i32_type [Llvm] | i32_type c returns an integer type of bitwidth 32 in the context c .
|
| i64_type [Llvm] | i64_type c returns an integer type of bitwidth 64 in the context c .
|
| i8_type [Llvm] | i8_type c returns an integer type of bitwidth 8 in the context c .
|
| icmp_predicate [Llvm] | |
| incoming [Llvm] | incoming pn returns the list of value-block pairs for phi node pn .
|
| initialize [Llvm.PassManager] | initialize fpm initializes all of the function passes scheduled in the
function pass manager fpm .
|
| initialize_native_target [Llvm_executionengine] | |
| insert_block [Llvm] | insert_block c name bb creates a new basic block named name before the
basic block bb in the context c .
|
| insert_into_builder [Llvm] | insert_into_builder i name b inserts the specified instruction i at the
position specified by the instruction builder b .
|
| insertion_block [Llvm] | insertion_block b returns the basic block that the builder b is
positioned to insert into.
|
| instr_begin [Llvm] | instr_begin bb returns the first position in the instruction list of the
basic block bb .
|
| instr_end [Llvm] | instr_end bb returns the last position in the instruction list of the
basic block bb .
|
| instr_opcode [Llvm] | |
| instr_parent [Llvm] | instr_parent i is the enclosing basic block of the instruction i .
|
| instr_pred [Llvm] | instr_pred i returns the instruction list position preceding After i .
|
| instr_succ [Llvm] | instr_succ i returns the instruction list position succeeding Before i .
|
| instruction_call_conv [Llvm] | instruction_call_conv ci is the calling convention for the call or invoke
instruction ci , which may be one of the values from the module
Llvm.CallConv .
|
| int64_of_const [Llvm] | int64_of_const c returns the int64 value of the c constant integer.
|
| integer_bitwidth [Llvm] | integer_bitwidth c ty returns the number of bits in the integer type ty
in the context c .
|
| integer_type [Llvm] | integer_type c n returns an integer type of bitwidth n in the context
c .
|
| intptr_type [Llvm_target] |
Returns the integer type that is the same size as a pointer on a target.
|
| is_constant [Llvm] | is_constant v returns true if the value v is a constant, false
otherwise.
|
| is_declaration [Llvm] | is_declaration g returns true if the global value g is a declaration
only.
|
| is_global_constant [Llvm] | is_global_constant gv returns true if the global variabile gv is a
constant.
|
| is_intrinsic [Llvm] | is_intrinsic f returns true if the function f is an intrinsic.
|
| is_null [Llvm] | is_null v returns true if the value v is the null (zero) value.
|
| is_opaque [Llvm] | is_opaque sty returns true if the structure type sty is opaque.
|
| is_packed [Llvm] | is_packed sty returns true if the structure type sty is packed,
false otherwise.
|
| is_tail_call [Llvm] | is_tail_call ci is true if the call instruction ci is flagged as
eligible for tail call optimization, false otherwise.
|
| is_thread_local [Llvm] | is_thread_local gv returns true if the global variable gv is
thread-local and false otherwise.
|
| is_undef [Llvm] | is_undef v returns true if the value v is an undefined value, false
otherwise.
|
| is_var_arg [Llvm] | is_var_arg fty returns true if fty is a varargs function type, false
otherwise.
|
| iter_blocks [Llvm] | iter_blocks f fn applies function f to each of the basic blocks
of function fn in order.
|
| iter_functions [Llvm] | iter_functions f m applies function f to each of the functions of module
m in order.
|
| iter_globals [Llvm] | iter_globals f m applies function f to each of the global variables of
module m in order.
|
| iter_instrs [Llvm] | iter_instrs f bb applies function f to each of the instructions of basic
block bb in order.
|
| iter_params [Llvm] | iter_params f fn applies function f to each of the parameters
of function fn in order.
|
| iter_uses [Llvm] | iter_uses f v applies function f to each of the users of the value v
in order.
|
L | |
| label_type [Llvm] | label_type c creates a type of a basic block in the context c .
|
| linkage [Llvm] | linkage g returns the linkage of the global value g .
|
| lookup_function [Llvm] | lookup_function name m returns Some f if a function with name
name exists in module m .
|
| lookup_global [Llvm] | lookup_global name m returns Some g if a global variable with name
name exists in module m .
|
M | |
| mdkind_id [Llvm] | mdkind_id context name returns the MDKind ID that corresponds to the
name name in the context context .
|
| mdnode [Llvm] | mdnode c elts returns the MDNode containing the values elts in the
context c .
|
| mdstring [Llvm] | mdstring c s returns the MDString of the string s in the context c .
|
| metadata [Llvm] | metadata i kind optionally returns the metadata associated with the
kind kind in the instruction i See the function
llvm::Instruction::getMetadata .
|
| module_context [Llvm] | module_context m returns the context of the specified module.
|
N | |
| named_struct_type [Llvm] | named_struct_type context name returns the named structure type name
* in the context context .
|
| num_operands [Llvm] | num_operands v returns the number of operands for the value v .
|
O | |
| of_file [Llvm.MemoryBuffer] | of_file p is the memory buffer containing the contents of the file at
path p .
|
| of_float [Llvm_executionengine.GenericValue] | of_float fpty n boxes the float n in a float-valued generic value
according to the floating point type fpty .
|
| of_int [Llvm_executionengine.GenericValue] | of_int n w boxes the int i in a generic value with the bitwidth
w .
|
| of_int32 [Llvm_executionengine.GenericValue] | of_int32 n w boxes the int32 i in a generic value with the bitwidth
w .
|
| of_int64 [Llvm_executionengine.GenericValue] | of_int64 n w boxes the int64 i in a generic value with the bitwidth
w .
|
| of_nativeint [Llvm_executionengine.GenericValue] | of_natint n w boxes the native int i in a generic value with the
bitwidth w .
|
| of_pointer [Llvm_executionengine.GenericValue] | of_pointer v boxes the pointer value v in a generic value.
|
| of_stdin [Llvm.MemoryBuffer] | stdin () is the memory buffer containing the contents of standard input.
|
| offset_of_element [Llvm_target] |
Computes the byte offset of the indexed struct element for a target.
|
| operand [Llvm] | operand v i returns the operand at index i for the value v .
|
| output_bitcode [Llvm_bitwriter] | output_bitcode ~unbuffered c m writes the bitcode for module m
to the channel c .
|
P | |
| packed_struct_type [Llvm] | packed_struct_type context ys returns the packed structure type in the
context context containing in the types in the array tys .
|
| param [Llvm] | param f n returns the n th parameter of function f .
|
| param_attr [Llvm] | param_attr p returns the attributes of parameter p .
|
| param_begin [Llvm] | param_begin f returns the first position in the parameter list of the
function f .
|
| param_end [Llvm] | param_end f returns the last position in the parameter list of
the function f .
|
| param_parent [Llvm] | param_parent p returns the parent function that owns the parameter.
|
| param_pred [Llvm] | param_pred gv returns the function list position preceding After gv .
|
| param_succ [Llvm] | param_succ bb returns the parameter list position succeeding
Before bb .
|
| param_types [Llvm] | param_types fty gets the parameter types of the function type fty .
|
| params [Llvm] | params f returns the parameters of function f .
|
| parse_bitcode [Llvm_bitreader] | parse_bitcode context mb parses the bitcode for a new module m from the
memory buffer mb in the context context .
|
| pointer_size [Llvm_target] |
Returns the pointer size in bytes for a target.
|
| pointer_type [Llvm] | pointer_type ty returns the pointer type referencing objects of type
ty in the default address space (0).
|
| position_at_end [Llvm] | position_at_end bb b moves the instruction builder b to the end of the
basic block bb .
|
| position_before [Llvm] | position_before ins b moves the instruction builder b to before the
instruction isn .
|
| position_builder [Llvm] | position_builder ip bb moves the instruction builder bb to the position
ip .
|
| ppc_fp128_type [Llvm] | ppc_fp128_type c returns the PowerPC 128-bit floating point type in the
context c .
|
| preferred_align [Llvm_target] |
Computes the preferred alignment of a type in bytes for a target.
|
| preferred_align_of_global [Llvm_target] |
Computes the preferred alignment of a global variable in bytes for a target.
|
Q | |
| qualified_pointer_type [Llvm] | qualified_pointer_type ty as returns the pointer type referencing objects
of type ty in address space as .
|
R | |
| remove_function_attr [Llvm] | remove_function_attr f a removes attribute a from the return type of
function f .
|
| remove_initializer [Llvm] | remove_initializer gv unsets the initializer for the global variable
gv .
|
| remove_instruction_param_attr [Llvm] | remove_instruction_param_attr ci i a removes attribute a from the
i th parameter of the call or invoke instruction ci .
|
| remove_module [Llvm_executionengine.ExecutionEngine] | remove_module m ee removes the module m from the execution engine
ee , disposing of m and the module referenced by mp .
|
| remove_param_attr [Llvm] | remove_param_attr p a removes attribute a from parameter p .
|
| replace_all_uses_with [Llvm] | replace_all_uses_with old new replaces all uses of the value old
* with the value new .
|
| return_type [Llvm] | return_type fty gets the return type of the function type fty .
|
| rev_iter_blocks [Llvm] | rev_iter_blocks f fn applies function f to each of the basic blocks
of function fn in reverse order.
|
| rev_iter_functions [Llvm] | rev_iter_functions f fn applies function f to each of the functions of
module m in reverse order.
|
| rev_iter_globals [Llvm] | rev_iter_globals f m applies function f to each of the global variables
of module m in reverse order.
|
| rev_iter_params [Llvm] | rev_iter_params f fn applies function f to each of the parameters
of function fn in reverse order.
|
| run_function [Llvm_executionengine.ExecutionEngine] | run_function f args ee synchronously executes the function f with the
arguments args , which must be compatible with the parameter types.
|
| run_function [Llvm.PassManager] | run_function f fpm executes all of the function passes scheduled in the
function pass manager fpm over the function f .
|
| run_function_as_main [Llvm_executionengine.ExecutionEngine] | run_function_as_main f args env ee executes the function f as a main
function, passing it argv and argc according to the string array
args , and envp as specified by the array env .
|
| run_module [Llvm.PassManager] | run_module m pm initializes, executes on the module m , and finalizes
all of the passes scheduled in the pass manager pm .
|
| run_static_ctors [Llvm_executionengine.ExecutionEngine] | run_static_ctors ee executes the static constructors of each module in
the execution engine ee .
|
| run_static_dtors [Llvm_executionengine.ExecutionEngine] | run_static_dtors ee executes the static destructors of each module in
the execution engine ee .
|
S | |
| section [Llvm] | section g returns the linker section of the global value g .
|
| set_alignment [Llvm] | set_alignment n g sets the required alignment of the global value g to
n bytes.
|
| set_cleanup [Llvm] | set_cleanup lp sets the cleanup flag in the landingpad instruction.
|
| set_current_debug_location [Llvm] | set_current_debug_location b md sets the current debug location md in
the builder b .
|
| set_data_layout [Llvm] | set_data_layout s m changes the data layout specifier for the module m
to the string s .
|
| set_function_call_conv [Llvm] | set_function_call_conv cc f sets the calling convention of the function
f to the calling convention numbered cc .
|
| set_gc [Llvm] | set_gc gc f sets the collection algorithm for the function f to
gc .
|
| set_global_constant [Llvm] | set_global_constant c gv sets the global variable gv to be a constant if
c is true and not if c is false .
|
| set_initializer [Llvm] | set_initializer c gv sets the initializer for the global variable
gv to the constant c .
|
| set_inst_debug_location [Llvm] | set_inst_debug_location b i sets the current debug location of the builder
b to the instruction i .
|
| set_instruction_call_conv [Llvm] | set_instruction_call_conv cc ci sets the calling convention for the call
or invoke instruction ci to the integer cc , which can be one of the
values from the module Llvm.CallConv .
|
| set_linkage [Llvm] | set_linkage l g sets the linkage of the global value g to l .
|
| set_metadata [Llvm] | set_metadata i kind md sets the metadata md of kind kind in the
instruction i .
|
| set_module_inline_asm [Llvm] | set_module_inline_asm m asm sets the inline assembler for the module.
|
| set_operand [Llvm] | set_operand v i o sets the operand of the value v at the index i to
the value o .
|
| set_param_alignment [Llvm] | set_param_alignment p a set the alignment of parameter p to a .
|
| set_section [Llvm] | set_section s g sets the linker section of the global value g to s .
|
| set_tail_call [Llvm] | set_tail_call tc ci flags the call instruction ci as eligible for tail
call optimization if tc is true , clears otherwise.
|
| set_target_triple [Llvm] | target_triple triple m changes the target specifier for the module m to
the string triple .
|
| set_thread_local [Llvm] | set_thread_local c gv sets the global variable gv to be thread local if
c is true and not otherwise.
|
| set_value_name [Llvm] | set_value_name n v sets the name of the value v to n .
|
| set_visibility [Llvm] | set_visibility v g sets the linker visibility of the global value g to
v .
|
| size_in_bits [Llvm_target] |
Computes the size of a type in bytes for a target.
|
| size_of [Llvm] | size_of ty returns the sizeof constant for the type ty .
|
| stack_align [Llvm_target] |
Computes the call frame alignment of a type in bytes for a target.
|
| store_size [Llvm_target] |
Computes the storage size of a type in bytes for a target.
|
| string_of_lltype [Llvm] | string_of_lltype ty returns a string describing the type ty .
|
| struct_element_types [Llvm] | struct_element_types sty returns the constituent types of the struct type
sty .
|
| struct_name [Llvm] | struct_name ty returns the name of the named structure type ty ,
* or None if the structure type is not named
|
| struct_set_body [Llvm] | struct_set_body ty elts ispacked sets the body of the named struct ty
* to the elts elements.
|
| struct_type [Llvm] | struct_type context tys returns the structure type in the context
context containing in the types in the array tys .
|
| switch_default_dest [Llvm] | switch_default_dest sw returns the default destination of the switch
* instruction.
|
T | |
| target_data [Llvm_executionengine.ExecutionEngine] | target_data ee is the target data owned by the execution engine
ee .
|
| target_triple [Llvm] | target_triple m is the target specifier for the module m , something like
i686-apple-darwin8 .
|
| type_by_name [Llvm] | type_by_name m name returns the specified type from the current module
* if it exists.
|
| type_context [Llvm] | |
| type_is_sized [Llvm] | type_is_sized ty returns whether the type has a size or not.
|
| type_of [Llvm] | type_of v returns the type of the value v .
|
U | |
| undef [Llvm] | undef ty returns the undefined value of the type ty .
|
| use_begin [Llvm] | use_begin v returns the first position in the use list for the value v .
|
| use_succ [Llvm] | use_succ u returns the use list position succeeding u .
|
| used_value [Llvm] | used_value u returns the usee of the use u .
|
| user [Llvm] | user u returns the user of the use u .
|
V | |
| value_is_block [Llvm] | value_is_block v returns true if the value v is a basic block and
false otherwise.
|
| value_name [Llvm] | value_name v returns the name of the value v .
|
| value_of_block [Llvm] | value_of_block bb losslessly casts bb to an llvalue .
|
| var_arg_function_type [Llvm] | var_arg_function_type ret_ty param_tys is just like
function_type ret_ty param_tys except that it returns the function type
which also takes a variable number of arguments.
|
| vector_size [Llvm] | element_type ty returns the element count of the vector type ty .
|
| vector_type [Llvm] | vector_type ty n returns the array type containing n elements of the
primitive type ty .
|
| verify_function [Llvm_analysis] | verify_function f returns None if the function f is valid, and
Some reason if it is invalid.
|
| verify_module [Llvm_analysis] | verify_module m returns None if the module m is valid, and
Some reason if it is invalid.
|
| view_function_cfg [Llvm_analysis] | view_function_cfg f opens up a ghostscript window displaying the CFG of
the current function with the code for each basic block inside.
|
| view_function_cfg_only [Llvm_analysis] | view_function_cfg_only f works just like view_function_cfg , but does not
include the contents of basic blocks into the nodes.
|
| visibility [Llvm] | visibility g returns the linker visibility of the global value g .
|
| void_type [Llvm] | void_type c creates a type of a function which does not return any
value in the context c .
|
W | |
| write_bitcode_file [Llvm_bitwriter] | write_bitcode_file m path writes the bitcode for module m to the file at
path .
|
| write_bitcode_to_fd [Llvm_bitwriter] | write_bitcode_to_fd ~unbuffered fd m writes the bitcode for module
m to the channel c .
|
X | |
| x86_fastcall [Llvm.CallConv] | x86_fastcall is the familiar fastcall calling
convention from C.
|
| x86_stdcall [Llvm.CallConv] | x86_stdcall is the familiar stdcall calling
convention from C.
|
| x86fp80_type [Llvm] | x86fp80_type c returns the x87 80-bit floating point type in the context
c .
|


@* * Copyright 2023 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. *@ @import include._ @import uk.gov.hmrc.thirdpartydeveloperfrontend.domain.models.controllers.Crumb @import uk.gov.hmrc.thirdpartydeveloperfrontend.domain.models.applications.Application @import uk.gov.hmrc.thirdpartydeveloperfrontend.domain.models.developers.DeveloperSession @import uk.gov.hmrc.thirdpartydeveloperfrontend.controllers.routes @this(devMain: DevMain) @(app: Application)( implicit request: play.api.mvc.Request[Any], loggedIn: DeveloperSession, messagesProvider: MessagesProvider, applicationConfig: ApplicationConfig ) @devMain( title = "Credentials", userFullName = loggedIn.loggedInName, breadcrumbs = Seq( Crumb.application(app), Crumb.viewAllApplications, Crumb.home ), developerSession = Some(loggedIn) ) {
Your credentials are your client ID and your client secret.
Credentials are used:
The administrator @administrators.head.emailAddress.text has access.
} else {The administrators have access:


This is the MIT license: http://www.opensource.org/licenses/mit-license.php
Copyright (c) 2005, 2006, 2007, 2008 Michael Bayer and contributors. SQLAlchemy is a trademark of Michael Bayer.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


Cite
When using MDsrv, please cite
- AS Rose, and MDsrv Contributors. MDsrv v0.2 Zenodo (2016), doi:10.5281/zenodo.45961.
- AS Rose, AR Bradley, Y Valasatava, JM Duarte, A Prlić and PW Rose. Web-based molecular graphics for large complexes. ACM Proceedings of the 21st International Conference on Web3D Technology (Web3D '16) (2016), doi:10.1145/2945292.2945324.
- AS Rose, and PW Hildebrand. NGL Viewer: a web application for molecular visualization. Nucleic Acids. Res. 1 (2015), 43(W1):W576-9, doi:10.1093/nar/gkv402. PMCID:PMC4489237
Thanks!
Acknowledgements
Access functions for the most common trajectory formats were derived from the MDAnalysis software package.
Funding
This work was supported by the Deutsche Forschungsgemeinschaft (HI 1502/1-1) and the 'Norddeutscher Verbund für Hoch- und Höchstleistungsrechner' (HLRN).
More
If you have any questions, found some bugs, or want to report enhancement requests use the Issue Tracker, use the contact formular or write a mail to<EMAIL_ADDRESS>or<EMAIL_ADDRESS>Please give us feedback!


Origami Prototype
Unfold and reveal your content with an intuitive, delightful interaction and design.
Below you will find examples of Origami implementations demonstrating the various ways you can deploy Origami.
Please view the source of this file for more information about the markup structure
With the exception of some basic styling of the content within the Origami block, this is an out-of-the-box implementation.
$('.origami').origami();
Origami Prototype
Unfold and reveal your content with an intuitive, delightful interaction and design.
Set options and override defaults with HTML5 data attributes.
$('.origami').origami();
<div class="origami" data-touch="on" data-speed="1000">
...
</div>
Origami Prototype
Unfold and reveal your content with an intuitive, delightful interaction and design.
Set options using JavaScript by passing a JSON formatted JavaScript Object.
$('.origami').origami({
touch: true,
speed: 500
});
Origami Prototype
Unfold and reveal your content with an intuitive, delightful interaction and design.


Click to expand and see the content of the classes along side a brief description explaining them and their purpose
The Travelling Salesman Problem, or TSP is a very popular example of Solution Optimisation. The first solution to finding the optimum tour, can easilly be optimised if you produce the first tour without prior optimisation. Optimisation is typically done through changing single elements each time until the solution is as efficient as possible. In this scenario, the element being changed can be which city is visited after visiting City A. The optimum tour will be the shortest route through all cities.
import java.util.ArrayList; import static java.lang.Math.exp; public class Lab15 { public static void main(String args[]) { double [][] distance; distance = TSP.ReadArrayFile("C:\\Users\\rbaga\\Desktop\\Labs\\CS2004 TSP Data (2017-2018)\\TSP_442.txt" , " "); // reads the text files containing N number of cities ArrayListOPT; OPT = TSP.ReadIntegerFile("C:\\Users\\rbaga\\Desktop\\Labs\\CS2004 TSP Data (2017-2018)\\TSP_442_OPT.txt"); // reads the text file for the optimal path though N number of cities System.out.println("Optimal path"); System.out.println(OPT); HillClimb optimal = new HillClimb(OPT); // used to find optimal fitness from the optimal path files double Optfitness = optimal.fitness(distance.length,distance); System.out.println(Optfitness); double percentage; // used to calculate efficiency of each algorithm int nIter = 1000000; // variable that will make all algorithm iterate N number of times. //----------------------------------------------------Simple Hill Climbing (Random Mutation)---------------------------------------- System.out.println(); System.out.println("Simple HC solution:"); HillClimb simple = simpleHC(distance.length,distance, nIter); //number of cities, distance array, how many iterations percentage = (Optfitness/ simple.fitness(distance.length,distance))*100; System.out.println("Percentage efficiency: " + percentage +"%"); //----------------------------------------------------Stochastic Hill Climbing------------------------------------------------------ System.out.println(); System.out.println("Stochastic HC solution:"); HillClimb stochastic = stochasticHC(distance.length,distance, nIter); //number of cities, distance array, how many iterations percentage = (Optfitness/ stochastic.fitness(distance.length,distance))*100; System.out.println("Percentage efficiency: " + percentage +"%"); //----------------------------------------------------Random Restart Hill Climbing-------------------------------------------------- System.out.println(); System.out.println("Random Restart HC solution:"); HillClimb restart = restartHC(distance.length,distance, 10,nIter); //number of cities, distance array, how many restarts, iterations per restart percentage = (Optfitness/restart.fitness(distance.length,distance))*100; System.out.println("Percentage efficiency: " + percentage +"%"); } public static HillClimb simpleHC (int N, double[][] distance,int iter) // Simple hill climb method { HillClimb s = new HillClimb(N); HillClimb s1; double fitness1; double fitness2; for (int i=0; i < iter; i++) { s1 = new HillClimb (s.GetSol()); fitness1 = s.fitness(N,distance); s1.Swap(); fitness2 = s1.fitness(N,distance); if (fitness2 < fitness1) { s = s1; } } System.out.println("final solution"); System.out.println(s.GetSol()); System.out.println(s.fitness(distance.length,distance)); return s; // returns a final solution from this method } public static HillClimb stochasticHC (int N, double[][] distance,int iter) // Stochastic hill climb method { HillClimb s = new HillClimb(N); HillClimb s1; double fitness1, fitness2,pr; double Tval = 200; for (int i=0; i < iter; i++) { s1 = new HillClimb(s.GetSol()); fitness1 = s.fitness(N,distance); s1.Swap(); fitness2 = s1.fitness(N,distance); pr = 1/(1+exp((fitness2-fitness1)/Tval)); double rand = TSP.UR(0,1); if (fitness2 < fitness1) { s = s1; } else if(rand < pr) { s = s1; } } System.out.println("final solution"); System.out.println(s.GetSol()); System.out.println(s.fitness(distance.length,distance)); return s; // returns a final solution from this method } public static HillClimb restartHC (int N, double[][] distance,int restart, int iter) // Random restart hill climb method { HillClimb best = new HillClimb(0); double bestfitness = Double.MAX_VALUE; HillClimb test; double testfitness; for (int i=0; i < restart; i++) { HillClimb s = new HillClimb(N); HillClimb s1; double fit, fit1; for (int j=0; j < iter; j++) { s1 = new HillClimb(s.GetSol()); fit = s.fitness(N,distance); s1.Swap(); fit1 = s1.fitness(N,distance); if (fit1 < fit) { s = s1; } } // System.out.println(s.GetSol()); //// Remove comments to see restart steps for the algorithm test = s; testfitness = s.fitness(N,distance); if (testfitness < bestfitness) { best = test; bestfitness = test.fitness(N,distance); } } System.out.println("final solution"); System.out.println(best.GetSol()); System.out.println(best.fitness(distance.length, distance)); return best; // returns best solution from this method } }
TSP is an NP hard problem - non deterministic in polynomial time
Random Mutation Hill Climb or RMHC, is a form of Hill Climbing optimisation algorithm which calculates the optimum solution of a dataset. Unlike other Hill Climbing Algorithms, the RMHC starts with a solution and selects neighbouring solutions until the ultimate solution is achieved.
The Stochastic Hill Climb or SHC, is a unique form of Hill Climbing Algorithm which mainly specialises in local optima. Like the Random Mutation Hill Climber, the SCH checks neighbouring solutions however; the SCH only checks the next solution unlike the Random Mutation which checks all neighbours. This change of algorithm was proposed with the intention to prevent Stuck Local Optima problems. Despite this, the Stochastic Hill Climb can also be affected by stuck local optima.
The Random Restart Hill Climb or RRHC, is a form of Hill Climbing algorithm like the RMHC algorithm. This algorithm calculates the ultimate solution by picking a random solution at the start of each iteration. If this condition is better than the previous, it will keep it and continue the optimisation.
The Simulated Annealing Algorithm or SA, is a unique Optimisation Algorithm which, unlike Hill Climbers, focuses on the optimisation of a solution using a similar method to metallurgy. Starting at a High Temperature, the algorithm accepts all the solutions however, as the temperature is cooled, the worse solutions are dropped resulting in the final solution.
Within the code, there is a method which calculates the MST Efficiency Percentage. First, a two-dimensional array is created which contains a Distance Array. This Distance Array is essentially the distances between cities. To calculate the minimum spanning tree, we’re using the Prims MST Algorithm. In short, the Prims Algorithm simply finds the minimum spanning tree of an undirected graph, in this case, the array of directions between cities. Once a Minimum Spanning Tree is created, we can calculate the fitness or MST Efficiency by running a nested for loop through the two-dimensional array, while adding all the values to a fitness variable, once this overall score is completed, the fitness score is calculated by dividing the overall score by two.
Another way of checking the quality of the solution is to compare the fitness against the optimum tour. The optimum tour, in this scenario is defined as an array of numbers which represent the optimum tour against several cities. We are essentially comparing our results with a set of results already calculated. To calculate the efficiency of the Optimum Tour against our current tour, the fitness of the optimum tour must be calculated, with this value, we can calculate the overall efficiency by dividing the Optimum Tour Fitness from the current fitness. This value is then multiplied by 100 to produce the Optimum Tour Efficiency.
import java.util.ArrayList; // Hill climb class defined below allowing each algorithm to function public class HillClimb { private ArrayListsol = new ArrayList (); // an array list of all integers in a solution public HillClimb(ArrayList list) { sol = list; } public HillClimb(int n) { sol = RandPerm(n); } public static ArrayList RandPerm(int N) // creates a random permutation based on the shared random object in TSP class { ArrayList P = new ArrayList (); for (int i = 0; i < N; i++) { P.add((i)); } ArrayList T = new ArrayList (); while (P.size() > 0) { int i = TSP.UI(0, P.size()-1); T.add(P.get(i)); P.remove(i); } return T; } public void Swap() { int i =0; int j= 0 ; while (i == j) { i = TSP.UI(0,sol.size() -1); j = TSP.UI(0,sol.size() -1); } int temp = sol.get(i); sol.set(i,sol.get(j)); sol.set(j,temp); } public double getfitness(int N, ArrayList T, double[][] D) // returns fitness to a given method { double s = 0; for (int i = 0; i < (N-1); i++ ) { int a = T.get(i); int b = T.get(i+1); s = s + D[a][b]; } int endcity = T.get(T.size()-1); int startcity = T.get(0); s = s + D[endcity][startcity]; return s; } public double fitness(int N, double[][] D) // fitness function calculates fitness of a solution { double s = 0; for (int i = 0; i < (N-1); i++ ) { int a = sol.get(i); int b = sol.get(i+1); s = s + D[a][b]; } int endcity = sol.get(sol.size()-1); int startcity = sol.get(0); s = s + D[endcity][startcity]; return s; } public void print() { System.out.println(sol); } public ArrayList GetSol() // gets a solution and returns a copy of it in my methods this is the final solutions { ArrayList clone = new ArrayList (sol.size()); for (int i = 0; i < sol.size();i++) { clone.add(sol.get(i)); } return(clone); } }
import java.io.BufferedReader; import java.io.FileReader; import java.io.Reader; import java.io.StreamTokenizer; import java.util.ArrayList; import java.util.Random; //Some useful code for the CS2004 (2016-2017) Travelling Salesman Worksheet public class TSP { //Print a 2D double array to the console Window static public void PrintArray(double x[][]) { for(int i=0;iReadIntegerFile(String filename) { ArrayList res = new ArrayList (); Reader r; try { r = new BufferedReader(new FileReader(filename)); StreamTokenizer stok = new StreamTokenizer(r); stok.parseNumbers(); stok.nextToken(); while (stok.ttype != StreamTokenizer.TT_EOF) { if (stok.ttype == StreamTokenizer.TT_NUMBER) { res.add((int)(stok.nval)); } stok.nextToken(); } } catch(Exception E) { System.out.println("+++ReadIntegerFile: "+E.getMessage()); } return(res); } //Shared random object static private Random rand; //Create a uniformly distributed random integer between aa and bb inclusive static public int UI(int aa,int bb) { int a = Math.min(aa,bb); int b = Math.max(aa,bb); if (rand == null) { rand = new Random(); rand.setSeed(System.nanoTime()); } int d = b - a + 1; int x = rand.nextInt(d) + a; return(x); } //Create a uniformly distributed random double between a and b inclusive static public double UR(double a,double b) { if (rand == null) { rand = new Random(); rand.setSeed(System.nanoTime()); } return((b-a)*rand.nextDouble()+a); } }


pskdomain [-option]
Allows the creation and manipulation of privatesky domains.
create csb alias constitutionPath
Creates a privatesky domain as a new CSB that contains the constitution at constitutionPath. This
command generates a CSB whose SEED is associated locally (inside the SeedCage) with the alias
argument. A prompt that requires the insertion of a PIN will appear. The provided PIN will be required for
all subsequent commands.
create bar alias localPath
Creates a BAR that stores the files at localPath. The command generates a BAR whose SEED is
associated locally (inside the SeedCage) with the alias argument.
add folder barAlias barPath localPath
Adds the files at localPath to the BAR whose SEED is associated locally with the barAlias
argument. The files are added in BAR at bar barPath.
update constitution domainAlias constitutionPath
Replaces the constitution in the domain whose SEED is associated with domainAlias with the
constitution at constitutionPath.
add agent domainAlias agentAlias
Adds agent agentAlias to the domain whose SEED is associated with domainAlias. A prompt for
PIN introduction will appear.
publish domainAlias remoteAddress
set pin
Allows the change of PIN. Firstly, a prompt that requires the current PIN will appear. After the PIN is
validated another prompt will appear for the introduction of the new PIN.
anchor anchoreeAlias anchoratorAlias
Allows the anchoring of the domain whose SEED is associated locally with the anchoreeAlias argument
inside the domain whose SEED is associated with the anchoratorAlias. By anchoring it is meant that
“anchorator” domain contains the hash of the anchorated domain, thus reflecting each change of the latter in
the former.
Concept | Description
BAR | An archive that stores files that were previously divided into blocks called bricks. A BAR is referenced by its SEED. The SEED could be also used to encrypt the archive.
CSB | An encrypted BAR that contains a blockchain.
SEED | A string used to derive the encryption keys for BARs. It is also used for referencing BARs.
SEED Cage | A dictionary that stores domainAliases and SEEDs.
PIN | A string used to derive the key used for the SEED Cage encryption.
Domain | A domain is a CSB that stores domain constitutions.
Domain Constitution | A list of files that contain assets and transactions used for the manipulation of a domain’s blockchain.


Create your own components
Edit (pull request)This documentation section is not complete. We recommend you to start with the lamp stack tutorials that have been upgraded more recently.
Components
- Design of a component (Tomcat server)
- Implementation of a component
Topologies
- Designing a topology in ALIEN
Application
- Creation of an application and running it on a cloud using cloudify PaaS


2N/3D
Pickup at NJP Railway Station and transfer to Darjeeling. On arrival check in to your hotel. Rest of the day at leisure for your own activities.
You will cross the beautiful Mahananda wildlife on your way to Darjeeling. The journey will take you three hours via Rohini, Kurseong, Sonada and Ghum. Enjoy the beautiful scenary all around.
We recommend a vist to Mall Road in the evening. Enjoy a cup of tea a Chowrasta and savour the beautiful view of Kanchenjunga. Try the famous cakes of Glenary's and shop for winter garments at the nearby shops.
After breakfast start for the seven point sightseeing tour of Darjeeling.
Your driver will report at 9 am. He will take you to all the popular sightseeing points of Darjeeling popularly knowns as the 7 points.
Darjeeling Zoo, Mountaineering institure, Tenzing rock, Tea Garden, Ropeway, Peace Pagoda and Tibetan Refugee centre comprise of the seven point sightseeing tour. Some points might be unavailaable due to the prevailingCovid situation. Your driver will guide you on it. Please note that there is no refund or compensation for missed points for any reason.
After breakfast check out from the hotel and proceed for NJP Ralway Station. Tour ends.
Enroute visit Mirik. You can enjoy boating at the lake.


[gecode-users] edge-finder propagator
Christian Schulte
cschulte at kth.se
Thu Aug 21 15:31:50 CEST 2008
Hi Jan,
before I actually start, there is another paper you might want to read for
edge-finding:
Edge Finding for Cumulative Scheduling
Luc Mercier, Pascal Van Hentenryck
http://joc.journal.informs.org/cgi/content/abstract/20/1/143
What might be the case, is that your edge finder is non-monotonic (that is,
when run on variables with larger domain it does more pruning as if run on
variables with tighter domain). You can try what happens if you switch off
recomputation (as you are inheriting from the example class, just give -c-d
1 on the command line).
Then, that this is a bug in Gecode is very very very unlikely. Gecode does
not support non-monotonic propagators (well, it will in 3.0, we just added
that). Even Gecode 2.2.0 (which will be out next week, it is ready and just
needs packaging) will have a silent fix (not mentioned in the changelog) to
support non-monotonic propagators. If you want, you can check 2.2.0 out of
the repository.
Then, I cannot reproduce the allocation bug... You could send me a log of
what you did exactly and what happens? As said, I am using MSVC 2008 myself
and cannot reproduce it.
Cheers
Christian
--
Christian Schulte, www.ict.kth.se/~cschulte/
-----Original Message-----
From: users-bounces at gecode.org [mailto:users-bounces at gecode.org] On Behalf
Of Jan Kelbel
Sent: Wednesday, August 20, 2008 3:15 PM
To: users at gecode.org
Subject: [gecode-users] edge-finder propagator
Hi,
we are trying to implement edge-finder propagator. The algorithm is
implemented according to the book Baptiste,Le Pape, Nuijten (2001)
Constraint-Based Scheduling.
We also took some Gecode coding inspiration from the cumulatives propagator.
The problem we have, is that for FT6 job-shop benchmark (we did not try more
benchmarks yet), the edge-finder combined with BAB branching founds a
solution that has Cmax>OptimalCmax, but is marked as an optimum, since BAB
founds no better solution.
However, when a constraint Cmax < 57 is added (optimum for FT6 is 55), see
line 96 of jobshop.cpp, then a solution with correct Cmax is found.
We do not know if the bug is in the edge-finder algoritm (not much likely),
in the Gecode stuff of the propagator code, or in the Gecode itself.
Maybe someone who already implemented some edge-finder variation could help
us.
The code of the whole program is attached (about 300 lines of code). The
problem object Jobshop is inherited from the object Example, ie. it is
necessary to include "examples/support.hh" and to link it with "example.o"
and "options.o" from examples/support directory of the Gecode distribution.
We use Gecode 2.1.1 binary distribution, Visual C++ 2008 and Windows XP.
There are some TODOs we know about, but we think that are not the source of
the problem:
* some methods of the propagator should be inlined
* vector used for sorting tasks should not be created each time
propagate() method is called - instead it should be created in propagator
constructor
* improve input function to be able to compute jobshops with different
number of jobs and tasks (n != m)
I also obtained the same memory allocation problem, that was already
reported by Nick Hindle on July 21st
http://www.gecode.org/gecode-users/2008-July/002344.html
The problematic code is in file jobshop.cpp line 115:
os << S[i] << ", "; //raises memory allocation exception
os << S[i].val() << ", "; //this works
Thanks, Jan
More information about the gecode-users
mailing list


Erlang is more than a language, it is also an operating system for your applications. Erlang developers rarely write standalone modules, they write libraries or applications, and then bundle those into what is called a release. A release contains the Erlang VM plus all applications required to run the node, so it can be pushed to production directly.
This chapter walks you through all the steps of setting up Cowboy, writing your first application and generating your first release. At the end of this chapter you should know everything you need to push your first Cowboy application to production.
We are going to use the erlang.mk build system. It also offers bootstrap features allowing us to quickly get started without having to deal with minute details.
First, let's create the directory for our application.
$ mkdir hello_erlang $ cd hello_erlang
Then we need to download erlang.mk
. Either use the following command or download it manually.
$ wget https://raw.githubusercontent.com/ninenines/erlang.mk/master/erlang.mk
We can now bootstrap our application. Since we are going to generate a release, we will also bootstrap it at the same time.
$ make -f erlang.mk bootstrap bootstrap-rel
This creates a Makefile, a base application, and the release files necessary for creating the release. We can already build and start this release.
$ make ... $ ./_rel/hello_erlang_release/bin/hello_erlang_release console ... (hello_erlang@<IP_ADDRESS>)1>
Entering the command i().
will show the running processes, including one called hello_erlang_sup
. This is the supervisor for our application.
The release currently does nothing. In the rest of this chapter we will add Cowboy as a dependency and write a simple "Hello world!" handler.
To add Cowboy as a dependency to your application, you need to modify two files: the Makefile and the application resource file.
Modifying the Makefile allows the build system to know it needs to fetch and compile Cowboy. To do that we simply need to add one line to our Makefile to make it look like this:
PROJECT = hello_erlang DEPS = cowboy include erlang.mk
Modifying the application resource file, src/hello_erlang.app.src
, allows the build system to know it needs to include Cowboy in the release and start it automatically. This is a different step because some dependencies are only needed during development.
We are simply going to add cowboy
to the list of applications
, right after stdlib
. Don't forget the comma separator.
{application, hello_erlang, [ {description, "Hello Erlang!"}, {vsn, "0.1.0"}, {modules, []}, {registered, []}, {applications, [ kernel, stdlib, cowboy ]}, {mod, {hello_erlang_app, []}}, {env, []} ]}.
You may want to set a description for the application while you are editing the file.
If you run make
now and start the release, Cowboy will be included and started automatically. This is not enough however, as Cowboy doesn't do anything by default. We still need to tell Cowboy to listen for connections.
We will do this when our application starts. It's a two step process. First we need to define and compile the dispatch list, a list of routes that Cowboy will use to map requests to handler modules. Then we tell Cowboy to listen for connections.
Open the src/hello_erlang_app.erl
file and add the necessary code to the start/2
function to make it look like this:
start(_Type, _Args) -> Dispatch = cowboy_router:compile([ {'_', [{"/", hello_handler, []}]} ]), cowboy:start_http(my_http_listener, 100, [{port, 8080}], [{env, [{dispatch, Dispatch}]}] ), hello_erlang_sup:start_link().
The dispatch list is explained in great details in the Routing chapter. For this tutorial we map the path /
to the handler module hello_handler
. This module doesn't exist yet, we still have to write it.
If you build the release, start it and open http://localhost:8080 now, you will get an error because the module is missing. Any other URL, like http://localhost:8080/test, will result in a 404 error.
Cowboy features different kinds of handlers, including REST and Websocket handlers. For this tutorial we will use a plain HTTP handler.
First, let's generate a handler from a template.
$ make new t=cowboy_http n=hello_handler
You can then open the src/hello_handler.erl
file and modify the handle/2
function like this to send a reply.
handle(Req, State=#state{}) -> {ok, Req2} = cowboy_req:reply(200, [{<<"content-type">>, <<"text/plain">>}], <<"Hello Erlang!">>, Req), {ok, Req2, State}.
What the above code does is send a 200 OK
reply, with the content-type
header set to text/plain
and the response body set to Hello Erlang!
.
If you build the release, start it and open http://localhost:8080 in your browser, you should get a nice Hello Erlang!
displayed!


You are viewing an historical archive of past issues. Please report new issues to the appropriate project issue tracker on GitHub.
Issues
| # | Summary | Product | Status | Kind | When |
|---|---|---|---|---|---|
| 76 |
Get Album covers from file |
Synergy | closed | bug | |
| 75 |
REQUEST: Deactivate Currently Playing Song |
Synergy Advance | closed | feature request | Created , updated |
| 74 |
Floater doesn't update if tracks are skipped while iTunes is paused or stopped |
Synergy | closed | bug | Created , updated |
| 73 |
Shuffle, repeat, and playlist issues |
Synergy | closed | bug | Created , updated |
| 72 |
REQUEST: More "Show" options (such as icon AND initials, with customizable order) |
WinSwitch | closed | feature request | Created , updated |
| 71 |
1.5 has been locking up a lot |
Synergy | closed | bug | |
| 70 |
REQUEST: Make "smallest" Floater option Menu bar sized |
Synergy | closed | feature request | |
| 69 |
Cannot enter Serial number |
Synergy | closed | bug | Created , updated |
| 68 |
Crashes if NetInfo database contains a user without the "uid" field |
WinSwitch | closed | bug | Created , updated |
| 67 |
Synergy/Itunes communication rate slider |
Synergy | closed | bug |


This is a sub-structure in CSL_Aif2CommonSetup. This structure is used for configuring the parameters of ingress Data Buffer. More...
#include <csl_aif2.h>
Data Fields | |
| Uint8 | ChannelNum |
| Uint8 | BaseAddress |
| CSL_Aif2DbFifoDepth | BufDepth |
| CSL_Aif2DbDataSwap | DataSwap |
| CSL_Aif2DbIqOrder | IQOrder |
| Bool | bEnablePsData |
| Uint8 | PacketType |
| Uint8 | EgressDioOffset |
This is a sub-structure in CSL_Aif2CommonSetup. This structure is used for configuring the parameters of ingress Data Buffer.
| Uint8 CSL_Aif2DbChannel::BaseAddress |
Channel configuration structure for all 128 channels
| Bool CSL_Aif2DbChannel::bEnablePsData |
Boolean indicating if the protocol specific data is to be enabled. this is only used for ingress DB
| CSL_Aif2DbFifoDepth CSL_Aif2DbChannel::BufDepth |
Channel configuration structure for all 128 channels
| Uint8 CSL_Aif2DbChannel::ChannelNum |
Channel number to be added or changed
| CSL_Aif2DbDataSwap CSL_Aif2DbChannel::DataSwap |
Big endian, little endian swapping control
| Uint8 CSL_Aif2DbChannel::EgressDioOffset |
Address offset of SOP for DIO channels
| CSL_Aif2DbIqOrder CSL_Aif2DbChannel::IQOrder |
Internally changing IQ data order control
| Uint8 CSL_Aif2DbChannel::PacketType |
Programmable packet type that is inserted into pkt_type field in CPPI Info Word 0. this is only used for ingress DB


Fancy Form Fields
To make your forms look fancy and awesome, add the class .fancy-form
to your form.
Note: Eventually it would be great to make these styles totally standard, by putting them in Foundation and Overrides! I'm not doing that yet since it's kind of drastic to change EVERY form on ALL our apps all at once, but it's something to keep in mind for the future.
Customization
Like so many other things listed on this page, there's a Sass mixin for these forms that you can use instead of the helper class if you'd like to customize things! The mixin allows you to customize text color, and "focus-text-color" (this refers to the color the text becomes when you click on the box.) You can pass the following arguments to the Sass mixin:
$text-color
- sets the color of the text. Default is $la-med-dark-grey.$focus-text-color
- sets the color of the text, when you're typing in that input field. Default is $la-light-green.
Here's an example of how to use the Sass mixin:
.my-custom-form-class {
@include fancy-form(
$text-color: white,
$focus-text-color: red
)
}
Fancy Checkboxes
fancy-checkbox
refers to an checkbox OR radio button that looks like the example below:
(As you can see, there isn't any special styling applied to the labels - you can do that yourself in your own css!)
To set up fancy checkboxes, you will wrap a set of HTML elements inside a div with the class of .fancy-checkbox
. This will allow users to click ANYWHERE in the area wrapped by .fancy-checkbox
and have the checkbox become "selected". It's also very important that at a bare minimum, you put an empty div with the class of .box
inside your .fancy-checkbox
div. This is where the visual appearance of the checkbox will show up.
As an additional note, as mentioned above, you can use radio buttons OR actual checkboxes as your HTML input element! Either one works!
Customization
By default, something with the class of .fancy-checkbox
will look like the example shown above.
However, you can customize MANY aspects of this checkbox by using the fancy-checkbox
mixin instead of the built-in .fancy-checkbox
class. To do so, replace the .fancy-checkbox
class name from the HTML shown above with a custom class name of your own. Then, write your own scss for that new class that says @include fancy-checkbox(...)
, with the relevant arguments passed to the mixin.
How to Pass Mixin Arguments
Mixin arguments are passed in as key-value pairs. Here's an example:
.my-custom-class { @include fancy-checkbox( $checkbox-size: 45px, $check-color: #f00 ); }
You can pass as many or as few as of the permissible arguments as you'd like. (Available arguments are listed below.) Any value you don't specify will just be set to the default (listed below).
Available Mixin Arguments
Here are the mixin arguments available for customization:
$checkbox-size
- sets the size of the checkbox. Default is 60px.$check-color
- sets the color of the check, when the box is checked. Default is $la-light-green.$box-bg-color
- sets the background color of the box. Default is transparent.$box-border-color
- sets the border of the box. Default is #ddd.$hover-check-color
- sets the color of the check mark when hovered. (Chosen color will be made partially transparent.) Default is $la-light-green.$checked-box-bg-color
- sets the background color of the box when the box is checked. Default is transparent.$checked-box-border-color
- sets the border color of the box when the box is checked. Default is $box-border-color - so, whatever you set (or left at default) for the initial border color variable.$checked-label-color
- sets the label text color when the box is checked. Default is auto - so, whatever the label color already was.
Fancy Checkboxes with Fancy Backgrounds
Sometimes, you might want set background that wraps around the checkbox, and changes color based on whether the box is checked. We can do that! To set that up, add an empty div with the class .background
that's placed right before the .box
div and label.
NOTE: This has only been used with checkboxes that are sized at 40px! I can't promise it'll look right with larger checkboxes - we'll cross that bridge when we get there!
Note how in the above example, I use the class name fancy-discount-checkbox
instead of fancy-checkbox
. This is because I needed to customize several of the colors, so instead of using the default settings, I created my own class that includes the fancy-checkbox
mixin with some new arguments passed in. You can see an example of that code below.
Background Customization
If you want to customize the background color, there are two additional arguments you can pass your Sass mixin when you @include
it. They are:
$background-color
- sets the background color when the box is unchecked. Default is $la-light-grey.$checked-background-color
- sets the background color when the box is checked. Default is $la-blue.
Below is an example of the Sass used to style the above checkboxes. I used a custom class that @include
s the mixin in order to customize a number of the variables from their defauls.
.fancy-discount-checkbox { text-align: center; label { font-size: 32px; } @include fancy-checkbox( $checkbox-size: 40px, $check-color: white, $box-bg-color: transparentize(white, .3), $hover-check-color: $la-blue, $checked-box-border-color: transparent, $checked-label-color: white ); }
Fancy Email Boxes
fancy-email-box
refers to an email box that looks like the example below:
Customization
By default, something with the class of .fancy-email-box
will have the same border color, background color, placeholder color, and text color as the example shown above. (The button color can be customized based on the class you put on the button - it's shown as btn-green
, but could alternatively have any other button class.)
You can customize the border color, background color, placeholder color, and text color of this form field by using the fancy-email-box
mixin instead of the built-in fancy-email-box
class. To do so, replace the fancy-email-box
class name from the HTML shown above with a custom class name of your own. Then, write your own scss for that new class that says @include fancy-email-box
, with the relevant arguments passed to the mixin.
Mixin Arguments
The fancy-email-box
takes four optional arguments:
$border-color
$background-color
$text-color
$placeholder-color
Each of these values has a default value (as shown in the aboce example of the rendered form), but those default values can be overwritten by passing in new arguments. New arguments are passed in a way that resembles key-value pairs:
.my-custom-class { @include fancy-email-box( $border-color: red, $background-color: pink, $text-color: white, $placeholder-color: white ); }
Any number of these optional arguments can be included - you can overwrite all of them, just a couple of them, or none at all! If you don't plan on overwriting one of the default values, just leave it out of the arguments list.
This documentation generated using Hologram


“Nintendo very specifically wanted somebody with a visible disability” for their newest Switch commercial
by ssf1991A week ago, Nintendo released a Switch commercial called “Our Favorite Ways to Play”. There were many kids and teens in the commercial, including 16-year-old Aaron Waddingham. Waddingham has Down syndrome, and his mother says that this had a lot to do with why her son was in the commercial in the first place. Sue Robins, his mom said that “Nintendo very specifically wanted somebody with a visible disability”. Robins also said that a combination of his acting coach and drama classes helped prepare him for the Nintendo shoot and rehearsal. She also said that “it was pretty cool because it was a rehearsal to play a video game. They trained him how to play the Nintendo game, which I think you already knew how to play, because you’re a 16-year-old boy”. Robins’ tweeted about it too, so you can see her tweet down below.


section
This case is to print two block-level elements of content with printThis.
This content is not printed.
A second block of printed content.


| Class and Description |
|---|
| Configuration |
| Configuration.Builder |
| DeploymentOptionSection
The DeploymentOptionSection specifies a discrete set of intended resource configurations.
|
| DeploymentOptionSection.Builder |
| Disk |
| Disk.Builder |
| DiskSection
A DiskSection describes meta-information about virtual disks in the OVF package.
|
| DiskSection.Builder |
| Item
Java class for anonymous complex type.
|
| MsgType
Type for localizable string.
|
| MsgType.Builder |
| Network |
| Network.Builder |
| NetworkSection
The NetworkSection element shall list all logical networks used in the OVF package.
|
| NetworkSection.Builder |
| OperatingSystemSection
An OperatingSystemSection specifies the operating system installed on a virtual machine.
|
| OperatingSystemSection.Builder |
| ProductSection
The ProductSection element specifies product-information for an appliance, such as product name,
version, and vendor.
|
| ProductSection.Builder |
| ProductSectionProperty
Property element
|
| Property |
| Property.Builder |
| PropertyConfigurationValueType
Type for alternative default values for properties when DeploymentOptionSection is used
|
| SectionType
Metadata about a virtual machine or grouping of them.
|
| SectionType.Builder |
| StartupSection
Specifies the order in which entities in a VirtualSystemCollection are powered on and shut down
|
| StartupSection.Builder |
| StartupSectionItem
Java class for Item element declaration.
|
| VirtualHardwareSection
The virtual hardware required by a virtual machine is specified in VirtualHardwareSection.
|
| VirtualHardwareSection.Builder |
| Class and Description |
|---|
| DiskSection
A DiskSection describes meta-information about virtual disks in the OVF package.
|
| NetworkSection
The NetworkSection element shall list all logical networks used in the OVF package.
|
| ProductSection
The ProductSection element specifies product-information for an appliance, such as product name,
version, and vendor.
|
| SectionType
Metadata about a virtual machine or grouping of them.
|
| SectionType.Builder |
| Class and Description |
|---|
| NetworkSection
The NetworkSection element shall list all logical networks used in the OVF package.
|
| Class and Description |
|---|
| ProductSection
The ProductSection element specifies product-information for an appliance, such as product name,
version, and vendor.
|
| SectionType
Metadata about a virtual machine or grouping of them.
|
| Class and Description |
|---|
| SectionType
Metadata about a virtual machine or grouping of them.
|
| SectionType.Builder |
| Class and Description |
|---|
| SectionType
Metadata about a virtual machine or grouping of them.
|
| Class and Description |
|---|
| OperatingSystemSection
An OperatingSystemSection specifies the operating system installed on a virtual machine.
|
| OperatingSystemSection.Builder |
| SectionType
Metadata about a virtual machine or grouping of them.
|
| SectionType.Builder |
| VirtualHardwareSection
The virtual hardware required by a virtual machine is specified in VirtualHardwareSection.
|
| VirtualHardwareSection.Builder |
| Class and Description |
|---|
| NetworkSection
The NetworkSection element shall list all logical networks used in the OVF package.
|
| StartupSection
Specifies the order in which entities in a VirtualSystemCollection are powered on and shut down
|
| Class and Description |
|---|
| SectionType
Metadata about a virtual machine or grouping of them.
|
Copyright © 2009-2013 jclouds. All Rights Reserved.