LLVM: lib/Target/PowerPC/GISel/PPCCallLowering.h Source File (original) (raw)

1

2

3

4

5

6

7

8

9

10

11

12

13

14#ifndef LLVM_LIB_TARGET_POWERPC_GISEL_PPCCALLLOWERING_H

15#define LLVM_LIB_TARGET_POWERPC_GISEL_PPCCALLLOWERING_H

16

19

20namespace llvm {

21

23

25public:

27

30 Register SwiftErrorVReg) const override;

36};

37

39public:

43

45

46private:

49

53

57

58 virtual void markPhysRegUsed(unsigned PhysReg) = 0;

59};

60

62

63 void markPhysRegUsed(unsigned PhysReg) override;

64

65public:

68};

69

70}

71

72#endif

Analysis containing CSE Info

This file describes how to lower LLVM calls to machine code calls.

ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...

CCValAssign - Represent assignment of one arg/retval to a location.

CallLowering(const TargetLowering *TLI)

FormalArgHandler(MachineIRBuilder &MIRBuilder, MachineRegisterInfo &MRI)

Definition PPCCallLowering.h:66

FunctionLoweringInfo - This contains information that is global to a function that is used when lower...

Helper class to build MachineInstr.

MachineRegisterInfo - Keep track of information for virtual and physical registers,...

bool lowerReturn(MachineIRBuilder &MIRBuilder, const Value *Val, ArrayRef< Register > VRegs, FunctionLoweringInfo &FLI, Register SwiftErrorVReg) const override

This hook must be implemented to lower outgoing return values, described by Val, into the specified v...

bool lowerCall(MachineIRBuilder &MIRBuilder, CallLoweringInfo &Info) const override

This hook must be implemented to lower the given call instruction, including argument and return valu...

PPCCallLowering(const PPCTargetLowering &TLI)

bool lowerFormalArguments(MachineIRBuilder &MIRBuilder, const Function &F, ArrayRef< ArrayRef< Register > > VRegs, FunctionLoweringInfo &FLI) const override

This hook must be implemented to lower the incoming (formal) arguments, described by VRegs,...

PPCIncomingValueHandler(MachineIRBuilder &MIRBuilder, MachineRegisterInfo &MRI)

Definition PPCCallLowering.h:40

uint64_t StackUsed

Definition PPCCallLowering.h:44

Wrapper class representing virtual and physical registers.

LLVM Value Representation.

This is an optimization pass for GlobalISel generic memory operations.

Base class for ValueHandlers used for arguments coming into the current function, or for return value...

IncomingValueHandler(MachineIRBuilder &MIRBuilder, MachineRegisterInfo &MRI)

MachineIRBuilder & MIRBuilder

MachineRegisterInfo & MRI

This class contains a discriminated union of information about pointers in memory operands,...