class SExtInst

Declaration

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

Description

This class represents a sign extension of integer types.

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

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 SExtInst(llvm::Value * S, llvm::Type * Ty, const llvm::Twine & NameStr = "", llvm::Instruction * InsertBefore = nullptr)
  • public SExtInst(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::SExtInst * cloneImpl() const

Inherited from CastInst:

Inherited from UnaryInstruction:

Inherited from Instruction:

Inherited from User:

Inherited from Value:

Methods

SExtInst(
    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:4866

Parameters

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

SExtInst(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:4874

Parameters

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

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

Description

Methods for support type inquiry through isa, cast, and dyn_cast:

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

Parameters

const llvm::Instruction* I

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

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

Parameters

const llvm::Value* V

llvm::SExtInst* cloneImpl() const

Description

Clone an identical SExtInst

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