LLVM: include/llvm/SandboxIR/Operator.h Source File (original) (raw)

1

2

3

4

5

6

7

8

9#ifndef LLVM_SANDBOXIR_OPERATOR_H

10#define LLVM_SANDBOXIR_OPERATOR_H

11

15

17

19public:

20

21

23 void *operator new(size_t s) = delete;

24

33};

34

58

96

97}

98

99#endif

static bool classof(const Value *V)

static bool isSupportedFloatingPointType(Type *Ty)

Returns true if Ty is a supported floating-point type for phi, select, or call FPMathOperators.

Convenience struct for specifying and reasoning about fast-math flags.

static bool classof(const Instruction *)

static bool classof(const Instruction *I)

bool hasAllowContract() const

Definition Operator.h:77

bool hasAllowReassoc() const

Definition Operator.h:62

FastMathFlags getFastMathFlags() const

Definition Operator.h:83

bool hasAllowReciprocal() const

Definition Operator.h:74

bool isFast() const

Definition Operator.h:61

bool hasNoSignedZeros() const

Definition Operator.h:71

bool hasNoInfs() const

Definition Operator.h:68

float getFPAccuracy() const

Definition Operator.h:86

static bool isSupportedFloatingPointType(Type *Ty)

Definition Operator.h:89

bool hasApproxFunc() const

Definition Operator.h:80

bool hasNoNaNs() const

Definition Operator.h:65

static bool classof(const Value *V)

Definition Operator.h:92

A sandboxir::User with operands, opcode and linked with previous/next instructions in an instruction ...

bool hasPoisonGeneratingFlags() const

Definition Operator.h:30

static bool classof(const Value *From)

Definition Operator.h:27

static bool classof(const Instruction *)

Definition Operator.h:25

static bool classof(const ConstantExpr *)

Definition Operator.h:26

static bool classof(const ConstantExpr *From)

Definition Operator.h:50

bool hasNoSignedWrap() const

Definition Operator.h:40

static bool classof(const Value *From)

Definition Operator.h:54

bool hasNoUnsignedWrap() const

Definition Operator.h:37

unsigned getNoWrapKind() const

Definition Operator.h:43

static bool classof(const Instruction *From)

Definition Operator.h:46

Just like llvm::Type these are immutable, unique, never get freed and can only be created via static ...

User(ClassID ID, llvm::Value *V, Context &Ctx)

A SandboxIR Value has users. This is the base class.

llvm::Value * Val

The LLVM Value that corresponds to this SandboxIR Value.

decltype(auto) cast(const From &Val)

cast - Return the argument parameter cast to the specified type.