/external/flatbuffers/rust/flatbuffers/src/ |
D | vtable.rs | 24 pub struct VTable<'a> { struct 29 impl<'a> PartialEq for VTable<'a> { argument 30 fn eq(&self, other: &VTable) -> bool { in eq() 35 impl<'a> VTable<'a> { impl 37 VTable { buf, loc } in init() 86 impl<'a> Follow<'a> for VTable<'a> { implementation 87 type Inner = VTable<'a>; 89 VTable::init(buf, loc) in follow()
|
D | table.rs | 19 use vtable::VTable; 33 pub fn vtable(&self) -> VTable<'a> { in vtable() 34 <BackwardsSOffset<VTable<'a>>>::follow(self.buf, self.loc) in vtable()
|
D | builder.rs | 29 use vtable::{field_index_to_field_offset, VTable}; 476 let this_vt = VTable::init(&self.owned_buf[..], self.head); in write_vtable() 509 fn find_duplicate_stored_vtable_revloc(&self, needle: VTable) -> Option<UOffsetT> { in find_duplicate_stored_vtable_revloc() 511 let o = VTable::init( in find_duplicate_stored_vtable_revloc()
|
/external/clang/lib/CodeGen/ |
D | CGVTT.cpp | 24 const VTTVTable &VTable, in GetAddrOfVTTVTable() argument 27 if (VTable.getBase() == MostDerivedClass) { in GetAddrOfVTTVTable() 28 assert(VTable.getBaseOffset().isZero() && in GetAddrOfVTTVTable() 35 VTable.getBaseSubobject(), in GetAddrOfVTTVTable() 36 VTable.isVirtual(), in GetAddrOfVTTVTable() 64 llvm::GlobalVariable *VTable = VTables[i->VTableIndex]; in EmitVTTDefinition() local 83 VTable->getValueType(), VTable, Idxs); in EmitVTTDefinition()
|
D | CGCXX.cpp | 271 llvm::Value *VTable = CGM.getCXXABI().getAddrOfVTable(RD, CharUnits()); in BuildAppleKextVirtualCall() local 273 VTable = CGF.Builder.CreateBitCast(VTable, Ty); in BuildAppleKextVirtualCall() 274 assert(VTable && "BuildVirtualCall = kext vtbl pointer is null"); in BuildAppleKextVirtualCall() 281 CGF.Builder.CreateConstInBoundsGEP1_64(VTable, VTableIndex, "vfnkxt"); in BuildAppleKextVirtualCall()
|
D | ItaniumCXXABI.cpp | 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() [all …]
|
D | CGVTables.cpp | 695 llvm::GlobalVariable *VTable = in GenerateConstructionVTable() local 697 CGM.setGlobalVisibility(VTable, RD); in GenerateConstructionVTable() 700 VTable->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global); in GenerateConstructionVTable() 710 VTable->setInitializer(Init); in GenerateConstructionVTable() 712 CGM.EmitVTableTypeMetadata(VTable, *VTLayout.get()); in GenerateConstructionVTable() 714 return VTable; in GenerateConstructionVTable() 940 void CodeGenModule::EmitVTableTypeMetadata(llvm::GlobalVariable *VTable, in EmitVTableTypeMetadata() argument 981 AddVTableTypeMetadata(VTable, PointerWidth * BitsetEntry.second, in EmitVTableTypeMetadata()
|
D | CGClass.cpp | 2567 llvm::Instruction *VTable = Builder.CreateLoad(VTablePtrSrc, "vtable"); in GetVTablePtr() local 2568 CGM.DecorateInstructionWithTBAA(VTable, CGM.getTBAAInfoForVTablePtr()); in GetVTablePtr() 2572 CGM.DecorateInstructionWithInvariantGroup(VTable, RD); in GetVTablePtr() 2574 return VTable; in GetVTablePtr() 2613 llvm::Value *VTable, in EmitTypeMetadataCodeForVCall() argument 2622 llvm::Value *CastedVTable = Builder.CreateBitCast(VTable, Int8PtrTy); in EmitTypeMetadataCodeForVCall() 2630 EmitVTablePtrCheckForCall(RD, VTable, CodeGenFunction::CFITCK_VCall, Loc); in EmitTypeMetadataCodeForVCall() 2634 llvm::Value *VTable, in EmitVTablePtrCheckForCall() argument 2640 EmitVTablePtrCheck(RD, VTable, TCK, Loc); in EmitVTablePtrCheckForCall() 2677 llvm::Value *VTable = in EmitVTablePtrCheckForCast() local [all …]
|
D | MicrosoftCXXABI.cpp | 258 llvm::GlobalVariable *VTable); 1504 llvm::GlobalVariable *VTable) { in emitVTableTypeMetadata() argument 1518 CGM.AddVTableTypeMetadata(VTable, AddressPoint, RD); in emitVTableTypeMetadata() 1523 CGM.AddVTableTypeMetadata(VTable, AddressPoint, in emitVTableTypeMetadata() 1542 CGM.AddVTableTypeMetadata(VTable, AddressPoint, DerivedRD); in emitVTableTypeMetadata() 1547 CGM.AddVTableTypeMetadata(VTable, AddressPoint, RD); in emitVTableTypeMetadata() 1556 llvm::GlobalVariable *VTable = getAddrOfVTable(RD, Info->FullOffsetInMDC); in emitVTableDefinitions() local 1557 if (VTable->hasInitializer()) in emitVTableDefinitions() 1573 VTable->setInitializer(Init); in emitVTableDefinitions() 1575 emitVTableTypeMetadata(Info, RD, VTable); in emitVTableDefinitions() [all …]
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGVTT.cpp | 23 const VTTVTable &VTable, in GetAddrOfVTTVTable() argument 26 if (VTable.getBase() == MostDerivedClass) { in GetAddrOfVTTVTable() 27 assert(VTable.getBaseOffset().isZero() && in GetAddrOfVTTVTable() 34 VTable.getBaseSubobject(), in GetAddrOfVTTVTable() 35 VTable.isVirtual(), in GetAddrOfVTTVTable() 61 llvm::GlobalVariable *VTable = VTables[i->VTableIndex]; in EmitVTTDefinition() local 81 VTable->getValueType(), VTable, Idxs, /*InBounds=*/true, in EmitVTTDefinition()
|
D | CGVTables.cpp | 913 llvm::GlobalVariable *VTable = in GenerateConstructionVTable() local 917 VTable->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global); in GenerateConstructionVTable() 926 VTable->hasLocalLinkage()); in GenerateConstructionVTable() 927 components.finishAndSetAsInitializer(VTable); in GenerateConstructionVTable() 931 assert(!VTable->isDeclaration() && "Shouldn't set properties on declaration"); in GenerateConstructionVTable() 932 CGM.setGVProperties(VTable, RD); in GenerateConstructionVTable() 934 CGM.EmitVTableTypeMetadata(RD, VTable, *VTLayout.get()); in GenerateConstructionVTable() 936 if (UsingRelativeLayout && !VTable->isDSOLocal()) in GenerateConstructionVTable() 937 GenerateRelativeVTableAlias(VTable, OutName); in GenerateConstructionVTable() 939 return VTable; in GenerateConstructionVTable() [all …]
|
D | CGCXX.cpp | 254 llvm::Value *VTable = CGM.getCXXABI().getAddrOfVTable(RD, CharUnits()); in BuildAppleKextVirtualCall() local 256 VTable = CGF.Builder.CreateBitCast(VTable, Ty); in BuildAppleKextVirtualCall() 257 assert(VTable && "BuildVirtualCall = kext vtbl pointer is null"); in BuildAppleKextVirtualCall() 265 CGF.Builder.CreateConstInBoundsGEP1_64(VTable, VTableIndex, "vfnkxt"); in BuildAppleKextVirtualCall()
|
D | ItaniumCXXABI.cpp | 678 llvm::Value *VTable = in EmitLoadOfMemberFunctionPointer() local 720 llvm::Value *VFPAddr = Builder.CreateGEP(VTable, VTableOffset); in EmitLoadOfMemberFunctionPointer() 738 llvm::Value *VFPAddr = Builder.CreateGEP(VTable, VTableOffset); in EmitLoadOfMemberFunctionPointer() 748 {VTable, VTableOffset}); in EmitLoadOfMemberFunctionPointer() 751 llvm::Value *VFPAddr = CGF.Builder.CreateGEP(VTable, VTableOffset); in EmitLoadOfMemberFunctionPointer() 780 CGM.getIntrinsic(llvm::Intrinsic::type_test), {VTable, AllVtables}); in EmitLoadOfMemberFunctionPointer() 783 {VTable, ValidVtable}); in EmitLoadOfMemberFunctionPointer() 1248 llvm::Value *VTable = in emitVirtualObjectDelete() local 1253 VTable, -2, "complete-offset.ptr"); in emitVirtualObjectDelete() 1528 llvm::Value *VTable = in EmitDynamicCastToVoid() local [all …]
|
D | MicrosoftCXXABI.cpp | 274 llvm::GlobalVariable *VTable); 1645 llvm::GlobalVariable *VTable) { in emitVTableTypeMetadata() argument 1656 VTable->setVCallVisibilityMetadata(TypeVis); in emitVTableTypeMetadata() 1669 CGM.AddVTableTypeMetadata(VTable, AddressPoint, RD); in emitVTableTypeMetadata() 1674 CGM.AddVTableTypeMetadata(VTable, AddressPoint, in emitVTableTypeMetadata() 1693 CGM.AddVTableTypeMetadata(VTable, AddressPoint, DerivedRD); in emitVTableTypeMetadata() 1698 CGM.AddVTableTypeMetadata(VTable, AddressPoint, RD); in emitVTableTypeMetadata() 1707 llvm::GlobalVariable *VTable = getAddrOfVTable(RD, Info->FullOffsetInMDC); in emitVTableDefinitions() local 1708 if (VTable->hasInitializer()) in emitVTableDefinitions() 1722 VTable->hasLocalLinkage()); in emitVTableDefinitions() [all …]
|
D | CGClass.cpp | 2621 llvm::Instruction *VTable = Builder.CreateLoad(VTablePtrSrc, "vtable"); in GetVTablePtr() local 2623 CGM.DecorateInstructionWithTBAA(VTable, TBAAInfo); in GetVTablePtr() 2627 CGM.DecorateInstructionWithInvariantGroup(VTable, RD); in GetVTablePtr() 2629 return VTable; in GetVTablePtr() 2668 llvm::Value *VTable, in EmitTypeMetadataCodeForVCall() argument 2671 EmitVTablePtrCheckForCall(RD, VTable, CodeGenFunction::CFITCK_VCall, Loc); in EmitTypeMetadataCodeForVCall() 2681 llvm::Value *CastedVTable = Builder.CreateBitCast(VTable, Int8PtrTy); in EmitTypeMetadataCodeForVCall() 2690 llvm::Value *VTable, in EmitVTablePtrCheckForCall() argument 2696 EmitVTablePtrCheck(RD, VTable, TCK, Loc); in EmitVTablePtrCheckForCall() 2733 llvm::Value *VTable; in EmitVTablePtrCheckForCast() local [all …]
|
D | CGVTables.h | 155 void GenerateRelativeVTableAlias(llvm::GlobalVariable *VTable,
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | GlobalDCE.cpp | 208 GlobalVariable *VTable = VTableInfo.first; in ScanVTableLoad() local 212 getPointerAtOffset(VTable->getInitializer(), VTableOffset + CallOffset, in ScanVTableLoad() 216 VFESafeVTables.erase(VTable); in ScanVTableLoad() 223 VFESafeVTables.erase(VTable); in ScanVTableLoad() 275 for (auto *VTable : VFESafeVTables) in AddVirtualFunctionDependencies() 276 dbgs() << " " << VTable->getName() << "\n"; in AddVirtualFunctionDependencies()
|
/external/llvm-project/llvm/lib/Transforms/IPO/ |
D | GlobalDCE.cpp | 208 GlobalVariable *VTable = VTableInfo.first; in ScanVTableLoad() local 212 getPointerAtOffset(VTable->getInitializer(), VTableOffset + CallOffset, in ScanVTableLoad() 216 VFESafeVTables.erase(VTable); in ScanVTableLoad() 223 VFESafeVTables.erase(VTable); in ScanVTableLoad() 284 for (auto *VTable : VFESafeVTables) in AddVirtualFunctionDependencies() 285 dbgs() << " " << VTable->getName() << "\n"; in AddVirtualFunctionDependencies()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/ |
D | UDTLayout.h | 101 std::unique_ptr<PDBSymbolTypeVTable> VTable); 107 std::unique_ptr<PDBSymbolTypeVTable> VTable; variable 144 VTableLayoutItem *VTable = nullptr; variable
|
D | PDBSymbolTypeVTable.h | 21 DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::VTable)
|
/external/llvm-project/llvm/include/llvm/DebugInfo/PDB/ |
D | UDTLayout.h | 101 std::unique_ptr<PDBSymbolTypeVTable> VTable); 107 std::unique_ptr<PDBSymbolTypeVTable> VTable; variable 144 VTableLayoutItem *VTable = nullptr; variable
|
D | PDBSymbolTypeVTable.h | 21 DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::VTable)
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/ |
D | UDTLayout.cpp | 99 VTable(std::move(VT)) { in VTableLayoutItem() 100 auto VTableType = cast<PDBSymbolTypePointer>(VTable->getType()); in VTableLayoutItem() 221 VTable = VTLayout.get(); in initializeChildren()
|
/external/llvm-project/llvm/lib/DebugInfo/PDB/ |
D | UDTLayout.cpp | 99 VTable(std::move(VT)) { in VTableLayoutItem() 100 auto VTableType = cast<PDBSymbolTypePointer>(VTable->getType()); in VTableLayoutItem() 221 VTable = VTLayout.get(); in initializeChildren()
|
/external/llvm/include/llvm/DebugInfo/PDB/ |
D | PDBSymbolTypeVTable.h | 26 DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::VTable)
|