| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | DemandedBits.h | 38 class DemandedBits { 40 DemandedBits(Function &F, AssumptionCache &AC, DominatorTree &DT) : in DemandedBits() function 108 using Result = DemandedBits; 112 DemandedBits run(Function &F, FunctionAnalysisManager &AM);
|
| H A D | IVDescriptors.h | 24 class DemandedBits; variable 172 DemandedBits *DB = nullptr, AssumptionCache *AC = nullptr, 182 DemandedBits *DB = nullptr, AssumptionCache *AC = nullptr,
|
| H A D | VectorUtils.h | 117 class DemandedBits; variable 285 DemandedBits &DB,
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | DemandedBits.cpp | 54 void DemandedBits::determineLiveOperandBits( in determineLiveOperandBits() 287 void DemandedBits::performAnalysis() { in performAnalysis() 400 APInt DemandedBits::getDemandedBits(Instruction *I) { in getDemandedBits() 411 APInt DemandedBits::getDemandedBits(Use *U) { in getDemandedBits() 438 bool DemandedBits::isInstructionDead(Instruction *I) { in isInstructionDead() 444 bool DemandedBits::isUseDead(Use *U) { in isUseDead() 469 void DemandedBits::print(raw_ostream &OS) { in print() 553 APInt DemandedBits::determineLiveOperandBitsAdd(unsigned OperandNo, in determineLiveOperandBitsAdd() 561 APInt DemandedBits::determineLiveOperandBitsSub(unsigned OperandNo, in determineLiveOperandBitsSub() 574 DemandedBits DemandedBitsAnalysis::run(Function &F, in run() [all …]
|
| H A D | IVDescriptors.cpp | 94 DemandedBits *DB, in computeRecurrenceType() 215 RecurrenceDescriptor &RedDes, DemandedBits *DB, AssumptionCache *AC, in AddReductionVar() 841 DemandedBits *DB, AssumptionCache *AC, in isReductionPHI()
|
| H A D | VectorUtils.cpp | 544 llvm::computeMinimumValueSizes(ArrayRef<BasicBlock *> Blocks, DemandedBits &DB, in computeMinimumValueSizes()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Vectorize/ |
| H A D | LoopVectorize.h | 67 class DemandedBits; variable 179 DemandedBits *DB; 193 DemandedBits &DB_, AssumptionCache &AC_,
|
| H A D | SLPVectorizer.h | 32 class DemandedBits; variable 71 DemandedBits *DB = nullptr; 80 DominatorTree *DT_, AssumptionCache *AC_, DemandedBits *DB_,
|
| H A D | LoopVectorizationLegality.h | 38 class DemandedBits; variable 246 LoopVectorizationRequirements *R, LoopVectorizeHints *H, DemandedBits *DB, in LoopVectorizationLegality() 531 DemandedBits *DB;
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 544 if (!C.isSubsetOf(DemandedBits)) { in ShrinkDemandedConstant() 805 if (DemandedBits.isSignMask() && in SimplifyMultipleUseDemandedBits() 1096 APInt DemandedBits = OriginalDemandedBits; in SimplifyDemandedBits() local 1379 if ((LHSKnown.Zero & DemandedBits) == in SimplifyDemandedBits() 1610 if ((DemandedBits & C->getAPIntValue()) == (DemandedBits & Ones) && in SimplifyDemandedBits() 1701 if (DemandedBits.isSignMask() && in SimplifyDemandedBits() 2005 if (DemandedBits.isOne()) in SimplifyDemandedBits() 2324 if (DemandedBits.isSignMask()) { in SimplifyDemandedBits() 2574 if (!(HighBits & DemandedBits)) { in SimplifyDemandedBits() 2623 APInt DemandedSrcBits = DemandedBits; in SimplifyDemandedBits() [all …]
|
| H A D | DAGCombiner.cpp | 332 APInt DemandedBits = APInt::getAllOnes(BitWidth); in SimplifyDemandedBits() local 333 return SimplifyDemandedBits(Op, DemandedBits); in SimplifyDemandedBits() 336 bool SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits) { in SimplifyDemandedBits() argument 339 if (!TLI.SimplifyDemandedBits(Op, DemandedBits, Known, TLO, 0, false)) in SimplifyDemandedBits() 362 bool SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits, 1467 bool DAGCombiner::SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits, in SimplifyDemandedBits() argument 1472 if (!TLI.SimplifyDemandedBits(Op, DemandedBits, DemandedElts, Known, TLO, 0, in SimplifyDemandedBits() 8222 APInt DemandedBits = APInt::getLowBitsSet(NegBits, Bits); in matchRotateSub() local 8245 APInt DemandedBits = APInt::getLowBitsSet(PosBits, MaskLoBits); in matchRotateSub() local 22386 APInt DemandedBits = APInt::getAllOnes(VecEltBitWidth); in visitEXTRACT_VECTOR_ELT() local [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | BDCE.cpp | 41 static void clearAssumptionsOfUsers(Instruction *I, DemandedBits &DB) { in clearAssumptionsOfUsers() 90 static bool bitTrackingDCE(Function &F, DemandedBits &DB) { in bitTrackingDCE()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | TargetLowering.h | 3834 bool ShrinkDemandedConstant(SDValue Op, const APInt &DemandedBits, 3839 bool ShrinkDemandedConstant(SDValue Op, const APInt &DemandedBits, 3846 const APInt &DemandedBits, in targetShrinkDemandedConstant() argument 3857 const APInt &DemandedBits, 3873 bool SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits, 3880 bool SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits, 3887 bool SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits, 3892 bool SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits, 3899 SDValue SimplifyMultipleUseDemandedBits(SDValue Op, const APInt &DemandedBits, 4019 const APInt &DemandedBits, [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.h | 1194 bool targetShrinkDemandedConstant(SDValue Op, const APInt &DemandedBits, 1226 const APInt &DemandedBits, 1233 SDValue Op, const APInt &DemandedBits, const APInt &DemandedElts,
|
| H A D | X86ISelLowering.cpp | 36498 APInt ShrunkMask = Mask & DemandedBits; in targetShrinkDemandedConstant() 42242 unsigned BitWidth = DemandedBits.getBitWidth(); in SimplifyMultipleUseDemandedBitsForTargetNode() 42252 if (DemandedBits.isSignMask()) in SimplifyMultipleUseDemandedBitsForTargetNode() 42258 if (DemandedBits.isSignMask() && in SimplifyMultipleUseDemandedBitsForTargetNode() 42335 Op, DemandedBits, DemandedElts, DAG, Depth); in SimplifyMultipleUseDemandedBitsForTargetNode() 44694 APInt DemandedBits(APInt::getSignMask(BitWidth)); in combineVSelectToBLENDV() local 48725 DemandedBits.clearAllBits(); in combineAnd() 48731 DemandedBits.setAllBits(); in combineAnd() 48734 DemandedBits |= EltBits[I]; in combineAnd() 52260 DemandedBits.clearAllBits(); in combineAndnp() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.h | 543 bool targetShrinkDemandedConstant(SDValue Op, const APInt &DemandedBits,
|
| H A D | RISCVISelLowering.cpp | 16167 SDValue Op, const APInt &DemandedBits, const APInt &DemandedElts, in targetShrinkDemandedConstant() argument 16188 APInt ShrunkMask = Mask & DemandedBits; in targetShrinkDemandedConstant() 16192 APInt ExpandedMask = Mask | ~DemandedBits; in targetShrinkDemandedConstant()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMISelLowering.h | 518 bool targetShrinkDemandedConstant(SDValue Op, const APInt &DemandedBits,
|
| H A D | ARMISelLowering.cpp | 20173 SDValue Op, const APInt &DemandedBits, const APInt &DemandedElts, in targetShrinkDemandedConstant() argument 20199 unsigned Demanded = DemandedBits.getZExtValue(); in targetShrinkDemandedConstant()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.h | 576 bool targetShrinkDemandedConstant(SDValue Op, const APInt &DemandedBits,
|
| H A D | AArch64ISelLowering.cpp | 1999 uint64_t DemandedBits = Demanded.getZExtValue(); in optimizeLogicalImm() local 2002 Imm &= DemandedBits; in optimizeLogicalImm() 2012 uint64_t NonDemandedBits = ~DemandedBits; in optimizeLogicalImm() 2013 uint64_t InvertedImm = ~Imm & DemandedBits; in optimizeLogicalImm() 2034 uint64_t Hi = Imm >> EltSize, DemandedBitsHi = DemandedBits >> EltSize; in optimizeLogicalImm() 2037 if (((Imm ^ Hi) & (DemandedBits & DemandedBitsHi) & Mask) != 0) in optimizeLogicalImm() 2042 DemandedBits |= DemandedBitsHi; in optimizeLogicalImm() 2081 SDValue Op, const APInt &DemandedBits, const APInt &DemandedElts, in targetShrinkDemandedConstant() argument 2099 if (DemandedBits.popcount() == Size) in targetShrinkDemandedConstant() 2120 return optimizeLogicalImm(Op, Size, Imm, DemandedBits, TLO, NewOpc); in targetShrinkDemandedConstant()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | LoopVectorize.cpp | 1202 const TargetLibraryInfo *TLI, DemandedBits *DB, in LoopVectorizationCostModel() 1899 DemandedBits *DB; 9617 TargetLibraryInfo *TLI, DemandedBits *DB, AssumptionCache *AC, in processLoopInVPlanNativePath() 10276 DemandedBits &DB_, AssumptionCache &AC_, LoopAccessInfoManager &LAIs_, in runImpl()
|
| H A D | SLPVectorizer.cpp | 980 DominatorTree *Dt, AssumptionCache *AC, DemandedBits *DB, in BoUpSLP() 3575 DemandedBits *DB; 13353 AssumptionCache *AC_, DemandedBits *DB_, in runImpl()
|
| /freebsd-14.2/lib/clang/libllvm/ |
| H A D | Makefile | 79 SRCS_MIN+= Analysis/DemandedBits.cpp
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | SIISelLowering.cpp | 14321 APInt DemandedBits = APInt::getBitsSet(32, 8 * Offset, 8 * Offset + 8); in performCvtF32UByteNCombine() local 14322 if (TLI.SimplifyDemandedBits(Src, DemandedBits, DCI)) { in performCvtF32UByteNCombine() 14332 TLI.SimplifyMultipleUseDemandedBits(Src, DemandedBits, DAG)) in performCvtF32UByteNCombine()
|