HomeSort by: relevance | last modified time | path
    Searched refs:TypeId (Results 1 - 25 of 26) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/llvm/lib/Target/BPF/
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...]
BTF.h 220 uint32_t TypeId; ///< Type id referring to .BTF type section
247 uint32_t TypeID; ///< TypeID for the relocation
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
CrossDSOCFI.cpp 89 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);
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...]
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...]
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/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/include/llvm/Transforms/IPO/
GlobalDCE.h 63 void ScanVTableLoad(Function *Caller, Metadata *TypeId, uint64_t CallOffset);
  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
ModuleSummaryIndex.h 976 /// (typeid, byte offset) pair.
1442 /// Return an existing or new TypeIdSummary entry for \p TypeId.
1445 TypeIdSummary &getOrInsertTypeIdSummary(StringRef TypeId) {
1446 auto TidIter = TypeIdMap.equal_range(GlobalValue::getGUID(TypeId));
1448 if (It->second.first == TypeId)
1451 {GlobalValue::getGUID(TypeId), {std::string(TypeId), TypeIdSummary()}});
1457 const TypeIdSummary *getTypeIdSummary(StringRef TypeId) const {
1458 auto TidIter = TypeIdMap.equal_range(GlobalValue::getGUID(TypeId));
1460 if (It->second.first == 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/lib/DebugInfo/PDB/
UDTLayout.cpp 36 uint32_t TypeId = RawSymbol.getTypeId();
37 return Session.getSymbolById(TypeId);
  /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/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/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,
gtest-param-util.h 461 virtual TypeId GetTestSuiteTypeId() const = 0;
502 TypeId GetTestSuiteTypeId() const override { return GetTypeId<TestSuite>(); }
  /src/external/apache2/llvm/dist/llvm/utils/unittest/googletest/include/gtest/
gtest.h 774 internal::TypeId fixture_class_id, internal::SetUpTestSuiteFunc set_up_tc,
784 internal::TypeId fixture_class_id,
811 const internal::TypeId fixture_class_id_; // ID of the test fixture class
  /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...]
  /src/external/apache2/llvm/dist/llvm/utils/unittest/googletest/src/
gtest-internal-inl.h 79 GTEST_API_ extern const TypeId kTestTypeIdInGoogleTest;
gtest.cc 641 TypeId GetTestTypeId() {
647 extern const TypeId kTestTypeIdInGoogleTest = GetTestTypeId();
2306 const internal::TypeId first_fixture_id = first_test_info->fixture_class_id_;
2311 const internal::TypeId this_fixture_id = this_test_info->fixture_class_id_;
2544 internal::TypeId fixture_class_id,
2584 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});
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
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});
  /src/external/apache2/llvm/dist/llvm/lib/IR/
Metadata.cpp 1459 Metadata *TypeId = MD.second->getOperand(1);
1463 *MDNode::get(getContext(), {NewOffsetMD, TypeId}));
1492 void GlobalObject::addTypeMetadata(unsigned Offset, Metadata *TypeID) {
1498 TypeID}));
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
DwarfUnit.cpp 585 if (MDString *TypeId = CTy->getRawIdentifier())
586 DD->addDwarfTypeUnitType(getCU(), TypeId->getString(), TyDIE, CTy);

Completed in 123 milliseconds

1 2