Lines Matching refs:llvm
1 //===- llvm/Transforms/Instrumentation/DebugIR.h - Interface ----*- C++ -*-===//
19 #include "llvm/Pass.h"
21 namespace llvm {
23 class DebugIR : public llvm::ModulePass {
50 llvm::StringRef Directory, llvm::StringRef Filename)
63 bool runOnModule(llvm::Module &M, std::string &Path);
64 bool runOnModule(llvm::Module &M) override;
73 bool getSourceInfo(const llvm::Module &M);
78 bool updateExtension(llvm::StringRef NewExtension);
84 void createDebugInfo(llvm::Module &M,
85 std::unique_ptr<llvm::Module> &DisplayM);
93 void writeDebugBitcode(const llvm::Module *M, int *fd = nullptr);
96 } // llvm namespace