Home
last modified time | relevance | path

Searched refs:TypeId (Results 1 – 25 of 27) sorted by relevance

12

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/BPF/
DBTFDebug.cpp335 BTFKindVar::BTFKindVar(StringRef VarName, uint32_t TypeId, uint32_t VarInfo) in BTFKindVar() argument
339 BTFType.Type = TypeId; in BTFKindVar()
426 void BTFDebug::visitBasicType(const DIBasicType *BTy, uint32_t &TypeId) { in visitBasicType() argument
449 TypeId = addType(std::move(TypeEntry), BTy); in visitBasicType()
456 uint32_t &TypeId) { in visitSubroutineType() argument
468 TypeId = addType(std::move(TypeEntry)); // For subprogram in visitSubroutineType()
470 TypeId = addType(std::move(TypeEntry), STy); // For func ptr in visitSubroutineType()
480 uint32_t &TypeId) { in visitStructType() argument
499 TypeId = addType(std::move(TypeEntry), CTy); in visitStructType()
506 void BTFDebug::visitArrayType(const DICompositeType *CTy, uint32_t &TypeId) { in visitArrayType() argument
[all …]
DBTFDebug.h173 BTFKindVar(StringRef VarName, uint32_t TypeId, uint32_t VarInfo);
230 uint32_t TypeId; ///< Type id referring to .BTF type section member
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);
296 void visitEnumType(const DICompositeType *ETy, uint32_t &TypeId);
[all …]
DBTF.h220 uint32_t TypeId; ///< Type id referring to .BTF type section member
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
DCrossDSOCFI.cpp89 if (ConstantInt *TypeId = extractNumericTypeId(Type)) in buildCFICheck() local
90 TypeIds.insert(TypeId->getZExtValue()); in buildCFICheck()
98 if (ConstantInt *TypeId = in buildCFICheck() local
100 TypeIds.insert(TypeId->getZExtValue()); in buildCFICheck()
143 for (uint64_t TypeId : TypeIds) { in buildCFICheck() local
144 ConstantInt *CaseTypeId = ConstantInt::get(Type::getInt64Ty(Ctx), TypeId); in buildCFICheck()
DLowerTypeTests.cpp451 uint8_t *exportTypeId(StringRef TypeId, const TypeIdLowering &TIL);
452 TypeIdLowering importTypeId(StringRef TypeId);
458 buildBitSet(Metadata *TypeId,
467 Value *lowerTypeTestCall(Metadata *TypeId, CallInst *CI,
566 Metadata *TypeId, in buildBitSet() argument
574 if (Type->getOperand(1) != TypeId) in buildBitSet()
700 static bool isKnownTypeIdMember(Metadata *TypeId, const DataLayout &DL, in isKnownTypeIdMember() argument
706 if (Type->getOperand(1) != TypeId) in isKnownTypeIdMember()
724 return isKnownTypeIdMember(TypeId, DL, GEP->getPointerOperand(), COffset); in isKnownTypeIdMember()
729 return isKnownTypeIdMember(TypeId, DL, Op->getOperand(0), COffset); in isKnownTypeIdMember()
[all …]
DGlobalDCE.cpp205 void GlobalDCEPass::ScanVTableLoad(Function *Caller, Metadata *TypeId, in ScanVTableLoad() argument
207 for (auto &VTableInfo : TypeIdMap[TypeId]) { in ScanVTableLoad()
248 auto *TypeId = cast<MetadataAsValue>(TypeIdValue)->getMetadata(); in ScanTypeCheckedLoadIntrinsics() local
251 ScanVTableLoad(CI->getFunction(), TypeId, Offset->getZExtValue()); in ScanTypeCheckedLoadIntrinsics()
255 for (auto &VTableInfo : TypeIdMap[TypeId]) { in ScanTypeCheckedLoadIntrinsics()
DWholeProgramDevirt.cpp1802 Metadata *TypeId = in scanTypeTestUsers() local
1808 CallSlots[{TypeId, Call.Offset}].addCallSite(Ptr, Call.CB, nullptr); in scanTypeTestUsers()
1833 if (!TypeIdMap.count(TypeId)) in scanTypeTestUsers()
1845 else if (ImportSummary && isa<MDString>(TypeId)) { in scanTypeTestUsers()
1847 ImportSummary->getTypeIdSummary(cast<MDString>(TypeId)->getString()); in scanTypeTestUsers()
1872 Metadata *TypeId = cast<MetadataAsValue>(TypeIdValue)->getMetadata(); in scanTypeCheckedLoadUsers() local
1930 CallSlots[{TypeId, Call.Offset}].addCallSite(Ptr, Call.CB, in scanTypeCheckedLoadUsers()
1939 auto *TypeId = dyn_cast<MDString>(Slot.TypeID); in importResolution() local
1940 if (!TypeId) in importResolution()
1943 ImportSummary->getTypeIdSummary(TypeId->getString()); in importResolution()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/ADT/
DAny.h32 template <typename T> struct TypeId { static const char Id; }; argument
49 const void *id() const override { return &TypeId<T>::Id; } in id()
116 template <typename T> const char Any::TypeId<T>::Id = 0;
122 return Value.Storage->id() == &Any::TypeId<remove_cvref_t<T>>::Id; in any_isa()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
DModuleSummaryIndex.h1447 TypeIdSummary &getOrInsertTypeIdSummary(StringRef TypeId) {
1448 auto TidIter = TypeIdMap.equal_range(GlobalValue::getGUID(TypeId));
1450 if (It->second.first == TypeId)
1453 {GlobalValue::getGUID(TypeId), {std::string(TypeId), TypeIdSummary()}});
1459 const TypeIdSummary *getTypeIdSummary(StringRef TypeId) const {
1460 auto TidIter = TypeIdMap.equal_range(GlobalValue::getGUID(TypeId));
1462 if (It->second.first == TypeId)
1467 TypeIdSummary *getTypeIdSummary(StringRef TypeId) {
1470 TypeId));
1481 getOrInsertTypeIdCompatibleVtableSummary(StringRef TypeId) {
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
DModuleSummaryAnalysis.cpp170 auto *TypeId = dyn_cast<MDString>(TypeMDVal->getMetadata()); in addIntrinsicToSummary() local
171 if (!TypeId) in addIntrinsicToSummary()
173 GlobalValue::GUID Guid = GlobalValue::getGUID(TypeId->getString()); in addIntrinsicToSummary()
197 auto *TypeId = dyn_cast<MDString>(TypeMDVal->getMetadata()); in addIntrinsicToSummary() local
198 if (!TypeId) in addIntrinsicToSummary()
200 GlobalValue::GUID Guid = GlobalValue::getGUID(TypeId->getString()); in addIntrinsicToSummary()
562 if (auto *TypeId = dyn_cast<MDString>(TypeID)) in recordTypeIdCompatibleVtableReferences() local
563 Index.getOrInsertTypeIdCompatibleVtableSummary(TypeId->getString()) in recordTypeIdCompatibleVtableReferences()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
DGlobalDCE.h63 void ScanVTableLoad(Function *Caller, Metadata *TypeId, uint64_t CallOffset);
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/
DPrettyFunctionDumper.cpp229 uint32_t TypeId = Symbol.getTypeId(); in dump() local
230 auto Type = Symbol.getSession().getSymbolById(TypeId); in dump()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/
DUDTLayout.cpp36 uint32_t TypeId = RawSymbol.getTypeId(); in getSymbolType() local
37 return Session.getSymbolById(TypeId); in getSymbolType()
/freebsd-12-stable/contrib/subversion/subversion/libsvn_subr/
Dwin32_crashrpt_dll.h45 ULONG TypeId, IMAGEHLP_SYMBOL_TYPE_INFO GetType,
/freebsd-12-stable/contrib/llvm-project/llvm/lib/MC/MCParser/
DCOFFAsmParser.cpp567 StringRef TypeId = getTok().getIdentifier(); in parseCOMDATType() local
569 Type = StringSwitch<COFF::COMDATType>(TypeId) in parseCOMDATType()
580 return TokError(Twine("unrecognized COMDAT type '" + TypeId + "'")); in parseCOMDATType()
/freebsd-12-stable/contrib/googletest/googletest/include/gtest/internal/
Dgtest-internal.h417 typedef const void* TypeId; typedef
435 TypeId GetTypeId() { in GetTypeId()
448 GTEST_API_ TypeId GetTestTypeId();
524 TypeId fixture_class_id,
Dgtest-param-util.h473 virtual TypeId GetTestCaseTypeId() const = 0;
512 virtual TypeId GetTestCaseTypeId() const { return GetTypeId<TestCase>(); } in GetTestCaseTypeId()
/freebsd-12-stable/contrib/googletest/googletest/include/gtest/
Dgtest.h767 internal::TypeId fixture_class_id,
779 internal::TypeId fixture_class_id,
806 const internal::TypeId fixture_class_id_; // ID of the test fixture class
/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
DCGClass.cpp2678 llvm::Value *TypeId = in EmitTypeMetadataCodeForVCall() local
2684 {CastedVTable, TypeId}); in EmitTypeMetadataCodeForVCall()
2787 llvm::Value *TypeId = llvm::MetadataAsValue::get(getLLVMContext(), MD); in EmitVTablePtrCheck() local
2791 CGM.getIntrinsic(llvm::Intrinsic::type_test), {CastedVTable, TypeId}); in EmitVTablePtrCheck()
2844 llvm::Value *TypeId = llvm::MetadataAsValue::get(CGM.getLLVMContext(), MD); in EmitVTableTypeCheckedLoad() local
2850 TypeId}); in EmitVTableTypeCheckedLoad()
DItaniumCXXABI.cpp717 llvm::Value *TypeId = nullptr; in EmitLoadOfMemberFunctionPointer() local
725 TypeId = llvm::MetadataAsValue::get(CGF.getLLVMContext(), MD); in EmitLoadOfMemberFunctionPointer()
739 {VFPAddr, llvm::ConstantInt::get(CGM.Int32Ty, 0), TypeId}); in EmitLoadOfMemberFunctionPointer()
752 {Builder.CreateBitCast(VFPAddr, CGF.Int8PtrTy), TypeId}); in EmitLoadOfMemberFunctionPointer()
831 llvm::Value *TypeId = in EmitLoadOfMemberFunctionPointer() local
836 {CastedNonVirtualFn, TypeId}); in EmitLoadOfMemberFunctionPointer()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp803 TypeIdCompatibleVtableInfo &TypeId);
5978 TypeIdSummary &TypeId) { in parseWholeProgramDevirtResolution() argument
5980 WholeProgramDevirtResolution &Wpd = TypeId.WPDRes[Id]; in parseWholeProgramDevirtResolution()
5996 TypeIdSummary &TypeId = TheIndex.getOrInsertTypeIdSummary( in parseTypeIdSummaryRecord() local
6000 TypeId.TTRes.TheKind = static_cast<TypeTestResolution::Kind>(Record[Slot++]); in parseTypeIdSummaryRecord()
6001 TypeId.TTRes.SizeM1BitWidth = Record[Slot++]; in parseTypeIdSummaryRecord()
6002 TypeId.TTRes.AlignLog2 = Record[Slot++]; in parseTypeIdSummaryRecord()
6003 TypeId.TTRes.SizeM1 = Record[Slot++]; in parseTypeIdSummaryRecord()
6004 TypeId.TTRes.BitMask = Record[Slot++]; in parseTypeIdSummaryRecord()
6005 TypeId.TTRes.InlineBits = Record[Slot++]; in parseTypeIdSummaryRecord()
[all …]
/freebsd-12-stable/contrib/googletest/googletest/src/
Dgtest.cc667 TypeId GetTestTypeId() { in GetTestTypeId()
673 extern const TypeId kTestTypeIdInGoogleTest = GetTestTypeId();
2331 const internal::TypeId first_fixture_id = first_test_info->fixture_class_id_; in HasSameFixtureClass()
2336 const internal::TypeId this_fixture_id = this_test_info->fixture_class_id_; in HasSameFixtureClass()
2570 internal::TypeId fixture_class_id, in TestInfo()
2613 TypeId fixture_class_id, in MakeAndRegisterTestInfo()
Dgtest-internal-inl.h78 GTEST_API_ extern const TypeId kTestTypeIdInGoogleTest;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
DMetadata.cpp1465 Metadata *TypeId = MD.second->getOperand(1); in copyMetadata() local
1469 *MDNode::get(getContext(), {NewOffsetMD, TypeId})); in copyMetadata()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
DDwarfUnit.cpp586 if (MDString *TypeId = CTy->getRawIdentifier()) in createTypeDIE() local
587 DD->addDwarfTypeUnitType(getCU(), TypeId->getString(), TyDIE, CTy); in createTypeDIE()

12