Home
last modified time | relevance | path

Searched refs:lookup_fn (Results 1 – 1 of 1) sorted by relevance

/external/bcc/src/cc/frontends/b/
Dcodegen_llvm.cc585 Function *lookup_fn = mod_->getFunction("bpf_map_lookup_elem_"); in emit_table_lookup() local
586 if (!lookup_fn) return mkstatus_(n, "bpf_map_lookup_elem_ undefined"); in emit_table_lookup()
595 expr_ = B.CreateCall(lookup_fn, vector<Value *>({pseudo_map_fd, key_ptr})); in emit_table_lookup()
794 Function *lookup_fn = mod_->getFunction("bpf_map_lookup_elem_"); in visit_table_index_expr_node() local
795 if (!lookup_fn) return mkstatus_(n, "bpf_map_lookup_elem_ undefined"); in visit_table_index_expr_node()
808 …Value *lookup1 = B.CreateBitCast(B.CreateCall(lookup_fn, vector<Value *>({pseudo_map_fd, key_ptr})… in visit_table_index_expr_node()
829 …Value *lookup2 = B.CreateBitCast(B.CreateCall(lookup_fn, vector<Value *>({pseudo_map_fd, key_ptr})… in visit_table_index_expr_node()