Home
last modified time | relevance | path

Searched refs:getTypeID (Results 1 – 25 of 80) sorted by relevance

1234

/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DType.h149 return getTypeID() == BFloatTyID || getTypeID() == HalfTyID; in is16bitFPTy()
169 return getTypeID() == HalfTyID || getTypeID() == BFloatTyID || in isFloatingPointTy()
170 getTypeID() == FloatTyID || getTypeID() == DoubleTyID || in isFloatingPointTy()
171 getTypeID() == X86_FP80TyID || getTypeID() == FP128TyID || in isFloatingPointTy()
233 return getTypeID() == ScalableVectorTyID || getTypeID() == FixedVectorTyID; in isVectorTy()
249 return getTypeID() != FunctionTyID && getTypeID() != VoidTyID; in isFirstClassType()
263 return getTypeID() == StructTyID || getTypeID() == ArrayTyID; in isAggregateType()
272 getTypeID() == PointerTyID || getTypeID() == X86_MMXTyID ||
273 getTypeID() == X86_AMXTyID)
277 if (getTypeID() != StructTyID && getTypeID() != ArrayTyID && !isVectorTy())
[all …]
H A DDerivedTypes.h93 return T->getTypeID() == IntegerTyID; in classof()
143 return T->getTypeID() == FunctionTyID; in classof()
340 return T->getTypeID() == StructTyID; in classof()
380 return T->getTypeID() == ArrayTyID; in classof()
461 switch(VTy->getElementType()->getTypeID()) { in getTruncatedElementVectorType()
519 return T->getTypeID() == FixedVectorTyID || in classof()
520 T->getTypeID() == ScalableVectorTyID; in classof()
565 return T->getTypeID() == FixedVectorTyID; in classof()
623 return T->getTypeID() == ScalableVectorTyID; in classof()
702 return T->getTypeID() == PointerTyID; in classof()
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DTypeSupport.h43 T::getTypeID()); in get()
82 TypeID getTypeID() const { return typeID; } in getTypeID() function
170 return getWithTypeID<T, Args...>(ctx, T::getTypeID(), in get()
219 return ctx->getTypeUniquer().mutate(T::getTypeID(), impl, in mutate()
226 registerType<T>(ctx, T::getTypeID()); in registerType()
H A DAttributeSupport.h45 T::getTypeID()); in get()
86 TypeID getTypeID() const { return typeID; } in getTypeID() function
192 return getWithTypeID<T, Args...>(ctx, T::getTypeID(), in get()
243 return ctx->getAttributeUniquer().mutate(T::getTypeID(), impl, in mutate()
250 registerAttribute<T>(ctx, T::getTypeID()); in registerAttribute()
H A DDialect.h60 TypeID getTypeID() const { return dialectID; } in getTypeID() function
247 addAttribute(T::getTypeID(), AbstractAttribute::get<T>(*this)); in addAttribute()
255 addType(T::getTypeID(), AbstractType::get<T>(*this)); in addType()
295 return mlir::TypeID::get<T>() == dialect.getTypeID();
H A DStorageUniquerSupport.h104 static TypeID getTypeID() { return TypeID::get<ConcreteT>(); } in getTypeID() function
112 return val.getTypeID() == getTypeID(); in classof()
H A DExtensibleDialect.h173 return attr.getTypeID() == attrDef->getTypeID(); in isa()
316 return type.getTypeID() == typeDef->getTypeID(); in isa()
369 TypeID getTypeID() { return typeID; } in getTypeID() function
H A DTypes.h113 TypeID getTypeID() { return impl->getAbstractType().getTypeID(); } in getTypeID() function
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/Interpreter/
H A DExternalFunctions.cpp73 static char getTypeID(Type *Ty) { in getTypeID() function
74 switch (Ty->getTypeID()) { in getTypeID()
105 ExtName += getTypeID(FT->getReturnType()); in lookupFunction()
107 ExtName += getTypeID(T); in lookupFunction()
124 switch (Ty->getTypeID()) { in ffiTypeFor()
146 switch (Ty->getTypeID()) { in ffiValueFor()
235 if (RetTy->getTypeID() != Type::VoidTyID) in ffiInvoke()
238 switch (RetTy->getTypeID()) { in ffiInvoke()
H A DExecution.cpp50 switch (Ty->getTypeID()) { in executeFNegInst()
110 switch (Ty->getTypeID()) { in executeFAddInst()
121 switch (Ty->getTypeID()) { in executeFSubInst()
132 switch (Ty->getTypeID()) { in executeFMulInst()
143 switch (Ty->getTypeID()) { in executeFDivInst()
154 switch (Ty->getTypeID()) { in executeFRemInst()
195 switch (Ty->getTypeID()) { in executeICMP_EQ()
209 switch (Ty->getTypeID()) { in executeICMP_NE()
223 switch (Ty->getTypeID()) { in executeICMP_ULT()
237 switch (Ty->getTypeID()) { in executeICMP_SLT()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp555 return VE.getTypeID(T); in getTypeID()
558 return VE.getTypeID(It->second); in getTypeID()
559 return VE.getTypeID(I8PtrTy); in getTypeID()
565 return VE.getTypeID(It->second); in getTypeID()
566 return VE.getTypeID(T); in getTypeID()
1030 switch (T->getTypeID()) { in writeTypeTable()
1110 TypeVals.push_back(getTypeID(PTy)); in writeTypeTable()
1120 TypeVals.push_back(getTypeID(ElTy)); in writeTypeTable()
1370 Record.push_back(getTypeID(Ty)); in writeValueAsMetadata()
1974 Record.push_back(getTypeID(LastTy)); in writeConstants()
[all …]
/llvm-project-15.0.7/mlir/lib/IR/
H A DExtensibleDialect.cpp90 detail::TypeUniquer::registerType<DynamicType>(&getContext(), getTypeID()); in registerInTypeUniquer()
134 &ctx, typeDef->getTypeID(), typeDef, params); in get()
145 &ctx, typeDef->getTypeID(), typeDef, params); in getChecked()
208 getTypeID()); in registerInAttrUniquer()
249 &ctx, attrDef->getTypeID(), attrDef, params); in get()
392 TypeID typeID = type->getTypeID(); in registerDynamicType()
421 auto typeID = attr->getTypeID(); in registerDynamicAttr()
/llvm-project-15.0.7/llvm/lib/Target/Mips/
H A DMips16HardFloat.cpp71 switch (T->getTypeID()) { in whichFPReturnVariant()
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()
159 switch (ArgType->getTypeID()) { in needsFPStubFromParams()
H A DMipsOs16.cpp52 switch (RetType->getTypeID()) { in needsFPFromSig()
61 switch (Arg.getType()->getTypeID()) { in needsFPFromSig()
/llvm-project-15.0.7/llvm/lib/IR/
H A DType.cpp68 switch (getTypeID()) { in getFltSemantics()
165 switch (getTypeID()) { in getPrimitiveSizeInBits()
198 if (getTypeID() == HalfTyID) return 11; in getFPMantissaWidth()
199 if (getTypeID() == BFloatTyID) return 8; in getFPMantissaWidth()
200 if (getTypeID() == FloatTyID) return 24; in getFPMantissaWidth()
201 if (getTypeID() == DoubleTyID) return 53; in getFPMantissaWidth()
202 if (getTypeID() == X86_FP80TyID) return 64; in getFPMantissaWidth()
203 if (getTypeID() == FP128TyID) return 113; in getFPMantissaWidth()
204 assert(getTypeID() == PPC_FP128TyID && "unknown fp type"); in getFPMantissaWidth()
/llvm-project-15.0.7/mlir/lib/Interfaces/
H A DDataLayoutInterfaces.cpp222 return type && type.getTypeID() == typeID; in filterEntriesForType()
416 list = originalLayout.getSpecForType(ty.getTypeID()); in getTypeSize()
428 list = originalLayout.getSpecForType(ty.getTypeID()); in getTypeSizeInBits()
440 list = originalLayout.getSpecForType(ty.getTypeID()); in getTypeABIAlignment()
452 list = originalLayout.getSpecForType(ty.getTypeID()); in getTypePreferredAlignment()
468 types[type.getTypeID()].push_back(entry); in bucketEntriesByType()
/llvm-project-15.0.7/mlir/lib/Dialect/
H A DTraits.cpp154 return type.getTypeID(); in getBroadcastedType()
180 if (resultCompositeKind == VectorType::getTypeID()) in getBroadcastedType()
182 if (resultCompositeKind == RankedTensorType::getTypeID()) in getBroadcastedType()
/llvm-project-15.0.7/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp936 switch (T->getTypeID()) { in writeTypeTable()
991 TypeVals.push_back(VE.getTypeID(ET)); in writeTypeTable()
1524 Record.push_back(VE.getTypeID(V->getType())); in writeValueAsMetadata()
2484 Record.push_back(VE.getTypeID(LastTy)); in writeConstants()
2735 Vals.push_back(VE.getTypeID(V->getType())); in pushValueAndType()
2786 Vals.push_back(VE.getTypeID(I.getType())); in writeInstruction()
2944 Vals.push_back(VE.getTypeID(FTy)); in writeInstruction()
3025 Vals.push_back(VE.getTypeID(FTy)); in writeInstruction()
3070 Vals.push_back(VE.getTypeID(LP.getType())); in writeInstruction()
3116 Vals.push_back(VE.getTypeID(I.getType())); in writeInstruction()
[all …]
/llvm-project-15.0.7/mlir/include/mlir/Support/
H A DTypeID.h321 operator TypeID() const { return getTypeID(); } in TypeID()
324 TypeID getTypeID() const { return TypeID::getFromOpaquePointer(this); } in getTypeID() function
/llvm-project-15.0.7/llvm/lib/Target/DirectX/
H A DDXILPointerType.h45 return T->getTypeID() == DXILPointerTyID; in classof()
/llvm-project-15.0.7/mlir/include/mlir/Tools/PDLL/AST/
H A DTypes.h54 return type.getTypeID() == TypeID::get<ImplTy>(); in classof()
92 TypeID getTypeID() const;
/llvm-project-15.0.7/llvm/lib/Bitcode/Reader/
H A DValueList.h65 unsigned getTypeID(unsigned ValNo) const { in getTypeID() function
/llvm-project-15.0.7/llvm/tools/llvm-readobj/
H A DWindowsResourceDumper.cpp61 printResourceTypeName(Ref.getTypeID(), OS); in printEntry()
/llvm-project-15.0.7/mlir/include/mlir/Target/LLVMIR/
H A DModuleTranslation.h195 TypeID getTypeID() const { return typeID; } in getTypeID() function
371 return frame.getTypeID() == ::mlir::TypeID::get<T>();
/llvm-project-15.0.7/mlir/include/mlir/Pass/
H A DPass.h55 TypeID getTypeID() const { return passID; } in getTypeID() function
444 return pass->getTypeID() == TypeID::get<PassT>(); in classof()

1234