Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiISelDAGToDAG.cpp325 ConstantSDNode *ConstNode = cast<ConstantSDNode>(Node); in Select() local
328 if (ConstNode->isZero()) { in Select()
335 if (ConstNode->isAllOnes()) { in Select()
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYISelLowering.cpp1387 if (auto *ConstNode = dyn_cast<ConstantSDNode>(C.getNode())) { in decomposeMulByConstant() local
1388 const APInt &Imm = ConstNode->getAPIntValue(); in decomposeMulByConstant()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.h725 SDValue ConstNode) const override;
H A DARMISelLowering.cpp19764 SDValue ConstNode) const { in isMulAddWithConstProfitable()
19773 const ConstantSDNode *C1Node = cast<ConstantSDNode>(ConstNode); in isMulAddWithConstProfitable()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.h759 SDValue ConstNode) const override;
H A DRISCVISelDAGToDAG.cpp897 auto *ConstNode = cast<ConstantSDNode>(Node); in Select() local
898 if (ConstNode->isZero()) { in Select()
904 int64_t Imm = ConstNode->getSExtValue(); in Select()
H A DRISCVISelLowering.cpp21359 if (auto *ConstNode = dyn_cast<ConstantSDNode>(C.getNode())) { in decomposeMulByConstant()
21361 const APInt &Imm = ConstNode->getAPIntValue(); in decomposeMulByConstant()
21375 ConstNode->hasOneUse()) { in decomposeMulByConstant()
21387 SDValue ConstNode) const { in isMulAddWithConstProfitable()
21399 ConstantSDNode *C2Node = cast<ConstantSDNode>(ConstNode); in isMulAddWithConstProfitable()
21356 if (auto *ConstNode = dyn_cast<ConstantSDNode>(C.getNode())) { decomposeMulByConstant() local
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.h717 SDValue ConstNode) const override;
H A DAArch64ISelDAGToDAG.cpp4648 ConstantSDNode *ConstNode = cast<ConstantSDNode>(Node); in Select() local
4649 if (ConstNode->isZero()) { in Select()
H A DAArch64ISelLowering.cpp17307 SDValue AddNode, SDValue ConstNode) const { in isMulAddWithConstProfitable()
17316 const ConstantSDNode *C2Node = cast<ConstantSDNode>(ConstNode); in isMulAddWithConstProfitable()
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchISelLowering.cpp6025 if (auto *ConstNode = dyn_cast<ConstantSDNode>(C.getNode())) { in decomposeMulByConstant() local
6026 const APInt &Imm = ConstNode->getAPIntValue(); in decomposeMulByConstant()
6032 if (ConstNode->hasOneUse() && in decomposeMulByConstant()
6040 if (ConstNode->hasOneUse() && !(Imm.sge(-2048) && Imm.sle(4095))) { in decomposeMulByConstant()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp17483 if (auto *ConstNode = dyn_cast<ConstantSDNode>(C.getNode())) { in decomposeMulByConstant() local
17484 if (!ConstNode->getAPIntValue().isSignedIntN(64)) in decomposeMulByConstant()
17492 int64_t Imm = ConstNode->getSExtValue(); in decomposeMulByConstant()
17947 ConstantSDNode* ConstNode = dyn_cast<ConstantSDNode>(RHS); in combineADDToMAT_PCREL_ADDR() local
17950 if (!GSDN || !ConstNode) in combineADDToMAT_PCREL_ADDR()
17953 int64_t NewOffset = GSDN->getOffset() + ConstNode->getSExtValue(); in combineADDToMAT_PCREL_ADDR()
18009 ConstantSDNode *ConstNode = dyn_cast<ConstantSDNode>(Op0.getOperand(1)); in combineTRUNCATE() local
18011 if (!ConstNode || ConstNode->getZExtValue() != 64) in combineTRUNCATE()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLowering.h2420 SDValue ConstNode) const { in isMulAddWithConstProfitable() argument
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp743 SDValue ConstNode);
20081 SDValue ConstNode) { in isMulAddWithConstProfitable() argument
20087 TLI.isMulAddWithConstProfitable(AddNode, ConstNode)) in isMulAddWithConstProfitable()
20091 for (SDNode *Use : ConstNode->uses()) { in isMulAddWithConstProfitable()
20100 if (Use->getOperand(0) == ConstNode) in isMulAddWithConstProfitable()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp10075 if (auto *ConstNode = dyn_cast<ConstantSDNode>(Stride)) in lowerPointerAsRsrcIntrin() local
10076 ConstStride = ConstNode->getZExtValue(); in lowerPointerAsRsrcIntrin()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp51338 auto *ConstNode = dyn_cast<ConstantSDNode>(Op); in getOneTrueElt() local
51339 if (!ConstNode) in getOneTrueElt()
51341 if (ConstNode->getAPIntValue().countr_one() >= 1) { in getOneTrueElt()