LLVM 24.0.0git
llvm::TargetInstrInfo::SelectExpansion Struct Reference

Describes how the select will be materialized: CondCycles - number of cycles for compare and branch TrueCycles - number of cycles to the True register FalseCycles - same for False NumInsts - number of instructions required for the select, 0 if this field is not supported by a given backend ClobberedPhysRegs - physical registers which will be defined by the newly inserted select. More...

#include "llvm/CodeGen/TargetInstrInfo.h"

Public Attributes

int CondCycles = 1
int TrueCycles = 1
int FalseCycles = 1
unsigned NumInsts = 0
SmallVector< MCRegister, 2 > ClobberedPhysRegs

Detailed Description

Describes how the select will be materialized: CondCycles - number of cycles for compare and branch TrueCycles - number of cycles to the True register FalseCycles - same for False NumInsts - number of instructions required for the select, 0 if this field is not supported by a given backend ClobberedPhysRegs - physical registers which will be defined by the newly inserted select.

Useful for finding a legal insertion point

Definition at line 1032 of file TargetInstrInfo.h.

Member Data Documentation

◆ ClobberedPhysRegs

SmallVector<MCRegister, 2> llvm::TargetInstrInfo::SelectExpansion::ClobberedPhysRegs

Definition at line 1037 of file TargetInstrInfo.h.

◆ CondCycles

int llvm::TargetInstrInfo::SelectExpansion::CondCycles = 1

Definition at line 1033 of file TargetInstrInfo.h.

◆ FalseCycles

int llvm::TargetInstrInfo::SelectExpansion::FalseCycles = 1

Definition at line 1035 of file TargetInstrInfo.h.

◆ NumInsts

unsigned llvm::TargetInstrInfo::SelectExpansion::NumInsts = 0

Definition at line 1036 of file TargetInstrInfo.h.

◆ TrueCycles

int llvm::TargetInstrInfo::SelectExpansion::TrueCycles = 1

Definition at line 1034 of file TargetInstrInfo.h.


The documentation for this struct was generated from the following file: