var searchIndex = JSON.parse('{\
"llvm_kaleidoscope_rs":{"doc":"","t":"NNERDLLLLLALLLLLLAALALLLLLLLDLLLLLLLLNNNNNNNNNDNNELLLLLLLLLLLLLLLLLLDDDDDDDDDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFLLLLLLLLLLLLLLLLLLLFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLNNENDNNDDNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMM","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","new","parser","try_from","try_from","try_from","try_into","try_into","type_id","type_id","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","new","try_from","try_from","try_into","try_into","type_id","type_id","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","fn_type","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","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","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","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","body","cond","else_","end","start","step","then","var"],"q":[[0,"llvm_kaleidoscope_rs"],[28,"llvm_kaleidoscope_rs::codegen"],[37,"llvm_kaleidoscope_rs::lexer"],[68,"llvm_kaleidoscope_rs::llvm"],[215,"llvm_kaleidoscope_rs::parser"],[268,"llvm_kaleidoscope_rs::parser::ExprAST"],[276,"libc::unix::linux_like::linux::gnu::b64::x86_64"],[277,"core::fmt"],[278,"core::fmt"],[279,"core::convert"],[280,"core::result"],[281,"core::any"],[282,"alloc::string"],[283,"std::collections::hash::map"],[284,"core::iter::traits::iterator"]],"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.","Get a type reference representing the function type …","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.","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":[18,18,0,0,0,1,18,1,18,1,0,1,1,18,1,18,1,0,0,1,0,18,1,1,18,1,18,1,0,36,36,36,36,36,36,36,36,20,20,20,20,20,20,20,20,20,0,20,20,0,21,20,21,20,20,20,21,20,21,21,20,21,21,20,21,20,21,20,0,0,0,0,0,0,0,0,0,0,13,24,28,13,19,19,19,19,31,28,29,13,33,26,23,25,19,24,31,28,29,13,33,26,23,25,19,24,31,31,26,23,25,19,24,26,23,25,19,24,31,23,13,19,24,31,29,13,33,13,23,25,28,31,31,31,28,31,19,31,28,29,13,33,26,23,25,19,24,31,13,31,25,26,0,31,28,29,13,33,26,23,25,19,24,25,25,28,13,31,31,31,33,25,0,26,23,25,19,24,31,28,29,13,33,26,23,25,19,24,31,28,29,13,33,26,23,25,19,24,13,13,31,28,29,13,33,26,23,25,19,24,25,31,19,31,33,35,35,0,35,0,35,35,0,0,35,34,35,15,17,34,35,15,17,15,15,34,35,15,17,35,15,17,34,35,15,17,34,34,35,15,17,34,34,34,34,15,34,35,15,17,34,35,15,17,34,35,15,17,37,38,38,37,37,37,38,37],"f":[0,0,0,0,0,[1,2],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[[1,1],3],[[1,4],5],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,[-1,[[6,[1]]],[[9,[[8,[7]]]]]],0,[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[11,[[10,[1]]]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,12,[]],[-1,12,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[[13,[16,[14,15]],[18,[15,17]]],[[10,[19,14]]]],[-1,-1,[]],[-1,-2,[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,12,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[20,20],3],[[20,4],5],[-1,-1,[]],[-1,-1,[]],[[[21,[-1]]],20,22],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[21,[-1]]],22],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,12,[]],[-1,12,[]],0,0,0,0,0,0,0,0,0,0,[[13,11,23],19],[[24,25,26],27],[[28,13],29],[[13,19],26],[[19,26],27],[[19,30],25],[19,30],[19,30],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[31,26],27],[[31,19,[8,[25]]],25],[26,26],[23,23],[25,25],[19,19],[24,24],[[-1,-2],27,[],[]],[[-1,-2],27,[],[]],[[-1,-2],27,[],[]],[[-1,-2],27,[],[]],[[-1,-2],27,[],[]],[[31,25,26,26],27],[[23,32],25],[13,26],[19],[24],[31,27],[29,27],[13,27],[33,27],[13,27],[23,27],[25,27],[28,27],[[31,25,25],25],[[31,25,25],25],[[31,25,25],25],[[28,11],-1,0],[[31,25,25],25],[19,23],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[31,25,25],25],[[13,11],[[6,[19]]]],[31,26],[25,11],[26,19],[[],27],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[25,3],[25,3],[[],28],[[],13],[[31,23,[8,[[27,[25,26]]]]],24],[[31,26],27],[[31,25],27],[[33,19],27],[[25,11],27],[[],27],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[13,23],[[13,[8,[23]],23],23],[-1,12,[]],[-1,12,[]],[-1,12,[]],[-1,12,[]],[-1,12,[]],[-1,12,[]],[-1,12,[]],[-1,12,[]],[-1,12,[]],[-1,12,[]],[25,23],[[31,25,23],25],[19,3],[13,31],[13,33],0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[15,15],[[-1,-2],27,[],[]],[[[34,[-1]]],20,22],[[35,35],3],[[15,15],3],[[17,17],3],[[35,4],5],[[15,4],5],[[17,4],5],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[[34,[-1]]],27,22],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[21,[-1]]],[[34,[-1]]],22],[[[34,[-1]]],[[10,[17,14]]],22],[[[34,[-1]]],[[10,[15,14]]],22],[[[34,[-1]]],[[10,[17,14]]],22],[-1,-2,[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,12,[]],[-1,12,[]],[-1,12,[]],[-1,12,[]],0,0,0,0,0,0,0,0],"c":[],"p":[[3,"SmallCStr",0],[6,"c_char",276],[15,"bool"],[3,"Formatter",277],[6,"Result",277],[4,"Option",278],[15,"u8"],[15,"slice"],[8,"AsRef",279],[4,"Result",280],[15,"str"],[3,"TypeId",281],[3,"Module",68],[3,"String",282],[3,"PrototypeAST",215],[3,"HashMap",283],[3,"FunctionAST",215],[4,"Either",0],[3,"FnValue",68],[4,"Token",37],[3,"Lexer",37],[8,"Iterator",284],[3,"Type",68],[3,"PhiValue",68],[3,"Value",68],[3,"BasicBlock",68],[15,"tuple"],[3,"LLJit",68],[3,"ResourceTracker",68],[15,"usize"],[3,"IRBuilder",68],[15,"f64"],[3,"FunctionPassManager",68],[3,"Parser",215],[4,"ExprAST",215],[3,"Codegen",28],[13,"For",268],[13,"If",268]],"b":[]}\
}');
if (typeof window !== 'undefined' && window.initSearch) {window.initSearch(searchIndex)};
if (typeof exports !== 'undefined') {exports.searchIndex = searchIndex};