Searched refs:CastOpcode (Results 1 – 7 of 7) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ExpandVectorPredication.cpp | 400 unsigned CastOpcode = VPIntrinsic::getFunctionalOpcodeForVP(VPID).value(); in expandPredicationToCastIntrinsic() local 401 assert(Instruction::isCast(CastOpcode)); in expandPredicationToCastIntrinsic() 403 Builder.CreateCast(Instruction::CastOps(CastOpcode), VPI.getOperand(0), in expandPredicationToCastIntrinsic()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineVectorOps.cpp | 1600 CastInst::CastOps CastOpcode; in narrowInsElt() local 1602 CastOpcode = Instruction::FPExt; in narrowInsElt() 1604 CastOpcode = Instruction::SExt; in narrowInsElt() 1606 CastOpcode = Instruction::ZExt; in narrowInsElt() 1616 return CastInst::Create(CastOpcode, NewInsElt, InsElt.getType()); in narrowInsElt() 2580 CastInst::CastOps CastOpcode = Cast0->getOpcode(); in foldCastShuffle() local 2581 switch (CastOpcode) { in foldCastShuffle() 2632 return CastInst::Create(CastOpcode, NewShuf, ShufTy); in foldCastShuffle()
|
| H A D | InstCombineAndOrXor.cpp | 1841 Instruction::CastOps CastOpcode = Cast0->getOpcode(); in foldCastedBitwiseLogic() local 1842 if (CastOpcode != Cast1->getOpcode()) in foldCastedBitwiseLogic() 1864 X = Builder.CreateCast(CastOpcode, X, Y->getType()); in foldCastedBitwiseLogic() 1866 Y = Builder.CreateCast(CastOpcode, Y, X->getType()); in foldCastedBitwiseLogic() 1876 return CastInst::Create(CastOpcode, NarrowLogic, DestTy); in foldCastedBitwiseLogic() 1890 return CastInst::Create(CastOpcode, NewOp, DestTy); in foldCastedBitwiseLogic()
|
| H A D | InstructionCombining.cpp | 371 auto CastOpcode = Cast->getOpcode(); in simplifyAssocCastAssoc() local 372 if (CastOpcode != Instruction::ZExt) in simplifyAssocCastAssoc() 397 Constant *CastC2 = ConstantFoldCastOperand(CastOpcode, C2, DestTy, DL); in simplifyAssocCastAssoc()
|
| H A D | InstCombineCompares.cpp | 6316 CastInst::CastOps CastOpcode = in foldICmpWithZextOrSext() local 6319 X = Builder.CreateCast(CastOpcode, X, YTy); in foldICmpWithZextOrSext() 6321 Y = Builder.CreateCast(CastOpcode, Y, XTy); in foldICmpWithZextOrSext()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 14070 unsigned CastOpcode = Cast->getOpcode(); in matchVSelectOpSizesWithSetCC() local 14071 assert((CastOpcode == ISD::SIGN_EXTEND || CastOpcode == ISD::ZERO_EXTEND || in matchVSelectOpSizesWithSetCC() 14072 CastOpcode == ISD::TRUNCATE || CastOpcode == ISD::FP_EXTEND || in matchVSelectOpSizesWithSetCC() 14073 CastOpcode == ISD::FP_ROUND) && in matchVSelectOpSizesWithSetCC() 14099 if (CastOpcode == ISD::FP_ROUND) { in matchVSelectOpSizesWithSetCC() 14101 CastA = DAG.getNode(CastOpcode, DL, VT, A, Cast->getOperand(1)); in matchVSelectOpSizesWithSetCC() 14102 CastB = DAG.getNode(CastOpcode, DL, VT, B, Cast->getOperand(1)); in matchVSelectOpSizesWithSetCC() 14104 CastA = DAG.getNode(CastOpcode, DL, VT, A); in matchVSelectOpSizesWithSetCC() 14105 CastB = DAG.getNode(CastOpcode, DL, VT, B); in matchVSelectOpSizesWithSetCC() 25085 unsigned CastOpcode = N->getOperand(0).getOpcode(); in combineConcatVectorOfCasts() local [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | SLPVectorizer.cpp | 12330 unsigned CastOpcode = Instruction::Trunc; in createShuffle() local 12334 CastOpcode = IsSigned ? Instruction::SExt : Instruction::ZExt; in createShuffle() 12335 return TTI.getCastInstrCost(CastOpcode, getWidenedType(ScalarTy, VF), in createShuffle() 12348 unsigned CastOpcode = Instruction::Trunc; in createShuffle() local 12352 CastOpcode = IsSigned ? Instruction::SExt : Instruction::ZExt; in createShuffle() 12354 CastOpcode, VectorType::get(ScalarTy, VecTy->getElementCount()), in createShuffle() 12859 unsigned CastOpcode = Instruction::Trunc; local 12863 CastOpcode = IsSigned ? Instruction::SExt : Instruction::ZExt; 12865 CastOpcode, getWidenedType(ScalarTy, E->getVectorFactor()),
|