Searched refs:TypeId (Results 1 - 22 of 22) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBTFDebug.cpp329 BTFKindVar::BTFKindVar(StringRef VarName, uint32_t TypeId, uint32_t VarInfo) argument
333 BTFType.Type = TypeId;
405 void BTFDebug::visitBasicType(const DIBasicType *BTy, uint32_t &TypeId) { argument
418 TypeId = addType(std::move(TypeEntry), BTy);
425 uint32_t &TypeId) {
437 TypeId = addType(std::move(TypeEntry)); // For subprogram
439 TypeId = addType(std::move(TypeEntry), STy); // For func ptr
449 uint32_t &TypeId) {
468 TypeId = addType(std::move(TypeEntry), CTy);
475 void BTFDebug::visitArrayType(const DICompositeType *CTy, uint32_t &TypeId) { argument
422 visitSubroutineType( const DISubroutineType *STy, bool ForSubprog, const std::unordered_map<uint32_t, StringRef> &FuncArgNames, uint32_t &TypeId) argument
448 visitStructType(const DICompositeType *CTy, bool IsStruct, uint32_t &TypeId) argument
514 visitEnumType(const DICompositeType *CTy, uint32_t &TypeId) argument
526 visitFwdDeclType(const DICompositeType *CTy, bool IsUnion, uint32_t &TypeId) argument
533 visitCompositeType(const DICompositeType *CTy, uint32_t &TypeId) argument
549 visitDerivedType(const DIDerivedType *DTy, uint32_t &TypeId, bool CheckPointer, bool SeenPointer) argument
599 visitTypeEntry(const DIType *Ty, uint32_t &TypeId, bool CheckPointer, bool SeenPointer) argument
652 uint32_t TypeId; local
656 visitMapDefType(const DIType *Ty, uint32_t &TypeId) argument
[all...]
H A DBTFDebug.h167 BTFKindVar(StringRef VarName, uint32_t TypeId, uint32_t VarInfo);
215 uint32_t TypeId; ///< Type id referring to .BTF type section member in struct:llvm::BTFFuncInfo
268 void visitTypeEntry(const DIType *Ty, uint32_t &TypeId, bool CheckPointer,
270 void visitBasicType(const DIBasicType *BTy, uint32_t &TypeId);
274 uint32_t &TypeId);
276 uint32_t &TypeId);
277 void visitCompositeType(const DICompositeType *CTy, uint32_t &TypeId);
279 uint32_t &TypeId);
280 void visitArrayType(const DICompositeType *ATy, uint32_t &TypeId);
281 void visitEnumType(const DICompositeType *ETy, uint32_t &TypeId);
[all...]
H A DBTF.h220 uint32_t TypeId; ///< Type id referring to .BTF type section member in struct:llvm::BTF::BPFFuncInfo
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DCrossDSOCFI.cpp89 if (ConstantInt *TypeId = extractNumericTypeId(Type))
90 TypeIds.insert(TypeId->getZExtValue());
98 if (ConstantInt *TypeId =
100 TypeIds.insert(TypeId->getZExtValue());
143 for (uint64_t TypeId : TypeIds) {
144 ConstantInt *CaseTypeId = ConstantInt::get(Type::getInt64Ty(Ctx), TypeId);
H A DLowerTypeTests.cpp444 uint8_t *exportTypeId(StringRef TypeId, const TypeIdLowering &TIL);
445 TypeIdLowering importTypeId(StringRef TypeId);
451 buildBitSet(Metadata *TypeId,
460 Value *lowerTypeTestCall(Metadata *TypeId, CallInst *CI,
551 /// Build a bit set for TypeId using the object layouts in
554 Metadata *TypeId,
562 if (Type->getOperand(1) != TypeId)
688 static bool isKnownTypeIdMember(Metadata *TypeId, const DataLayout &DL, argument
694 if (Type->getOperand(1) != TypeId)
712 return isKnownTypeIdMember(TypeId, D
553 buildBitSet( Metadata *TypeId, const DenseMap<GlobalTypeMember *, uint64_t> &GlobalLayout) argument
729 lowerTypeTestCall(Metadata *TypeId, CallInst *CI, const TypeIdLowering &TIL) argument
902 exportTypeId(StringRef TypeId, const TypeIdLowering &TIL) argument
953 importTypeId(StringRef TypeId) argument
2006 auto TypeId = TypeIdMDVal->getMetadata(); local
[all...]
H A DGlobalDCE.cpp205 void GlobalDCEPass::ScanVTableLoad(Function *Caller, Metadata *TypeId, argument
207 for (auto &VTableInfo : TypeIdMap[TypeId]) {
248 auto *TypeId = cast<MetadataAsValue>(TypeIdValue)->getMetadata(); local
251 ScanVTableLoad(CI->getFunction(), TypeId, Offset->getZExtValue());
255 for (auto &VTableInfo : TypeIdMap[TypeId]) {
H A DWholeProgramDevirt.cpp1587 Metadata *TypeId = local
1597 CallSlots[{TypeId, Call.Offset}].addCallSite(Ptr, Call.CS, nullptr);
1625 Metadata *TypeId = cast<MetadataAsValue>(TypeIdValue)->getMetadata(); local
1683 CallSlots[{TypeId, Call.Offset}].addCallSite(Ptr, Call.CS,
1692 auto *TypeId = dyn_cast<MDString>(Slot.TypeID); local
1693 if (!TypeId)
1696 ImportSummary->getTypeIdSummary(TypeId->getString());
1827 if (auto *TypeId = dyn_cast<MDString>(P.first))
1828 MetadataByGUID[GlobalValue::getGUID(TypeId->getString())].push_back(
1829 TypeId);
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAny.h27 template <typename T> struct TypeId { static const char Id; }; struct in class:llvm::Any
44 const void *id() const override { return &TypeId<T>::Id; }
111 template <typename T> const char Any::TypeId<T>::Id = 0;
119 return Value.Storage->id() == &Any::TypeId<U>::Id;
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DGlobalDCE.h63 void ScanVTableLoad(Function *Caller, Metadata *TypeId, uint64_t CallOffset);
/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/
H A Dwin32_crashrpt_dll.h45 ULONG TypeId, IMAGEHLP_SYMBOL_TYPE_INFO GetType,
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h1304 /// Return an existing or new TypeIdSummary entry for \p TypeId.
1307 TypeIdSummary &getOrInsertTypeIdSummary(StringRef TypeId) { argument
1308 auto TidIter = TypeIdMap.equal_range(GlobalValue::getGUID(TypeId));
1310 if (It->second.first == TypeId)
1313 {GlobalValue::getGUID(TypeId), {TypeId, TypeIdSummary()}});
1319 const TypeIdSummary *getTypeIdSummary(StringRef TypeId) const {
1320 auto TidIter = TypeIdMap.equal_range(GlobalValue::getGUID(TypeId));
1322 if (It->second.first == TypeId)
1327 TypeIdSummary *getTypeIdSummary(StringRef TypeId) { argument
1342 getOrInsertTypeIdCompatibleVtableSummary(StringRef TypeId) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DModuleSummaryAnalysis.cpp171 auto *TypeId = dyn_cast<MDString>(TypeMDVal->getMetadata()); local
172 if (!TypeId)
174 GlobalValue::GUID Guid = GlobalValue::getGUID(TypeId->getString());
202 auto *TypeId = dyn_cast<MDString>(TypeMDVal->getMetadata()); local
203 if (!TypeId)
205 GlobalValue::GUID Guid = GlobalValue::getGUID(TypeId->getString());
564 if (auto *TypeId = dyn_cast<MDString>(TypeID))
565 Index.getOrInsertTypeIdCompatibleVtableSummary(TypeId->getString())
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DPrettyFunctionDumper.cpp229 uint32_t TypeId = Symbol.getTypeId(); local
230 auto Type = Symbol.getSession().getSymbolById(TypeId);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/
H A DUDTLayout.cpp36 uint32_t TypeId = RawSymbol.getTypeId(); local
37 return Session.getSymbolById(TypeId);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DCOFFAsmParser.cpp559 StringRef TypeId = getTok().getIdentifier(); local
561 Type = StringSwitch<COFF::COMDATType>(TypeId)
572 return TokError(Twine("unrecognized COMDAT type '" + TypeId + "'"));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp833 TypeIdCompatibleVtableInfo &TypeId);
5692 TypeIdSummary &TypeId) {
5694 WholeProgramDevirtResolution &Wpd = TypeId.WPDRes[Id];
5710 TypeIdSummary &TypeId = TheIndex.getOrInsertTypeIdSummary( local
5714 TypeId.TTRes.TheKind = static_cast<TypeTestResolution::Kind>(Record[Slot++]);
5715 TypeId.TTRes.SizeM1BitWidth = Record[Slot++];
5716 TypeId.TTRes.AlignLog2 = Record[Slot++];
5717 TypeId.TTRes.SizeM1 = Record[Slot++];
5718 TypeId.TTRes.BitMask = Record[Slot++];
5719 TypeId
5690 parseWholeProgramDevirtResolution(ArrayRef<uint64_t> Record, StringRef Strtab, size_t &Slot, TypeIdSummary &TypeId) argument
5725 parseTypeIdCompatibleVtableInfo( ArrayRef<uint64_t> Record, size_t &Slot, TypeIdCompatibleVtableInfo &TypeId) argument
5736 TypeIdCompatibleVtableInfo &TypeId = local
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGClass.cpp2647 llvm::Value *TypeId = local
2653 {CastedVTable, TypeId});
2756 llvm::Value *TypeId = llvm::MetadataAsValue::get(getLLVMContext(), MD); local
2760 CGM.getIntrinsic(llvm::Intrinsic::type_test), {CastedVTable, TypeId});
2813 llvm::Value *TypeId = llvm::MetadataAsValue::get(CGM.getLLVMContext(), MD); local
2819 TypeId});
H A DItaniumCXXABI.cpp677 llvm::Value *TypeId = nullptr; local
684 TypeId = llvm::MetadataAsValue::get(CGF.getLLVMContext(), MD);
697 {VFPAddr, llvm::ConstantInt::get(CGM.Int32Ty, 0), TypeId});
708 {Builder.CreateBitCast(VFPAddr, CGF.Int8PtrTy), TypeId});
774 llvm::Value *TypeId = local
779 {CastedNonVirtualFn, TypeId});
H A DCGExpr.cpp3133 SanitizerMask Kind, llvm::Value *Cond, llvm::ConstantInt *TypeId,
3163 SlowPathFn, {TypeId, Ptr, Builder.CreateBitCast(InfoPtr, Int8PtrTy)});
3168 CheckCall = Builder.CreateCall(SlowPathFn, {TypeId, Ptr});
4940 llvm::Value *TypeId = llvm::MetadataAsValue::get(getLLVMContext(), MD); local
4945 CGM.getIntrinsic(llvm::Intrinsic::type_test), {CastedCallee, TypeId});
3132 EmitCfiSlowPathCheck( SanitizerMask Kind, llvm::Value *Cond, llvm::ConstantInt *TypeId, llvm::Value *Ptr, ArrayRef<llvm::Constant *> StaticArgs) argument
H A DCodeGenFunction.h4136 llvm::ConstantInt *TypeId, llvm::Value *Ptr,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DMetadata.cpp1461 Metadata *TypeId = MD.second->getOperand(1);
1465 *MDNode::get(getContext(), {NewOffsetMD, TypeId}));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.cpp664 if (MDString *TypeId = CTy->getRawIdentifier())
665 DD->addDwarfTypeUnitType(getCU(), TypeId->getString(), TyDIE, CTy);

Completed in 214 milliseconds