Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/include/llvm/Analysis/
H A DInstructionSimplify.h274 Value *simplifyCastInst(unsigned CastOpc, Value *Op, Type *Ty,
/openbsd/gnu/llvm/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizationArtifactCombiner.h374 const unsigned CastOpc = CastMI.getOpcode(); in tryFoldUnmergeCast() local
376 if (!isArtifactCast(CastOpc)) in tryFoldUnmergeCast()
389 if (CastOpc == TargetOpcode::G_TRUNC) { in tryFoldUnmergeCast()
/openbsd/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp1914 CastInst::CastOps CastOpc = IsSext ? Instruction::SExt : Instruction::ZExt; in narrowMathIfNoOverflow() local
1917 cast<Operator>(Op1)->getOpcode() == CastOpc && in narrowMathIfNoOverflow()
1925 if (ConstantExpr::getCast(CastOpc, NarrowC, BO.getType()) != WideC) in narrowMathIfNoOverflow()
1948 return CastInst::Create(CastOpc, NarrowBO, BO.getType()); in narrowMathIfNoOverflow()
/openbsd/gnu/llvm/llvm/lib/Analysis/
H A DInstructionSimplify.cpp5060 static Value *simplifyCastInst(unsigned CastOpc, Value *Op, Type *Ty, in simplifyCastInst() argument
5063 return ConstantFoldCastOperand(CastOpc, C, Ty, Q.DL); in simplifyCastInst()
5072 auto SecondOp = static_cast<Instruction::CastOps>(CastOpc); in simplifyCastInst()
5087 if (CastOpc == Instruction::BitCast) in simplifyCastInst()
5094 Value *llvm::simplifyCastInst(unsigned CastOpc, Value *Op, Type *Ty, in simplifyCastInst() argument
5096 return ::simplifyCastInst(CastOpc, Op, Ty, Q, RecursionLimit); in simplifyCastInst()
/openbsd/gnu/llvm/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp5969 unsigned CastOpc; in LowerVectorINT_TO_FP() local
5974 CastOpc = ISD::SIGN_EXTEND; in LowerVectorINT_TO_FP()
5978 CastOpc = ISD::ZERO_EXTEND; in LowerVectorINT_TO_FP()
5983 Op = DAG.getNode(CastOpc, dl, DestVecType, Op.getOperand(0)); in LowerVectorINT_TO_FP()
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp4147 unsigned CastOpc = IsSigned ? ISD::SIGN_EXTEND : ISD::ZERO_EXTEND; in LowerVectorINT_TO_FP() local
4149 In = DAG.getNode(CastOpc, dl, CastVT, In); in LowerVectorINT_TO_FP()
4183 unsigned CastOpc = IsSigned ? ISD::SIGN_EXTEND : ISD::ZERO_EXTEND; in LowerVectorINT_TO_FP() local
4185 In = DAG.getNode(CastOpc, dl, CastVT, In); in LowerVectorINT_TO_FP()