Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBTFDebug.cpp339 BTFType.Type = TypeId; in BTFKindVar()
456 uint32_t &TypeId) { in visitSubroutineType() argument
534 TypeId = ElemTypeId; in visitArrayType()
574 visitArrayType(CTy, TypeId); in visitCompositeType()
576 visitEnumType(CTy, TypeId); in visitCompositeType()
633 TypeId = DIToIdMap[Ty]; in visitTypeEntry()
670 visitBasicType(BTy, TypeId); in visitTypeEntry()
673 TypeId); in visitTypeEntry()
683 uint32_t TypeId; in visitTypeEntry() local
689 TypeId = DIToIdMap[Ty]; in visitMapDefType()
[all …]
H A DBTFDebug.h173 BTFKindVar(StringRef VarName, uint32_t TypeId, uint32_t VarInfo);
230 uint32_t TypeId; ///< Type id referring to .BTF type section member
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);
297 void visitDerivedType(const DIDerivedType *DTy, uint32_t &TypeId,
[all …]
H A DBTF.h220 uint32_t TypeId; ///< Type id referring to .BTF type section member
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A 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()
H A DLowerTypeTests.cpp452 TypeIdLowering importTypeId(StringRef TypeId);
458 buildBitSet(Metadata *TypeId,
566 Metadata *TypeId, in buildBitSet() argument
574 if (Type->getOperand(1) != TypeId) in buildBitSet()
706 if (Type->getOperand(1) != TypeId) in isKnownTypeIdMember()
751 if (isKnownTypeIdMember(TypeId, DL, Ptr, 0)) in lowerTypeTestCall()
1131 for (Metadata *TypeId : TypeIds) { in lowerTypeTestCalls()
1135 if (auto MDS = dyn_cast<MDString>(TypeId)) in lowerTypeTestCalls()
1169 TypeIdUserInfo &TIUI = TypeIdUsers[TypeId]; in lowerTypeTestCalls()
2089 auto TypeId = TypeIdMDVal->getMetadata(); in lower() local
[all …]
H A 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()
H A 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()
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()
2081 if (auto *TypeId = dyn_cast<MDString>(P.first)) in run() local
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAny.h32 template <typename T> struct TypeId { static const char Id; }; struct
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-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h1447 TypeIdSummary &getOrInsertTypeIdSummary(StringRef TypeId) {
1450 if (It->second.first == TypeId)
1453 {GlobalValue::getGUID(TypeId), {std::string(TypeId), TypeIdSummary()}});
1459 const TypeIdSummary *getTypeIdSummary(StringRef TypeId) const {
1462 if (It->second.first == TypeId)
1467 TypeIdSummary *getTypeIdSummary(StringRef TypeId) {
1470 TypeId));
1481 getOrInsertTypeIdCompatibleVtableSummary(StringRef TypeId) {
1482 return TypeIdCompatibleVtableMap[std::string(TypeId)];
1488 getTypeIdCompatibleVtableSummary(StringRef TypeId) const {
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A 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-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DGlobalDCE.h63 void ScanVTableLoad(Function *Caller, Metadata *TypeId, uint64_t CallOffset);
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DPrettyFunctionDumper.cpp229 uint32_t TypeId = Symbol.getTypeId(); in dump() local
230 auto Type = Symbol.getSession().getSymbolById(TypeId); in dump()
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/PDB/
H A DUDTLayout.cpp36 uint32_t TypeId = RawSymbol.getTypeId(); in getSymbolType() local
37 return Session.getSymbolById(TypeId); in getSymbolType()
/freebsd-13.1/contrib/subversion/subversion/libsvn_subr/
H A Dwin32_crashrpt_dll.h45 ULONG TypeId, IMAGEHLP_SYMBOL_TYPE_INFO GetType,
/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/MCParser/
H A 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-13.1/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-internal.h417 typedef const void* TypeId; typedef
435 TypeId GetTypeId() { in GetTypeId()
448 GTEST_API_ TypeId GetTestTypeId();
524 TypeId fixture_class_id,
H A Dgtest-param-util.h473 virtual TypeId GetTestCaseTypeId() const = 0;
512 virtual TypeId GetTestCaseTypeId() const { return GetTypeId<TestCase>(); } in GetTestCaseTypeId()
/freebsd-13.1/contrib/googletest/googletest/include/gtest/
H A 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-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A 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()
H A 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-13.1/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp5980 WholeProgramDevirtResolution &Wpd = TypeId.WPDRes[Id]; in parseWholeProgramDevirtResolution()
5996 TypeIdSummary &TypeId = TheIndex.getOrInsertTypeIdSummary( in parseTypeIdSummaryRecord() local
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()
6048 TypeIdCompatibleVtableInfo &TypeId) { in parseTypeIdCompatibleVtableInfo() argument
6051 TypeId.push_back({Offset, Callee}); in parseTypeIdCompatibleVtableInfo()
6057 TypeIdCompatibleVtableInfo &TypeId = in parseTypeIdCompatibleVtableSummaryRecord() local
[all …]
/freebsd-13.1/contrib/googletest/googletest/src/
H A 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()
H A Dgtest-internal-inl.h78 GTEST_API_ extern const TypeId kTestTypeIdInGoogleTest;
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DMetadata.cpp1465 Metadata *TypeId = MD.second->getOperand(1); in copyMetadata() local
1469 *MDNode::get(getContext(), {NewOffsetMD, TypeId})); in copyMetadata()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.cpp586 if (MDString *TypeId = CTy->getRawIdentifier()) in createTypeDIE() local
587 DD->addDwarfTypeUnitType(getCU(), TypeId->getString(), TyDIE, CTy); in createTypeDIE()

12