Home
last modified time | relevance | path

Searched refs:CastOpcode (Results 1 – 3 of 3) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp1632 auto CastOpcode = Cast0->getOpcode(); in foldCastedBitwiseLogic() local
1633 if (CastOpcode != Cast1->getOpcode() || SrcTy != Cast1->getSrcTy()) in foldCastedBitwiseLogic()
1643 return CastInst::Create(CastOpcode, NewOp, DestTy); in foldCastedBitwiseLogic()
1658 return CastInst::Create(CastOpcode, Res, DestTy); in foldCastedBitwiseLogic()
1668 return CastInst::Create(CastOpcode, R, DestTy); in foldCastedBitwiseLogic()
H A DInstructionCombining.cpp317 auto CastOpcode = Cast->getOpcode(); in simplifyAssocCastAssoc() local
318 if (CastOpcode != Instruction::ZExt) in simplifyAssocCastAssoc()
342 Constant *CastC2 = ConstantExpr::getCast(CastOpcode, C2, DestTy); in simplifyAssocCastAssoc()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp10740 unsigned CastOpcode = Cast->getOpcode(); in matchVSelectOpSizesWithSetCC() local
10741 assert((CastOpcode == ISD::SIGN_EXTEND || CastOpcode == ISD::ZERO_EXTEND || in matchVSelectOpSizesWithSetCC()
10742 CastOpcode == ISD::TRUNCATE || CastOpcode == ISD::FP_EXTEND || in matchVSelectOpSizesWithSetCC()
10743 CastOpcode == ISD::FP_ROUND) && in matchVSelectOpSizesWithSetCC()
10769 if (CastOpcode == ISD::FP_ROUND) { in matchVSelectOpSizesWithSetCC()
10774 CastA = DAG.getNode(CastOpcode, DL, VT, A); in matchVSelectOpSizesWithSetCC()
10775 CastB = DAG.getNode(CastOpcode, DL, VT, B); in matchVSelectOpSizesWithSetCC()
19925 unsigned CastOpcode = N->getOperand(0).getOpcode(); in combineConcatVectorOfCasts() local
19926 switch (CastOpcode) { in combineConcatVectorOfCasts()
19964 switch (CastOpcode) { in combineConcatVectorOfCasts()
[all …]