Home
last modified time | relevance | path

Searched refs:ConstNode (Results 1 – 16 of 16) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiISelDAGToDAG.cpp324 ConstantSDNode *ConstNode = cast<ConstantSDNode>(Node); in Select() local
327 if (ConstNode->isZero()) { in Select()
334 if (ConstNode->isAllOnes()) { in Select()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYISelLowering.cpp1389 if (auto *ConstNode = dyn_cast<ConstantSDNode>(C.getNode())) { in decomposeMulByConstant() local
1390 const APInt &Imm = ConstNode->getAPIntValue(); in decomposeMulByConstant()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.h700 SDValue ConstNode) const override;
H A DRISCVISelDAGToDAG.cpp840 auto *ConstNode = cast<ConstantSDNode>(Node); in Select() local
841 if (ConstNode->isZero()) { in Select()
847 int64_t Imm = ConstNode->getSExtValue(); in Select()
H A DRISCVISelLowering.cpp19721 if (auto *ConstNode = dyn_cast<ConstantSDNode>(C.getNode())) { in decomposeMulByConstant() local
19723 const APInt &Imm = ConstNode->getAPIntValue(); in decomposeMulByConstant()
19737 ConstNode->hasOneUse()) { in decomposeMulByConstant()
19749 SDValue ConstNode) const { in isMulAddWithConstProfitable()
19761 ConstantSDNode *C2Node = cast<ConstantSDNode>(ConstNode); in isMulAddWithConstProfitable()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.h726 SDValue ConstNode) const override;
H A DARMISelLowering.cpp19742 SDValue ConstNode) const { in isMulAddWithConstProfitable()
19751 const ConstantSDNode *C1Node = cast<ConstantSDNode>(ConstNode); in isMulAddWithConstProfitable()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.h694 SDValue ConstNode) const override;
H A DAArch64ISelDAGToDAG.cpp4441 ConstantSDNode *ConstNode = cast<ConstantSDNode>(Node); in Select() local
4442 if (ConstNode->isZero()) { in Select()
H A DAArch64ISelLowering.cpp16194 SDValue AddNode, SDValue ConstNode) const { in isMulAddWithConstProfitable()
16203 const ConstantSDNode *C2Node = cast<ConstantSDNode>(ConstNode); in isMulAddWithConstProfitable()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchISelLowering.cpp4829 if (auto *ConstNode = dyn_cast<ConstantSDNode>(C.getNode())) { in decomposeMulByConstant() local
4830 const APInt &Imm = ConstNode->getAPIntValue(); in decomposeMulByConstant()
4836 if (ConstNode->hasOneUse() && in decomposeMulByConstant()
4844 if (ConstNode->hasOneUse() && !(Imm.sge(-2048) && Imm.sle(4095))) { in decomposeMulByConstant()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp17271 if (auto *ConstNode = dyn_cast<ConstantSDNode>(C.getNode())) { in decomposeMulByConstant() local
17272 if (!ConstNode->getAPIntValue().isSignedIntN(64)) in decomposeMulByConstant()
17280 int64_t Imm = ConstNode->getSExtValue(); in decomposeMulByConstant()
17735 ConstantSDNode* ConstNode = dyn_cast<ConstantSDNode>(RHS); in combineADDToMAT_PCREL_ADDR() local
17738 if (!GSDN || !ConstNode) in combineADDToMAT_PCREL_ADDR()
17741 int64_t NewOffset = GSDN->getOffset() + ConstNode->getSExtValue(); in combineADDToMAT_PCREL_ADDR()
17797 ConstantSDNode *ConstNode = dyn_cast<ConstantSDNode>(Op0.getOperand(1)); in combineTRUNCATE() local
17799 if (!ConstNode || ConstNode->getZExtValue() != 64) in combineTRUNCATE()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLowering.h2343 SDValue ConstNode) const { in isMulAddWithConstProfitable() argument
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp736 SDValue ConstNode);
19743 SDValue ConstNode) { in isMulAddWithConstProfitable() argument
19749 TLI.isMulAddWithConstProfitable(AddNode, ConstNode)) in isMulAddWithConstProfitable()
19753 for (SDNode *Use : ConstNode->uses()) { in isMulAddWithConstProfitable()
19762 if (Use->getOperand(0) == ConstNode) in isMulAddWithConstProfitable()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp9905 if (auto *ConstNode = dyn_cast<ConstantSDNode>(Stride)) in lowerPointerAsRsrcIntrin() local
9906 ConstStride = ConstNode->getZExtValue(); in lowerPointerAsRsrcIntrin()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp50116 auto *ConstNode = dyn_cast<ConstantSDNode>(Op); in getOneTrueElt() local
50117 if (!ConstNode) in getOneTrueElt()
50119 if (ConstNode->getAPIntValue().countr_one() >= 1) { in getOneTrueElt()