LLVM 20.0.0git
Classes | Public Types | Public Member Functions | List of all members
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

Definition at line 24 of file MipsAnalyzeImmediate.h.

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: