Searched refs:CastOpcode (Results 1 – 3 of 3) sorted by relevance
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
| D | InstCombineAndOrXor.cpp | 1560 auto CastOpcode = Cast0->getOpcode(); in foldCastedBitwiseLogic() local 1561 if (CastOpcode != Cast1->getOpcode() || SrcTy != Cast1->getSrcTy()) in foldCastedBitwiseLogic() 1571 return CastInst::Create(CastOpcode, NewOp, DestTy); in foldCastedBitwiseLogic() 1586 return CastInst::Create(CastOpcode, Res, DestTy); in foldCastedBitwiseLogic() 1596 return CastInst::Create(CastOpcode, R, DestTy); in foldCastedBitwiseLogic()
|
| D | InstructionCombining.cpp | 276 auto CastOpcode = Cast->getOpcode(); in simplifyAssocCastAssoc() local 277 if (CastOpcode != Instruction::ZExt) in simplifyAssocCastAssoc() 301 Constant *CastC2 = ConstantExpr::getCast(CastOpcode, C2, DestTy); in simplifyAssocCastAssoc()
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
| D | DAGCombiner.cpp | 9425 unsigned CastOpcode = Cast->getOpcode(); in matchVSelectOpSizesWithSetCC() local 9426 assert((CastOpcode == ISD::SIGN_EXTEND || CastOpcode == ISD::ZERO_EXTEND || in matchVSelectOpSizesWithSetCC() 9427 CastOpcode == ISD::TRUNCATE || CastOpcode == ISD::FP_EXTEND || in matchVSelectOpSizesWithSetCC() 9428 CastOpcode == ISD::FP_ROUND) && in matchVSelectOpSizesWithSetCC() 9454 if (CastOpcode == ISD::FP_ROUND) { in matchVSelectOpSizesWithSetCC() 9456 CastA = DAG.getNode(CastOpcode, DL, VT, A, Cast->getOperand(1)); in matchVSelectOpSizesWithSetCC() 9457 CastB = DAG.getNode(CastOpcode, DL, VT, B, Cast->getOperand(1)); in matchVSelectOpSizesWithSetCC() 9459 CastA = DAG.getNode(CastOpcode, DL, VT, A); in matchVSelectOpSizesWithSetCC() 9460 CastB = DAG.getNode(CastOpcode, DL, VT, B); in matchVSelectOpSizesWithSetCC()
|