Home
last modified time | relevance | path

Searched refs:VTable (Results 1 – 25 of 35) sorted by relevance

12

/external/flatbuffers/rust/flatbuffers/src/
Dvtable.rs24 pub struct VTable<'a> { struct
29 impl<'a> PartialEq for VTable<'a> { implementation
30 fn eq(&self, other: &VTable) -> bool { in eq()
35 impl<'a> VTable<'a> { implementation
37 VTable { in init()
90 impl<'a> Follow<'a> for VTable<'a> { implementation
91 type Inner = VTable<'a>;
93 VTable::init(buf, loc) in follow()
Dtable.rs19 use vtable::VTable;
33 pub fn vtable(&self) -> VTable<'a> { in vtable()
34 <BackwardsSOffset<VTable<'a>>>::follow(self.buf, self.loc) in vtable()
Dbuilder.rs28 use vtable::{VTable, field_index_to_field_offset};
442 let this_vt = VTable::init(&self.owned_buf[..], self.head); in write_vtable()
473 fn find_duplicate_stored_vtable_revloc(&self, needle: VTable) -> Option<UOffsetT> { in find_duplicate_stored_vtable_revloc()
475 … let o = VTable::init(&self.owned_buf[..], self.head + self.used_space() - revloc as usize); in find_duplicate_stored_vtable_revloc()
/external/clang/lib/CodeGen/
DCGVTT.cpp24 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()
DCGCXX.cpp271 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()
DItaniumCXXABI.cpp578 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 …]
DCGVTables.cpp695 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()
DCGClass.cpp2567 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 …]
DMicrosoftCXXABI.cpp258 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 …]
DCodeGenModule.h1122 void EmitVTableTypeMetadata(llvm::GlobalVariable *VTable,
1140 void AddVTableTypeMetadata(llvm::GlobalVariable *VTable, CharUnits Offset,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/PDB/
DUDTLayout.h102 std::unique_ptr<PDBSymbolTypeVTable> VTable);
108 std::unique_ptr<PDBSymbolTypeVTable> VTable; variable
145 VTableLayoutItem *VTable = nullptr; variable
DPDBSymbolTypeVTable.h26 DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::VTable)
DPDBTypes.h205 VTable, enumerator
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/
DUDTLayout.cpp100 VTable(std::move(VT)) { in VTableLayoutItem()
101 auto VTableType = cast<PDBSymbolTypePointer>(VTable->getType()); in VTableLayoutItem()
222 VTable = VTLayout.get(); in initializeChildren()
DPDBSymbolTypeVTable.cpp22 assert(RawSymbol->getSymTag() == PDB_SymType::VTable); in PDBSymbolTypeVTable()
DPDBSymbol.cpp94 FACTORY_SYMTAG_CASE(VTable, PDBSymbolTypeVTable) in create()
DPDBExtras.cpp199 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, VTable, OS) in operator <<()
/external/llvm/include/llvm/DebugInfo/PDB/
DPDBSymbolTypeVTable.h26 DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::VTable)
DPDBTypes.h194 VTable, enumerator
/external/flatbuffers/dart/lib/
Dflat_buffers.dart112 /// The list of existing VTable(s).
295 // Prepare for writing the VTable.
300 // Prepare the VTable to use for the current table.
304 // Try to find an existing compatible VTable.
317 // Write a new VTable.
326 // Set the VTable offset.
1188 /// The size of the table that uses this VTable.
1191 /// The tail of this VTable. It is used to share the same VTable between
1226 /// Outputs this VTable to [buf], which is is expected to be aligned to 16-bit
1229 // VTable size.
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DWholeProgramDevirt.cpp275 Value *VTable; member
379 void addCallSite(Value *VTable, CallSite CS, unsigned *NumUnsafeUses);
399 void VTableSlotInfo::addCallSite(Value *VTable, CallSite CS, in addCallSite() argument
403 CSI.CallSites.push_back({VTable, CS, NumUnsafeUses}); in addCallSite()
908 Args.push_back(IRB.CreateBitCast(VCallSite.VTable, Int8PtrTy)); in applyICallBranchFunnel()
1094 B.CreateBitCast(Call.VTable, Int8PtrTy), UniqueMemberAddr); in applyUniqueRetValOpt()
1162 B.CreateGEP(Int8Ty, B.CreateBitCast(Call.VTable, Int8PtrTy), Byte); in applyVirtualConstProp()
/external/llvm/unittests/DebugInfo/PDB/
DPDBApiTest.cpp352 InsertItemWithTag(PDB_SymType::VTable); in SetUp()
414 VerifyDyncast<PDBSymbolTypeVTable>(PDB_SymType::VTable); in TEST_F()
/external/llvm/lib/DebugInfo/PDB/
DPDBSymbol.cpp93 FACTORY_SYMTAG_CASE(VTable, PDBSymbolTypeVTable) in create()
/external/llvm/lib/Transforms/IPO/
DWholeProgramDevirt.cpp211 Value *VTable; member
483 Call.VTable, OneAddr); in tryUniqueRetValOpt()
596 Value *Addr = B.CreateConstGEP1_64(Call.VTable, OffsetByte); in tryVirtualConstProp()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/PDB/
DPDBApiTest.cpp434 InsertItemWithTag(PDB_SymType::VTable); in SetUp()
496 VerifyDyncast<PDBSymbolTypeVTable>(PDB_SymType::VTable); in TEST_F()

12