LLVM: lib/Target/Mips/MipsTargetMachine.h Source File (original) (raw)

1

2

3

4

5

6

7

8

9

10

11

12

13#ifndef LLVM_LIB_TARGET_MIPS_MIPSTARGETMACHINE_H

14#define LLVM_LIB_TARGET_MIPS_MIPSTARGETMACHINE_H

15

22#include

23#include

24

25namespace llvm {

26

28 bool isLittle;

29 std::unique_ptr TLOF;

30

36

38

39public:

42 std::optionalReloc::Model RM,

44 bool JIT, bool isLittle);

46

48

50 if (Subtarget)

51 return Subtarget;

52 return &DefaultSubtarget;

53 }

54

56

57

59

60

62

64 return TLOF.get();

65 }

66

70

71

73

74

75

76 return SrcAS < 256 && DestAS < 256;

77 }

78

81};

82

83

84

86 virtual void anchor();

87

88public:

91 std::optionalReloc::Model RM,

93 bool JIT);

94};

95

96

97

99 virtual void anchor();

100

101public:

104 std::optionalReloc::Model RM,

106 bool JIT);

107};

108

109}

110

111#endif

This file defines the StringMap class.

Allocate memory in an ever growing pool, as if by bump-pointer.

implements a set of functionality in the TargetMachine class for targets that make use of the indepen...

bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override

Returns true if a cast between SrcAS and DestAS is a noop.

TargetTransformInfo getTargetTransformInfo(const Function &F) const override

Get a TargetTransformInfo implementation for the target.

MachineFunctionInfo * createMachineFunctionInfo(BumpPtrAllocator &Allocator, const Function &F, const TargetSubtargetInfo *STI) const override

Create the target's instance of MachineFunctionInfo.

const MipsABIInfo & getABI() const

bool isLittleEndian() const

TargetLoweringObjectFile * getObjFileLowering() const override

TargetPassConfig * createPassConfig(PassManagerBase &PM) override

Create a pass configuration object to be used by addPassToEmitX methods for generating a pipeline of ...

~MipsTargetMachine() override

void resetSubtarget(MachineFunction *MF)

Reset the subtarget for the Mips target.

const MipsSubtarget * getSubtargetImpl() const

Mips32/64 big endian target machine.

Mips32/64 little endian target machine.

StringMap - This is an unconventional map that is specialized for handling keys that are "strings",...

StringRef - Represent a constant reference to a string, i.e.

std::unique_ptr< const MCSubtargetInfo > STI

Target-Independent Code Generator Pass Configuration Options.

TargetSubtargetInfo - Generic base class for all target subtargets.

This pass provides access to the codegen interfaces that are needed for IR-level transformations.

Target - Wrapper for Target specific information.

Triple - Helper class for working with autoconf configuration names.

PassManagerBase - An abstract interface to allow code to add passes to a pass manager without having ...

This is an optimization pass for GlobalISel generic memory operations.

CodeGenOptLevel

Code generation optimization level.

MachineFunctionInfo - This class can be derived from and used by targets to hold private target-speci...