/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/ |
H A D | LanaiISelDAGToDAG.cpp | 325 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 D | CSKYISelLowering.cpp | 1387 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 D | ARMISelLowering.h | 725 SDValue ConstNode) const override;
|
H A D | ARMISelLowering.cpp | 19764 SDValue ConstNode) const { in isMulAddWithConstProfitable() 19773 const ConstantSDNode *C1Node = cast<ConstantSDNode>(ConstNode); in isMulAddWithConstProfitable()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVISelLowering.h | 759 SDValue ConstNode) const override;
|
H A D | RISCVISelDAGToDAG.cpp | 897 auto *ConstNode = cast<ConstantSDNode>(Node); in Select() local 898 if (ConstNode->isZero()) { in Select() 904 int64_t Imm = ConstNode->getSExtValue(); in Select()
|
H A D | RISCVISelLowering.cpp | 21359 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 D | AArch64ISelLowering.h | 717 SDValue ConstNode) const override;
|
H A D | AArch64ISelDAGToDAG.cpp | 4648 ConstantSDNode *ConstNode = cast<ConstantSDNode>(Node); in Select() local 4649 if (ConstNode->isZero()) { in Select()
|
H A D | AArch64ISelLowering.cpp | 17307 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 D | LoongArchISelLowering.cpp | 6025 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 D | PPCISelLowering.cpp | 17483 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 D | TargetLowering.h | 2420 SDValue ConstNode) const { in isMulAddWithConstProfitable() argument
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | DAGCombiner.cpp | 743 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 D | SIISelLowering.cpp | 10075 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 D | X86ISelLowering.cpp | 51338 auto *ConstNode = dyn_cast<ConstantSDNode>(Op); in getOneTrueElt() local 51339 if (!ConstNode) in getOneTrueElt() 51341 if (ConstNode->getAPIntValue().countr_one() >= 1) { in getOneTrueElt()
|