8000 LLVM-IR Valueクラスの調査 · Issue #2 · msk-ono/study · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

LLVM-IR Valueクラスの調査 #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
msk-ono opened this issue Jan 5, 2024 · 1 comment
Open

LLVM-IR Valueクラスの調査 #2

msk-ono opened this issue Jan 5, 2024 · 1 comment

Comments

@msk-ono
Copy link
Owner
msk-ono commented Jan 5, 2024

No description provided.

@msk-ono
Copy link
Owner Author
msk-ono commented Jan 17, 2024

Value クラスについて

メンバ

  • public
    • Type* VTy;
    • Use* UseList;
    • const unsigned char SubclassID;
    • unsigned char HasValueHandle: 1;
  • protected
    • unsigned char SubclassOptionalData: 7;
  • private
    • unsigned short SubclassData;
    • unsigned NumUserOperands: 27;
    • unsigned IsUsedByMD: 1;
    • unsigned HasName : 1;
    • unsigned HasMetadata : 1;
    • unsigned HasHungOffUses : 1;
    • unsigned HasDescriptor : 1;

Type クラスについて

  enum TypeID {
    // PrimitiveTypes
    HalfTyID = 0,  ///< 16-bit floating point type
    BFloatTyID,    ///< 16-bit floating point type (7-bit significand)
    FloatTyID,     ///< 32-bit floating point type
    DoubleTyID,    ///< 64-bit floating point type
    X86_FP80TyID,  ///< 80-bit floating point type (X87)
    FP128TyID,     ///< 128-bit floating point type (112-bit significand)
    PPC_FP128TyID, ///< 128-bit floating point type (two 64-bits, PowerPC)
    VoidTyID,      ///< type with no size
    LabelTyID,     ///< Labels
    MetadataTyID,  ///< Metadata
    X86_MMXTyID,   ///< MMX vectors (64 bits, X86 specific)
    X86_AMXTyID,   ///< AMX vectors (8192 bits, X86 specific)
    TokenTyID,     ///< Tokens

    // Derived types... see DerivedTypes.h file.
    IntegerTyID,        ///< Arbitrary bit width integers
    FunctionTyID,       ///< Functions
    PointerTyID,        ///< Pointers
    StructTyID,         ///< Structures
    ArrayTyID,          ///< Arrays
    FixedVectorTyID,    ///< Fixed width SIMD vector type
    ScalableVectorTyID, ///< Scalable SIMD vector type
    TypedPointerTyID,   ///< Typed pointer used by some GPU targets
    TargetExtTyID,      ///< Target extension type
  };

メンバ

  • private
    • LLVMContext& Context;
    • TypeID ID: 8;
    • unsigned SubclassData: 24;
    • unsigned NumContainedTys;
    • Type* const* ContainedTyps;

5619

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant
0