Lines Matching refs:TheModule

484   Module *TheModule = nullptr;  member in __anonba06ddfc0411::BitcodeReader
2039 GO->setComdat(TheModule->getOrInsertComdat(V->getName())); in recordValue()
2161 Triple TT(TheModule->getTargetTriple()); in parseValueSymbolTable()
3020 if (!TheModule->getNamedMetadata("llvm.linker.options")) { in materializeMetadata()
3021 if (Metadata *Val = TheModule->getModuleFlag("Linker Options")) { in materializeMetadata()
3023 TheModule->getOrInsertNamedMetadata("llvm.linker.options"); in materializeMetadata()
3067 for (Function &F : *TheModule) { in globalCleanup()
3083 for (GlobalVariable &GV : TheModule->globals()) in globalCleanup()
3088 TheModule->getGlobalList().push_back(Pair.second); in globalCleanup()
3174 Comdat *C = TheModule->getOrInsertComdat(Name); in parseComdatRecord()
3243 new GlobalVariable(*TheModule, Ty, isConstant, Linkage, nullptr, Name, in parseGlobalVarRecord()
3311 unsigned AddrSpace = TheModule->getDataLayout().getProgramAddressSpace(); in parseFunctionRecord()
3317 AddrSpace, Name, TheModule); in parseFunctionRecord()
3474 TheModule); in parseGlobalIndirectSymbolRecord()
3477 nullptr, TheModule); in parseGlobalIndirectSymbolRecord()
3536 TheModule->getDataLayoutStr(), TheModule->getTargetTriple()); in parseModule()
3537 TheModule->setDataLayout(DL); in parseModule()
3540 DataLayoutCallback(TheModule->getTargetTriple())) in parseModule()
3541 TheModule->setDataLayout(*LayoutOverride); in parseModule()
3713 TheModule->setTargetTriple(S); in parseModule()
3722 TheModule->setDataLayout(S); in parseModule()
3729 TheModule->setModuleInlineAsm(S); in parseModule()
3787 TheModule->setSourceFileName(ValueName); in parseModule()
3797 TheModule = M; in parseBitcodeInto()
4909 const DataLayout &DL = TheModule->getDataLayout(); in parseFunctionBody()
4952 Align = TheModule->getDataLayout().getABITypeAlign(Ty); in parseFunctionBody()
5018 Align = TheModule->getDataLayout().getABITypeAlign(Val->getType()); in parseFunctionBody()
5102 TheModule->getDataLayout().getTypeStoreSize(Cmp->getType())); in parseFunctionBody()
5171 Align(TheModule->getDataLayout().getTypeStoreSize(Cmp->getType())); in parseFunctionBody()
5233 Align(TheModule->getDataLayout().getTypeStoreSize(Val->getType())); in parseFunctionBody()
5597 for (Function &F : *TheModule) { in materializeModule()
5636 UpgradeDebugInfo(*TheModule); in materializeModule()
5638 UpgradeModuleFlags(*TheModule); in materializeModule()
5640 UpgradeARCRuntime(*TheModule); in materializeModule()