Lines Matching refs:Module
56 virtual bool runOnModule(llvm::Module &Module) { in runOnModule() argument
58 bcinfo::MetadataExtractor me(&Module); in runOnModule()
75 if (llvm::Function *const func = Module.getFunction(expandName)) in runOnModule()
88 llvm::DIBuilder DebugInfo(Module); in runOnModule()
89 initializeDebugInfo(DebugInfo, Module); in runOnModule()
100 cleanupDebugInfo(Module); in runOnModule()
114 const llvm::Module &Module) { in initializeDebugInfo() argument
115 llvm::LLVMContext &ctx = Module.getContext(); in initializeDebugInfo()
128 Module.getNamedMetadata(DEBUG_COMPILE_UNIT_MDNAME); in initializeDebugInfo()
259 void cleanupDebugInfo(llvm::Module& Module) { in cleanupDebugInfo() argument
266 Module.getNamedMetadata(DEBUG_COMPILE_UNIT_MDNAME); in cleanupDebugInfo()
271 debugMD = Module.getOrInsertNamedMetadata(DEBUG_COMPILE_UNIT_MDNAME); in cleanupDebugInfo()