Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsISelDAGToDAG.cpp217 SDValue NegC = CurDAG->FoldConstantArithmetic( in selectVecAddAsVecSubIfProfitable()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp1232 if (SDValue OpNode = DAG.FoldConstantArithmetic(Opc, DL, VT, {N01, N1})) { in reassociateOpsCommutative()
2598 NewCT = SelOpNo ? DAG.FoldConstantArithmetic(BinOpcode, DL, VT, {CBO, CT}) in foldBinOpIntoSelect()
2599 : DAG.FoldConstantArithmetic(BinOpcode, DL, VT, {CT, CBO}); in foldBinOpIntoSelect()
2603 NewCF = SelOpNo ? DAG.FoldConstantArithmetic(BinOpcode, DL, VT, {CBO, CF}) in foldBinOpIntoSelect()
2604 : DAG.FoldConstantArithmetic(BinOpcode, DL, VT, {CF, CBO}); in foldBinOpIntoSelect()
2777 if (SDValue NewC = DAG.FoldConstantArithmetic( in foldAddSubOfSignBit()
2810 if (SDValue C = DAG.FoldConstantArithmetic(ISD::ADD, DL, VT, {N0, N1})) in visitADDLike()
2840 if (SDValue Sub = DAG.FoldConstantArithmetic(ISD::SUB, DL, VT, {N1, N01})) in visitADDLike()
2844 if (SDValue Add = DAG.FoldConstantArithmetic(ISD::ADD, DL, VT, {N1, N00})) in visitADDLike()
2870 if (SDValue Add = DAG.FoldConstantArithmetic(ISD::ADD, DL, VT, {N1, N01})) in visitADDLike()
[all …]
H A DSelectionDAG.cpp6342 if (SDValue Fold = FoldConstantArithmetic(Opcode, DL, VT, Ops)) in getNode()
6786 SDValue SelectionDAG::FoldConstantArithmetic(unsigned Opcode, const SDLoc &DL, in FoldConstantArithmetic() function in SelectionDAG
7849 if (SDValue SV = FoldConstantArithmetic(Opcode, DL, VT, {N1, N2}, Flags)) in getNode()
8004 if (SDValue V = FoldConstantArithmetic(Opcode, DL, VT, Ops)) { in getNode()
H A DTargetLowering.cpp1597 if (SDValue C12 = TLO.DAG.FoldConstantArithmetic(ISD::OR, dl, VT, in SimplifyDemandedBits()
3713 if (SDValue Fold = TLO.DAG.FoldConstantArithmetic( in SimplifyDemandedVectorElts()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAG.h2028 LLVM_ABI SDValue FoldConstantArithmetic(unsigned Opcode, const SDLoc &DL,
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp6635 return CurDAG->FoldConstantArithmetic(User->getOpcode(), dl, in foldBoolExts()
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchISelLowering.cpp676 DAG.FoldConstantArithmetic(BO->getOpcode(), DL, VT, NewConstOps); in foldBinOpIntoSelectIfProfitable()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp26069 if (SDValue C = DAG.FoldConstantArithmetic(ShiftOpc, dl, VT, {SrcOp, Amt})) in getTargetVShiftByConstNode()
26127 if ((Mask = DAG.FoldConstantArithmetic(ISD::AND, dl, AmtVT, in getTargetVShiftNode()
31415 if (SDValue NegAmt = DAG.FoldConstantArithmetic(ISD::SUB, DL, VT, {Z, Amt})) in LowerRotate()
50901 DAG.FoldConstantArithmetic(ISD::ZERO_EXTEND, DL, VT, {N1})) in PromoteMaskArithmetic()
56767 DAG.FoldConstantArithmetic(ISD::TRUNCATE, DL, NewVT, Index)) in combineGatherScatter()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp9045 DAG.FoldConstantArithmetic(BO->getOpcode(), DL, VT, NewConstOps); in foldBinOpIntoSelectIfProfitable()
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/
H A DDemangleTestCases.inc15082 …thmeticEjNS_3EVTEPNS_14ConstantSDNodeES3_", "llvm::SelectionDAG::FoldConstantArithmetic(unsigned i…