| /freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/ |
| H A D | LanaiISelDAGToDAG.cpp | 316 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 D | CSKYISelLowering.cpp | 1358 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 D | RISCVISelLowering.h | 311 SDValue ConstNode) const override;
|
| H A D | RISCVISelDAGToDAG.cpp | 1013 auto *ConstNode = cast<ConstantSDNode>(Node); in Select() local 1014 if (ConstNode->isZero()) { in Select() 1020 int64_t Imm = ConstNode->getSExtValue(); in Select()
|
| H A D | RISCVISelLowering.cpp | 23788 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 D | ARMISelLowering.h | 751 SDValue ConstNode) const override;
|
| H A D | ARMISelLowering.cpp | 19699 SDValue ConstNode) const { in isMulAddWithConstProfitable() 19708 const ConstantSDNode *C1Node = cast<ConstantSDNode>(ConstNode); in isMulAddWithConstProfitable()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/ |
| H A D | XtensaISelLowering.cpp | 1436 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 D | AArch64ISelLowering.h | 232 SDValue ConstNode) const override;
|
| H A D | AArch64ISelDAGToDAG.cpp | 4877 ConstantSDNode *ConstNode = cast<ConstantSDNode>(Node); in Select() local 4878 if (ConstNode->isZero()) { in Select()
|
| H A D | AArch64ISelLowering.cpp | 17727 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 D | PPCISelLowering.cpp | 18391 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 D | LoongArchISelLowering.cpp | 8307 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 D | TargetLowering.h | 2494 SDValue ConstNode) const { in isMulAddWithConstProfitable() argument
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 752 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 D | SIISelLowering.cpp | 10751 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 D | X86ISelLowering.cpp | 53050 auto *ConstNode = dyn_cast<ConstantSDNode>(Op); in getOneTrueElt() local 53051 if (!ConstNode) in getOneTrueElt() 53053 if (ConstNode->getAPIntValue().countr_one() >= 1) { in getOneTrueElt()
|