HomeSort by relevance Sort by last modified time
    Searched full:vtable (Results 1 - 25 of 597) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/bison/lib/
bbitset.h 87 const struct bitset_vtable *vtable; member in struct:bbitset_struct
104 #define BITSET_VTABLE_(SRC) (SRC)->b.vtable
157 ((BSET1)->b.vtable == (BSET2)->b.vtable)
172 #define BITSET_RESIZE_(DST, SIZE) (DST)->b.vtable->resize (DST, SIZE)
175 #define BITSET_SIZE_(SRC) (SRC)->b.vtable->size (SRC)
178 #define BITSET_COUNT_(SRC) (SRC)->b.vtable->count (SRC)
181 #define BITSET_TYPE_(DST) (DST)->b.vtable->type
184 #define BITSET_SET_(DST, BITNO) (DST)->b.vtable->set (DST, BITNO)
187 #define BITSET_RESET_(DST, BITNO) (DST)->b.vtable->reset (DST, BITNO
    [all...]
  /external/clang/test/CodeGenCXX/
vtable-layout-extreme.cpp 1 // RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm-only -fdump-vtable-layouts 2>&1 | FileCheck %s
78 // CHECK: Vtable for 'Test1::C9' (87 entries).
89 // CHECK-NEXT: -- (Test1::C2, 0) vtable address --
90 // CHECK-NEXT: -- (Test1::C9, 0) vtable address --
97 // CHECK-NEXT: -- (Test1::C2, 16) vtable address --
98 // CHECK-NEXT: -- (Test1::C4, 16) vtable address --
105 // CHECK-NEXT: -- (Test1::C2, 48) vtable address --
106 // CHECK-NEXT: -- (Test1::C5, 48) vtable address --
107 // CHECK-NEXT: -- (Test1::C6, 48) vtable address --
111 // CHECK-NEXT: -- (Test1::C1, 64) vtable address -
    [all...]
vtable-layout.cpp 1 // RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm-only -fdump-vtable-layouts > %t 2>&1
57 // CHECK-1: Vtable for 'Test1::A' (3 entries).
60 // CHECK-1-NEXT: -- (Test1::A, 0) vtable address --
71 // This is a smoke test of the vtable dumper.
72 // CHECK-2: Vtable for 'Test2::A' (9 entries).
75 // CHECK-2-NEXT: -- (Test2::A, 0) vtable address --
94 // Another simple vtable dumper test.
96 // CHECK-3: Vtable for 'Test2::B' (6 entries).
99 // CHECK-3-NEXT: -- (Test2::B, 0) vtable address --
119 // CHECK-4: Vtable for 'Test3::A' (3 entries)
    [all...]
skip-vtable-pointer-initialization.cpp 7 // Check that we don't initialize the vtable pointer in A::~A(), since the destructor body is trivial.
23 // Check that we do initialize the vtable pointer in A::~A() since the destructor body isn't trivial.
39 // Check that we don't initialize the vtable pointer in A::~A(), since the destructor body is trivial
62 // Check that we do initialize the vtable pointer in A::~A(), since Field's destructor body
88 // Check that we do initialize the vtable pointer in A::~A(), since Field's destructor isn't
112 // Check that we do initialize the vtable pointer in A::~A(), since Field has a member
140 // Check that we do initialize the vtable pointer in A::~A(), since Field has a base
166 // Check that we do initialize the vtable pointer in A::~A(), since Field has a virtual base
192 // Check that we emit a VTT for B, even though we don't initialize the vtable pointer in the destructor.
vtable-key-function.cpp 11 // cause the vtable to be defined (without assertions.)
17 // Make sure that we don't assert when building the vtable for a class
vtable-layout-abi-examples.cpp 1 // RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm-only -fdump-vtable-layouts > %t 2>&1
19 // This is from http://www.codesourcery.com/public/cxx-abi/cxx-vtable-ex.html
21 // CHECK-1: Vtable for 'Test1::A' (5 entries).
24 // CHECK-1-NEXT: -- (Test1::A, 0) vtable address --
36 // CHECK-2: Vtable for 'Test1::B' (13 entries).
40 // CHECK-2-NEXT: -- (Test1::B, 0) vtable address --
48 // CHECK-2-NEXT: -- (Test1::A, 16) vtable address --
61 // CHECK-3: Vtable for 'Test1::C' (13 entries).
65 // CHECK-3-NEXT: -- (Test1::C, 0) vtable address --
73 // CHECK-3-NEXT: -- (Test1::A, 16) vtable address -
    [all...]
