Home
last modified time | relevance | path

Searched refs:Cst1 (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURegBankLegalizeHelper.cpp942 auto Cst1 = B.buildConstant(SgprRB_S32, 1); in applyMappingSrc() local
943 auto BoolInReg = B.buildAnd(SgprRB_S32, Aext, Cst1); in applyMappingSrc()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp5381 Constant *Cst1, *Cst2; in foldICmpBinOp() local
5382 if (match(B, m_ImmConstant(Cst1)) && match(D, m_ImmConstant(Cst2)) && in foldICmpBinOp()
5384 Constant *Diff = ConstantExpr::getSub(Cst2, Cst1); in foldICmpBinOp()
6103 ConstantInt *Cst1; in foldICmpEquality() local
6104 if (match(Op0, m_OneUse(m_Shl(m_Value(A), m_ConstantInt(Cst1)))) && in foldICmpEquality()
6105 match(Op1, m_OneUse(m_Shl(m_Value(B), m_Specific(Cst1))))) { in foldICmpEquality()
6106 unsigned TypeBits = Cst1->getBitWidth(); in foldICmpEquality()
6107 unsigned ShAmt = (unsigned)Cst1->getLimitedValue(TypeBits); in foldICmpEquality()
6113 return new ICmpInst(Pred, And, Constant::getNullValue(Cst1->getType())); in foldICmpEquality()
6122 match(Op1, m_ConstantInt(Cst1)) && in foldICmpEquality()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp2665 auto Cst1 = in select() local
2667 assert(Cst1 && "Should have gotten a constant for src 1?"); in select()
2671 auto LSB = Cst1->Value.getZExtValue(); in select()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp4645 auto Cst1 = B.buildConstant(ExtractTy, ShiftImm); in matchBitfieldExtractFromSExtInReg() local
4647 B.buildSbfx(Dst, ShiftSrc, Cst1, Cst2); in matchBitfieldExtractFromSExtInReg()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp38828 if (auto* Cst1 = dyn_cast<ConstantSDNode>(Op1)) { in computeKnownBitsForTargetNode() local
38829 unsigned Shift = Cst1->getAPIntValue().extractBitsAsZExtValue(8, 0); in computeKnownBitsForTargetNode()
38830 unsigned Length = Cst1->getAPIntValue().extractBitsAsZExtValue(8, 8); in computeKnownBitsForTargetNode()
44873 if (auto *Cst1 = dyn_cast<ConstantSDNode>(Op1)) { in SimplifyDemandedBitsForTargetNode() local
44875 uint64_t Val1 = Cst1->getZExtValue(); in SimplifyDemandedBitsForTargetNode()
44884 unsigned Shift = Cst1->getAPIntValue().extractBitsAsZExtValue(8, 0); in SimplifyDemandedBitsForTargetNode()
44885 unsigned Length = Cst1->getAPIntValue().extractBitsAsZExtValue(8, 8); in SimplifyDemandedBitsForTargetNode()