Thanks to visit codestin.com
Credit goes to llvm.org

LLVM 22.0.0git
PreISelIntrinsicLowering.cpp File Reference

Go to the source code of this file.

Macros

#define BEGIN_REGISTER_VP_INTRINSIC(VPID, MASKPOS, VLENPOS)

Functions

template<class T>
static bool forEachCall (Function &Intrin, T Callback)
static bool lowerLoadRelative (Function &F)
static CallInst::TailCallKind getOverridingTailCallKind (const Function &F)
static bool lowerObjCCall (Function &F, RTLIB::LibcallImpl NewFn, bool setNonLazyBind=false)
static bool canEmitLibcall (const TargetMachine *TM, Function *F, RTLIB::Libcall LC)
static bool canEmitMemcpy (const TargetMachine *TM, Function *F)
static ConstantgetMemSetPattern16Value (MemSetPatternInst *Inst, const TargetLibraryInfo &TLI)
 INITIALIZE_PASS_BEGIN (PreISelIntrinsicLoweringLegacyPass, "pre-isel-intrinsic-lowering", "Pre-ISel Intrinsic Lowering", false, false) INITIALIZE_PASS_END(PreISelIntrinsicLoweringLegacyPass

Variables

static cl::opt< int64_t > MemIntrinsicExpandSizeThresholdOpt ("mem-intrinsic-expand-size", cl::desc("Set minimum mem intrinsic size to expand in IR"), cl::init(-1), cl::Hidden)
 Threshold to leave statically sized memory intrinsic calls.
pre isel intrinsic lowering
pre isel intrinsic Pre ISel Intrinsic Lowering
pre isel intrinsic Pre ISel Intrinsic false

Macro Definition Documentation

◆ BEGIN_REGISTER_VP_INTRINSIC

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

Function Documentation

◆ canEmitLibcall()

bool canEmitLibcall ( const TargetMachine * TM,
Function * F,
RTLIB::Libcall LC )
static

Definition at line 233 of file PreISelIntrinsicLowering.cpp.

References F, and llvm::TargetLoweringBase::getLibcallName().

◆ canEmitMemcpy()

bool canEmitMemcpy ( const TargetMachine * TM,
Function * F )
static

Definition at line 242 of file PreISelIntrinsicLowering.cpp.

References F, and llvm::TargetLoweringBase::getMemcpyName().

◆ forEachCall()

template<class T>
bool forEachCall ( Function & Intrin,
T Callback )
static

◆ getMemSetPattern16Value()

◆ getOverridingTailCallKind()

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( PreISelIntrinsicLoweringLegacyPass ,
"pre-isel-intrinsic-lowering" ,
"Pre-ISel Intrinsic Lowering" ,
false ,
false  )

◆ lowerLoadRelative()

bool lowerLoadRelative ( Function & F)
static

◆ lowerObjCCall()

Variable Documentation

◆ false

pre isel intrinsic Pre ISel Intrinsic false

Definition at line 651 of file PreISelIntrinsicLowering.cpp.

◆ Lowering

pre isel intrinsic Pre ISel Intrinsic Lowering

◆ lowering

pre isel intrinsic lowering

Definition at line 650 of file PreISelIntrinsicLowering.cpp.

◆ MemIntrinsicExpandSizeThresholdOpt

cl::opt< int64_t > MemIntrinsicExpandSizeThresholdOpt("mem-intrinsic-expand-size", cl::desc("Set minimum mem intrinsic size to expand in IR"), cl::init(-1), cl::Hidden) ( "mem-intrinsic-expand-size" ,
cl::desc("Set minimum mem intrinsic size to expand in IR") ,
cl::init(-1) ,
cl::Hidden  )
static

Threshold to leave statically sized memory intrinsic calls.

Calls of known size larger than this will be expanded by the pass. Calls of unknown or lower size will be left for expansion in codegen.