LLVM: lib/CodeGen/MIRYamlMapping.cpp Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9

10

11

12

13

18

19using namespace llvm;

21

28

29

31 int FI = this->FI;

35 formatv("invalid fixed frame index {0}", FI).str(),

38 }

42 return FI;

43}

Tagged union holding either a T or a Error.

The MachineFrameInfo class represents an abstract stack frame until prolog/epilog code is inserted.

unsigned getNumObjects() const

Return the number of objects.

unsigned getNumFixedObjects() const

Return the number of fixed objects.

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.

This is an optimization pass for GlobalISel generic memory operations.

LLVM_ABI std::error_code inconvertibleErrorCode()

The value returned by this function can be returned from convertToErrorCode for Error values where no...

auto formatv(bool Validate, const char *Fmt, Ts &&...Vals)

Error make_error(ArgTs &&... Args)

Make a Error instance representing failure using the given error info type.

Expected< int > getFI(const llvm::MachineFrameInfo &MFI) const

Definition MIRYamlMapping.cpp:30