Home
last modified time | relevance | path

Searched refs:FoldConstantArithmetic (Results 1 – 7 of 7) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp538 DAG.FoldConstantArithmetic(Opc, VT, in ReassociateOps()
556 DAG.FoldConstantArithmetic(Opc, VT, in ReassociateOps()
1335 return DAG.FoldConstantArithmetic(ISD::ADD, VT, N0C, N1C); in visitADD()
1581 return DAG.FoldConstantArithmetic(ISD::SUB, VT, N0C, N1C); in visitSUB()
1666 return DAG.FoldConstantArithmetic(ISD::MUL, VT, N0C, N1C); in visitMUL()
1757 return DAG.FoldConstantArithmetic(ISD::SDIV, VT, N0C, N1C); in visitSDIV()
1844 return DAG.FoldConstantArithmetic(ISD::UDIV, VT, N0C, N1C); in visitUDIV()
1890 return DAG.FoldConstantArithmetic(ISD::SREM, VT, N0C, N1C); in visitSREM()
1932 return DAG.FoldConstantArithmetic(ISD::UREM, VT, N0C, N1C); in visitUREM()
2276 return DAG.FoldConstantArithmetic(ISD::AND, VT, N0C, N1C); in visitAND()
[all …]
DSelectionDAG.cpp2639 SDValue SelectionDAG::FoldConstantArithmetic(unsigned Opcode, in FoldConstantArithmetic() function in SelectionDAG
2955 SDValue SV = FoldConstantArithmetic(Opcode, VT, N1C, N2C); in getNode()
/external/llvm/include/llvm/CodeGen/
DSelectionDAG.h1250 SDValue FoldConstantArithmetic(unsigned Opcode, const SDLoc &DL, EVT VT,
1253 SDValue FoldConstantArithmetic(unsigned Opcode, const SDLoc &DL, EVT VT,
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp823 if (SDValue OpNode = DAG.FoldConstantArithmetic(Opc, DL, VT, L, R)) in ReassociateOps()
843 if (SDValue OpNode = DAG.FoldConstantArithmetic(Opc, DL, VT, R, L)) in ReassociateOps()
1660 return DAG.FoldConstantArithmetic(ISD::ADD, SDLoc(N), VT, in visitADD()
1874 return DAG.FoldConstantArithmetic(ISD::SUB, SDLoc(N), VT, in visitSUB()
2038 return DAG.FoldConstantArithmetic(ISD::MUL, SDLoc(N), VT, in visitMUL()
2238 return DAG.FoldConstantArithmetic(ISD::SDIV, DL, VT, N0C, N1C); in visitSDIV()
2337 if (SDValue Folded = DAG.FoldConstantArithmetic(ISD::UDIV, DL, VT, in visitUDIV()
2398 if (SDValue Folded = DAG.FoldConstantArithmetic(Opcode, DL, VT, N0C, N1C)) in visitREM()
2691 return DAG.FoldConstantArithmetic(N->getOpcode(), SDLoc(N), VT, N0C, N1C); in visitIMINMAX()
3083 return DAG.FoldConstantArithmetic(ISD::AND, SDLoc(N), VT, N0C, N1C); in visitAND()
[all …]
DSelectionDAG.cpp3267 SDValue SelectionDAG::FoldConstantArithmetic(unsigned Opcode, const SDLoc &DL, in FoldConstantArithmetic() function in SelectionDAG
3300 SDValue SelectionDAG::FoldConstantArithmetic(unsigned Opcode, const SDLoc &DL, in FoldConstantArithmetic() function in SelectionDAG
3312 SDValue Folded = FoldConstantArithmetic(Opcode, DL, VT, Scalar1, Scalar2); in FoldConstantArithmetic()
3779 FoldConstantArithmetic(Opcode, DL, VT, N1.getNode(), N2.getNode())) in getNode()
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DSelectionDAG.h955 SDValue FoldConstantArithmetic(unsigned Opcode,
/external/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp3383 return CurDAG->FoldConstantArithmetic(User->getOpcode(), dl, in foldBoolExts()