Lines Matching refs:mpModule
83 mPerFunctionPasses = new llvm::legacy::FunctionPassManager(mpModule); in CreateFunctionPasses()
124 mCodeGenPasses = new llvm::legacy::FunctionPassManager(mpModule); in CreateCodeGenPasses()
128 std::string Triple = mpModule->getTargetTriple(); in CreateCodeGenPasses()
160 if (mpModule->getDataLayout().getPointerSize() == 4) { in CreateCodeGenPasses()
223 : ASTConsumer(), mTargetOpts(TargetOpts), mpModule(nullptr), mpOS(OS), in Backend()
241 mpModule = mGen->GetModule(); in Initialize()
270 if (!mpModule) in HandleTranslationUnit()
276 mpModule = nullptr; in HandleTranslationUnit()
280 slangAssert(mpModule == M && in HandleTranslationUnit()
286 mpModule->getOrInsertNamedMetadata(Slang::PragmaMetadataName); in HandleTranslationUnit()
302 HandleTranslationUnitPost(mpModule); in HandleTranslationUnit()
311 for (llvm::Module::iterator I = mpModule->begin(), E = mpModule->end(); in HandleTranslationUnit()
323 mPerModulePasses->run(*mpModule); in HandleTranslationUnit()
333 for (llvm::Module::iterator I = mpModule->begin(), E = mpModule->end(); in HandleTranslationUnit()
345 LLEmitPM->run(*mpModule); in HandleTranslationUnit()
381 BCEmitPM->run(*mpModule); in HandleTranslationUnit()
405 delete mpModule; in ~Backend()