Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DBinary.h34 unsigned int TypeID;
104 unsigned int getType() const { return TypeID; } in getType()
108 return TypeID > ID_StartObjects && TypeID < ID_EndObjects; in isObject()
115 bool isArchive() const { return TypeID == ID_Archive; } in isArchive()
118 return TypeID == ID_MachOUniversalBinary; in isMachOUniversalBinary()
121 bool isTapiUniversal() const { return TypeID == ID_TapiUniversal; } in isTapiUniversal()
124 return TypeID >= ID_ELF32L && TypeID <= ID_ELF64B; in isELF()
128 return TypeID >= ID_MachO32L && TypeID <= ID_MachO64B; in isMachO()
132 return TypeID == ID_COFF; in isCOFF()
135 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);
/freebsd/contrib/llvm-project/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.cpp122 int TypeID = TypeIds[J]; in computeActionsTable() local
123 assert(-1 - TypeID < (int)FilterOffsets.size() && "Unknown filter id!"); in computeActionsTable()
125 isFilterEHSelector(TypeID) ? FilterOffsets[-1 - TypeID] : TypeID; in computeActionsTable()
840 unsigned TypeID = *I; in emitTypeInfos() local
843 if (isFilterEHSelector(TypeID)) in emitTypeInfos()
847 Asm->emitULEB128(TypeID); in emitTypeInfos()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DValueList.cpp26 unsigned TypeID) { in assignValue()
28 push_back(V, TypeID); in assignValue()
38 Old.second = TypeID; in assignValue()
27 assignValue(unsigned Idx,Value * V,unsigned TypeID) assignValue() argument
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.cpp740 void callValueTypeCallback(Value *F, unsigned TypeID);
770 unsigned InstNum, Value *&ResVal, unsigned &TypeID, in getValueTypePair() argument
780 TypeID = ValueList.getTypeID(ValNo); in getValueTypePair()
781 ResVal = getFnValueByID(ValNo, nullptr, TypeID, ConstExprInsertBB); in getValueTypePair()
782 assert((!ResVal || ResVal->getType() == getTypeByID(TypeID)) && in getValueTypePair()
789 TypeID = (unsigned)Record[Slot++]; in getValueTypePair()
790 ResVal = getFnValueByID(ValNo, getTypeByID(TypeID), TypeID, in getValueTypePair()
1466 unsigned TypeID = TypeList.size(); in getVirtualTypeID() local
1469 append_range(ContainedTypeIDs[TypeID], ChildTypeIDs); in getVirtualTypeID()
1470 VirtualTypeIDs.insert({CacheKey, TypeID}); in getVirtualTypeID()
[all …]
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/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()
135 /// Return the type id for the type. This will return one of the TypeID enum
137 TypeID getTypeID() const { return ID; } in getTypeID()
441 static Type *getPrimitiveType(LLVMContext &C, TypeID IDNumber);
H A DGlobalObject.h145 void addTypeMetadata(unsigned Offset, Metadata *TypeID);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DWholeProgramDevirt.cpp323 Metadata *TypeID; member
341 return DenseMapInfo<Metadata *>::getHashValue(I.TypeID) ^ in getHashValue()
346 return LHS.TypeID == RHS.TypeID && LHS.ByteOffset == RHS.ByteOffset; in isEqual()
360 return DenseMapInfo<StringRef>::getHashValue(I.TypeID) ^ in getHashValue()
365 return LHS.TypeID == RHS.TypeID && LHS.ByteOffset == RHS.ByteOffset; in isEqual()
785 typeIDVisibleToRegularObj(StringRef TypeID, in typeIDVisibleToRegularObj() argument
790 if (TypeID.ends_with(".virtual")) in typeIDVisibleToRegularObj()
796 if (!TypeID.consume_front("_ZTS")) in typeIDVisibleToRegularObj()
804 std::string typeInfo = ("_ZTI" + TypeID).str(); in typeIDVisibleToRegularObj()
815 if (auto *TypeID = dyn_cast<MDString>(Type->getOperand(1).get())) in skipUpdateDueToValidation() local
[all …]
H A DGlobalDCE.cpp133 Metadata *TypeID = Type->getOperand(1).get(); in ScanVTables() local
140 TypeIdMap[TypeID].insert(std::make_pair(&GV, Offset)); in ScanVTables()
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTBitCodes.h88 using TypeID = uint64_t; variable
94 using LocalTypeID = TypeID;
113 TypeID asTypeID(unsigned FastQuals) const { in asTypeID()
115 return TypeID(-1); in asTypeID()
121 static TypeIdx fromTypeID(TypeID ID) { in fromTypeID()
122 if (ID == TypeID(-1)) in fromTypeID()
125 return TypeIdx(ID >> 32, (ID & llvm::maskTrailingOnes<TypeID>(32)) >> in fromTypeID()
H A DASTRecordReader.h166 serialization::TypeID getGlobalTypeID(serialization::TypeID LocalID) const { in getGlobalTypeID()
H A DASTReader.h879 SmallVector<serialization::TypeID, 16> SpecialTypes;
1114 SmallVector<std::pair<FunctionDecl *, serialization::TypeID>, 16>
1120 SmallVector<std::pair<VarDecl *, serialization::TypeID>, 16>
1424 QualType readTypeRecord(serialization::TypeID ID);
1425 RecordLocation TypeCursorForIndex(serialization::TypeID ID);
1542 translateTypeIDToIndex(serialization::TypeID ID) const;
1889 QualType GetType(serialization::TypeID ID);
1895 serialization::TypeID
H A DASTWriter.h263 serialization::TypeID FirstTypeID = serialization::NUM_PREDEF_TYPE_IDS;
266 serialization::TypeID NextTypeID = FirstTypeID;
722 serialization::TypeID GetOrCreateTypeID(QualType T);
H A DModuleFile.h483 serialization::TypeID BaseTypeIndex = 0;
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DGIMatchTableExecutorImpl.h295 const int64_t TypeID = TyI->second; in executeMatchTable() local
296 if (TypeID < LowerBound || UpperBound <= TypeID) { in executeMatchTable()
300 const auto NumEntry = (TypeID - LowerBound); in executeMatchTable()
692 int TypeID = readS8(); in executeMatchTable() local
696 << "), TypeID=" << TypeID << ")\n"); in executeMatchTable()
699 if (!MO.isReg() || MRI.getType(MO.getReg()) != getTypeFromIdx(TypeID)) { in executeMatchTable()
1247 int TypeID = readS8(); in executeMatchTable() local
1251 unsigned Width = ExecInfo.TypeObjects[TypeID].getScalarSizeInBits(); in executeMatchTable()
1257 << "], TypeID=" << TypeID << ", Imm=" << Imm in executeMatchTable()
1456 int TypeID = readS8(); in executeMatchTable() local
[all …]
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.cpp959 unsigned *TypeID = &TypeMap[Ty]; in EnumerateType() local
962 if (*TypeID) in EnumerateType()
970 *TypeID = ~0U; in EnumerateType()
978 TypeID = &TypeMap[Ty]; in EnumerateType()
985 if (*TypeID && *TypeID != ~0U) in EnumerateType()
991 *TypeID = Types.size(); in EnumerateType()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/BTF/
H A DBTF.h269 uint32_t TypeID; ///< TypeID for the relocation
261 uint32_t TypeID; ///< TypeID for the relocation global() member
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DBinary.cpp37 : TypeID(Type), Data(Source) {} in Binary()
H A DWindowsResource.cpp124 RETURN_IF_ERROR(readStringOrId(Reader, TypeID, Type, IsStringType)); in loadNext()
142 void printResourceTypeName(uint16_t TypeID, raw_ostream &OS) { in printResourceTypeName() argument
143 switch (TypeID) { in printResourceTypeName()
165 default: OS << "ID " << TypeID; break; in printResourceTypeName()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DYAMLParser.h178 unsigned int getType() const { return TypeID; } in getType()
187 unsigned int TypeID;
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DWholeProgramDevirt.h239 StringRef TypeID; member

12