class CoroPromiseInst

Declaration

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

Description

This represents the llvm.coro.promise instruction.

Declared at: llvm/lib/Transforms/Coroutines/CoroInstr.h:452

Inherits from: IntrinsicInst

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 IntrinsicInst:

Inherited from CallInst:

Inherited from CallBase:

Inherited from Instruction:

Inherited from User:

Inherited from Value:

Methods

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

Declared at: llvm/lib/Transforms/Coroutines/CoroInstr.h:469

Parameters

const llvm::IntrinsicInst* I

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

Declared at: llvm/lib/Transforms/Coroutines/CoroInstr.h:472

Parameters

const llvm::Value* V

llvm::Align getAlignment() const

Description

The required alignment of the promise. This must match the alignment of the promise alloca in the coroutine.

Declared at: llvm/lib/Transforms/Coroutines/CoroInstr.h:464

bool isFromPromise() const

Description

Are we translating from the frame to the promise (false) or from the promise to the frame (true)?

Declared at: llvm/lib/Transforms/Coroutines/CoroInstr.h:458