HomeSort by relevance Sort by last modified time
    Searched refs:VTable (Results 1 - 25 of 31) sorted by null

1 2

  /external/flatbuffers/rust/flatbuffers/src/
vtable.rs 21 /// VTable encapsulates read-only usage of a vtable. It is only to be used
24 pub struct VTable<'a> {
29 impl<'a> PartialEq for VTable<'a> {
30 fn eq(&self, other: &VTable) -> bool {
35 impl<'a> VTable<'a> {
37 VTable {
79 let fixed_fields = 2; // Vtable size and Object Size.
86 let fixed_fields = 2; // VTable size and Object Size.
90 impl<'a> Follow<'a> for VTable<'a>
    [all...]
table.rs 19 use vtable::VTable;
33 pub fn vtable(&self) -> VTable<'a> {
34 <BackwardsSOffset<VTable<'a>>>::follow(self.buf, self.loc)
42 let o = self.vtable().get(slot_byte_loc) as usize;
builder.rs 28 use vtable::{VTable, field_index_to_field_offset};
141 /// store a reference to it in the in-progress vtable. If the value matches
153 /// store a reference to it in the in-progress vtable.
162 /// FlatBuffer. This is primarily used to check vtable deduplication.
323 let o = tab.vtable().get(slot_byte_loc) as usize;
367 /// Write the VTable, if it is new.
371 // Write the vtable offset, which is the start of any Table.
376 // Layout of the data this function will create when a new vtable is
379 // vtable starts her
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/
PDBSymbolTypeVTable.cpp 22 assert(RawSymbol->getSymTag() == PDB_SymType::VTable);
UDTLayout.cpp 100 VTable(std::move(VT)) {
101 auto VTableType = cast<PDBSymbolTypePointer>(VTable->getType());
222 VTable = VTLayout.get();
PDBSymbol.cpp 94 FACTORY_SYMTAG_CASE(VTable, PDBSymbolTypeVTable)
PDBExtras.cpp 199 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, VTable, OS)
  /external/llvm/include/llvm/DebugInfo/PDB/
PDBSymbolTypeVTable.h 1 //===- PDBSymbolTypeVTable.h - VTable type info -----------------*- C++ -*-===//
26 DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::VTable)
PDBTypes.h 194 VTable,
  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/PDB/
PDBSymbolTypeVTable.h 1 //===- PDBSymbolTypeVTable.h - VTable type info -----------------*- C++ -*-===//
26 DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::VTable)
UDTLayout.h 102 std::unique_ptr<PDBSymbolTypeVTable> VTable);
108 std::unique_ptr<PDBSymbolTypeVTable> VTable;
145 VTableLayoutItem *VTable = nullptr;
PDBTypes.h 205 VTable,
  /external/clang/lib/CodeGen/
CGVTT.cpp 10 // This contains code dealing with C++ code generation of VTTs (vtable tables).
24 const VTTVTable &VTable,
27 if (VTable.getBase() == MostDerivedClass) {
28 assert(VTable.getBaseOffset().isZero() &&
29 "Most derived class vtable must have a zero offset!");
30 // This is a regular vtable.
35 VTable.getBaseSubobject(),
36 VTable.isVirtual(),
64 llvm::GlobalVariable *VTable = VTables[i->VTableIndex];
67 // Just get the address point for the regular vtable
    [all...]
CGCXX.cpp 271 llvm::Value *VTable = CGM.getCXXABI().getAddrOfVTable(RD, CharUnits());
273 VTable = CGF.Builder.CreateBitCast(VTable, Ty);
274 assert(VTable && "BuildVirtualCall = kext vtbl pointer is null");
281 CGF.Builder.CreateConstInBoundsGEP1_64(VTable, VTableIndex, "vfnkxt");
287 /// into the vtable.
307 /// BuildVirtualCall - This routine makes indirect vtable call for
ItaniumCXXABI.cpp 515 /// to a vtable pointer from which the virtual offset is applied.
569 // vtable of the correct base subobject. The "function pointer" is an
570 // offset within the vtable (+1 for the virtual flag on non-ARM).
573 // Cast the adjusted this to a pointer to vtable pointer and load.
578 llvm::Value *VTable =
585 VTable = Builder.CreateGEP(VTable, VTableOffset);
588 VTable = Builder.CreateBitCast(VTable, FTy->getPointerTo()->getPointerTo());
590 Builder.CreateAlignedLoad(VTable, CGF.getPointerAlign()
    [all...]
CGVTables.cpp 570 llvm_unreachable("Unexpected vtable component kind");
584 // side. Otherwise we'd end up with vtable with unresolved
675 // Get the mangled construction vtable name.
686 // Construction vtable symbols are not part of the Itanium ABI, so we cannot
689 // linkage construction vtable. The ABI only requires complete-object vtables
694 // Create the variable that will hold the construction vtable.
695 llvm::GlobalVariable *VTable =
697 CGM.setGlobalVisibility(VTable, RD);
700 VTable->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global);
710 VTable->setInitializer(Init)
    [all...]
MicrosoftCXXABI.cpp 258 llvm::GlobalVariable *VTable);
755 /// \brief This set holds the record decls we've deferred vtable emission for.
    [all...]
CGClass.cpp 321 // Skip over the offset (and the vtable load) if we're supposed to
497 /// way which requires the vtable to be properly set.
509 // external code might potentially access the vtable.
    [all...]
CodeGenModule.h     [all...]
  /external/llvm/lib/DebugInfo/PDB/
PDBSymbol.cpp 93 FACTORY_SYMTAG_CASE(VTable, PDBSymbolTypeVTable)
PDBExtras.cpp 240 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, VTable, OS)
  /external/llvm/unittests/DebugInfo/PDB/
PDBApiTest.cpp 352 InsertItemWithTag(PDB_SymType::VTable);
414 VerifyDyncast<PDBSymbolTypeVTable>(PDB_SymType::VTable);
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
WholeProgramDevirt.cpp 24 // for virtual constant propagation hold and a single vtable's function
25 // returns 0, or a single vtable's function returns 1, replace each virtual
26 // call with a comparison of the vptr against that vtable's address.
126 // Find a minimum offset taking into account only vtable sizes.
272 // A virtual call site. VTable is the loaded virtual table pointer, and CS is
275 Value *VTable;
379 void addCallSite(Value *VTable, CallSite CS, unsigned *NumUnsafeUses);
399 void VTableSlotInfo::addCallSite(Value *VTable, CallSite CS,
403 CSI.CallSites.push_back({VTable, CS, NumUnsafeUses});
485 // given vtable slot and list of arguments
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/PDB/
PDBApiTest.cpp 434 InsertItemWithTag(PDB_SymType::VTable);
496 VerifyDyncast<PDBSymbolTypeVTable>(PDB_SymType::VTable);
  /external/llvm/lib/Transforms/IPO/
WholeProgramDevirt.cpp 24 // for virtual constant propagation hold and a single vtable's function
25 // returns 0, or a single vtable's function returns 1, replace each virtual
26 // call with a comparison of the vptr against that vtable's address.
62 // Find a minimum offset taking into account only vtable sizes.
208 // A virtual call site. VTable is the loaded virtual table pointer, and CS is
211 Value *VTable;
483 Call.VTable, OneAddr);
596 Value *Addr = B.CreateConstGEP1_64(Call.VTable, OffsetByte);
638 // Copy the original vtable's metadata to the anonymous global, adjusting
679 // the vtable pointer before, as it may have been CSE'd with pointers fro
    [all...]

Completed in 552 milliseconds

1 2