LLVM 20.0.0git
Macros | Functions | Variables
Float2Int.cpp File Reference
#include "llvm/Transforms/Scalar/Float2Int.h"
#include "llvm/ADT/APInt.h"
#include "llvm/ADT/APSInt.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/Analysis/GlobalsModRef.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/Dominators.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/Module.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include <deque>

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "float2int"
 

Functions

static CmpInst::Predicate mapFCmpPred (CmpInst::Predicate P)
 
static Instruction::BinaryOps mapBinOpcode (unsigned Opcode)
 

Variables

static cl::opt< unsignedMaxIntegerBW ("float2int-max-integer-bw", cl::init(64), cl::Hidden, cl::desc("Max integer bitwidth to consider in float2int" "(default=64)"))
 The largest integer type worth dealing with.
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "float2int"

Definition at line 28 of file Float2Int.cpp.

Function Documentation

◆ mapBinOpcode()

static Instruction::BinaryOps mapBinOpcode ( unsigned  Opcode)
static

Definition at line 78 of file Float2Int.cpp.

References llvm_unreachable.

◆ mapFCmpPred()

static CmpInst::Predicate mapFCmpPred ( CmpInst::Predicate  P)
static

Variable Documentation

◆ MaxIntegerBW

cl::opt< unsigned > MaxIntegerBW("float2int-max-integer-bw", cl::init(64), cl::Hidden, cl::desc("Max integer bitwidth to consider in float2int" "(default=64)")) ( "float2int-max-integer-bw"  ,
cl::init(64)  ,
cl::Hidden  ,
cl::desc("Max integer bitwidth to consider in float2int" "(default=64)")   
)
static

The largest integer type worth dealing with.