class IntrinsicInst

Declaration

class IntrinsicInst : public CallInst { /* full declaration omitted */ };

Description

A wrapper class for inspecting calls to intrinsic functions. This allows the standard isa/dyncast/cast functionality to work with calls to intrinsic functions.

Declared at: llvm/include/llvm/IR/IntrinsicInst.h:46

Inherits from: CallInst

Member Variables

Inherited from CallBase:

protected Attrs
protected FTy
protected static CalledOperandOpEndIdx = -1

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

Inherited from CallInst:

Inherited from CallBase:

Inherited from Instruction:

Inherited from User:

Inherited from Value:

Methods

IntrinsicInst()

Declared at: llvm/include/llvm/IR/IntrinsicInst.h:48

IntrinsicInst(const llvm::IntrinsicInst&)

Declared at: llvm/include/llvm/IR/IntrinsicInst.h:49

Parameters

const llvm::IntrinsicInst&

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

Description

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

Declared at: llvm/include/llvm/IR/IntrinsicInst.h:115

Parameters

const llvm::CallInst* I

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

Declared at: llvm/include/llvm/IR/IntrinsicInst.h:120

Parameters

const llvm::Value* V

Intrinsic::ID getIntrinsicID() const

Description

Return the intrinsic ID of this intrinsic.

Declared at: llvm/include/llvm/IR/IntrinsicInst.h:53

bool isAssumeLikeIntrinsic() const

Description

Checks if the intrinsic is an annotation.

Declared at: llvm/include/llvm/IR/IntrinsicInst.h:88

bool isCommutative() const

Description

Return true if swapping the first two arguments to the intrinsic produces the same result.

Declared at: llvm/include/llvm/IR/IntrinsicInst.h:59

static bool mayLowerToFunctionCall(
    Intrinsic::ID IID)

Description

Check if the intrinsic might lower into a regular function call in the course of IR transformations

Declared at: llvm/include/llvm/IR/IntrinsicInst.h:112

Parameters

Intrinsic::ID IID