Searched refs:CastOpc (Results 1 – 8 of 8) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | InstructionSimplify.h | 194 LLVM_ABI Value *simplifyCastInst(unsigned CastOpc, Value *Op, Type *Ty,
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | LegalizationArtifactCombiner.h | 424 const unsigned CastOpc = CastMI.getOpcode(); in tryFoldUnmergeCast() local 426 if (!isArtifactCast(CastOpc)) in tryFoldUnmergeCast() 439 if (CastOpc == TargetOpcode::G_TRUNC) { in tryFoldUnmergeCast()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | InstructionSimplify.cpp | 5358 static Value *simplifyCastInst(unsigned CastOpc, Value *Op, Type *Ty, in simplifyCastInst() argument 5361 return ConstantFoldCastOperand(CastOpc, C, Ty, Q.DL); in simplifyCastInst() 5370 auto SecondOp = static_cast<Instruction::CastOps>(CastOpc); in simplifyCastInst() 5385 if (CastOpc == Instruction::BitCast) in simplifyCastInst() 5391 if (CastOpc == Instruction::PtrToInt && in simplifyCastInst() 5400 Value *llvm::simplifyCastInst(unsigned CastOpc, Value *Op, Type *Ty, in simplifyCastInst() argument 5402 return ::simplifyCastInst(CastOpc, Op, Ty, Q, RecursionLimit); in simplifyCastInst()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VectorCombine.cpp | 3103 auto CastOpc = in foldCastFromReductions() local 3112 OldCost += TTI.getCastInstrCost(CastOpc, ReductionSrcTy, SrcTy, in foldCastFromReductions() 3118 TTI.getCastInstrCost(CastOpc, ResultTy, ReductionSrcTy->getScalarType(), in foldCastFromReductions() 3126 Value *NewCast = Builder.CreateCast(CastOpc, NewReduction, ResultTy); in foldCastFromReductions()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 2517 CastInst::CastOps CastOpc = IsSext ? Instruction::SExt : Instruction::ZExt; in narrowMathIfNoOverflow() local 2520 cast<Operator>(Op1)->getOpcode() == CastOpc && in narrowMathIfNoOverflow() 2527 Constant *NarrowC = getLosslessTrunc(WideC, X->getType(), CastOpc); in narrowMathIfNoOverflow() 2551 return CastInst::Create(CastOpc, NarrowBO, BO.getType()); in narrowMathIfNoOverflow()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMISelLowering.cpp | 6072 unsigned CastOpc; in LowerVectorINT_TO_FP() local 6077 CastOpc = ISD::SIGN_EXTEND; in LowerVectorINT_TO_FP() 6081 CastOpc = ISD::ZERO_EXTEND; in LowerVectorINT_TO_FP() 6086 Op = DAG.getNode(CastOpc, dl, DestVecType, Op.getOperand(0)); in LowerVectorINT_TO_FP()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.cpp | 4903 unsigned CastOpc = IsSigned ? ISD::SIGN_EXTEND : ISD::ZERO_EXTEND; in LowerVectorINT_TO_FP() local 4905 In = DAG.getNode(CastOpc, DL, CastVT, In); in LowerVectorINT_TO_FP()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 58858 if (std::optional<unsigned> CastOpc = in combineConcatVectorOps() local 58864 LHS = DAG.getNode(*CastOpc, DL, FpVT, LHS); in combineConcatVectorOps() 58865 RHS = DAG.getNode(*CastOpc, DL, FpVT, RHS); in combineConcatVectorOps()
|