Home
last modified time | relevance | path

Searched refs:isShiftedMask_64 (Results 1 – 19 of 19) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCTargetDesc.h104 if (isShiftedMask_64(Val)) { in isRunOfOnes64()
112 if (isShiftedMask_64(Val)) { in isRunOfOnes64()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DMathExtras.h286 constexpr bool isShiftedMask_64(uint64_t Value) { in isShiftedMask_64() function
319 inline bool isShiftedMask_64(uint64_t Value, unsigned &MaskIdx, in isShiftedMask_64() function
321 if (!isShiftedMask_64(Value)) in isShiftedMask_64()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64AddressingModes.h238 if (isShiftedMask_64(Imm)) { in processLogicalImmediate()
244 if (!isShiftedMask_64(~Imm)) in processLogicalImmediate()
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVE.h342 return (Val & (UINT64_C(1) << 63)) && isShiftedMask_64(Val); in isMImmVal()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelDAGToDAG.cpp1186 if (isShiftedMask_64(Mask)) { in Select()
1236 if (isShiftedMask_64(Mask) && N0.hasOneUse()) { in Select()
1456 if (LeftShift && isShiftedMask_64(C1)) { in Select()
1499 if (!LeftShift && isShiftedMask_64(C1)) { in Select()
1549 if (LeftShift && isShiftedMask_64(C1)) { in Select()
1623 if (isShiftedMask_64(C1) && !Skip) { in Select()
3321 if (isShiftedMask_64(Mask)) { in selectSHXADDOp()
3369 if (isShiftedMask_64(Mask)) { in selectSHXADDOp()
3395 if (isShiftedMask_64(Mask)) { in selectSHXADDOp()
3449 if (isShiftedMask_64(Mask)) { in selectSHXADD_UWOp()
H A DRISCVTargetTransformInfo.cpp160 if (isShiftedMask_64(Mask)) { in canUseShiftPair()
H A DRISCVInstrInfo.td602 return !isInt<32>(Imm) && isUInt<32>(Imm) && isShiftedMask_64(Imm) &&
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp300 (isShiftedMask_64(Imm.getZExtValue()) || in getIntImmCostInst()
301 isShiftedMask_64(~Imm.getZExtValue()))) in getIntImmCostInst()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPInt.h512 return isShiftedMask_64(U.VAL); in isShiftedMask()
524 return isShiftedMask_64(U.VAL, MaskIdx, MaskLen); in isShiftedMask()
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchISelLowering.cpp4401 !isShiftedMask_64(CN->getZExtValue(), SMIdx, SMLen)) in performANDCombine()
4496 !isShiftedMask_64(CN->getZExtValue(), MaskIdx, MaskLen)) in performSRLCombine()
4752 isShiftedMask_64(~CN0->getSExtValue(), MaskIdx0, MaskLen0) && in performORCombine()
4755 isShiftedMask_64(CN1->getZExtValue(), MaskIdx1, MaskLen1) && in performORCombine()
4774 isShiftedMask_64(~CN0->getSExtValue(), MaskIdx0, MaskLen0) && in performORCombine()
4779 isShiftedMask_64(CN1->getZExtValue(), MaskIdx1, MaskLen1) && in performORCombine()
4797 isShiftedMask_64(~CN0->getSExtValue(), MaskIdx0, MaskLen0) && in performORCombine()
4820 isShiftedMask_64(CN0->getZExtValue(), MaskIdx0, MaskLen0) && in performORCombine()
4839 isShiftedMask_64(~CN0->getSExtValue(), MaskIdx0, MaskLen0) && in performORCombine()
4865 isShiftedMask_64(CNMask->getZExtValue(), MaskIdx, MaskLen) && in performORCombine()
[all …]
H A DLoongArchInstrInfo.td636 : llvm::isShiftedMask_64(~Imm, MaskIdx, MaskLen);
644 : llvm::isShiftedMask_64(~Imm, MaskIdx, MaskLen);
654 : llvm::isShiftedMask_64(~Imm, MaskIdx, MaskLen);
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsISelLowering.cpp822 !isShiftedMask_64(CN->getZExtValue(), SMPos, SMSize)) in performANDCombine()
915 !isShiftedMask_64(CN->getZExtValue(), SMPos0, SMSize0)) in performORCombine()
947 !isShiftedMask_64(~CN->getSExtValue(), SMPos0, SMSize0)) in performORCombine()
955 !isShiftedMask_64(CN->getZExtValue(), SMPos1, SMSize1)) in performORCombine()
1210 !isShiftedMask_64(CN->getZExtValue(), SMPos, SMSize)) in performSHLCombine()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZInstrInfo.cpp2025 if (isShiftedMask_64(Mask, LSB, Length)) { in isRxSBGMask()
2033 if (isShiftedMask_64(Mask ^ allOnes(BitSize), LSB, Length)) { in isRxSBGMask()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp3163 if (!isShiftedMask_64(NonZeroBits)) in isBitfieldPositioningOp()
3185 assert(isShiftedMask_64(NonZeroBits) && "Caller guaranteed"); in isBitfieldPositioningOpFromAnd()
3307 assert(isShiftedMask_64(NonZeroBits) && "Caller guaranteed"); in isBitfieldPositioningOpFromShl()
3338 return isShiftedMask_64(Mask); in isShiftedMask()
3446 isShiftedMask_64(AndImm)) { in isWorthFoldingIntoOrrWithShift()
H A DAArch64ISelLowering.cpp2444 if (isShiftedMask_64(NewImm) || isShiftedMask_64(~(NewImm | ~Mask))) in optimizeLogicalImm()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp2248 if (!isShiftedMask_64(Mask, MaskIdx, MaskLen)) in foldMaskAndShiftToScale()
2347 if (!isShiftedMask_64(Mask, MaskIdx, MaskLen)) in foldMaskedShiftToBEXTR()
6191 if (CmpVT == MVT::i64 && !isInt<8>(Mask) && isShiftedMask_64(Mask) && in Select()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXISelDAGToDAG.cpp1790 } else if (isShiftedMask_64(MaskVal)) { in tryBFE()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp3268 if (!MaskVal || !isShiftedMask_64(*MaskVal)) in select()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp12301 (Bits == 8 || Bits == 16) && isShiftedMask_64(Mask) && !(Mask & 1)) { in performAndCombine()