13#ifndef LLVM_TRANSFORMS_IPO_INSTRUMENTOR_CONFIGFILE_H
14#define LLVM_TRANSFORMS_IPO_INSTRUMENTOR_CONFIGFILE_H
25 StringRef OutputFile, LLVMContext &Ctx);
29 StringRef InputFile, LLVMContext &Ctx,
35 SmallVectorImpl<std::string> &Configs,
36 LLVMContext &Ctx, vfs::FileSystem &FS);
LLVM_ABI void writeConfigToJSON(InstrumentationConfig &IConf, StringRef OutputFile, LLVMContext &Ctx)
Write the configuration in /p IConf to the file with path OutputFile.
LLVM_ABI bool readConfigFromJSON(InstrumentationConfig &IConf, StringRef InputFile, LLVMContext &Ctx, vfs::FileSystem &FS)
Read the configuration from the file with path InputFile into /p IConf.
LLVM_ABI bool readConfigPathsFile(StringRef InputFile, SmallVectorImpl< std::string > &Configs, LLVMContext &Ctx, vfs::FileSystem &FS)
Read the configuration paths from the file with path InputFile into Configs.
This is an optimization pass for GlobalISel generic memory operations.
The class that contains the configuration for the instrumentor.