LLVM: include/llvm/Frontend/OpenMP/OMPAssume.h Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15#ifndef LLVM_FRONTEND_OPENMP_OMPASSUME_H

16#define LLVM_FRONTEND_OPENMP_OMPASSUME_H

17

19

20namespace llvm {

21

22namespace omp {

23

24

35

36

38#define OMP_ASSUME_CLAUSE(Identifier, StartsWith, HasDirectiveList, \

39 HasExpression) \

40 {Identifier, StartsWith, HasDirectiveList, HasExpression},

41#include "llvm/Frontend/OpenMP/OMPKinds.def"

42};

43

45 std::string S;

47 S += (S.empty() ? "'" : "', '") + ACMI.Identifier.str();

48 return S + "'";

49}

50

51}

52

53}

54

55#endif

A wrapper around a string literal that serves as a proxy for constructing global tables of StringRefs...

static constexpr AssumptionClauseMappingInfo AssumptionClauseMappings[]

All known assume clauses.

Definition OMPAssume.h:37

std::string getAllAssumeClauseOptions()

Definition OMPAssume.h:44

This is an optimization pass for GlobalISel generic memory operations.

Helper to describe assume clauses.

Definition OMPAssume.h:25

bool HasDirectiveList

Flag to determine if a directive lists follows.

Definition OMPAssume.h:31

bool StartsWith

Flag to determine if the identifier is a full name or the start of a name.

Definition OMPAssume.h:29

llvm::StringLiteral Identifier

The identifier describing the (beginning of the) clause.

Definition OMPAssume.h:27

bool HasExpression

Flag to determine if an expression follows.

Definition OMPAssume.h:33