| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Lanai/ |
| H A D | LanaiISelDAGToDAG.cpp | 324 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 D | CSKYISelLowering.cpp | 1389 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 D | RISCVISelLowering.h | 700 SDValue ConstNode) const override;
|
| H A D | RISCVISelDAGToDAG.cpp | 840 auto *ConstNode = cast<ConstantSDNode>(Node); in Select() local 841 if (ConstNode->isZero()) { in Select() 847 int64_t Imm = ConstNode->getSExtValue(); in Select()
|
| H A D | RISCVISelLowering.cpp | 19721 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 D | ARMISelLowering.h | 726 SDValue ConstNode) const override;
|
| H A D | ARMISelLowering.cpp | 19742 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 D | AArch64ISelLowering.h | 694 SDValue ConstNode) const override;
|
| H A D | AArch64ISelDAGToDAG.cpp | 4441 ConstantSDNode *ConstNode = cast<ConstantSDNode>(Node); in Select() local 4442 if (ConstNode->isZero()) { in Select()
|
| H A D | AArch64ISelLowering.cpp | 16194 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 D | LoongArchISelLowering.cpp | 4829 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 D | PPCISelLowering.cpp | 17271 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 D | TargetLowering.h | 2343 SDValue ConstNode) const { in isMulAddWithConstProfitable() argument
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 736 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 D | SIISelLowering.cpp | 9905 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 D | X86ISelLowering.cpp | 50116 auto *ConstNode = dyn_cast<ConstantSDNode>(Op); in getOneTrueElt() local 50117 if (!ConstNode) in getOneTrueElt() 50119 if (ConstNode->getAPIntValue().countr_one() >= 1) { in getOneTrueElt()
|