vtable-linkage.cpp 100 // B has a key function that is not defined in this translation unit so its vtable
104 // C has no key function, so its vtable should have weak_odr linkage
115 // D has a key function that is defined in this translation unit so its vtable is
122 // in this translation unit, so its vtable should have external
129 // defined in this translation unit, so its vtable should have
139 // function, so its vtable should have weak_odr linkage
148 // defined in this translation unit, so its vtable should have
155 // so its vtable should have linkonce_odr linkage.
161 // key function, so its vtable should have external linkage.
166 // its vtable, not define it
    [all...]
  /external/clang/test/PCH/
chain-implicit-definition.cpp 15 // Key function to suppress vtable definition.
36 // VTable placement would again cause definition of ~B(), hiding the bug,
  /external/clang/utils/VtableTest/
check-zvt 13 echo "FAIL: s$i vtable"
15 echo "PASS: s$i vtable"
  /external/clang/lib/CodeGen/
CGVTables.h 39 /// VTableAddressPointsMapTy - Address points for a single vtable.
65 /// CreateVTableInitializer - Create a vtable initializer for the given record
67 /// \param Components - The vtable components; this is really an array of
80 /// \brief True if the VTable of this record must be emitted in the
102 /// GetAddrOfVTable - Get the address of the vtable for the given record decl.
105 /// EmitVTableDefinition - Emit the definition of the given vtable.
106 void EmitVTableDefinition(llvm::GlobalVariable *VTable,
110 /// GenerateConstructionVTable - Generate a construction vtable for the given
122 /// EmitVTTDefinition - Emit the definition of the given vtable.
131 /// upon definition of a KeyFunction. This includes the vtable, th
    [all...]
CGVTT.cpp 10 // This contains code dealing with C++ code generation of VTTs (vtable tables).
25 const VTTVTable &VTable,
28 if (VTable.getBase() == MostDerivedClass) {
29 assert(VTable.getBaseOffset().isZero() &&
30 "Most derived class vtable must have a zero offset!");
31 // This is a regular vtable.
36 VTable.getBaseSubobject(),
37 VTable.isVirtual(),
66 llvm::Constant *VTable = VTables[i->VTableIndex];
69 // Just get the address point for the regular vtable
    [all...]
  /external/clang/test/Sema/
ms_class_layout.cpp 79 // CHECK-NEXT: 0 | (D vtable pointer)
86 // CHECK-NEXT: 0 | (B vtable pointer)
94 // CHECK-NEXT: 0 | (B vtable pointer)
104 // CHECK-NEXT: 0 | (D vtable pointer)
107 // CHECK-NEXT: 16 | (B vtable pointer)
116 // CHECK-NEXT: 64 | (B vtable pointer)
129 // CHECK-NEXT: 16 | (D vtable pointer)
132 // CHECK-NEXT: 32 | (B vtable pointer)
141 // CHECK-NEXT: 80 | (B vtable pointer)
158 // CHECK-NEXT: 16 | (D vtable pointer
    [all...]
  /abi/cpp/src/
dynamic_cast.cc 52 // Return the vtable pointer of a polymorphic object pointed by p.
60 // Return a pointer to a __class_type_info in a vtable.
63 get_class_type_info(const void* vtable)
65 const void* type_info_ptr = adjust_pointer(vtable, -sizeof(void*));
69 // Return offset to object in a vtable.
72 get_offset_to_top(const void* vtable)
74 const void* type_info_ptr_address = adjust_pointer(vtable, -sizeof(void*));
86 const void* vtable = get_vtable(p); local
87 std::ptrdiff_t offset_to_top = get_offset_to_top(vtable);
99 const void* vtable,
140 const void* vtable = get_vtable(object); local
238 const void* vtable = get_vtable(object); local
295 const void* vtable = get_vtable(most_derived_object); local
    [all...]
  /ndk/sources/cxx-stl/gabi++/src/
dynamic_cast.cc 52 // Return the vtable pointer of a polymorphic object pointed by p.
60 // Return a pointer to a __class_type_info in a vtable.
63 get_class_type_info(const void* vtable)
65 const void* type_info_ptr = adjust_pointer(vtable, -sizeof(void*));
69 // Return offset to object in a vtable.
72 get_offset_to_top(const void* vtable)
74 const void* type_info_ptr_address = adjust_pointer(vtable, -sizeof(void*));
86 const void* vtable = get_vtable(p); local
87 std::ptrdiff_t offset_to_top = get_offset_to_top(vtable);
99 const void* vtable,
140 const void* vtable = get_vtable(object); local
238 const void* vtable = get_vtable(object); local
295 const void* vtable = get_vtable(most_derived_object); local
    [all...]
  /dalvik/vm/mterp/armv5te/
OP_INVOKE_SUPER_QUICK.S 21 ldr r2, [r2, #offClassObject_vtable] @ r2<- ...clazz->super->vtable
23 ldr r0, [r2, r1, lsl #2] @ r0<- super->vtable[BBBB]
OP_INVOKE_VIRTUAL_QUICK.S 20 ldr r2, [r2, #offClassObject_vtable] @ r2<- thisPtr->clazz->vtable
22 ldr r0, [r2, r1, lsl #2] @ r3<- vtable[BBBB]
  /dalvik/vm/mterp/x86/
OP_INVOKE_SUPER_QUICK.S 23 movl offClassObject_vtable(%ecx),%ecx # ecx<- vtable
25 movl (%ecx,%eax,4),%eax # eax<- super->vtable[BBBB]
OP_INVOKE_VIRTUAL_QUICK.S 20 movl offClassObject_vtable(%eax),%eax # eax<- thisPtr->clazz->vtable
22 movl (%eax,%ecx,4),%eax # eax<- vtable[BBBB]
  /dalvik/vm/mterp/x86-atom/
OP_INVOKE_VIRTUAL_QUICK.S 36 movl offClassObject_vtable(%edx), %edx # %edx<- thisPtr->clazz->vtable
37 movl (%edx, %ecx, 4), %ecx # %ecx<- vtable[methodIndex]
  /external/clang/include/clang/AST/
VTTBuilder.h 72 /// vtable.
104 /// AddVTablePointer - Add a vtable pointer to the VTT currently being built.
106 /// \param AddressPoints - If the vtable is a construction vtable, this has
121 /// \param AddressPoints - If the vtable is a construction vtable, this has
132 /// \param AddressPoints - If the vtable is a construction vtable, this has
VTableBuilder.h 1 //===--- VTableBuilder.h - C++ vtable layout builder --------------*- C++ -*-=//
28 /// VTableComponent - Represents a single component in a vtable.
44 /// CK_UnusedFunctionPointer - In some cases, a vtable function pointer
45 /// will end up never being called. Such vtable function pointers are
97 /// getKind - Get the kind of this vtable component.
273 /// MethodVTableIndices - Contains the index (relative to the vtable address
283 /// pointers in the vtable for a given record decl.
289 /// VirtualBaseClassOffsetOffsets - Contains the vtable offset (relative to
303 /// ComputeVTableRelatedInformation - Compute and store all vtable related
304 /// information (vtable layout, vbase offset offsets, thunks etc) for th
    [all...]
  /external/clang/test/SemaCXX/
warn-weak-vtables.cpp 3 struct A { // expected-warning {{'A' has no out-of-line virtual method definitions; its vtable will be emitted in every translation unit}}
47 class VeryDerived : public Derived { // expected-warning{{'VeryDerived' has no out-of-line virtual method definitions; its vtable will be emitted in every translation unit}}
  /external/llvm/test/CodeGen/X86/
tailcall-ri64.ll 19 %vtable = load %vt* (%vt*, %class*)*** %0, align 8
20 %vfn = getelementptr inbounds %vt* (%vt*, %class*)** %vtable, i64 4
  /external/bluetooth/glib/gobject/
gtypeplugin.h 33 #define G_TYPE_PLUGIN_CLASS(vtable) (G_TYPE_CHECK_CLASS_CAST ((vtable), G_TYPE_TYPE_PLUGIN, GTypePluginClass))
35 #define G_IS_TYPE_PLUGIN_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), G_TYPE_TYPE_PLUGIN))
  /dalvik/vm/compiler/template/armv5te/
TEMPLATE_INVOKE_METHOD_PREDICTED_CHAIN.S 47 ldr r7, [r3, #offClassObject_vtable] @ r7 <- this->class->vtable
58 * r7 <- this->class->vtable

Completed in 1440 milliseconds

1 2 3 4 5 6 7 8 91011>>