LLVM: lib/Target/NVPTX/NVPTXInstrInfo.h Source File (original) (raw)

1

2

3

4

5

6

7

8

9

10

11

12

13#ifndef LLVM_LIB_TARGET_NVPTX_NVPTXINSTRINFO_H

14#define LLVM_LIB_TARGET_NVPTX_NVPTXINSTRINFO_H

15

19

20#define GET_INSTRINFO_HEADER

21#include "NVPTXGenInstrInfo.inc"

22

23namespace llvm {

24class NVPTXSubtarget;

25

28 virtual void anchor();

29public:

31

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

51

52

53

56 bool KillSrc, bool RenamableDest = false,

57 bool RenamableSrc = false) const override;

58

59

63 bool AllowModify) const override;

65 int *BytesRemoved = nullptr) const override;

69 int *BytesAdded = nullptr) const override;

70};

71

72}

73

74#endif

MachineBasicBlock MachineBasicBlock::iterator DebugLoc DL

const SmallVectorImpl< MachineOperand > MachineBasicBlock * TBB

const SmallVectorImpl< MachineOperand > & Cond

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

MachineInstrBundleIterator< MachineInstr > iterator

const NVPTXRegisterInfo & getRegisterInfo() const

Definition NVPTXInstrInfo.h:32

unsigned insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, ArrayRef< MachineOperand > Cond, const DebugLoc &DL, int *BytesAdded=nullptr) const override

NVPTXInstrInfo(const NVPTXSubtarget &STI)

unsigned removeBranch(MachineBasicBlock &MBB, int *BytesRemoved=nullptr) const override

bool analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl< MachineOperand > &Cond, bool AllowModify) const override

analyzeBranch - Analyze the branching code at the end of MBB, returning true if it cannot be understo...

void copyPhysReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, const DebugLoc &DL, Register DestReg, Register SrcReg, bool KillSrc, bool RenamableDest=false, bool RenamableSrc=false) const override

Wrapper class representing virtual and physical registers.

This class consists of common code factored out of the SmallVector class to reduce code duplication b...

This is an optimization pass for GlobalISel generic memory operations.