Go to the documentation of this file.
34 return make_error<StringError>(
35 formatv(
"invalid fixed frame index {0}",
FI).str(),
40 return make_error<StringError>(
formatv(
"invalid frame index {0}",
FI).str(),
This is an optimization pass for GlobalISel generic memory operations.
unsigned getNumFixedObjects() const
Return the number of fixed objects.
Tagged union holding either a T or a Error.
auto formatv(const char *Fmt, Ts &&... Vals) -> formatv_object< decltype(std::make_tuple(detail::build_format_adapter(std::forward< Ts >(Vals))...))>
bool isFixedObjectIndex(int ObjectIdx) const
Returns true if the specified index corresponds to a fixed stack object.
int getObjectIndexBegin() const
Return the minimum frame object index.
std::error_code inconvertibleErrorCode()
The value returned by this function can be returned from convertToErrorCode for Error values where no...
unsigned getNumObjects() const
Return the number of objects.
The MachineFrameInfo class represents an abstract stack frame until prolog/epilog code is inserted.
Expected< int > getFI(const llvm::MachineFrameInfo &MFI) const