Searched refs:LogicOpcode (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | CombinerHelper.cpp | 1879 unsigned LogicOpcode = LogicMI->getOpcode(); in matchShiftOfShiftedLogic() local 1880 if (LogicOpcode != TargetOpcode::G_AND && LogicOpcode != TargetOpcode::G_OR && in matchShiftOfShiftedLogic() 1881 LogicOpcode != TargetOpcode::G_XOR) in matchShiftOfShiftedLogic() 3112 unsigned LogicOpcode = MI.getOpcode(); in matchHoistLogicOpWithSameOpcodeHands() local 3113 assert(LogicOpcode == TargetOpcode::G_AND || in matchHoistLogicOpWithSameOpcodeHands() 3114 LogicOpcode == TargetOpcode::G_OR || in matchHoistLogicOpWithSameOpcodeHands() 3115 LogicOpcode == TargetOpcode::G_XOR); in matchHoistLogicOpWithSameOpcodeHands() 3186 if (!isLegalOrBeforeLegalizer({LogicOpcode, {XTy, YTy}})) in matchHoistLogicOpWithSameOpcodeHands() 3197 InstructionBuildSteps LogicSteps(LogicOpcode, LogicBuildSteps); in matchHoistLogicOpWithSameOpcodeHands()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | DAGCombiner.cpp | 5763 unsigned LogicOpcode = N->getOpcode(); in hoistLogicOpWithSameOpcodeHands() local 5765 assert(ISD::isBitwiseLogicOp(LogicOpcode) && "Expected logic opcode"); in hoistLogicOpWithSameOpcodeHands() 5793 !TLI.isOperationLegalOrCustom(LogicOpcode, XVT)) in hoistLogicOpWithSameOpcodeHands() 5799 LegalTypes && !TLI.isTypeDesirableForOp(LogicOpcode, XVT)) in hoistLogicOpWithSameOpcodeHands() 5802 SDValue Logic = DAG.getNode(LogicOpcode, DL, XVT, X, Y); in hoistLogicOpWithSameOpcodeHands() 5818 if (LegalOperations && !TLI.isOperationLegal(LogicOpcode, XVT)) in hoistLogicOpWithSameOpcodeHands() 5826 SDValue Logic = DAG.getNode(LogicOpcode, DL, XVT, X, Y); in hoistLogicOpWithSameOpcodeHands() 5838 SDValue Logic = DAG.getNode(LogicOpcode, DL, XVT, X, Y); in hoistLogicOpWithSameOpcodeHands() 5847 SDValue Logic = DAG.getNode(LogicOpcode, DL, XVT, X, Y); in hoistLogicOpWithSameOpcodeHands() 5861 SDValue Logic0 = DAG.getNode(LogicOpcode, DL, VT, X, Y); in hoistLogicOpWithSameOpcodeHands() [all …]
|