Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp1947 unsigned LogicOpcode = LogicMI->getOpcode(); in matchShiftOfShiftedLogic() local
1948 if (LogicOpcode != TargetOpcode::G_AND && LogicOpcode != TargetOpcode::G_OR && in matchShiftOfShiftedLogic()
1949 LogicOpcode != TargetOpcode::G_XOR) in matchShiftOfShiftedLogic()
3147 unsigned LogicOpcode = MI.getOpcode(); in matchHoistLogicOpWithSameOpcodeHands() local
3148 assert(LogicOpcode == TargetOpcode::G_AND || in matchHoistLogicOpWithSameOpcodeHands()
3149 LogicOpcode == TargetOpcode::G_OR || in matchHoistLogicOpWithSameOpcodeHands()
3150 LogicOpcode == TargetOpcode::G_XOR); in matchHoistLogicOpWithSameOpcodeHands()
3221 if (!isLegalOrBeforeLegalizer({LogicOpcode, {XTy, YTy}})) in matchHoistLogicOpWithSameOpcodeHands()
3232 InstructionBuildSteps LogicSteps(LogicOpcode, LogicBuildSteps); in matchHoistLogicOpWithSameOpcodeHands()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp6138 unsigned LogicOpcode = N->getOpcode(); in hoistLogicOpWithSameOpcodeHands() local
6140 assert(ISD::isBitwiseLogicOp(LogicOpcode) && "Expected logic opcode"); in hoistLogicOpWithSameOpcodeHands()
6168 !TLI.isOperationLegalOrCustom(LogicOpcode, XVT)) in hoistLogicOpWithSameOpcodeHands()
6174 LegalTypes && !TLI.isTypeDesirableForOp(LogicOpcode, XVT)) in hoistLogicOpWithSameOpcodeHands()
6180 SDValue Logic = DAG.getNode(LogicOpcode, DL, XVT, X, Y, LogicFlags); in hoistLogicOpWithSameOpcodeHands()
6196 if (LegalOperations && !TLI.isOperationLegal(LogicOpcode, XVT)) in hoistLogicOpWithSameOpcodeHands()
6204 SDValue Logic = DAG.getNode(LogicOpcode, DL, XVT, X, Y); in hoistLogicOpWithSameOpcodeHands()
6216 SDValue Logic = DAG.getNode(LogicOpcode, DL, XVT, X, Y); in hoistLogicOpWithSameOpcodeHands()
6225 SDValue Logic = DAG.getNode(LogicOpcode, DL, XVT, X, Y); in hoistLogicOpWithSameOpcodeHands()
6239 SDValue Logic0 = DAG.getNode(LogicOpcode, DL, VT, X, Y); in hoistLogicOpWithSameOpcodeHands()
[all …]