LLVM: include/llvm/Option/OptSpecifier.h Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9#ifndef LLVM_OPTION_OPTSPECIFIER_H

10#define LLVM_OPTION_OPTSPECIFIER_H

11

13

14namespace llvm {

15namespace opt {

16

18

19

21 unsigned ID = 0;

22

23public:

28

29 bool isValid() const { return ID != 0; }

30

31 unsigned getID() const { return ID; }

32

35};

36

37}

38}

39

40#endif

bool operator==(OptSpecifier Opt) const

Definition OptSpecifier.h:33

bool operator!=(OptSpecifier Opt) const

Definition OptSpecifier.h:34

OptSpecifier(unsigned ID)

Definition OptSpecifier.h:26

OptSpecifier(bool)=delete

bool isValid() const

Definition OptSpecifier.h:29

unsigned getID() const

Definition OptSpecifier.h:31

Option - Abstract representation for a single form of driver argument.

This is an optimization pass for GlobalISel generic memory operations.