Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Target/Lanai/
H A DLanaiISelDAGToDAG.cpp287 ConstantSDNode *ConstNode = cast<ConstantSDNode>(Node); in Select() local
290 if (ConstNode->isZero()) { in Select()
297 if (ConstNode->isAllOnes()) { in Select()
/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.h532 SDValue ConstNode) const override;
H A DRISCVISelDAGToDAG.cpp599 auto *ConstNode = cast<ConstantSDNode>(Node); in Select() local
600 if (VT == XLenVT && ConstNode->isZero()) { in Select()
606 int64_t Imm = ConstNode->getSExtValue(); in Select()
H A DRISCVISelLowering.cpp12317 if (auto *ConstNode = dyn_cast<ConstantSDNode>(C.getNode())) { in decomposeMulByConstant() local
12319 const APInt &Imm = ConstNode->getAPIntValue(); in decomposeMulByConstant()
12347 SDValue ConstNode) const { in isMulAddWithConstProfitable()
12359 ConstantSDNode *C2Node = cast<ConstantSDNode>(ConstNode); in isMulAddWithConstProfitable()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMISelLowering.h718 SDValue ConstNode) const override;
H A DARMISelLowering.cpp19463 SDValue ConstNode) const { in isMulAddWithConstProfitable()
19472 const ConstantSDNode *C1Node = cast<ConstantSDNode>(ConstNode); in isMulAddWithConstProfitable()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.h620 SDValue ConstNode) const override;
H A DAArch64ISelDAGToDAG.cpp3639 ConstantSDNode *ConstNode = cast<ConstantSDNode>(Node); in Select() local
3640 if (ConstNode->isZero()) { in Select()
H A DAArch64ISelLowering.cpp13493 SDValue AddNode, SDValue ConstNode) const { in isMulAddWithConstProfitable()
13502 const ConstantSDNode *C2Node = cast<ConstantSDNode>(ConstNode); in isMulAddWithConstProfitable()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp16699 if (auto *ConstNode = dyn_cast<ConstantSDNode>(C.getNode())) { in decomposeMulByConstant() local
16700 if (!ConstNode->getAPIntValue().isSignedIntN(64)) in decomposeMulByConstant()
16708 int64_t Imm = ConstNode->getSExtValue(); in decomposeMulByConstant()
17152 ConstantSDNode* ConstNode = dyn_cast<ConstantSDNode>(RHS); in combineADDToMAT_PCREL_ADDR() local
17155 if (!GSDN || !ConstNode) in combineADDToMAT_PCREL_ADDR()
17158 int64_t NewOffset = GSDN->getOffset() + ConstNode->getSExtValue(); in combineADDToMAT_PCREL_ADDR()
17232 ConstantSDNode *ConstNode = dyn_cast<ConstantSDNode>(Op0.getOperand(1)); in combineTRUNCATE() local
17234 if (!ConstNode || ConstNode->getZExtValue() != 64) in combineTRUNCATE()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DTargetLowering.h2188 SDValue ConstNode) const { in isMulAddWithConstProfitable() argument
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp673 SDValue ConstNode);
17797 SDValue ConstNode) { in isMulAddWithConstProfitable() argument
17803 TLI.isMulAddWithConstProfitable(AddNode, ConstNode)) in isMulAddWithConstProfitable()
17807 for (SDNode *Use : ConstNode->uses()) { in isMulAddWithConstProfitable()
17816 if (Use->getOperand(0) == ConstNode) in isMulAddWithConstProfitable()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp49083 auto *ConstNode = dyn_cast<ConstantSDNode>(Op); in getOneTrueElt() local
49084 if (!ConstNode) in getOneTrueElt()
49086 if (ConstNode->getAPIntValue().countTrailingOnes() >= 1) { in getOneTrueElt()