Lines Matching refs:getModule

356     if (auto *VDispMap = CGM.getModule().getNamedGlobal(MangledName))  in getAddrOfVirtualDisplacementMap()
386 CGM.getModule(), VDispMapTy, /*isConstant=*/true, Linkage, in getAddrOfVirtualDisplacementMap()
556 if (llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(Name)) in getImageBase()
559 auto *GV = new llvm::GlobalVariable(CGM.getModule(), CGM.Int8Ty, in getImageBase()
1855 CGM.getModule().getNamedGlobal(VFTableName)) { in getAddrOfVTable()
1876 VTable = new llvm::GlobalVariable(CGM.getModule(), VTableType, in getAddrOfVTable()
1886 C = CGM.getModule().getOrInsertComdat(VFTableName.str()); in getAddrOfVTable()
1907 &CGM.getModule()); in getAddrOfVTable()
2050 if (llvm::GlobalValue *GV = CGM.getModule().getNamedValue(ThunkName)) in EmitVirtualMemPtrThunk()
2059 ThunkName.str(), &CGM.getModule()); in EmitVirtualMemPtrThunk()
2066 ThunkFn->setComdat(CGM.getModule().getOrInsertComdat(ThunkFn->getName())); in EmitVirtualMemPtrThunk()
2134 assert(!CGM.getModule().getNamedGlobal(Name) && in getAddrOfVBTable()
2385 CGM.getModule(), InitFunc->getType(), /*isConstant=*/true, in EmitThreadLocalInitFuncs()
2516 if (auto *GV = CGM.getModule().getNamedGlobal(VarName)) in getInitThreadEpochPtr()
2519 CGM.getModule(), CGM.IntTy, in getInitThreadEpochPtr()
2601 F->setComdat(CGM.getModule().getOrInsertComdat(F->getName())); in EmitGuardedInit()
2662 new llvm::GlobalVariable(CGM.getModule(), GuardTy, /*isConstant=*/false, in EmitGuardedInit()
2669 CGM.getModule().getOrInsertComdat(GuardVar->getName())); in EmitGuardedInit()
3595 if (auto VTable = CGM.getModule().getNamedGlobal(MangledName)) in getTypeInfoVTable()
3597 return new llvm::GlobalVariable(CGM.getModule(), CGM.Int8PtrTy, in getTypeInfoVTable()
3691 VMContext(CGM.getLLVMContext()), Module(CGM.getModule()), RD(RD), in MSRTTIBuilder()
3782 CHD->setComdat(CGM.getModule().getOrInsertComdat(CHD->getName())); in getClassHierarchyDescriptor()
3820 BCA->setComdat(CGM.getModule().getOrInsertComdat(BCA->getName())); in getBaseClassArray()
3862 BCD->setComdat(CGM.getModule().getOrInsertComdat(BCD->getName())); in getBaseClassDescriptor()
3923 COL->setComdat(CGM.getModule().getOrInsertComdat(COL->getName())); in getCompleteObjectLocator()
3999 if (llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(MangledName)) in getAddrOfRTTIDescriptor()
4020 CGM.getModule(), TypeDescriptorType, /*isConstant=*/false, in getAddrOfRTTIDescriptor()
4025 Var->setComdat(CGM.getModule().getOrInsertComdat(Var->getName())); in getAddrOfRTTIDescriptor()
4063 Fn->setComdat(CGM.getModule().getOrInsertComdat(Fn->getName())); in emitCXXStructor()
4077 if (llvm::GlobalValue *GV = CGM.getModule().getNamedValue(ThunkName)) in getAddrOfCXXCtorClosure()
4086 ThunkTy, getLinkageForRTTI(RecordTy), ThunkName.str(), &CGM.getModule()); in getAddrOfCXXCtorClosure()
4090 ThunkFn->setComdat(CGM.getModule().getOrInsertComdat(ThunkFn->getName())); in getAddrOfCXXCtorClosure()
4204 if (llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(MangledName)) in getCatchableType()
4259 CGM.getModule(), CTType, /*isConstant=*/true, getLinkageForRTTI(T), in getCatchableType()
4264 GV->setComdat(CGM.getModule().getOrInsertComdat(GV->getName())); in getCatchableType()
4377 CGM.getModule(), CTAType, /*isConstant=*/true, getLinkageForRTTI(T), in getCatchableTypeArray()
4382 CTA->setComdat(CGM.getModule().getOrInsertComdat(CTA->getName())); in getCatchableTypeArray()
4410 if (llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(MangledName)) in getThrowInfo()
4446 CGM.getModule(), TIType, /*isConstant=*/true, getLinkageForRTTI(T), in getThrowInfo()
4451 GV->setComdat(CGM.getModule().getOrInsertComdat(GV->getName())); in getThrowInfo()