Searching in codegen