| 
    LLVM 22.0.0git
    
   | 
 
#include "LegalizeTypes.h"#include "llvm/Analysis/TargetLibraryInfo.h"#include "llvm/CodeGen/StackMaps.h"#include "llvm/CodeGen/TargetLowering.h"#include "llvm/IR/DerivedTypes.h"#include "llvm/IR/DiagnosticInfo.h"#include "llvm/Support/ErrorHandling.h"#include "llvm/Support/KnownBits.h"#include "llvm/Support/raw_ostream.h"#include <algorithm>Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "legalize-types" | 
Functions | |
| static SDValue | SaturateWidenedDIVFIX (SDValue V, SDLoc &dl, unsigned SatW, bool Signed, const TargetLowering &TLI, SelectionDAG &DAG) | 
| static SDValue | earlyExpandDIVFIX (SDNode *N, SDValue LHS, SDValue RHS, unsigned Scale, const TargetLowering &TLI, SelectionDAG &DAG, unsigned SatW=0) | 
| static unsigned | getExtendForIntVecReduction (SDNode *N) | 
| static std::pair< ISD::CondCode, ISD::NodeType > | getExpandedMinMaxOps (int Op) | 
| static SDValue | fpExtendHelper (SDValue Op, SDValue &Chain, bool IsStrict, EVT VT, SDLoc DL, SelectionDAG &DAG) | 
| #define DEBUG_TYPE "legalize-types" | 
Definition at line 32 of file LegalizeIntegerTypes.cpp.
      
  | 
  static | 
Definition at line 1262 of file LegalizeIntegerTypes.cpp.
References assert(), llvm::TargetLowering::expandFixedPointDiv(), llvm::SelectionDAG::getContext(), llvm::SelectionDAG::getExtOrTrunc(), llvm::EVT::getIntegerVT(), llvm::EVT::getScalarSizeInBits(), llvm::EVT::getVectorElementCount(), llvm::EVT::getVectorVT(), llvm::SelectionDAG::getZExtOrTrunc(), llvm::EVT::isVector(), LHS, N, RHS, SaturateWidenedDIVFIX(), llvm::ISD::SDIVFIX, llvm::ISD::SDIVFIXSAT, Signed, and llvm::ISD::UDIVFIXSAT.
      
  | 
  static | 
Definition at line 4163 of file LegalizeIntegerTypes.cpp.
References DL, llvm::SelectionDAG::getNode(), and llvm::ISD::STRICT_FP_EXTEND.
      
  | 
  static | 
Definition at line 3465 of file LegalizeIntegerTypes.cpp.
References llvm_unreachable, llvm::ISD::SETGT, llvm::ISD::SETLT, llvm::ISD::SETUGT, llvm::ISD::SETULT, llvm::ISD::SMAX, llvm::ISD::SMIN, llvm::ISD::UMAX, and llvm::ISD::UMIN.
Definition at line 2729 of file LegalizeIntegerTypes.cpp.
References llvm::ISD::ANY_EXTEND, llvm_unreachable, N, llvm::ISD::SIGN_EXTEND, and llvm::ISD::ZERO_EXTEND.
      
  | 
  static | 
Definition at line 1234 of file LegalizeIntegerTypes.cpp.
References llvm::SelectionDAG::getConstant(), llvm::APInt::getHighBitsSet(), llvm::APInt::getLowBitsSet(), llvm::SelectionDAG::getNode(), llvm::EVT::getScalarSizeInBits(), Signed, llvm::ISD::SMAX, llvm::ISD::SMIN, and llvm::ISD::UMIN.
Referenced by earlyExpandDIVFIX().