Searched refs:CastOpcode (Results 1 – 3 of 3) sorted by relevance
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineAndOrXor.cpp | 1632 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 D | InstructionCombining.cpp | 317 auto CastOpcode = Cast->getOpcode(); in simplifyAssocCastAssoc() local 318 if (CastOpcode != Instruction::ZExt) in simplifyAssocCastAssoc() 342 Constant *CastC2 = ConstantExpr::getCast(CastOpcode, C2, DestTy); in simplifyAssocCastAssoc()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
H A D | DAGCombiner.cpp | 10597 unsigned CastOpcode = Cast->getOpcode(); in matchVSelectOpSizesWithSetCC() local 10598 assert((CastOpcode == ISD::SIGN_EXTEND || CastOpcode == ISD::ZERO_EXTEND || in matchVSelectOpSizesWithSetCC() 10599 CastOpcode == ISD::TRUNCATE || CastOpcode == ISD::FP_EXTEND || in matchVSelectOpSizesWithSetCC() 10600 CastOpcode == ISD::FP_ROUND) && in matchVSelectOpSizesWithSetCC() 10626 if (CastOpcode == ISD::FP_ROUND) { in matchVSelectOpSizesWithSetCC() 10628 CastA = DAG.getNode(CastOpcode, DL, VT, A, Cast->getOperand(1)); in matchVSelectOpSizesWithSetCC() 10629 CastB = DAG.getNode(CastOpcode, DL, VT, B, Cast->getOperand(1)); in matchVSelectOpSizesWithSetCC() 10631 CastA = DAG.getNode(CastOpcode, DL, VT, A); in matchVSelectOpSizesWithSetCC() 10632 CastB = DAG.getNode(CastOpcode, DL, VT, B); in matchVSelectOpSizesWithSetCC() 19697 unsigned CastOpcode = N->getOperand(0).getOpcode(); in combineConcatVectorOfCasts() local [all …]
|