Home
last modified time | relevance | path

Searched refs:HandOpcode (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp5247 unsigned HandOpcode = N0.getOpcode(); in hoistLogicOpWithSameOpcodeHands() local
5264 if (HandOpcode == ISD::ANY_EXTEND || HandOpcode == ISD::ZERO_EXTEND || in hoistLogicOpWithSameOpcodeHands()
5265 HandOpcode == ISD::SIGN_EXTEND) { in hoistLogicOpWithSameOpcodeHands()
5285 return DAG.getNode(HandOpcode, DL, VT, Logic); in hoistLogicOpWithSameOpcodeHands()
5289 if (HandOpcode == ISD::TRUNCATE) { in hoistLogicOpWithSameOpcodeHands()
5307 return DAG.getNode(HandOpcode, DL, VT, Logic); in hoistLogicOpWithSameOpcodeHands()
5312 if ((HandOpcode == ISD::SHL || HandOpcode == ISD::SRL || in hoistLogicOpWithSameOpcodeHands()
5313 HandOpcode == ISD::SRA || HandOpcode == ISD::AND) && in hoistLogicOpWithSameOpcodeHands()
5323 if (HandOpcode == ISD::BSWAP) { in hoistLogicOpWithSameOpcodeHands()
5328 return DAG.getNode(HandOpcode, DL, VT, Logic); in hoistLogicOpWithSameOpcodeHands()
[all …]
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp2656 unsigned HandOpcode = LeftHandInst->getOpcode(); in matchHoistLogicOpWithSameOpcodeHands() local
2657 if (HandOpcode != RightHandInst->getOpcode()) in matchHoistLogicOpWithSameOpcodeHands()
2676 switch (HandOpcode) { in matchHoistLogicOpWithSameOpcodeHands()
2715 InstructionBuildSteps HandSteps(HandOpcode, HandBuildSteps); in matchHoistLogicOpWithSameOpcodeHands()