LLVM 22.0.0git
llvm::MipsAnalyzeImmediate Class Reference

#include "Target/Mips/MipsAnalyzeImmediate.h"

Classes

struct  Inst

Public Types

using InstSeq = SmallVector<Inst, 7>

Public Member Functions

const InstSeqAnalyze (uint64_t Imm, unsigned Size, bool LastInstrIsADDiu)
 Analyze - Get an instruction sequence to load immediate Imm.

Detailed Description

Definition at line 17 of file MipsAnalyzeImmediate.h.

Member Typedef Documentation

◆ InstSeq

Member Function Documentation

◆ Analyze()

const MipsAnalyzeImmediate::InstSeq & MipsAnalyzeImmediate::Analyze ( uint64_t Imm,
unsigned Size,
bool LastInstrIsADDiu )

Analyze - Get an instruction sequence to load immediate Imm.

The last instruction in the sequence must be an ADDiu if LastInstrIsADDiu is true;

Definition at line 129 of file MipsAnalyzeImmediate.cpp.

Referenced by llvm::MipsSEInstrInfo::loadImmediate().


The documentation for this class was generated from the following files: