Home | History | Annotate | Download | only in llvm

Lines Matching refs:getTypeID

97     assert(getTypeID() == ID && "TypeID data too large for field");
130 /// getTypeID - Return the type id for the type. This will return one
133 TypeID getTypeID() const { return (TypeID)(IDAndSubclassData & 0xFF); }
136 bool isVoidTy() const { return getTypeID() == VoidTyID; }
139 bool isHalfTy() const { return getTypeID() == HalfTyID; }
142 bool isFloatTy() const { return getTypeID() == FloatTyID; }
145 bool isDoubleTy() const { return getTypeID() == DoubleTyID; }
148 bool isX86_FP80Ty() const { return getTypeID() == X86_FP80TyID; }
151 bool isFP128Ty() const { return getTypeID() == FP128TyID; }
154 bool isPPC_FP128Ty() const { return getTypeID() == PPC_FP128TyID; }
159 return getTypeID() == HalfTyID || getTypeID() == FloatTyID ||
160 getTypeID() == DoubleTyID ||
161 getTypeID() == X86_FP80TyID || getTypeID() == FP128TyID ||
162 getTypeID() == PPC_FP128TyID;
166 bool isX86_MMXTy() const { return getTypeID() == X86_MMXTyID; }
173 bool isLabelTy() const { return getTypeID() == LabelTyID; }
176 bool isMetadataTy() const { return getTypeID() == MetadataTyID; }
180 bool isIntegerTy() const { return getTypeID() == IntegerTyID; }
192 bool isFunctionTy() const { return getTypeID() == FunctionTyID; }
196 bool isStructTy() const { return getTypeID() == StructTyID; }
200 bool isArrayTy() const { return getTypeID() == ArrayTyID; }
204 bool isPointerTy() const { return getTypeID() == PointerTyID; }
208 bool isVectorTy() const { return getTypeID() == VectorTyID; }
224 bool isPrimitiveType() const { return getTypeID() <= LastPrimitiveTyID; }
225 bool isDerivedType() const { return getTypeID() >= FirstDerivedTyID; }
231 return getTypeID() != FunctionTyID && getTypeID() != VoidTyID;
239 return (getTypeID() != VoidTyID && isPrimitiveType()) ||
240 getTypeID() == IntegerTyID || getTypeID() == PointerTyID ||
241 getTypeID() == VectorTyID;
250 return getTypeID() == StructTyID || getTypeID() == ArrayTyID;
259 if (getTypeID() == IntegerTyID || isFloatingPointTy() ||
260 getTypeID() == PointerTyID ||
261 getTypeID() == X86_MMXTyID)
265 if (getTypeID() != StructTyID && getTypeID() != ArrayTyID &&
266 getTypeID() != VectorTyID)
415 return Ty.getTypeID() == Type::PointerTyID;