Source operand accepted by MachineIRBuilder helpers.

Synopsis

Declared in <llvm/CodeGen/GlobalISel/MachineIRBuilder.h>

class SrcOp;

Enums

Name

Description

SrcType

Discriminator for the active union member of a SrcOp.

Member Functions

Name

Description

SrcOp [constructor]

Constructors

addSrcToMIB

Add this source as a use on MIB.

getImm

Return the packed immediate value.

getLLTTy

Return the LLT of this register‐like source.

getPredicate

Return the packed compare predicate.

getReg

Return the source register.

getSrcOpKind

Return the discriminator for the active source representation.

Data Members

Name

Description

Imm [variant member]

Packed immediate value.

Pred [variant member]

Packed compare predicate.

Reg [variant member]

Existing source register.

SrcMIB [variant member]

Instruction whose first def is used as the source register.

Created with MrDocs