Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/include/llvm/Object/
H A DBinary.h34 unsigned int TypeID;
96 return TypeID > ID_StartObjects && TypeID < ID_EndObjects; in isObject()
102 return TypeID == ID_Archive; in isArchive()
106 return TypeID == ID_MachOUniversalBinary; in isMachOUniversalBinary()
110 return TypeID >= ID_ELF32L && TypeID <= ID_ELF64B; in isELF()
114 return TypeID >= ID_MachO32L && TypeID <= ID_MachO64B; in isMachO()
118 return TypeID == ID_COFF; in isCOFF()
124 return TypeID == ID_COFFImportFile; in isCOFFImportFile()
128 return TypeID == ID_IR; in isIR()
132 return !(TypeID == ID_ELF32B || TypeID == ID_ELF64B || in isLittleEndian()
[all …]
H A DWindowsResource.h65 support::ulittle16_t TypeID; member
71 TypeID = ID; in setType()
99 uint16_t getTypeID() const { return TypeID; } in getTypeID()
123 uint16_t TypeID; variable
/freebsd-12.1/contrib/llvm/lib/CodeGen/AsmPrinter/
H A DARMException.cpp126 unsigned TypeID = *I; in emitTypeInfos() local
129 if (TypeID != 0) in emitTypeInfos()
133 Asm->EmitTTypeReference((TypeID == 0 ? nullptr : TypeInfos[TypeID - 1]), in emitTypeInfos()
H A DEHStreamer.cpp134 int TypeID = TypeIds[J]; in computeActionsTable() local
135 assert(-1 - TypeID < (int)FilterOffsets.size() && "Unknown filter id!"); in computeActionsTable()
137 isFilterEHSelector(TypeID) ? FilterOffsets[-1 - TypeID] : TypeID; in computeActionsTable()
645 unsigned TypeID = *I; in emitTypeInfos() local
648 if (isFilterEHSelector(TypeID)) in emitTypeInfos()
652 Asm->EmitULEB128(TypeID); in emitTypeInfos()
/freebsd-12.1/contrib/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-12.1/contrib/llvm/include/llvm/IR/
H A DType.h55 enum TypeID { enum
83 TypeID ID : 8; // The current base type of this type.
91 explicit Type(LLVMContext &C, TypeID tid) in Type()
113 static bool isSequentialType(TypeID TyID) { in isSequentialType()
138 TypeID getTypeID() const { return ID; } in getTypeID()
390 static Type *getPrimitiveType(LLVMContext &C, TypeID IDNumber);
H A DDerivedTypes.h164 explicit CompositeType(LLVMContext &C, TypeID tid) : Type(C, tid) {} in CompositeType()
348 SequentialType(TypeID TID, Type *ElType, uint64_t NumElements) in SequentialType()
H A DGlobalObject.h161 void addTypeMetadata(unsigned Offset, Metadata *TypeID);
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/GlobalISel/
H A DInstructionSelectorImpl.h214 const int64_t TypeID = TyI->second; in executeMatchTable() local
215 if (TypeID < LowerBound || UpperBound <= TypeID) { in executeMatchTable()
219 CurrentIdx = MatchTable[CurrentIdx + (TypeID - LowerBound)]; in executeMatchTable()
458 int64_t TypeID = MatchTable[CurrentIdx++]; in executeMatchTable() local
462 << "), TypeID=" << TypeID << ")\n"); in executeMatchTable()
466 MRI.getType(MO.getReg()) != ISelInfo.TypeObjects[TypeID]) { in executeMatchTable()
918 int64_t TypeID = MatchTable[CurrentIdx++]; in executeMatchTable() local
921 MRI.createGenericVirtualRegister(ISelInfo.TypeObjects[TypeID]); in executeMatchTable()
924 << "] = GIR_MakeTempReg(" << TypeID << ")\n"); in executeMatchTable()
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DWholeProgramDevirt.cpp242 Metadata *TypeID; member
260 return DenseMapInfo<Metadata *>::getHashValue(I.TypeID) ^ in getHashValue()
265 return LHS.TypeID == RHS.TypeID && LHS.ByteOffset == RHS.ByteOffset; in isEqual()
698 auto TypeID = Type->getOperand(1).get(); in buildTypeIdentifierMap() local
705 TypeIdMap[TypeID].insert({BitsPtr, Offset}); in buildTypeIdentifierMap()
865 if (isa<MDString>(Slot.TypeID)) { in tryICallBranchFunnel()
1038 OS << cast<MDString>(Slot.TypeID)->getString() << '_' << Slot.ByteOffset; in getGlobalName()
1664 if (tryFindVirtualCallTargets(TargetsForSlot, TypeIdMap[S.first.TypeID], in run()
1667 if (ExportSummary && isa<MDString>(S.first.TypeID)) in run()
1670 cast<MDString>(S.first.TypeID)->getString()) in run()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Serialization/
H A DASTBitCodes.h86 using TypeID = uint32_t; variable
98 TypeID asTypeID(unsigned FastQuals) const { in asTypeID()
100 return TypeID(-1); in asTypeID()
105 static TypeIdx fromTypeID(TypeID ID) { in fromTypeID()
106 if (ID == TypeID(-1)) in fromTypeID()
H A DASTWriter.h238 serialization::TypeID FirstTypeID = serialization::NUM_PREDEF_TYPE_IDS;
241 serialization::TypeID NextTypeID = FirstTypeID;
606 serialization::TypeID GetOrCreateTypeID(QualType T);
609 serialization::TypeID getTypeID(QualType T) const;
H A DModule.h456 serialization::TypeID BaseTypeIndex = 0;
H A DASTReader.h486 ContinuousRangeMap<serialization::TypeID, ModuleFile *, 4>;
1068 SmallVector<std::pair<FunctionDecl *, serialization::TypeID>, 16>
1796 QualType GetType(serialization::TypeID ID);
1802 serialization::TypeID getGlobalTypeID(ModuleFile &F, unsigned LocalID) const;
2492 serialization::TypeID getGlobalTypeID(unsigned LocalID) const { in getGlobalTypeID()
/freebsd-12.1/contrib/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.cpp857 unsigned *TypeID = &TypeMap[Ty]; in EnumerateType() local
860 if (*TypeID) in EnumerateType()
868 *TypeID = ~0U; in EnumerateType()
876 TypeID = &TypeMap[Ty]; in EnumerateType()
883 if (*TypeID && *TypeID != ~0U) in EnumerateType()
889 *TypeID = Types.size(); in EnumerateType()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTCommon.h50 TypeID MakeTypeID(ASTContext &Context, QualType T, IdxForTypeTy IdxForType) { in MakeTypeID()
H A DASTReader.cpp2969 serialization::TypeID ID = getGlobalTypeID(F, Record[I]); in ReadASTBlock()
3330 auto TypeID = static_cast<::TypeID>(Record[I++]); in ReadASTBlock() local
3331 auto *Type = GetType(TypeID).getTypePtr(); in ReadASTBlock()
6772 QualType ASTReader::GetType(TypeID ID) { in GetType()
7026 serialization::TypeID
/freebsd-12.1/contrib/llvm/lib/Object/
H A DBinary.cpp37 : TypeID(Type), Data(Source) {} in Binary()
H A DWindowsResource.cpp114 RETURN_IF_ERROR(readStringOrId(Reader, TypeID, Type, IsStringType)); in loadNext()
/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DYAMLParser.h173 unsigned int getType() const { return TypeID; } in getType()
182 unsigned int TypeID;
/freebsd-12.1/contrib/llvm/lib/IR/
H A DMetadata.cpp1495 void GlobalObject::addTypeMetadata(unsigned Offset, Metadata *TypeID) { in addTypeMetadata() argument
1501 TypeID})); in addTypeMetadata()
H A DType.cpp39 Type *Type::getPrimitiveType(LLVMContext &C, TypeID IDNumber) { in getPrimitiveType()
/freebsd-12.1/contrib/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp990 unsigned TypeID = MF->getTypeIDFor(GV); in translateKnownIntrinsic() local
991 MIRBuilder.buildConstant(Reg, TypeID); in translateKnownIntrinsic()
/freebsd-12.1/contrib/llvm/lib/Support/
H A DYAMLParser.cpp1804 : Doc(D), TypeID(Type), Anchor(A), Tag(T) { in Node()
/freebsd-12.1/contrib/llvm/lib/AsmParser/
H A DLLParser.cpp424 unsigned TypeID = Lex.getUIntVal(); in ParseUnnamedType() local
433 NumberedTypes[TypeID], Result)) return true; in ParseUnnamedType()
436 std::pair<Type*, LocTy> &Entry = NumberedTypes[TypeID]; in ParseUnnamedType()

12