Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/lib/Target/Lanai/
H A DLanaiISelDAGToDAG.cpp291 ConstantSDNode *ConstNode = cast<ConstantSDNode>(Node); in Select() local
294 if (ConstNode->isZero()) { in Select()
301 if (ConstNode->isAllOnes()) { in Select()
/openbsd/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.h548 SDValue ConstNode) const override;
H A DRISCVISelDAGToDAG.cpp694 auto *ConstNode = cast<ConstantSDNode>(Node); in Select() local
695 if (VT == XLenVT && ConstNode->isZero()) { in Select()
701 int64_t Imm = ConstNode->getSExtValue(); in Select()
H A DRISCVISelLowering.cpp14034 if (auto *ConstNode = dyn_cast<ConstantSDNode>(C.getNode())) { in decomposeMulByConstant() local
14036 const APInt &Imm = ConstNode->getAPIntValue(); in decomposeMulByConstant()
14064 SDValue ConstNode) const { in isMulAddWithConstProfitable()
14076 ConstantSDNode *C2Node = cast<ConstantSDNode>(ConstNode); in isMulAddWithConstProfitable()
/openbsd/gnu/llvm/llvm/lib/Target/ARM/
H A DARMISelLowering.h715 SDValue ConstNode) const override;
H A DARMISelLowering.cpp19528 SDValue ConstNode) const { in isMulAddWithConstProfitable()
19537 const ConstantSDNode *C1Node = cast<ConstantSDNode>(ConstNode); in isMulAddWithConstProfitable()
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.h644 SDValue ConstNode) const override;
H A DAArch64ISelDAGToDAG.cpp4195 ConstantSDNode *ConstNode = cast<ConstantSDNode>(Node); in Select() local
4196 if (ConstNode->isZero()) { in Select()
H A DAArch64ISelLowering.cpp14788 SDValue AddNode, SDValue ConstNode) const { in isMulAddWithConstProfitable()
14797 const ConstantSDNode *C2Node = cast<ConstantSDNode>(ConstNode); in isMulAddWithConstProfitable()
/openbsd/gnu/llvm/llvm/lib/Target/LoongArch/
H A DLoongArchISelLowering.cpp3103 if (auto *ConstNode = dyn_cast<ConstantSDNode>(C.getNode())) { in decomposeMulByConstant() local
3104 const APInt &Imm = ConstNode->getAPIntValue(); in decomposeMulByConstant()
/openbsd/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp16922 if (auto *ConstNode = dyn_cast<ConstantSDNode>(C.getNode())) { in decomposeMulByConstant() local
16923 if (!ConstNode->getAPIntValue().isSignedIntN(64)) in decomposeMulByConstant()
16931 int64_t Imm = ConstNode->getSExtValue(); in decomposeMulByConstant()
17386 ConstantSDNode* ConstNode = dyn_cast<ConstantSDNode>(RHS); in combineADDToMAT_PCREL_ADDR() local
17389 if (!GSDN || !ConstNode) in combineADDToMAT_PCREL_ADDR()
17392 int64_t NewOffset = GSDN->getOffset() + ConstNode->getSExtValue(); in combineADDToMAT_PCREL_ADDR()
17466 ConstantSDNode *ConstNode = dyn_cast<ConstantSDNode>(Op0.getOperand(1)); in combineTRUNCATE() local
17468 if (!ConstNode || ConstNode->getZExtValue() != 64) in combineTRUNCATE()
/openbsd/gnu/llvm/llvm/include/llvm/CodeGen/
H A DTargetLowering.h2254 SDValue ConstNode) const { in isMulAddWithConstProfitable() argument
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp690 SDValue ConstNode);
18451 SDValue ConstNode) { in isMulAddWithConstProfitable() argument
18457 TLI.isMulAddWithConstProfitable(AddNode, ConstNode)) in isMulAddWithConstProfitable()
18461 for (SDNode *Use : ConstNode->uses()) { in isMulAddWithConstProfitable()
18470 if (Use->getOperand(0) == ConstNode) in isMulAddWithConstProfitable()
/openbsd/gnu/llvm/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp50406 auto *ConstNode = dyn_cast<ConstantSDNode>(Op); in getOneTrueElt() local
50407 if (!ConstNode) in getOneTrueElt()
50409 if (ConstNode->getAPIntValue().countTrailingOnes() >= 1) { in getOneTrueElt()