Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizationArtifactCombiner.h361 const unsigned CastOpc = CastMI.getOpcode(); in tryFoldUnmergeCast() local
363 if (!isArtifactCast(CastOpc)) in tryFoldUnmergeCast()
376 if (CastOpc == TargetOpcode::G_TRUNC) { in tryFoldUnmergeCast()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DInstructionSimplify.h271 Value *SimplifyCastInst(unsigned CastOpc, Value *Op, Type *Ty,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp1820 CastInst::CastOps CastOpc = IsSext ? Instruction::SExt : Instruction::ZExt; in narrowMathIfNoOverflow() local
1823 cast<Operator>(Op1)->getOpcode() == CastOpc && in narrowMathIfNoOverflow()
1831 if (ConstantExpr::getCast(CastOpc, NarrowC, BO.getType()) != WideC) in narrowMathIfNoOverflow()
1854 return CastInst::Create(CastOpc, NarrowBO, BO.getType()); in narrowMathIfNoOverflow()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DInstructionSimplify.cpp4625 static Value *SimplifyCastInst(unsigned CastOpc, Value *Op, in SimplifyCastInst() argument
4628 return ConstantFoldCastOperand(CastOpc, C, Ty, Q.DL); in SimplifyCastInst()
4637 auto SecondOp = static_cast<Instruction::CastOps>(CastOpc); in SimplifyCastInst()
4652 if (CastOpc == Instruction::BitCast) in SimplifyCastInst()
4659 Value *llvm::SimplifyCastInst(unsigned CastOpc, Value *Op, Type *Ty, in SimplifyCastInst() argument
4661 return ::SimplifyCastInst(CastOpc, Op, Ty, Q, RecursionLimit); in SimplifyCastInst()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp3428 unsigned CastOpc = IsSigned ? ISD::SIGN_EXTEND : ISD::ZERO_EXTEND; in LowerVectorINT_TO_FP() local
3430 In = DAG.getNode(CastOpc, dl, CastVT, In); in LowerVectorINT_TO_FP()
3453 unsigned CastOpc = IsSigned ? ISD::SIGN_EXTEND : ISD::ZERO_EXTEND; in LowerVectorINT_TO_FP() local
3455 In = DAG.getNode(CastOpc, dl, CastVT, In); in LowerVectorINT_TO_FP()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp5841 unsigned CastOpc; in LowerVectorINT_TO_FP() local
5846 CastOpc = ISD::SIGN_EXTEND; in LowerVectorINT_TO_FP()
5850 CastOpc = ISD::ZERO_EXTEND; in LowerVectorINT_TO_FP()
5855 Op = DAG.getNode(CastOpc, dl, DestVecType, Op.getOperand(0)); in LowerVectorINT_TO_FP()