class BitCastInst

Declaration

class BitCastInst : public CastInst { /* full declaration omitted */ };

Description

This class represents a no-op cast from one type to another.

Declared at: llvm/include/llvm/IR/Instructions.h:5223

Inherits from: CastInst

Member Variables

Inherited from Value:

protected SubclassOptionalData
protected NumUserOperands
protected IsUsedByMD
protected HasName
protected HasMetadata
protected HasHungOffUses
protected HasDescriptor
public static MaxAlignmentExponent = 32
public static MaximumAlignment = 1ULL << MaxAlignmentExponent

Method Overview

  • public BitCastInst(llvm::Value * S, llvm::Type * Ty, const llvm::Twine & NameStr = "", llvm::Instruction * InsertBefore = nullptr)
  • public BitCastInst(llvm::Value * S, llvm::Type * Ty, const llvm::Twine & NameStr, llvm::BasicBlock * InsertAtEnd)
  • public static bool classof(const llvm::Instruction * I)
  • public static bool classof(const llvm::Value * V)
  • protected llvm::BitCastInst * cloneImpl() const

Inherited from CastInst:

Inherited from UnaryInstruction:

Inherited from Instruction:

Inherited from User:

Inherited from Value:

Methods

BitCastInst(
    llvm::Value* S,
    llvm::Type* Ty,
    const llvm::Twine& NameStr = "",
    llvm::Instruction* InsertBefore = nullptr)

Description

Constructor with insert-before-instruction semantics

Declared at: llvm/include/llvm/IR/Instructions.h:5233

Parameters

llvm::Value* S
llvm::Type* Ty
const llvm::Twine& NameStr = ""
llvm::Instruction* InsertBefore = nullptr

BitCastInst(llvm::Value* S,
            llvm::Type* Ty,
            const llvm::Twine& NameStr,
            llvm::BasicBlock* InsertAtEnd)

Description

Constructor with insert-at-end-of-block semantics

Declared at: llvm/include/llvm/IR/Instructions.h:5241

Parameters

llvm::Value* S
llvm::Type* Ty
const llvm::Twine& NameStr
llvm::BasicBlock* InsertAtEnd

static bool classof(const llvm::Instruction* I)

Declared at: llvm/include/llvm/IR/Instructions.h:5249

Parameters

const llvm::Instruction* I

static bool classof(const llvm::Value* V)

Declared at: llvm/include/llvm/IR/Instructions.h:5252

Parameters

const llvm::Value* V

llvm::BitCastInst* cloneImpl() const

Description

Clone an identical BitCastInst.

Declared at: llvm/include/llvm/IR/Instructions.h:5229