Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiISelDAGToDAG.cpp287 ConstantSDNode *ConstNode = cast<ConstantSDNode>(Node); in Select() local
290 if (ConstNode->isNullValue()) { in Select()
297 if (ConstNode->isAllOnesValue()) { in Select()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelDAGToDAG.cpp455 auto *ConstNode = cast<ConstantSDNode>(Node); in Select() local
456 if (VT == XLenVT && ConstNode->isNullValue()) { in Select()
463 selectImm(CurDAG, DL, ConstNode->getSExtValue(), *Subtarget)); in Select()
H A DRISCVISelLowering.cpp8938 if (auto *ConstNode = dyn_cast<ConstantSDNode>(C.getNode())) { in decomposeMulByConstant() local
8940 const APInt &Imm = ConstNode->getAPIntValue(); in decomposeMulByConstant()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp16293 if (auto *ConstNode = dyn_cast<ConstantSDNode>(C.getNode())) { in decomposeMulByConstant() local
16294 if (!ConstNode->getAPIntValue().isSignedIntN(64)) in decomposeMulByConstant()
16302 int64_t Imm = ConstNode->getSExtValue(); in decomposeMulByConstant()
16746 ConstantSDNode* ConstNode = dyn_cast<ConstantSDNode>(RHS); in combineADDToMAT_PCREL_ADDR() local
16749 if (!GSDN || !ConstNode) in combineADDToMAT_PCREL_ADDR()
16752 int64_t NewOffset = GSDN->getOffset() + ConstNode->getSExtValue(); in combineADDToMAT_PCREL_ADDR()
16826 ConstantSDNode *ConstNode = dyn_cast<ConstantSDNode>(Op0.getOperand(1)); in combineTRUNCATE() local
16828 if (!ConstNode || ConstNode->getZExtValue() != 64) in combineTRUNCATE()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp3523 ConstantSDNode *ConstNode = cast<ConstantSDNode>(Node); in Select() local
3524 if (ConstNode->isNullValue()) { in Select()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp672 SDValue &ConstNode);
16838 SDValue &ConstNode) { in isMulAddWithConstProfitable() argument
16846 for (SDNode *Use : ConstNode->uses()) { in isMulAddWithConstProfitable()
16855 if (Use->getOperand(0) == ConstNode) in isMulAddWithConstProfitable()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp45875 auto *ConstNode = dyn_cast<ConstantSDNode>(Op); in getOneTrueElt() local
45876 if (!ConstNode) in getOneTrueElt()
45878 if (ConstNode->getAPIntValue().countTrailingOnes() >= 1) { in getOneTrueElt()