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

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9#ifndef LLVM_SANDBOXIR_ARGUMENT_H

10#define LLVM_SANDBOXIR_ARGUMENT_H

11

14

16

17

20 : Value(ClassID::Argument, Arg, Ctx) {}

21 friend class Context;

22

23public:

27#ifndef NDEBUG

33#endif

34};

35

36}

37

38#endif

assert(UImm &&(UImm !=~static_cast< T >(0)) &&"Invalid immediate!")

#define LLVM_ABI_FOR_TEST

This class represents an incoming formal argument to a Function.

This class implements an extremely fast bulk output stream that can only output to a stream.

LLVM_ABI_FOR_TEST void dumpOS(raw_ostream &OS) const final

void printAsOperand(raw_ostream &OS) const

void verify() const final

Should crash if there is something wrong with the instruction.

Definition Argument.h:28

friend class Context

Definition Argument.h:21

static bool classof(const sandboxir::Value *From)

Definition Argument.h:24

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

llvm::Value * Val

The LLVM Value that corresponds to this SandboxIR Value.

ClassID getSubclassID() const

Context & Ctx

All values point to the context.

FunctionAddr VTableAddr Value

bool isa(const From &Val)

isa - Return true if the parameter to the template is an instance of one of the template type argu...