aboutsummaryrefslogtreecommitdiffstats
path: root/eval/src/vespa/eval/eval/key_gen.h
blob: 868dfcf627004c40cf84e528abde568302e7fd76 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#pragma once

#include <vespa/vespalib/stllike/string.h>

namespace vespalib::eval {

class Function;
enum class PassParams : uint8_t;

/**
 * Function used to generate a binary key that may be used to query
 * the compilation cache.
 **/
vespalib::string gen_key(const Function &function, PassParams pass_params);

}