LLVM  14.0.0git
Macros | Functions
IntrinsicInst.cpp File Reference
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/DebugInfoMetadata.h"
#include "llvm/IR/GlobalVariable.h"
#include "llvm/IR/Metadata.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/Operator.h"
#include "llvm/IR/PatternMatch.h"
#include "llvm/IR/Statepoint.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/IR/ConstrainedOps.def"
#include "llvm/IR/VPIntrinsics.def"
Include dependency graph for IntrinsicInst.cpp:

Go to the source code of this file.

Macros

#define INSTRUCTION(NAME, NARG, ROUND_MODE, INTRINSIC)
 
#define INSTRUCTION(NAME, NARG, ROUND_MODE, INTRINSIC)
 
#define INSTRUCTION(NAME, NARGS, ROUND_MODE, INTRINSIC)   case Intrinsic::INTRINSIC:
 
#define BEGIN_REGISTER_VP_INTRINSIC(VPID, MASKPOS, VLENPOS)
 
#define BEGIN_REGISTER_VP_INTRINSIC(VPID, MASKPOS, VLENPOS)
 
#define HANDLE_VP_IS_MEMOP(VPID, POINTERPOS, DATAPOS)
 
#define HANDLE_VP_IS_MEMOP(VPID, POINTERPOS, DATAPOS)
 
#define BEGIN_REGISTER_VP_INTRINSIC(VPID, MASKPOS, VLENPOS)
 
#define BEGIN_REGISTER_VP_INTRINSIC(VPID, ...)   case Intrinsic::VPID:
 
#define HANDLE_VP_TO_OPC(OPC)   FunctionalOC = Instruction::OPC;
 
#define END_REGISTER_VP_INTRINSIC(...)   break;
 
#define HANDLE_VP_TO_OPC(OPC)   case Instruction::OPC:
 
#define END_REGISTER_VP_INTRINSIC(VPID)   return Intrinsic::VPID;
 
#define HANDLE_VP_REDUCTION(VPID, STARTPOS, VECTORPOS)
 
#define HANDLE_VP_REDUCTION(VPID, STARTPOS, VECTORPOS)
 
#define HANDLE_VP_REDUCTION(VPID, STARTPOS, VECTORPOS)
 

Functions

static ValueAsMetadatagetAsMetadata (Value *V)
 

Macro Definition Documentation

◆ BEGIN_REGISTER_VP_INTRINSIC [1/4]

#define BEGIN_REGISTER_VP_INTRINSIC (   VPID,
  MASKPOS,
  VLENPOS 
)
Value:
case Intrinsic::VPID: \
return MASKPOS;

◆ BEGIN_REGISTER_VP_INTRINSIC [2/4]

#define BEGIN_REGISTER_VP_INTRINSIC (   VPID,
  MASKPOS,
  VLENPOS 
)
Value:
case Intrinsic::VPID: \
return VLENPOS;

◆ BEGIN_REGISTER_VP_INTRINSIC [3/4]

#define BEGIN_REGISTER_VP_INTRINSIC (   VPID,
  MASKPOS,
  VLENPOS 
)
Value:
case Intrinsic::VPID: \
break;

◆ BEGIN_REGISTER_VP_INTRINSIC [4/4]

#define BEGIN_REGISTER_VP_INTRINSIC (   VPID,
  ... 
)    case Intrinsic::VPID:

◆ END_REGISTER_VP_INTRINSIC [1/2]

#define END_REGISTER_VP_INTRINSIC (   ...)    break;

◆ END_REGISTER_VP_INTRINSIC [2/2]

#define END_REGISTER_VP_INTRINSIC (   VPID)    return Intrinsic::VPID;

◆ HANDLE_VP_IS_MEMOP [1/2]

#define HANDLE_VP_IS_MEMOP (   VPID,
  POINTERPOS,
  DATAPOS 
)
Value:
case Intrinsic::VPID: \
return POINTERPOS;

◆ HANDLE_VP_IS_MEMOP [2/2]

#define HANDLE_VP_IS_MEMOP (   VPID,
  POINTERPOS,
  DATAPOS 
)
Value:
case Intrinsic::VPID: \
return DATAPOS;

◆ HANDLE_VP_REDUCTION [1/3]

#define HANDLE_VP_REDUCTION (   VPID,
  STARTPOS,
  VECTORPOS 
)
Value:
case Intrinsic::VPID: \
break;

◆ HANDLE_VP_REDUCTION [2/3]

#define HANDLE_VP_REDUCTION (   VPID,
  STARTPOS,
  VECTORPOS 
)
Value:
case Intrinsic::VPID: \
return VECTORPOS;

◆ HANDLE_VP_REDUCTION [3/3]

#define HANDLE_VP_REDUCTION (   VPID,
  STARTPOS,
  VECTORPOS 
)
Value:
case Intrinsic::VPID: \
return STARTPOS;

◆ HANDLE_VP_TO_OPC [1/2]

#define HANDLE_VP_TO_OPC (   OPC)    FunctionalOC = Instruction::OPC;

◆ HANDLE_VP_TO_OPC [2/2]

#define HANDLE_VP_TO_OPC (   OPC)    case Instruction::OPC:

◆ INSTRUCTION [1/3]

#define INSTRUCTION (   NAME,
  NARG,
  ROUND_MODE,
  INTRINSIC 
)
Value:
case Intrinsic::INTRINSIC: \
return NARG == 1;

◆ INSTRUCTION [2/3]

#define INSTRUCTION (   NAME,
  NARG,
  ROUND_MODE,
  INTRINSIC 
)
Value:
case Intrinsic::INTRINSIC: \
return NARG == 3;

◆ INSTRUCTION [3/3]

#define INSTRUCTION (   NAME,
  NARGS,
  ROUND_MODE,
  INTRINSIC 
)    case Intrinsic::INTRINSIC:

Function Documentation

◆ getAsMetadata()

static ValueAsMetadata* getAsMetadata ( Value V)
static