LLVM  16.0.0git
Macros | Functions
CloneFunction.cpp File Reference
#include "llvm/ADT/SetVector.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/Analysis/DomTreeUpdater.h"
#include "llvm/Analysis/InstructionSimplify.h"
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/IR/CFG.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/DebugInfo.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/MDBuilder.h"
#include "llvm/IR/Metadata.h"
#include "llvm/IR/Module.h"
#include "llvm/Transforms/Utils/BasicBlockUtils.h"
#include "llvm/Transforms/Utils/Cloning.h"
#include "llvm/Transforms/Utils/Local.h"
#include "llvm/Transforms/Utils/ValueMapper.h"
#include <map>
#include <optional>
#include "llvm/IR/ConstrainedOps.def"
Include dependency graph for CloneFunction.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "clone-function"
 
#define INSTRUCTION(NAME, NARG, ROUND_MODE, INTRINSIC)
 
#define FUNCTION   INSTRUCTION
 

Functions

static bool hasRoundingModeOperand (Intrinsic::ID CIID)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "clone-function"

Definition at line 39 of file CloneFunction.cpp.

◆ FUNCTION

#define FUNCTION   INSTRUCTION

◆ INSTRUCTION

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

Function Documentation

◆ hasRoundingModeOperand()

static bool hasRoundingModeOperand ( Intrinsic::ID  CIID)
static

Definition at line 363 of file CloneFunction.cpp.

References llvm_unreachable.