Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DBinary.h35 unsigned int TypeID;
105 unsigned int getType() const { return TypeID; } in getType()
109 return TypeID > ID_StartObjects && TypeID < ID_EndObjects; in isObject()
116 bool isArchive() const { return TypeID == ID_Archive; } in isArchive()
119 return TypeID == ID_MachOUniversalBinary; in isMachOUniversalBinary()
122 bool isTapiUniversal() const { return TypeID == ID_TapiUniversal; } in isTapiUniversal()
125 return TypeID >= ID_ELF32L && TypeID <= ID_ELF64B; in isELF()
129 return TypeID >= ID_MachO32L && TypeID <= ID_MachO64B; in isMachO()
133 return TypeID == ID_COFF; in isCOFF()
136 bool isXCOFF() const { return TypeID == ID_XCOFF32 || TypeID == ID_XCOFF64; } in isXCOFF()
[all …]
H A DWindowsResource.h70 support::ulittle16_t TypeID; member
76 TypeID = ID; in setType()
104 uint16_t getTypeID() const { return TypeID; } in getTypeID()
129 uint16_t TypeID; variable
267 LLVM_ABI 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.cpp121 int TypeID = TypeIds[J]; in computeActionsTable() local
122 assert(-1 - TypeID < (int)FilterOffsets.size() && "Unknown filter id!"); in computeActionsTable()
124 isFilterEHSelector(TypeID) ? FilterOffsets[-1 - TypeID] : TypeID; in computeActionsTable()
839 unsigned TypeID = *I; in emitTypeInfos() local
842 if (isFilterEHSelector(TypeID)) in emitTypeInfos()
846 Asm->emitULEB128(TypeID); in emitTypeInfos()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DValueList.cpp22 unsigned TypeID) { in assignValue() argument
24 push_back(V, TypeID); in assignValue()
34 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.cpp725 void callValueTypeCallback(Value *F, unsigned TypeID);
755 unsigned InstNum, Value *&ResVal, unsigned &TypeID, in getValueTypePair() argument
765 TypeID = ValueList.getTypeID(ValNo); in getValueTypePair()
766 ResVal = getFnValueByID(ValNo, nullptr, TypeID, ConstExprInsertBB); in getValueTypePair()
767 assert((!ResVal || ResVal->getType() == getTypeByID(TypeID)) && in getValueTypePair()
774 TypeID = (unsigned)Record[Slot++]; in getValueTypePair()
775 ResVal = getFnValueByID(ValNo, getTypeByID(TypeID), TypeID, in getValueTypePair()
1481 unsigned TypeID = TypeList.size(); in getVirtualTypeID() local
1484 append_range(ContainedTypeIDs[TypeID], ChildTypeIDs); in getVirtualTypeID()
1485 VirtualTypeIDs.insert({CacheKey, TypeID}); in getVirtualTypeID()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMips16HardFloat.cpp102 using TypeID = Type::TypeID; typedef
103 const Type::TypeID FloatTyID = Type::FloatTyID;
104 const Type::TypeID DoubleTyID = Type::DoubleTyID;
111 TypeID ArgTypeID = F.getFunctionType()->getParamType(0)->getTypeID(); in whichFPParamVariantNeeded()
122 TypeID ArgTypeID0 = F.getFunctionType()->getParamType(0)->getTypeID(); in whichFPParamVariantNeeded()
123 TypeID ArgTypeID1 = F.getFunctionType()->getParamType(1)->getTypeID(); in whichFPParamVariantNeeded()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DIR2Vec.cpp236 const Embedding &Vocabulary::operator[](Type::TypeID TypeId) const { in operator []()
257 StringRef Vocabulary::getVocabKeyForTypeID(Type::TypeID TypeID) { in getVocabKeyForTypeID() argument
258 switch (TypeID) { in getVocabKeyForTypeID()
334 return getVocabKeyForTypeID(static_cast<Type::TypeID>(Pos - MaxOpcodes)); in getStringKey()
453 for (unsigned TypeID : seq(0u, Vocabulary::MaxTypeIDs)) { in generateNumMappedVocab() local
455 Vocabulary::getVocabKeyForTypeID(static_cast<Type::TypeID>(TypeID)); in generateNumMappedVocab()
457 NumericTypeEmbeddings[TypeID] = It->second; in generateNumMappedVocab()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DType.h54 enum TypeID { enum
85 TypeID ID : 8; // The current base type of this type.
93 explicit Type(LLVMContext &C, TypeID tid) in Type()
136 TypeID getTypeID() const { return ID; } in getTypeID()
434 LLVM_ABI static Type *getPrimitiveType(LLVMContext &C, TypeID IDNumber);
H A DGlobalObject.h147 LLVM_ABI void addTypeMetadata(unsigned Offset, Metadata *TypeID);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DWholeProgramDevirt.cpp357 Metadata *TypeID; member
375 return DenseMapInfo<Metadata *>::getHashValue(I.TypeID) ^ in getHashValue()
380 return LHS.TypeID == RHS.TypeID && LHS.ByteOffset == RHS.ByteOffset; in isEqual()
394 return DenseMapInfo<StringRef>::getHashValue(I.TypeID) ^ in getHashValue()
399 return LHS.TypeID == RHS.TypeID && LHS.ByteOffset == RHS.ByteOffset; in isEqual()
816 typeIDVisibleToRegularObj(StringRef TypeID, in typeIDVisibleToRegularObj() argument
821 if (TypeID.ends_with(".virtual")) in typeIDVisibleToRegularObj()
827 if (!TypeID.consume_front("_ZTS")) in typeIDVisibleToRegularObj()
835 std::string typeInfo = ("_ZTI" + TypeID).str(); in typeIDVisibleToRegularObj()
846 if (auto *TypeID = dyn_cast<MDString>(Type->getOperand(1).get())) in skipUpdateDueToValidation() local
[all …]
H A DGlobalDCE.cpp130 Metadata *TypeID = Type->getOperand(1).get(); in ScanVTables() local
137 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.h165 serialization::TypeID getGlobalTypeID(serialization::TypeID LocalID) const { in getGlobalTypeID()
H A DASTReader.h987 SmallVector<serialization::TypeID, 16> SpecialTypes;
1236 SmallVector<std::pair<FunctionDecl *, serialization::TypeID>, 16>
1242 SmallVector<std::pair<VarDecl *, serialization::TypeID>, 16>
1609 QualType readTypeRecord(serialization::TypeID ID);
1610 RecordLocation TypeCursorForIndex(serialization::TypeID ID);
1727 translateTypeIDToIndex(serialization::TypeID ID) const;
2077 QualType GetType(serialization::TypeID ID);
2083 serialization::TypeID
H A DModuleFile.h489 serialization::TypeID BaseTypeIndex = 0;
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DIR2Vec.h161 static constexpr unsigned MaxTypeIDs = Type::TypeID::TargetExtTyID + 1;
177 static StringRef getVocabKeyForTypeID(Type::TypeID TypeID);
187 const ir2vec::Embedding &operator[](Type::TypeID TypeId) const;
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DGIMatchTableExecutorImpl.h296 const int64_t TypeID = TyI->second; in executeMatchTable() local
297 if (TypeID < LowerBound || UpperBound <= TypeID) { in executeMatchTable()
301 const auto NumEntry = (TypeID - LowerBound); in executeMatchTable()
730 int TypeID = readS8(); in executeMatchTable() local
734 << "), TypeID=" << TypeID << ")\n"); in executeMatchTable()
737 if (!MO.isReg() || MRI.getType(MO.getReg()) != getTypeFromIdx(TypeID)) { in executeMatchTable()
1301 int TypeID = readS8(); in executeMatchTable() local
1305 unsigned Width = ExecInfo.TypeObjects[TypeID].getScalarSizeInBits(); in executeMatchTable()
1311 << "], TypeID=" << TypeID << ", Imm=" << Imm in executeMatchTable()
1510 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.cpp962 unsigned *TypeID = &TypeMap[Ty]; in EnumerateType() local
965 if (*TypeID) in EnumerateType()
973 *TypeID = ~0U; in EnumerateType()
981 TypeID = &TypeMap[Ty]; in EnumerateType()
988 if (*TypeID && *TypeID != ~0U) in EnumerateType()
994 *TypeID = Types.size(); in EnumerateType()
/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/DebugInfo/BTF/
H A DBTF.h269 uint32_t TypeID; ///< TypeID for the relocation member
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DYAMLParser.h180 unsigned int getType() const { return TypeID; } in getType()
189 unsigned int TypeID;

12