Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/
H A DRISCVISelDAGToDAG.cpp382 auto *ConstNode = cast<ConstantSDNode>(Node); in Select() local
383 if (VT == XLenVT && ConstNode->isNullValue()) { in Select()
389 ReplaceNode(Node, selectImm(CurDAG, DL, ConstNode->getSExtValue(), XLenVT)); in Select()
H A DRISCVISelLowering.cpp8484 if (auto *ConstNode = dyn_cast<ConstantSDNode>(C.getNode())) { in decomposeMulByConstant() local
8486 const APInt &Imm = ConstNode->getAPIntValue(); in decomposeMulByConstant()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp16182 if (auto *ConstNode = dyn_cast<ConstantSDNode>(C.getNode())) { in decomposeMulByConstant() local
16183 if (!ConstNode->getAPIntValue().isSignedIntN(64)) in decomposeMulByConstant()
16191 int64_t Imm = ConstNode->getSExtValue(); in decomposeMulByConstant()
16625 ConstantSDNode* ConstNode = dyn_cast<ConstantSDNode>(RHS); in combineADDToMAT_PCREL_ADDR() local
16628 if (!GSDN || !ConstNode) in combineADDToMAT_PCREL_ADDR()
16631 int64_t NewOffset = GSDN->getOffset() + ConstNode->getSExtValue(); in combineADDToMAT_PCREL_ADDR()
16705 ConstantSDNode *ConstNode = dyn_cast<ConstantSDNode>(Op0.getOperand(1)); in combineTRUNCATE() local
16707 if (!ConstNode || ConstNode->getZExtValue() != 64) in combineTRUNCATE()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp3488 ConstantSDNode *ConstNode = cast<ConstantSDNode>(Node); in Select() local
3489 if (ConstNode->isNullValue()) { in Select()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp670 SDValue &ConstNode);
16643 SDValue &ConstNode) { in isMulAddWithConstProfitable() argument
16651 for (SDNode *Use : ConstNode->uses()) { in isMulAddWithConstProfitable()
16660 if (Use->getOperand(0) == ConstNode) in isMulAddWithConstProfitable()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp45553 auto *ConstNode = dyn_cast<ConstantSDNode>(Op); in getOneTrueElt() local
45554 if (!ConstNode) in getOneTrueElt()
45556 if (ConstNode->getAPIntValue().countTrailingOnes() >= 1) { in getOneTrueElt()