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

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9

10

11

12

17

18using namespace llvm;

19

23

26

29

34 SavedRegs.reset(BPF::R6);

35 SavedRegs.reset(BPF::R7);

36 SavedRegs.reset(BPF::R8);

37 SavedRegs.reset(BPF::R9);

38}

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

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

Definition BPFFrameLowering.cpp:24

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

Definition BPFFrameLowering.cpp:27

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

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

Definition BPFFrameLowering.cpp:30

bool hasFPImpl(const MachineFunction &MF) const override

Definition BPFFrameLowering.cpp:20

virtual void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs, RegScavenger *RS=nullptr) const

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

This is an optimization pass for GlobalISel generic memory operations.