var searchIndex = JSON.parse('{\
"llvm_kaleidoscope_rs":{"doc":"","t":[13,13,4,17,3,11,11,11,11,11,0,11,11,11,11,11,11,0,0,11,11,0,11,11,11,11,11,11,11,12,12,3,11,11,11,11,11,11,11,11,13,13,13,13,13,13,13,13,13,3,13,13,4,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,3,3,3,3,3,3,3,3,3,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,5,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,5,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,13,13,4,13,3,13,13,3,3,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12],"n":["A","B","Either","SMALL_STR_SIZE","SmallCStr","as_ptr","borrow","borrow","borrow_mut","borrow_mut","codegen","eq","fmt","from","from","into","into","lexer","llvm","ne","new","parser","try_from","try_from","try_from","try_into","try_into","type_id","type_id","0","0","Codegen","borrow","borrow_mut","compile","from","into","try_from","try_into","type_id","Char","Def","Else","Eof","Extern","For","Identifier","If","In","Lexer","Number","Then","Token","borrow","borrow","borrow_mut","borrow_mut","eq","fmt","from","from","gettok","into","into","ne","new","try_from","try_from","try_into","try_into","type_id","type_id","0","0","0","BasicBlock","FnValue","FunctionPassManager","IRBuilder","LLJit","Module","PhiValue","ResourceTracker","Type","Value","add_fn","add_incoming","add_module","append_basic_block","append_basic_block","arg","args","basic_blocks","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","br","call","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","cond_br","const_f64","create_basic_block","deref","deref","drop","drop","drop","drop","dump","dump","dump","enable_process_symbols","fadd","fcmpone","fcmpult","find_symbol","fmul","from","from","from","from","from","from","from","from","from","from","fsub","get_fn","get_insert_block","get_name","get_parent","initialize_native_taget","into","into","into","into","into","into","into","into","into","into","is_f64","is_int","new","new","phi","pos_at_end","ret","ret_type","run","set_name","shutdown","to_owned","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_f64","type_fn","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_of","uitofp","verify","with_ctx","with_ctx","0","0","1","1","Binary","Call","ExprAST","For","FunctionAST","If","Number","Parser","PrototypeAST","Variable","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","cur_tok","eq","eq","eq","fmt","fmt","fmt","from","from","from","from","get_next_token","into","into","into","into","ne","ne","ne","new","parse_definition","parse_extern","parse_top_level_expr","to_owned","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","0","0","0","0","1","1","2","body","cond","else_","end","start","step","then","var"],"q":["llvm_kaleidoscope_rs","","","","","","","","","","","","","","","","","","","","","","","","","","","","","llvm_kaleidoscope_rs::Either","","llvm_kaleidoscope_rs::codegen","","","","","","","","","llvm_kaleidoscope_rs::lexer","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","llvm_kaleidoscope_rs::lexer::Token","","","llvm_kaleidoscope_rs::llvm","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","llvm_kaleidoscope_rs::parser","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","llvm_kaleidoscope_rs::parser::ExprAST","","","","","","","","","","","","","",""],"d":["","","Either type, for APIs accepting two types.","Fixed size of SmallCStr
including the trailing \\\\0
byte.","Small C string on the stack with fixed size SMALL_STR_SIZE
.","Return pointer to C string.","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self)
.","Calls U::from(self)
.","","Safe wrapper around the LLVM C API.","","Create a new C string from src
. Returns None
if src
…","","","","","","","","","","","Code generator from kaleidoscope AST to LLVM IR.","","","Compile either a PrototypeAST
or a FunctionAST
into the …","Returns the argument unchanged.","Calls U::from(self)
.","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Lex and return the next token.","Calls U::from(self)
.","Calls U::from(self)
.","","","","","","","","","","","","Wrapper for a LLVM Basic Block.","Wrapper for a LLVM Value Reference specialized for …","Wrapper for a LLVM Function PassManager (legacy).","Wrapper for a LLVM IR Builder.","Wrapper for a LLVM LLJIT.","Wrapper for a LLVM Module with its own LLVM Context.","Wrapper for a LLVM Value Reference specialized for …","A resource handle for code added to an LLJit
instance.","Wrapper for a LLVM Type Reference.","Wrapper for a LLVM Value Reference.","Add a function with the given name
and fn_type
to the …","Add an incoming value to the end of a PHI list.","Add an LLVM IR module to the JIT. Return a ResourceTracker
…","Append a Basic Block to the end of the function referenced …","Append a Basic Block to the end of the function value.","Get a value reference for the function argument at index …","Get the number of function arguments for the given …","Get the number of Basic Blocks for the given function …","","","","","","","","","","","","","","","","","","","","","Emit an unconditional br instruction.","Emit a call instruction.","","","","","","","","","","","Emit a conditional br instruction.","Get a value reference representing the const f64
value.","Create a free-standing Basic Block without adding it to a …","","","","","","","Dump LLVM IR emitted into the Module to stdout.","Dump the LLVM Type to stdout.","Dump the LLVM Value to stdout.","Enable lookup of dynamic symbols available in the current …","Emit a fadd instruction.","Emit a fcmpone instruction.","Emit a fcmpult instruction.","Find the symbol with the name sym
in the JIT.","Emit a fmul instruction.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Emit a fsub instruction.","Get a function value reference to the function with the …","Get the BasicBlock the IRBuilder currently inputs into.","Get the name for the given value reference.","Get the function to which the basic block belongs.","Initialize native target for corresponding to host (useful …","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Check if value is of f64
type.","Check if value is of integer type.","Create a new LLJit instance.","Create a new Module instance.","Emit a phi instruction.","Position the IR Builder at the end of the given Basic …","Emit a ret instruction.","Get a type reference representing the return value of the …","Run the optimization passes registered with the Function …","Set the name for the given value reference.","Deallocate and destroy all “ManagedStatic” variables.","","","","","","","","","","","","","","","","","","","","","","","","","","Get a type reference representing a f64
float.","Get a type reference representing a fn(args) -> ret
…","","","","","","","","","","","Get a type reference representing for the given value …","Emit a uitofp instruction.","Verify that the given function is valid.","Create a new LLVM IR Builder with the module
s context.","Create a new Function PassManager with the following …","","","","","Binary - Expression class for a binary operator.","Call - Expression class for function calls.","","ForExprAST - Expression class for for/in.","FunctionAST - This class represents a function definition …","If - Expression class for if/then/else.","Number - Expression class for numeric literals like “1.0…","Parser for the kaleidoscope
language.","PrototypeAST - This class represents the “prototype” …","Variable - Expression class for referencing a variable, …","","","","","","","","","","","Implement the global variable int CurTok;
from the …","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Advance the cur_tok
by getting the next token from the …","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","Calls U::from(self)
.","","","","","definition ::= ‘def’ prototype expression","external ::= ‘extern’ prototype","toplevelexpr ::= expression","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[1,1,0,0,0,2,1,2,1,2,0,2,2,1,2,1,2,0,0,2,2,0,1,2,2,1,2,1,2,3,4,0,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,0,6,6,0,7,6,7,6,6,6,7,6,7,7,6,6,7,7,6,7,6,7,6,8,9,10,0,0,0,0,0,0,0,0,0,0,11,12,13,11,14,14,14,14,15,13,16,11,17,18,19,20,14,12,15,13,16,11,17,18,19,20,14,12,15,15,18,19,20,14,12,18,19,20,14,12,15,19,11,14,12,15,16,11,17,11,19,20,13,15,15,15,13,15,15,13,16,11,17,18,19,20,14,12,15,11,15,20,18,0,15,13,16,11,17,18,19,20,14,12,20,20,13,11,15,15,15,14,17,20,0,18,19,20,14,12,15,13,16,11,17,18,19,20,14,12,15,13,16,11,17,18,19,20,14,12,11,11,15,13,16,11,17,18,19,20,14,12,20,15,14,15,17,21,22,21,22,23,23,0,23,0,23,23,0,0,23,24,23,21,22,24,23,21,22,21,21,24,23,21,22,23,21,22,24,23,21,22,24,24,23,21,22,23,21,22,24,24,24,24,21,24,23,21,22,24,23,21,22,24,23,21,22,25,26,27,28,27,28,27,29,30,30,29,29,29,30,29],"f":[null,null,null,null,null,[[["smallcstr",3]],["c_char",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],null,[[["smallcstr",3],["smallcstr",3]],["bool",0]],[[["smallcstr",3],["formatter",3]],["result",6]],[[]],[[]],[[]],[[]],null,null,[[["smallcstr",3],["smallcstr",3]],["bool",0]],[[["",0]],["option",4,[["smallcstr",3]]]],null,[[],["result",4]],[[["str",0]],["result",4,[["smallcstr",3]]]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],null,null,null,[[["",0]],["",0]],[[["",0]],["",0]],[[["module",3],["hashmap",3],["either",4,[["prototypeast",3],["functionast",3]]]],["result",4,[["fnvalue",3],["string",3]]]],[[]],[[]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],null,null,null,null,null,null,null,null,null,null,null,null,null,[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["token",4],["token",4]],["bool",0]],[[["token",4],["formatter",3]],["result",6]],[[]],[[]],[[["lexer",3]],["token",4]],[[]],[[]],[[["token",4],["token",4]],["bool",0]],[[],["lexer",3]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],null,null,null,null,null,null,null,null,null,null,null,null,null,[[["module",3],["str",0],["type",3]],["fnvalue",3]],[[["phivalue",3],["value",3],["basicblock",3]]],[[["lljit",3],["module",3]],["resourcetracker",3]],[[["module",3],["fnvalue",3]],["basicblock",3]],[[["fnvalue",3],["basicblock",3]]],[[["fnvalue",3],["usize",0]],["value",3]],[[["fnvalue",3]],["usize",0]],[[["fnvalue",3]],["usize",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["irbuilder",3],["basicblock",3]]],[[["irbuilder",3],["fnvalue",3]],["value",3]],[[["basicblock",3]],["basicblock",3]],[[["type",3]],["type",3]],[[["value",3]],["value",3]],[[["fnvalue",3]],["fnvalue",3]],[[["phivalue",3]],["phivalue",3]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["irbuilder",3],["value",3],["basicblock",3],["basicblock",3]]],[[["type",3],["f64",0]],["value",3]],[[["module",3]],["basicblock",3]],[[["fnvalue",3]]],[[["phivalue",3]]],[[["irbuilder",3]]],[[["resourcetracker",3]]],[[["module",3]]],[[["functionpassmanager",3]]],[[["module",3]]],[[["type",3]]],[[["value",3]]],[[["lljit",3]]],[[["irbuilder",3],["value",3],["value",3]],["value",3]],[[["irbuilder",3],["value",3],["value",3]],["value",3]],[[["irbuilder",3],["value",3],["value",3]],["value",3]],[[["lljit",3],["str",0]],["jitfn",8]],[[["irbuilder",3],["value",3],["value",3]],["value",3]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[["irbuilder",3],["value",3],["value",3]],["value",3]],[[["module",3],["str",0]],["option",4,[["fnvalue",3]]]],[[["irbuilder",3]],["basicblock",3]],[[["value",3]],["str",0]],[[["basicblock",3]],["fnvalue",3]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[["value",3]],["bool",0]],[[["value",3]],["bool",0]],[[],["lljit",3]],[[],["module",3]],[[["irbuilder",3],["type",3]],["phivalue",3]],[[["irbuilder",3],["basicblock",3]]],[[["irbuilder",3],["value",3]]],[[["fnvalue",3]],["type",3]],[[["functionpassmanager",3],["fnvalue",3]]],[[["value",3],["str",0]]],[[]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[["module",3]],["type",3]],[[["module",3],["type",3]],["type",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["value",3]],["type",3]],[[["irbuilder",3],["value",3],["type",3]],["value",3]],[[["fnvalue",3]],["bool",0]],[[["module",3]],["irbuilder",3]],[[["module",3]],["functionpassmanager",3]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["prototypeast",3]],["prototypeast",3]],[[["",0],["",0]]],[[["parser",3]],["token",4]],[[["exprast",4],["exprast",4]],["bool",0]],[[["prototypeast",3],["prototypeast",3]],["bool",0]],[[["functionast",3],["functionast",3]],["bool",0]],[[["exprast",4],["formatter",3]],["result",6]],[[["prototypeast",3],["formatter",3]],["result",6]],[[["functionast",3],["formatter",3]],["result",6]],[[]],[[]],[[]],[[]],[[["parser",3]]],[[]],[[]],[[]],[[]],[[["exprast",4],["exprast",4]],["bool",0]],[[["prototypeast",3],["prototypeast",3]],["bool",0]],[[["functionast",3],["functionast",3]],["bool",0]],[[["lexer",3]],["parser",3]],[[["parser",3]],["result",4,[["functionast",3],["string",3]]]],[[["parser",3]],["result",4,[["prototypeast",3],["string",3]]]],[[["parser",3]],["result",4,[["functionast",3],["string",3]]]],[[["",0]]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"p":[[4,"Either"],[3,"SmallCStr"],[13,"A"],[13,"B"],[3,"Codegen"],[4,"Token"],[3,"Lexer"],[13,"Identifier"],[13,"Number"],[13,"Char"],[3,"Module"],[3,"PhiValue"],[3,"LLJit"],[3,"FnValue"],[3,"IRBuilder"],[3,"ResourceTracker"],[3,"FunctionPassManager"],[3,"BasicBlock"],[3,"Type"],[3,"Value"],[3,"PrototypeAST"],[3,"FunctionAST"],[4,"ExprAST"],[3,"Parser"],[13,"Number"],[13,"Variable"],[13,"Binary"],[13,"Call"],[13,"For"],[13,"If"]]}\
}');
if (typeof window !== 'undefined' && window.initSearch) {window.initSearch(searchIndex)};
if (typeof exports !== 'undefined') {exports.searchIndex = searchIndex};