• Home
  • Raw
  • Download

Lines Matching refs:VTable

578   llvm::Value *VTable =  in EmitLoadOfMemberFunctionPointer()  local
585 VTable = Builder.CreateGEP(VTable, VTableOffset); in EmitLoadOfMemberFunctionPointer()
588 VTable = Builder.CreateBitCast(VTable, FTy->getPointerTo()->getPointerTo()); in EmitLoadOfMemberFunctionPointer()
590 Builder.CreateAlignedLoad(VTable, CGF.getPointerAlign(), in EmitLoadOfMemberFunctionPointer()
1009 llvm::Value *VTable = in emitVirtualObjectDelete() local
1014 VTable, -2, "complete-offset.ptr"); in emitVirtualObjectDelete()
1278 llvm::Value *VTable = CGF.GetVTablePtr(ThisAddr, PtrDiffLTy->getPointerTo(), in EmitDynamicCastToVoid() local
1283 CGF.Builder.CreateConstInBoundsGEP1_64(VTable, -2ULL); in EmitDynamicCastToVoid()
1450 llvm::GlobalVariable *VTable = getAddrOfVTable(RD, CharUnits()); in emitVTableDefinitions() local
1451 if (VTable->hasInitializer()) in emitVTableDefinitions()
1464 VTable->setInitializer(Init); in emitVTableDefinitions()
1467 VTable->setLinkage(Linkage); in emitVTableDefinitions()
1469 if (CGM.supportsCOMDAT() && VTable->isWeakForLinker()) in emitVTableDefinitions()
1470 VTable->setComdat(CGM.getModule().getOrInsertComdat(VTable->getName())); in emitVTableDefinitions()
1473 CGM.setGlobalVisibility(VTable, RD); in emitVTableDefinitions()
1479 VTable->setAlignment(getContext().toCharUnitsFromBits(PAlign).getQuantity()); in emitVTableDefinitions()
1492 if (!VTable->isDeclarationForLinker()) in emitVTableDefinitions()
1493 CGM.EmitVTableTypeMetadata(VTable, VTLayout); in emitVTableDefinitions()
1518 llvm::GlobalValue *VTable = getAddrOfVTable(VTableClass, CharUnits()); in getVTableAddressPoint() local
1529 return llvm::ConstantExpr::getInBoundsGetElementPtr(VTable->getValueType(), in getVTableAddressPoint()
1530 VTable, Indices); in getVTableAddressPoint()
1561 llvm::GlobalVariable *&VTable = VTables[RD]; in getAddrOfVTable() local
1562 if (VTable) in getAddrOfVTable()
1563 return VTable; in getAddrOfVTable()
1576 VTable = CGM.CreateOrReplaceCXXRuntimeVariable( in getAddrOfVTable()
1578 VTable->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global); in getAddrOfVTable()
1581 VTable->setDLLStorageClass(llvm::GlobalValue::DLLImportStorageClass); in getAddrOfVTable()
1583 VTable->setDLLStorageClass(llvm::GlobalValue::DLLExportStorageClass); in getAddrOfVTable()
1585 return VTable; in getAddrOfVTable()
1596 llvm::Value *VTable = CGF.GetVTablePtr(This, Ty, MethodDecl->getParent()); in getVirtualFunctionPointer() local
1601 MethodDecl->getParent(), VTable, in getVirtualFunctionPointer()
1604 CGF.EmitTypeMetadataCodeForVCall(MethodDecl->getParent(), VTable, Loc); in getVirtualFunctionPointer()
1607 CGF.Builder.CreateConstInBoundsGEP1_64(VTable, VTableIndex, "vfn"); in getVirtualFunctionPointer()
2829 llvm::Constant *VTable = in BuildVTablePointer() local
2837 VTable = in BuildVTablePointer()
2838 llvm::ConstantExpr::getInBoundsGetElementPtr(CGM.Int8PtrTy, VTable, Two); in BuildVTablePointer()
2839 VTable = llvm::ConstantExpr::getBitCast(VTable, CGM.Int8PtrTy); in BuildVTablePointer()
2841 Fields.push_back(VTable); in BuildVTablePointer()