Lines Matching refs:getModule
365 if (auto *VDispMap = CGM.getModule().getNamedGlobal(MangledName))
395 CGM.getModule(), VDispMapTy, /*isConstant=*/true, Linkage,
561 if (llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(Name))
564 auto *GV = new llvm::GlobalVariable(CGM.getModule(), CGM.Int8Ty,
1877 CGM.getModule().getNamedGlobal(VFTableName)) {
1898 VTable = new llvm::GlobalVariable(CGM.getModule(), VTableType,
1906 C = CGM.getModule().getOrInsertComdat(VFTableName.str());
1927 &CGM.getModule());
2071 if (llvm::GlobalValue *GV = CGM.getModule().getNamedValue(ThunkName))
2080 ThunkName.str(), &CGM.getModule());
2087 ThunkFn->setComdat(CGM.getModule().getOrInsertComdat(ThunkFn->getName()));
2155 assert(!CGM.getModule().getNamedGlobal(Name) &&
2404 CGM.getModule(), InitFunc->getType(), /*isConstant=*/true,
2532 if (auto *GV = CGM.getModule().getNamedGlobal(VarName))
2535 CGM.getModule(), CGM.IntTy,
2617 F->setComdat(CGM.getModule().getOrInsertComdat(F->getName()));
2678 new llvm::GlobalVariable(CGM.getModule(), GuardTy, /*isConstant=*/false,
2685 CGM.getModule().getOrInsertComdat(GuardVar->getName()));
3589 if (auto VTable = CGM.getModule().getNamedGlobal(MangledName))
3591 return new llvm::GlobalVariable(CGM.getModule(), CGM.Int8PtrTy,
3687 VMContext(CGM.getLLVMContext()), Module(CGM.getModule()), RD(RD),
3778 CHD->setComdat(CGM.getModule().getOrInsertComdat(CHD->getName()));
3815 BCA->setComdat(CGM.getModule().getOrInsertComdat(BCA->getName()));
3857 BCD->setComdat(CGM.getModule().getOrInsertComdat(BCD->getName()));
3918 COL->setComdat(CGM.getModule().getOrInsertComdat(COL->getName()));
3994 if (llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(MangledName))
4015 CGM.getModule(), TypeDescriptorType, /*isConstant=*/false,
4020 Var->setComdat(CGM.getModule().getOrInsertComdat(Var->getName()));
4058 Fn->setComdat(CGM.getModule().getOrInsertComdat(Fn->getName()));
4072 if (llvm::GlobalValue *GV = CGM.getModule().getNamedValue(ThunkName))
4081 ThunkTy, getLinkageForRTTI(RecordTy), ThunkName.str(), &CGM.getModule());
4085 ThunkFn->setComdat(CGM.getModule().getOrInsertComdat(ThunkFn->getName()));
4199 if (llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(MangledName))
4252 CGM.getModule(), CTType, /*isConstant=*/true, getLinkageForRTTI(T),
4257 GV->setComdat(CGM.getModule().getOrInsertComdat(GV->getName()));
4369 CGM.getModule(), CTAType, /*isConstant=*/true, getLinkageForRTTI(T),
4374 CTA->setComdat(CGM.getModule().getOrInsertComdat(CTA->getName()));
4402 if (llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(MangledName))
4435 CGM.getModule(), TIType, /*isConstant=*/true, getLinkageForRTTI(T),
4440 GV->setComdat(CGM.getModule().getOrInsertComdat(GV->getName()));