Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp1367 auto CastOpcode = Cast0->getOpcode(); in foldCastedBitwiseLogic() local
1368 if (CastOpcode != Cast1->getOpcode() || SrcTy != Cast1->getSrcTy()) in foldCastedBitwiseLogic()
1378 return CastInst::Create(CastOpcode, NewOp, DestTy); in foldCastedBitwiseLogic()
1393 return CastInst::Create(CastOpcode, Res, DestTy); in foldCastedBitwiseLogic()
1403 return CastInst::Create(CastOpcode, R, DestTy); in foldCastedBitwiseLogic()
H A DInstructionCombining.cpp249 auto CastOpcode = Cast->getOpcode(); in simplifyAssocCastAssoc() local
250 if (CastOpcode != Instruction::ZExt) in simplifyAssocCastAssoc()
274 Constant *CastC2 = ConstantExpr::getCast(CastOpcode, C2, DestTy); in simplifyAssocCastAssoc()
/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp8461 unsigned CastOpcode = Cast->getOpcode(); in matchVSelectOpSizesWithSetCC() local
8462 assert((CastOpcode == ISD::SIGN_EXTEND || CastOpcode == ISD::ZERO_EXTEND || in matchVSelectOpSizesWithSetCC()
8463 CastOpcode == ISD::TRUNCATE || CastOpcode == ISD::FP_EXTEND || in matchVSelectOpSizesWithSetCC()
8464 CastOpcode == ISD::FP_ROUND) && in matchVSelectOpSizesWithSetCC()
8490 if (CastOpcode == ISD::FP_ROUND) { in matchVSelectOpSizesWithSetCC()
8492 CastA = DAG.getNode(CastOpcode, DL, VT, A, Cast->getOperand(1)); in matchVSelectOpSizesWithSetCC()
8493 CastB = DAG.getNode(CastOpcode, DL, VT, B, Cast->getOperand(1)); in matchVSelectOpSizesWithSetCC()
8495 CastA = DAG.getNode(CastOpcode, DL, VT, A); in matchVSelectOpSizesWithSetCC()
8496 CastB = DAG.getNode(CastOpcode, DL, VT, B); in matchVSelectOpSizesWithSetCC()