OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:TypeId
(Results
1 - 16
of
16
) sorted by relevancy
/src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
Any.h
28
// The `
Typeid
<T>::Id` static data member below is a globally unique
32
template <typename T> struct
TypeId
{ static const char Id; };
49
const void *id() const override { return &
TypeId
<T>::Id; }
116
template <typename T> const char Any::
TypeId
<T>::Id = 0;
122
return Value.Storage->id() == &Any::
TypeId
<remove_cvref_t<T>>::Id;
/src/external/apache2/llvm/dist/llvm/tools/llvm-pdbutil/
PrettyFunctionDumper.cpp
229
uint32_t
TypeId
= Symbol.getTypeId();
230
auto Type = Symbol.getSession().getSymbolById(
TypeId
);
/src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/
UDTLayout.cpp
36
uint32_t
TypeId
= RawSymbol.getTypeId();
37
return Session.getSymbolById(
TypeId
);
/src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
GlobalDCE.cpp
49
static char ID; // Pass identification, replacement for
typeid
176
// Use the
typeid
metadata on the vtable to build a mapping from typeids to
178
//
typeid
.
180
Metadata *
TypeID
= Type->getOperand(1).get();
187
TypeIdMap[
TypeID
].insert(std::make_pair(&GV, Offset));
205
void GlobalDCEPass::ScanVTableLoad(Function *Caller, Metadata *
TypeId
,
207
for (auto &VTableInfo : TypeIdMap[
TypeId
]) {
248
auto *
TypeId
= cast<MetadataAsValue>(TypeIdValue)->getMetadata();
251
ScanVTableLoad(CI->getFunction(),
TypeId
, Offset->getZExtValue());
255
for (auto &VTableInfo : TypeIdMap[
TypeId
]) {
[
all
...]
LowerTypeTests.cpp
105
"Import
typeid
resolutions from summary and globals"),
107
"Export
typeid
resolutions to summary and globals")),
446
uint8_t *exportTypeId(StringRef
TypeId
, const TypeIdLowering &TIL);
447
TypeIdLowering importTypeId(StringRef
TypeId
);
453
buildBitSet(Metadata *
TypeId
,
462
Value *lowerTypeTestCall(Metadata *
TypeId
, CallInst *CI,
557
/// Build a bit set for
TypeId
using the object layouts in
560
Metadata *
TypeId
,
568
if (Type->getOperand(1) !=
TypeId
)
694
static bool isKnownTypeIdMember(Metadata *
TypeId
, const DataLayout &DL
[
all
...]
WholeProgramDevirt.cpp
115
"Import
typeid
resolutions from summary and globals"),
117
"Export
typeid
resolutions to summary and globals")),
308
// A slot in a set of virtual tables. The
TypeID
identifies the set of virtual
312
Metadata *
TypeID
;
330
return DenseMapInfo<Metadata *>::getHashValue(I.
TypeID
) ^
335
return LHS.
TypeID
== RHS.
TypeID
&& LHS.ByteOffset == RHS.ByteOffset;
349
return DenseMapInfo<StringRef>::getHashValue(I.
TypeID
) ^
354
return LHS.
TypeID
== RHS.
TypeID
&& LHS.ByteOffset == RHS.ByteOffset
[
all
...]
/src/external/apache2/llvm/dist/llvm/lib/MC/MCParser/
COFFAsmParser.cpp
567
StringRef
TypeId
= getTok().getIdentifier();
569
Type = StringSwitch<COFF::COMDATType>(
TypeId
)
580
return TokError(Twine("unrecognized COMDAT type '" +
TypeId
+ "'"));
/src/external/apache2/llvm/dist/llvm/lib/Target/BPF/
BTF.h
220
uint32_t
TypeId
; ///< Type id referring to .BTF type section
247
uint32_t
TypeID
; ///<
TypeID
for the relocation
BTFDebug.h
173
BTFKindVar(StringRef VarName, uint32_t
TypeId
, uint32_t VarInfo);
230
uint32_t
TypeId
; ///< Type id referring to .BTF type section
245
uint32_t
TypeID
; ///< Type ID
283
void visitTypeEntry(const DIType *Ty, uint32_t &
TypeId
, bool CheckPointer,
285
void visitBasicType(const DIBasicType *BTy, uint32_t &
TypeId
);
289
uint32_t &
TypeId
);
291
uint32_t &
TypeId
);
292
void visitCompositeType(const DICompositeType *CTy, uint32_t &
TypeId
);
294
uint32_t &
TypeId
);
295
void visitArrayType(const DICompositeType *ATy, uint32_t &
TypeId
);
[
all
...]
BTFDebug.cpp
335
BTFKindVar::BTFKindVar(StringRef VarName, uint32_t
TypeId
, uint32_t VarInfo)
339
BTFType.Type =
TypeId
;
426
void BTFDebug::visitBasicType(const DIBasicType *BTy, uint32_t &
TypeId
) {
449
TypeId
= addType(std::move(TypeEntry), BTy);
456
uint32_t &
TypeId
) {
468
TypeId
= addType(std::move(TypeEntry)); // For subprogram
470
TypeId
= addType(std::move(TypeEntry), STy); // For func ptr
480
uint32_t &
TypeId
) {
499
TypeId
= addType(std::move(TypeEntry), CTy);
506
void BTFDebug::visitArrayType(const DICompositeType *CTy, uint32_t &
TypeId
) {
[
all
...]
/src/external/apache2/llvm/dist/llvm/lib/Analysis/
ModuleSummaryAnalysis.cpp
170
auto *
TypeId
= dyn_cast<MDString>(TypeMDVal->getMetadata());
171
if (!
TypeId
)
173
GlobalValue::GUID Guid = GlobalValue::getGUID(
TypeId
->getString());
197
auto *
TypeId
= dyn_cast<MDString>(TypeMDVal->getMetadata());
198
if (!
TypeId
)
200
GlobalValue::GUID Guid = GlobalValue::getGUID(
TypeId
->getString());
555
auto
TypeID
= Type->getOperand(1).get();
562
if (auto *
TypeId
= dyn_cast<MDString>(
TypeID
))
563
Index.getOrInsertTypeIdCompatibleVtableSummary(
TypeId
->getString()
[
all
...]
/src/external/apache2/llvm/dist/llvm/utils/unittest/googletest/include/gtest/internal/
gtest-internal.h
401
// unique IDs to fixture classes and compare them. The
TypeId
type is
402
// used to hold such IDs. The user should treat
TypeId
as an opaque
403
// type: the only operation allowed on
TypeId
values is to compare
405
typedef const void*
TypeId
;
423
TypeId
GetTypeId() {
436
GTEST_API_
TypeId
GetTestTypeId();
561
TypeId
fixture_class_id, SetUpTestSuiteFunc set_up_tc,
/src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGClass.cpp
2678
llvm::Value *
TypeId
=
2684
{CastedVTable,
TypeId
});
2787
llvm::Value *
TypeId
= llvm::MetadataAsValue::get(getLLVMContext(), MD);
2791
CGM.getIntrinsic(llvm::Intrinsic::type_test), {CastedVTable,
TypeId
});
2844
llvm::Value *
TypeId
= llvm::MetadataAsValue::get(CGM.getLLVMContext(), MD);
2850
TypeId
});
CGExpr.cpp
3310
SanitizerMask Kind, llvm::Value *Cond, llvm::ConstantInt *
TypeId
,
3340
SlowPathFn, {
TypeId
, Ptr, Builder.CreateBitCast(InfoPtr, Int8PtrTy)});
3345
CheckCall = Builder.CreateCall(SlowPathFn, {
TypeId
, Ptr});
5200
llvm::Value *
TypeId
= llvm::MetadataAsValue::get(getLLVMContext(), MD);
5205
CGM.getIntrinsic(llvm::Intrinsic::type_test), {CastedCallee,
TypeId
});
ItaniumCXXABI.cpp
711
llvm::Value *
TypeId
= nullptr;
719
TypeId
= llvm::MetadataAsValue::get(CGF.getLLVMContext(), MD);
732
{VFPAddr, llvm::ConstantInt::get(CGM.Int32Ty, 0),
TypeId
});
744
{Builder.CreateBitCast(VFPAddr, CGF.Int8PtrTy),
TypeId
});
822
llvm::Value *
TypeId
=
827
{CastedNonVirtualFn,
TypeId
});
3858
// by the
typeid
operator, which is why the comparison operators on
/src/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/
BitcodeReader.cpp
835
TypeIdCompatibleVtableInfo &
TypeId
);
2445
case bitc::CST_CODE_SETTYPE: // SETTYPE: [
typeid
]
6047
TypeIdSummary &
TypeId
) {
6049
WholeProgramDevirtResolution &Wpd =
TypeId
.WPDRes[Id];
6065
TypeIdSummary &
TypeId
= TheIndex.getOrInsertTypeIdSummary(
6069
TypeId
.TTRes.TheKind = static_cast<TypeTestResolution::Kind>(Record[Slot++]);
6070
TypeId
.TTRes.SizeM1BitWidth = Record[Slot++];
6071
TypeId
.TTRes.AlignLog2 = Record[Slot++];
6072
TypeId
.TTRes.SizeM1 = Record[Slot++];
6073
TypeId
.TTRes.BitMask = Record[Slot++]
[
all
...]
Completed in 63 milliseconds
Indexes created Wed Jun 10 00:26:05 UTC 2026