Home
last modified time | relevance | path

Searched refs:CastOpc (Results 1 – 6 of 6) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DInstructionSimplify.h186 Value *simplifyCastInst(unsigned CastOpc, Value *Op, Type *Ty,
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizationArtifactCombiner.h405 const unsigned CastOpc = CastMI.getOpcode(); in tryFoldUnmergeCast() local
407 if (!isArtifactCast(CastOpc)) in tryFoldUnmergeCast()
420 if (CastOpc == TargetOpcode::G_TRUNC) { in tryFoldUnmergeCast()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp2068 CastInst::CastOps CastOpc = IsSext ? Instruction::SExt : Instruction::ZExt; in narrowMathIfNoOverflow() local
2071 cast<Operator>(Op1)->getOpcode() == CastOpc && in narrowMathIfNoOverflow()
2078 Constant *NarrowC = getLosslessTrunc(WideC, X->getType(), CastOpc); in narrowMathIfNoOverflow()
2102 return CastInst::Create(CastOpc, NarrowBO, BO.getType()); in narrowMathIfNoOverflow()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DInstructionSimplify.cpp5289 static Value *simplifyCastInst(unsigned CastOpc, Value *Op, Type *Ty, in simplifyCastInst() argument
5292 return ConstantFoldCastOperand(CastOpc, C, Ty, Q.DL); in simplifyCastInst()
5301 auto SecondOp = static_cast<Instruction::CastOps>(CastOpc); in simplifyCastInst()
5316 if (CastOpc == Instruction::BitCast) in simplifyCastInst()
5323 Value *llvm::simplifyCastInst(unsigned CastOpc, Value *Op, Type *Ty, in simplifyCastInst() argument
5325 return ::simplifyCastInst(CastOpc, Op, Ty, Q, RecursionLimit); in simplifyCastInst()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp5982 unsigned CastOpc; in LowerVectorINT_TO_FP() local
5987 CastOpc = ISD::SIGN_EXTEND; in LowerVectorINT_TO_FP()
5991 CastOpc = ISD::ZERO_EXTEND; in LowerVectorINT_TO_FP()
5996 Op = DAG.getNode(CastOpc, dl, DestVecType, Op.getOperand(0)); in LowerVectorINT_TO_FP()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp4265 unsigned CastOpc = IsSigned ? ISD::SIGN_EXTEND : ISD::ZERO_EXTEND; in LowerVectorINT_TO_FP() local
4267 In = DAG.getNode(CastOpc, dl, CastVT, In); in LowerVectorINT_TO_FP()
4299 unsigned CastOpc = IsSigned ? ISD::SIGN_EXTEND : ISD::ZERO_EXTEND; in LowerVectorINT_TO_FP() local
4301 In = DAG.getNode(CastOpc, dl, CastVT, In); in LowerVectorINT_TO_FP()