reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
 2798       : CGM(ABI.CGM), VMContext(CGM.getModule().getContext()), CXXABI(ABI) {}
 2860   CGM.getCXXABI().getMangleContext().mangleCXXRTTIName(Ty, Out);
 2867   auto Align = CGM.getContext().getTypeAlignInChars(CGM.getContext().CharTy);
 2867   auto Align = CGM.getContext().getTypeAlignInChars(CGM.getContext().CharTy);
 2869   llvm::GlobalVariable *GV = CGM.CreateOrReplaceCXXRuntimeVariable(
 2882   CGM.getCXXABI().getMangleContext().mangleCXXRTTI(Ty, Out);
 2885   llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(Name);
 2892     GV = new llvm::GlobalVariable(CGM.getModule(), CGM.Int8PtrTy,
 2892     GV = new llvm::GlobalVariable(CGM.getModule(), CGM.Int8PtrTy,
 2897     CGM.setGVProperties(GV, RD);
 2900   return llvm::ConstantExpr::getBitCast(GV, CGM.Int8PtrTy);
 3259     CGM.getModule().getOrInsertGlobal(VTableName, CGM.Int8PtrTy);
 3259     CGM.getModule().getOrInsertGlobal(VTableName, CGM.Int8PtrTy);
 3260   CGM.setDSOLocal(cast<llvm::GlobalValue>(VTable->stripPointerCasts()));
 3263     CGM.getTypes().ConvertType(CGM.getContext().getPointerDiffType());
 3263     CGM.getTypes().ConvertType(CGM.getContext().getPointerDiffType());
 3268       llvm::ConstantExpr::getInBoundsGetElementPtr(CGM.Int8PtrTy, VTable, Two);
 3269   VTable = llvm::ConstantExpr::getBitCast(VTable, CGM.Int8PtrTy);
 3335   CGM.getCXXABI().getMangleContext().mangleCXXRTTI(Ty, Out);
 3337   llvm::GlobalVariable *OldGV = CGM.getModule().getNamedGlobal(Name);
 3342     return llvm::ConstantExpr::getBitCast(OldGV, CGM.Int8PtrTy);
 3347       ShouldUseExternalRTTIDescriptor(CGM, Ty))
 3351   llvm::GlobalVariable::LinkageTypes Linkage = getTypeInfoLinkage(CGM, Ty);
 3367   if (CGM.getTriple().isWindowsItaniumEnvironment()) {
 3395     TypeNameField = llvm::ConstantExpr::getPtrToInt(TypeName, CGM.Int64Ty);
 3397         llvm::ConstantInt::get(CGM.Int64Ty, ((uint64_t)1) << 63);
 3400         llvm::ConstantExpr::getIntToPtr(TypeNameField, CGM.Int8PtrTy);
 3402     TypeNameField = llvm::ConstantExpr::getBitCast(TypeName, CGM.Int8PtrTy);
 3496   CGM.getCXXABI().getMangleContext().mangleCXXRTTI(Ty, Out);
 3497   llvm::Module &M = CGM.getModule();
 3512   if (CGM.supportsCOMDAT() && GV->isWeakForLinker())
 3516       CGM.getContext().toCharUnitsFromBits(CGM.getTarget().getPointerAlign(0));
 3516       CGM.getContext().toCharUnitsFromBits(CGM.getTarget().getPointerAlign(0));
 3535   CGM.setDSOLocal(TypeName);
 3538   CGM.setDSOLocal(GV);
 3543   TypeName->setPartition(CGM.getCodeGenOpts().SymbolPartition);
 3544   GV->setPartition(CGM.getCodeGenOpts().SymbolPartition);
 3546   return llvm::ConstantExpr::getBitCast(GV, CGM.Int8PtrTy);
 3566   QualType SuperTy = CGM.getContext().getObjCInterfaceType(Super);
 3650     CGM.getTypes().ConvertType(CGM.getContext().UnsignedIntTy);
 3650     CGM.getTypes().ConvertType(CGM.getContext().UnsignedIntTy);
 3690   QualType OffsetFlagsTy = CGM.getContext().LongTy;
 3691   const TargetInfo &TI = CGM.getContext().getTargetInfo();
 3693     OffsetFlagsTy = CGM.getContext().LongLongTy;
 3695       CGM.getTypes().ConvertType(OffsetFlagsTy);
 3713         CGM.getItaniumVTableContext().getVirtualBaseOffsetOffset(RD, BaseDecl);
 3715       const ASTRecordLayout &Layout = CGM.getContext().getASTRecordLayout(RD);
 3767   unsigned Flags = extractPBaseFlags(CGM.getContext(), PointeeTy);
 3770     CGM.getTypes().ConvertType(CGM.getContext().UnsignedIntTy);
 3770     CGM.getTypes().ConvertType(CGM.getContext().UnsignedIntTy);
 3790   unsigned Flags = extractPBaseFlags(CGM.getContext(), PointeeTy);
 3797     CGM.getTypes().ConvertType(CGM.getContext().UnsignedIntTy);
 3797     CGM.getTypes().ConvertType(CGM.getContext().UnsignedIntTy);