Home
last modified time | relevance | path

Searched refs:TypeID (Results 1 – 25 of 46) sorted by relevance

12

/openbsd-src/gnu/llvm/llvm/include/llvm/Object/
H A DBinary.h34 unsigned int TypeID;
103 unsigned int getType() const { return TypeID; } in getType()
107 return TypeID > ID_StartObjects && TypeID < ID_EndObjects; in isObject()
114 bool isArchive() const { return TypeID == ID_Archive; } in isArchive()
117 return TypeID == ID_MachOUniversalBinary; in isMachOUniversalBinary()
120 bool isTapiUniversal() const { return TypeID == ID_TapiUniversal; } in isTapiUniversal()
123 return TypeID >= ID_ELF32L && TypeID <= ID_ELF64B; in isELF()
127 return TypeID >= ID_MachO32L && TypeID <= ID_MachO64B; in isMachO()
131 return TypeID == ID_COFF; in isCOFF()
134 bool isXCOFF() const { return TypeID == ID_XCOFF32 || TypeID == ID_XCOFF64; } in isXCOFF()
[all …]
H A DWindowsResource.h69 support::ulittle16_t TypeID; member
75 TypeID = ID; in setType()
103 uint16_t getTypeID() const { return TypeID; } in getTypeID()
128 uint16_t TypeID; variable
265 void printResourceTypeName(uint16_t TypeID, raw_ostream &OS);
/openbsd-src/gnu/llvm/llvm/tools/dsymutil/
H A DCFBundle.cpp151 auto PrintError = [&](CFTypeID TypeID) { in getBundleInfo() argument
152 CFString TypeIDCFStr(::CFCopyTypeIDDescription(TypeID)); in getBundleInfo()
164 CFTypeID TypeID = ::CFGetTypeID(TypeRef); in getBundleInfo() local
165 if (TypeID == ::CFStringGetTypeID()) in getBundleInfo()
168 PrintError(TypeID); in getBundleInfo()
172 CFTypeID TypeID = ::CFGetTypeID(TypeRef); in getBundleInfo() local
173 if (TypeID == ::CFStringGetTypeID()) in getBundleInfo()
176 PrintError(TypeID); in getBundleInfo()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DARMException.cpp122 unsigned TypeID = *I; in emitTypeInfos() local
125 if (TypeID != 0) in emitTypeInfos()
129 Asm->emitTTypeReference((TypeID == 0 ? nullptr : TypeInfos[TypeID - 1]), in emitTypeInfos()
H A DEHStreamer.cpp123 int TypeID = TypeIds[J]; in computeActionsTable() local
124 assert(-1 - TypeID < (int)FilterOffsets.size() && "Unknown filter id!"); in computeActionsTable()
126 isFilterEHSelector(TypeID) ? FilterOffsets[-1 - TypeID] : TypeID; in computeActionsTable()
841 unsigned TypeID = *I; in emitTypeInfos() local
844 if (isFilterEHSelector(TypeID)) in emitTypeInfos()
848 Asm->emitULEB128(TypeID); in emitTypeInfos()
/openbsd-src/gnu/llvm/llvm/lib/Bitcode/Reader/
H A DValueList.cpp27 unsigned TypeID) { in assignValue() argument
29 push_back(V, TypeID); in assignValue()
39 Old.second = TypeID; in assignValue()
H A DValueList.h52 void push_back(Value *V, unsigned TypeID) { in push_back() argument
53 ValuePtrs.emplace_back(V, TypeID); in push_back()
89 Error assignValue(unsigned Idx, Value *V, unsigned TypeID);
H A DBitcodeReader.cpp713 void callValueTypeCallback(Value *F, unsigned TypeID);
743 unsigned InstNum, Value *&ResVal, unsigned &TypeID, in getValueTypePair() argument
753 TypeID = ValueList.getTypeID(ValNo); in getValueTypePair()
754 ResVal = getFnValueByID(ValNo, nullptr, TypeID, ConstExprInsertBB); in getValueTypePair()
755 assert((!ResVal || ResVal->getType() == getTypeByID(TypeID)) && in getValueTypePair()
762 TypeID = (unsigned)Record[Slot++]; in getValueTypePair()
763 ResVal = getFnValueByID(ValNo, getTypeByID(TypeID), TypeID, in getValueTypePair()
1394 unsigned TypeID = TypeList.size(); in getVirtualTypeID() local
1397 append_range(ContainedTypeIDs[TypeID], ChildTypeIDs); in getVirtualTypeID()
1398 VirtualTypeIDs.insert({CacheKey, TypeID}); in getVirtualTypeID()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/Mips/
H A DMips16HardFloat.cpp103 using TypeID = Type::TypeID; typedef
104 const Type::TypeID FloatTyID = Type::FloatTyID;
105 const Type::TypeID DoubleTyID = Type::DoubleTyID;
112 TypeID ArgTypeID = F.getFunctionType()->getParamType(0)->getTypeID(); in whichFPParamVariantNeeded()
123 TypeID ArgTypeID0 = F.getFunctionType()->getParamType(0)->getTypeID(); in whichFPParamVariantNeeded()
124 TypeID ArgTypeID1 = F.getFunctionType()->getParamType(1)->getTypeID(); in whichFPParamVariantNeeded()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DType.h54 enum TypeID { enum
86 TypeID ID : 8; // The current base type of this type.
94 explicit Type(LLVMContext &C, TypeID tid) in Type()
137 TypeID getTypeID() const { return ID; } in getTypeID()
445 static Type *getPrimitiveType(LLVMContext &C, TypeID IDNumber);
H A DGlobalObject.h137 void addTypeMetadata(unsigned Offset, Metadata *TypeID);
/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DWholeProgramDevirt.cpp326 Metadata *TypeID; member
344 return DenseMapInfo<Metadata *>::getHashValue(I.TypeID) ^ in getHashValue()
349 return LHS.TypeID == RHS.TypeID && LHS.ByteOffset == RHS.ByteOffset; in isEqual()
363 return DenseMapInfo<StringRef>::getHashValue(I.TypeID) ^ in getHashValue()
368 return LHS.TypeID == RHS.TypeID && LHS.ByteOffset == RHS.ByteOffset; in isEqual()
875 auto *TIdSum = Summary.getTypeIdSummary(SlotSummary.TypeID); in updateIndexWPDForExports()
979 auto TypeID = Type->getOperand(1).get(); in buildTypeIdentifierMap() local
986 TypeIdMap[TypeID].insert({BitsPtr, Offset}); in buildTypeIdentifierMap()
1342 if (isa<MDString>(Slot.TypeID)) { in tryICallBranchFunnel()
1518 OS << cast<MDString>(Slot.TypeID)->getString() << '_' << Slot.ByteOffset; in getGlobalName()
[all …]
H A DGlobalDCE.cpp182 Metadata *TypeID = Type->getOperand(1).get(); in ScanVTables() local
189 TypeIdMap[TypeID].insert(std::make_pair(&GV, Offset)); in ScanVTables()
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/GlobalISel/
H A DInstructionSelectorImpl.h240 const int64_t TypeID = TyI->second; in executeMatchTable() local
241 if (TypeID < LowerBound || UpperBound <= TypeID) { in executeMatchTable()
245 CurrentIdx = MatchTable[CurrentIdx + (TypeID - LowerBound)]; in executeMatchTable()
601 int64_t TypeID = MatchTable[CurrentIdx++]; in executeMatchTable() local
605 << "), TypeID=" << TypeID << ")\n"); in executeMatchTable()
609 MRI.getType(MO.getReg()) != ISelInfo.TypeObjects[TypeID]) { in executeMatchTable()
1143 int64_t TypeID = MatchTable[CurrentIdx++]; in executeMatchTable() local
1146 MRI.createGenericVirtualRegister(ISelInfo.TypeObjects[TypeID]); in executeMatchTable()
1149 << "] = GIR_MakeTempReg(" << TypeID << ")\n"); in executeMatchTable()
/openbsd-src/gnu/llvm/clang/include/clang/Serialization/
H A DASTBitCodes.h85 using TypeID = uint32_t; variable
97 TypeID asTypeID(unsigned FastQuals) const { in asTypeID()
99 return TypeID(-1); in asTypeID()
104 static TypeIdx fromTypeID(TypeID ID) { in fromTypeID()
105 if (ID == TypeID(-1)) in fromTypeID()
H A DASTWriter.h230 serialization::TypeID FirstTypeID = serialization::NUM_PREDEF_TYPE_IDS;
233 serialization::TypeID NextTypeID = FirstTypeID;
648 serialization::TypeID GetOrCreateTypeID(QualType T);
651 serialization::TypeID getTypeID(QualType T) const;
H A DModuleFile.h494 serialization::TypeID BaseTypeIndex = 0;
H A DASTReader.h491 ContinuousRangeMap<serialization::TypeID, ModuleFile *, 4>;
863 SmallVector<serialization::TypeID, 16> SpecialTypes;
1103 SmallVector<std::pair<FunctionDecl *, serialization::TypeID>, 16>
1849 QualType GetType(serialization::TypeID ID);
1855 serialization::TypeID getGlobalTypeID(ModuleFile &F, unsigned LocalID) const;
/openbsd-src/gnu/llvm/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.cpp923 unsigned *TypeID = &TypeMap[Ty]; in EnumerateType() local
926 if (*TypeID) in EnumerateType()
934 *TypeID = ~0U; in EnumerateType()
942 TypeID = &TypeMap[Ty]; in EnumerateType()
949 if (*TypeID && *TypeID != ~0U) in EnumerateType()
955 *TypeID = Types.size(); in EnumerateType()
/openbsd-src/gnu/llvm/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILValueEnumerator.cpp927 unsigned *TypeID = &TypeMap[Ty]; in EnumerateType() local
930 if (*TypeID) in EnumerateType()
938 *TypeID = ~0U; in EnumerateType()
946 TypeID = &TypeMap[Ty]; in EnumerateType()
953 if (*TypeID && *TypeID != ~0U) in EnumerateType()
959 *TypeID = Types.size(); in EnumerateType()
/openbsd-src/gnu/llvm/clang/lib/Serialization/
H A DASTCommon.h50 TypeID MakeTypeID(ASTContext &Context, QualType T, IdxForTypeTy IdxForType) { in MakeTypeID()
/openbsd-src/gnu/llvm/llvm/lib/Target/BPF/
H A DBTF.h259 uint32_t TypeID; ///< TypeID for the relocation member
/openbsd-src/gnu/llvm/llvm/lib/Object/
H A DBinary.cpp37 : TypeID(Type), Data(Source) {} in Binary()
H A DWindowsResource.cpp123 RETURN_IF_ERROR(readStringOrId(Reader, TypeID, Type, IsStringType)); in loadNext()
141 void printResourceTypeName(uint16_t TypeID, raw_ostream &OS) { in printResourceTypeName() argument
142 switch (TypeID) { in printResourceTypeName()
164 default: OS << "ID " << TypeID; break; in printResourceTypeName()
/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DYAMLParser.h178 unsigned int getType() const { return TypeID; } in getType()
187 unsigned int TypeID;

12