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

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9#ifndef LLVM_SANDBOXIR_INTRINSICINST_H

10#define LLVM_SANDBOXIR_INTRINSICINST_H

11

14

16

17class IntrinsicInst : public CallInst {

19

20public:

37 auto *LLVMV = V->Val;

39 }

40};

41

42}

43

44#endif

A wrapper class for inspecting calls to intrinsic functions.

static LLVM_ABI bool mayLowerToFunctionCall(Intrinsic::ID IID)

Check if the intrinsic might lower into a regular function call in the course of IR transformations.

friend class IntrinsicInst

bool isAssociative() const

Definition IntrinsicInst.h:24

bool isAssumeLikeIntrinsic() const

Definition IntrinsicInst.h:30

bool isCommutative() const

Definition IntrinsicInst.h:27

static bool mayLowerToFunctionCall(Intrinsic::ID IID)

Definition IntrinsicInst.h:33

static bool classof(const Value *V)

Definition IntrinsicInst.h:36

Intrinsic::ID getIntrinsicID() const

Definition IntrinsicInst.h:21

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

llvm::Value * Val

The LLVM Value that corresponds to this SandboxIR Value.

Context & Ctx

All values point to the context.

bool isa(const From &Val)

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

decltype(auto) cast(const From &Val)

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