Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiISelDAGToDAG.cpp316 ConstantSDNode *ConstNode = cast<ConstantSDNode>(Node); in Select() local
319 if (ConstNode->isZero()) { in Select()
326 if (ConstNode->isAllOnes()) { in Select()
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYISelLowering.cpp1358 if (auto *ConstNode = dyn_cast<ConstantSDNode>(C.getNode())) { in decomposeMulByConstant() local
1359 const APInt &Imm = ConstNode->getAPIntValue(); in decomposeMulByConstant()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.h311 SDValue ConstNode) const override;
H A DRISCVISelDAGToDAG.cpp1013 auto *ConstNode = cast<ConstantSDNode>(Node); in Select() local
1014 if (ConstNode->isZero()) { in Select()
1020 int64_t Imm = ConstNode->getSExtValue(); in Select()
H A DRISCVISelLowering.cpp23788 auto *ConstNode = cast<ConstantSDNode>(C); in decomposeMulByConstant() local
23789 const APInt &Imm = ConstNode->getAPIntValue(); in decomposeMulByConstant()
23809 ConstNode->hasOneUse()) { in decomposeMulByConstant()
23820 SDValue ConstNode) const { in isMulAddWithConstProfitable()
23832 ConstantSDNode *C2Node = cast<ConstantSDNode>(ConstNode); in isMulAddWithConstProfitable()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.h751 SDValue ConstNode) const override;
H A DARMISelLowering.cpp19699 SDValue ConstNode) const { in isMulAddWithConstProfitable()
19708 const ConstantSDNode *C1Node = cast<ConstantSDNode>(ConstNode); in isMulAddWithConstProfitable()
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/
H A DXtensaISelLowering.cpp1436 if (auto *ConstNode = dyn_cast<ConstantSDNode>(C.getNode())) in decomposeMulByConstant() local
1437 Imm = ConstNode->getAPIntValue(); in decomposeMulByConstant()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.h232 SDValue ConstNode) const override;
H A DAArch64ISelDAGToDAG.cpp4877 ConstantSDNode *ConstNode = cast<ConstantSDNode>(Node); in Select() local
4878 if (ConstNode->isZero()) { in Select()
H A DAArch64ISelLowering.cpp17727 SDValue AddNode, SDValue ConstNode) const { in isMulAddWithConstProfitable()
17736 const ConstantSDNode *C2Node = cast<ConstantSDNode>(ConstNode); in isMulAddWithConstProfitable()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp18391 if (auto *ConstNode = dyn_cast<ConstantSDNode>(C.getNode())) { in decomposeMulByConstant() local
18392 if (!ConstNode->getAPIntValue().isSignedIntN(64)) in decomposeMulByConstant()
18400 int64_t Imm = ConstNode->getSExtValue(); in decomposeMulByConstant()
18949 ConstantSDNode* ConstNode = dyn_cast<ConstantSDNode>(RHS); in combineADDToMAT_PCREL_ADDR() local
18952 if (!GSDN || !ConstNode) in combineADDToMAT_PCREL_ADDR()
18955 int64_t NewOffset = GSDN->getOffset() + ConstNode->getSExtValue(); in combineADDToMAT_PCREL_ADDR()
19011 ConstantSDNode *ConstNode = dyn_cast<ConstantSDNode>(Op0.getOperand(1)); in combineTRUNCATE() local
19013 if (!ConstNode || ConstNode->getZExtValue() != 64) in combineTRUNCATE()
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchISelLowering.cpp8307 if (auto *ConstNode = dyn_cast<ConstantSDNode>(C.getNode())) { in decomposeMulByConstant() local
8308 const APInt &Imm = ConstNode->getAPIntValue(); in decomposeMulByConstant()
8314 if (ConstNode->hasOneUse() && in decomposeMulByConstant()
8322 if (ConstNode->hasOneUse() && !(Imm.sge(-2048) && Imm.sle(4095))) { in decomposeMulByConstant()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLowering.h2494 SDValue ConstNode) const { in isMulAddWithConstProfitable() argument
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp752 SDValue ConstNode);
21097 SDValue ConstNode) { in isMulAddWithConstProfitable() argument
21101 TLI.isMulAddWithConstProfitable(AddNode, ConstNode)) in isMulAddWithConstProfitable()
21105 for (SDNode *User : ConstNode->users()) { in isMulAddWithConstProfitable()
21114 if (User->getOperand(0) == ConstNode) in isMulAddWithConstProfitable()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp10751 if (auto *ConstNode = dyn_cast<ConstantSDNode>(Stride)) in lowerPointerAsRsrcIntrin() local
10752 ConstStride = ConstNode->getZExtValue(); in lowerPointerAsRsrcIntrin()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp53050 auto *ConstNode = dyn_cast<ConstantSDNode>(Op); in getOneTrueElt() local
53051 if (!ConstNode) in getOneTrueElt()
53053 if (ConstNode->getAPIntValue().countr_one() >= 1) { in getOneTrueElt()