Lines Matching refs:getModule

319     if (auto *VDispMap = CGM.getModule().getNamedGlobal(MangledName))  in getAddrOfVirtualDisplacementMap()
349 CGM.getModule(), VDispMapTy, /*Constant=*/true, Linkage, in getAddrOfVirtualDisplacementMap()
515 if (llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(Name)) in getImageBase()
518 return new llvm::GlobalVariable(CGM.getModule(), CGM.Int8Ty, in getImageBase()
1683 CGM.getModule().getNamedGlobal(VFTableName)) { in getAddrOfVTable()
1706 VTable = new llvm::GlobalVariable(CGM.getModule(), VTableType, in getAddrOfVTable()
1716 C = CGM.getModule().getOrInsertComdat(VFTableName.str()); in getAddrOfVTable()
1736 &CGM.getModule()); in getAddrOfVTable()
1897 if (llvm::GlobalValue *GV = CGM.getModule().getNamedValue(ThunkName)) in EmitVirtualMemPtrThunk()
1905 ThunkName.str(), &CGM.getModule()); in EmitVirtualMemPtrThunk()
1912 ThunkFn->setComdat(CGM.getModule().getOrInsertComdat(ThunkFn->getName())); in EmitVirtualMemPtrThunk()
1977 assert(!CGM.getModule().getNamedGlobal(Name) && in getAddrOfVBTable()
2211 CGM.getModule(), InitFunc->getType(), /*IsConstant=*/true, in EmitThreadLocalInitFuncs()
2256 if (auto *GV = CGM.getModule().getNamedGlobal(VarName)) in getInitThreadEpochPtr()
2259 CGM.getModule(), CGM.IntTy, in getInitThreadEpochPtr()
2338 F->setComdat(CGM.getModule().getOrInsertComdat(F->getName())); in EmitGuardedInit()
2399 new llvm::GlobalVariable(CGM.getModule(), GuardTy, /*isConstant=*/false, in EmitGuardedInit()
2406 CGM.getModule().getOrInsertComdat(GuardVar->getName())); in EmitGuardedInit()
3311 if (auto VTable = CGM.getModule().getNamedGlobal(MangledName)) in getTypeInfoVTable()
3313 return new llvm::GlobalVariable(CGM.getModule(), CGM.Int8PtrTy, in getTypeInfoVTable()
3405 VMContext(CGM.getLLVMContext()), Module(CGM.getModule()), RD(RD), in MSRTTIBuilder()
3496 CHD->setComdat(CGM.getModule().getOrInsertComdat(CHD->getName())); in getClassHierarchyDescriptor()
3534 BCA->setComdat(CGM.getModule().getOrInsertComdat(BCA->getName())); in getBaseClassArray()
3576 BCD->setComdat(CGM.getModule().getOrInsertComdat(BCD->getName())); in getBaseClassDescriptor()
3637 COL->setComdat(CGM.getModule().getOrInsertComdat(COL->getName())); in getCompleteObjectLocator()
3713 if (llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(MangledName)) in getAddrOfRTTIDescriptor()
3731 CGM.getModule(), TypeDescriptorType, /*Constant=*/false, in getAddrOfRTTIDescriptor()
3736 Var->setComdat(CGM.getModule().getOrInsertComdat(Var->getName())); in getAddrOfRTTIDescriptor()
3780 Fn->setComdat(CGM.getModule().getOrInsertComdat(Fn->getName())); in emitCXXDestructor()
3803 if (llvm::GlobalValue *GV = CGM.getModule().getNamedValue(ThunkName)) in getAddrOfCXXCtorClosure()
3812 ThunkTy, getLinkageForRTTI(RecordTy), ThunkName.str(), &CGM.getModule()); in getAddrOfCXXCtorClosure()
3816 ThunkFn->setComdat(CGM.getModule().getOrInsertComdat(ThunkFn->getName())); in getAddrOfCXXCtorClosure()
3921 if (llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(MangledName)) in getCatchableType()
3976 CGM.getModule(), CTType, /*Constant=*/true, getLinkageForRTTI(T), in getCatchableType()
3981 GV->setComdat(CGM.getModule().getOrInsertComdat(GV->getName())); in getCatchableType()
4094 CGM.getModule(), CTAType, /*Constant=*/true, getLinkageForRTTI(T), in getCatchableTypeArray()
4099 CTA->setComdat(CGM.getModule().getOrInsertComdat(CTA->getName())); in getCatchableTypeArray()
4127 if (llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(MangledName)) in getThrowInfo()
4163 CGM.getModule(), TIType, /*Constant=*/true, getLinkageForRTTI(T), in getThrowInfo()
4168 GV->setComdat(CGM.getModule().getOrInsertComdat(GV->getName())); in getThrowInfo()