mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-20 10:24:12 +00:00
add some helper functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83293 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -205,6 +205,12 @@ public:
|
|||||||
bool isFloatingPoint() const { return ID == FloatTyID || ID == DoubleTyID ||
|
bool isFloatingPoint() const { return ID == FloatTyID || ID == DoubleTyID ||
|
||||||
ID == X86_FP80TyID || ID == FP128TyID || ID == PPC_FP128TyID; }
|
ID == X86_FP80TyID || ID == FP128TyID || ID == PPC_FP128TyID; }
|
||||||
|
|
||||||
|
/// isFloatTy - Return true if this is 'float', a 32-bit IEEE fp type.
|
||||||
|
bool isFloatTy() const { return ID == FloatTyID; }
|
||||||
|
|
||||||
|
/// isDoubleTy - Return true if this is 'double', a 64-bit IEEE fp type.
|
||||||
|
bool isDoubleTy() const { return ID == DoubleTyID; }
|
||||||
|
|
||||||
/// isFPOrFPVector - Return true if this is a FP type or a vector of FP types.
|
/// isFPOrFPVector - Return true if this is a FP type or a vector of FP types.
|
||||||
///
|
///
|
||||||
bool isFPOrFPVector() const;
|
bool isFPOrFPVector() const;
|
||||||
|
Reference in New Issue
Block a user