LLVM: lib/Target/BPF/BPFFrameLowering.h Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9

10

11

12

13#ifndef LLVM_LIB_TARGET_BPF_BPFFRAMELOWERING_H

14#define LLVM_LIB_TARGET_BPF_BPFFRAMELOWERING_H

15

17

18namespace llvm {

20

22public:

25

28

31

35 return MBB.erase(MI);

36 }

37

38protected:

40};

41}

42#endif

void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const override

emitProlog/emitEpilog - These methods insert prolog and epilog code into the function.

void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override

MachineBasicBlock::iterator eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB, MachineBasicBlock::iterator MI) const override

This method is called during prolog/epilog code insertion to eliminate call frame setup and destroy p...

Definition BPFFrameLowering.h:33

BPFFrameLowering(const BPFSubtarget &sti)

Definition BPFFrameLowering.h:23

void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs, RegScavenger *RS) const override

This method determines which of the registers reported by TargetRegisterInfo::getCalleeSavedRegs() sh...

bool hasFPImpl(const MachineFunction &MF) const override

MachineInstrBundleIterator< MachineInstr > iterator

TargetFrameLowering(StackDirection D, Align StackAl, int LAO, Align TransAl=Align(1), bool StackReal=true)

This is an optimization pass for GlobalISel generic memory operations.

This struct is a compact representation of a valid (non-zero power of two) alignment.