| /openbsd/src/gnu/llvm/llvm/include/llvm/Analysis/ |
| D | DemandedBits.h | 40 class DemandedBits { 42 DemandedBits(Function &F, AssumptionCache &AC, DominatorTree &DT) : in DemandedBits() function 104 mutable std::optional<DemandedBits> DB; 117 DemandedBits &getDemandedBits() { return *DB; } in getDemandedBits() 130 using Result = DemandedBits; 134 DemandedBits run(Function &F, FunctionAnalysisManager &AM);
|
| D | IVDescriptors.h | 25 class DemandedBits; variable 170 DemandedBits *DB = nullptr, AssumptionCache *AC = nullptr, 180 DemandedBits *DB = nullptr, AssumptionCache *AC = nullptr,
|
| D | VectorUtils.h | 283 class DemandedBits; variable 469 DemandedBits &DB,
|
| /openbsd/src/gnu/llvm/llvm/lib/Analysis/ |
| D | DemandedBits.cpp | 80 void DemandedBits::determineLiveOperandBits( in determineLiveOperandBits() 324 void DemandedBits::performAnalysis() { in performAnalysis() 437 APInt DemandedBits::getDemandedBits(Instruction *I) { in getDemandedBits() 448 APInt DemandedBits::getDemandedBits(Use *U) { in getDemandedBits() 475 bool DemandedBits::isInstructionDead(Instruction *I) { in isInstructionDead() 482 bool DemandedBits::isUseDead(Use *U) { in isUseDead() 507 void DemandedBits::print(raw_ostream &OS) { in print() 590 APInt DemandedBits::determineLiveOperandBitsAdd(unsigned OperandNo, in determineLiveOperandBitsAdd() 598 APInt DemandedBits::determineLiveOperandBitsSub(unsigned OperandNo, in determineLiveOperandBitsSub() 615 DemandedBits DemandedBitsAnalysis::run(Function &F, in run() [all …]
|
| D | CMakeLists.txt | 55 DemandedBits.cpp
|
| D | IVDescriptors.cpp | 96 DemandedBits *DB, in computeRecurrenceType() 218 RecurrenceDescriptor &RedDes, DemandedBits *DB, AssumptionCache *AC, in AddReductionVar() 827 DemandedBits *DB, AssumptionCache *AC, in isReductionPHI()
|
| D | VectorUtils.cpp | 666 llvm::computeMinimumValueSizes(ArrayRef<BasicBlock *> Blocks, DemandedBits &DB, in computeMinimumValueSizes()
|
| /openbsd/src/gnu/llvm/llvm/include/llvm/Transforms/Vectorize/ |
| D | LoopVectorize.h | 67 class DemandedBits; variable 179 DemandedBits *DB; 193 DemandedBits &DB_, AssumptionCache &AC_,
|
| D | SLPVectorizer.h | 33 class DemandedBits; variable 72 DemandedBits *DB = nullptr; 81 DominatorTree *DT_, AssumptionCache *AC_, DemandedBits *DB_,
|
| D | LoopVectorizationLegality.h | 39 class DemandedBits; variable 247 LoopVectorizationRequirements *R, LoopVectorizeHints *H, DemandedBits *DB, in LoopVectorizationLegality() 537 DemandedBits *DB;
|
| /openbsd/src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
| D | TargetLowering.cpp | 501 const APInt &DemandedBits, in ShrinkDemandedConstant() argument 508 if (targetShrinkDemandedConstant(Op, DemandedBits, DemandedElts, TLO)) in ShrinkDemandedConstant() 524 if (Opcode == ISD::XOR && DemandedBits.isSubsetOf(C)) in ShrinkDemandedConstant() 527 if (!C.isSubsetOf(DemandedBits)) { in ShrinkDemandedConstant() 529 SDValue NewC = TLO.DAG.getConstant(DemandedBits & C, DL, VT); in ShrinkDemandedConstant() 542 const APInt &DemandedBits, in ShrinkDemandedConstant() argument 548 return ShrinkDemandedConstant(Op, DemandedBits, DemandedElts, TLO); in ShrinkDemandedConstant() 598 bool TargetLowering::SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits, in SimplifyDemandedBits() argument 605 bool Simplified = SimplifyDemandedBits(Op, DemandedBits, Known, TLO); in SimplifyDemandedBits() 613 bool TargetLowering::SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits, in SimplifyDemandedBits() argument [all …]
|
| D | DAGCombiner.cpp | 324 APInt DemandedBits = APInt::getAllOnes(BitWidth); in SimplifyDemandedBits() local 325 return SimplifyDemandedBits(Op, DemandedBits); in SimplifyDemandedBits() 328 bool SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits) { in SimplifyDemandedBits() argument 331 if (!TLI.SimplifyDemandedBits(Op, DemandedBits, Known, TLO, 0, false)) in SimplifyDemandedBits() 354 bool SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits, 1236 bool DAGCombiner::SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits, in SimplifyDemandedBits() argument 1241 if (!TLI.SimplifyDemandedBits(Op, DemandedBits, DemandedElts, Known, TLO, 0, in SimplifyDemandedBits() 7492 APInt DemandedBits = APInt::getLowBitsSet(NegBits, Bits); in matchRotateSub() local 7494 TLI.SimplifyMultipleUseDemandedBits(Neg, DemandedBits, DAG)) { in matchRotateSub() 7515 APInt DemandedBits = APInt::getLowBitsSet(PosBits, MaskLoBits); in matchRotateSub() local [all …]
|
| /openbsd/src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| D | BDCE.cpp | 44 static void clearAssumptionsOfUsers(Instruction *I, DemandedBits &DB) { in clearAssumptionsOfUsers() 93 static bool bitTrackingDCE(Function &F, DemandedBits &DB) { in bitTrackingDCE()
|
| /openbsd/src/gnu/usr.bin/clang/libLLVMAnalysis/ |
| D | Makefile | 36 DemandedBits.cpp \
|
| /openbsd/src/gnu/llvm/llvm/utils/gn/secondary/llvm/lib/Analysis/ |
| D | BUILD.gn | 44 "DemandedBits.cpp",
|
| /openbsd/src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| D | TargetLowering.h | 3684 bool ShrinkDemandedConstant(SDValue Op, const APInt &DemandedBits, 3689 bool ShrinkDemandedConstant(SDValue Op, const APInt &DemandedBits, 3696 const APInt &DemandedBits, in targetShrinkDemandedConstant() argument 3721 bool SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits, 3728 bool SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits, 3735 bool SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits, 3740 bool SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits, 3747 SDValue SimplifyMultipleUseDemandedBits(SDValue Op, const APInt &DemandedBits, 3754 SDValue SimplifyMultipleUseDemandedBits(SDValue Op, const APInt &DemandedBits, 3867 const APInt &DemandedBits, [all …]
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/X86/ |
| D | X86ISelLowering.h | 1170 bool targetShrinkDemandedConstant(SDValue Op, const APInt &DemandedBits, 1202 const APInt &DemandedBits, 1209 SDValue Op, const APInt &DemandedBits, const APInt &DemandedElts,
|
| D | X86ISelLowering.cpp | 37720 const APInt &DemandedBits, in targetShrinkDemandedConstant() argument 37746 unsigned ActiveBits = DemandedBits.getActiveBits(); in targetShrinkDemandedConstant() 37776 APInt ShrunkMask = Mask & DemandedBits; in targetShrinkDemandedConstant() 37800 if (!ZeroExtendMask.isSubsetOf(Mask | ~DemandedBits)) in targetShrinkDemandedConstant() 43187 SDValue Op, const APInt &DemandedBits, const APInt &DemandedElts, in SimplifyMultipleUseDemandedBitsForTargetNode() argument 43210 unsigned BitWidth = DemandedBits.getBitWidth(); in SimplifyMultipleUseDemandedBitsForTargetNode() 43212 unsigned UpperDemandedBits = BitWidth - DemandedBits.countTrailingZeros(); in SimplifyMultipleUseDemandedBitsForTargetNode() 43220 if (DemandedBits.isSignMask()) in SimplifyMultipleUseDemandedBitsForTargetNode() 43226 if (DemandedBits.isSignMask() && in SimplifyMultipleUseDemandedBitsForTargetNode() 43241 if (DemandedBits.isSubsetOf(RHSKnown.Zero | LHSKnown.Zero)) in SimplifyMultipleUseDemandedBitsForTargetNode() [all …]
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/RISCV/ |
| D | RISCVISelLowering.h | 424 bool targetShrinkDemandedConstant(SDValue Op, const APInt &DemandedBits,
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/ARM/ |
| D | ARMISelLowering.h | 511 bool targetShrinkDemandedConstant(SDValue Op, const APInt &DemandedBits,
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/AArch64/ |
| D | AArch64ISelLowering.h | 539 bool targetShrinkDemandedConstant(SDValue Op, const APInt &DemandedBits,
|
| D | AArch64ISelLowering.cpp | 1987 uint64_t DemandedBits = Demanded.getZExtValue(); in optimizeLogicalImm() local 1990 Imm &= DemandedBits; in optimizeLogicalImm() 2000 uint64_t NonDemandedBits = ~DemandedBits; in optimizeLogicalImm() 2001 uint64_t InvertedImm = ~Imm & DemandedBits; in optimizeLogicalImm() 2022 uint64_t Hi = Imm >> EltSize, DemandedBitsHi = DemandedBits >> EltSize; in optimizeLogicalImm() 2025 if (((Imm ^ Hi) & (DemandedBits & DemandedBitsHi) & Mask) != 0) in optimizeLogicalImm() 2030 DemandedBits |= DemandedBitsHi; in optimizeLogicalImm() 2069 SDValue Op, const APInt &DemandedBits, const APInt &DemandedElts, in targetShrinkDemandedConstant() argument 2087 if (DemandedBits.countPopulation() == Size) in targetShrinkDemandedConstant() 2108 return optimizeLogicalImm(Op, Size, Imm, DemandedBits, TLO, NewOpc); in targetShrinkDemandedConstant()
|
| /openbsd/src/gnu/llvm/llvm/lib/Transforms/Vectorize/ |
| D | LoopVectorize.cpp | 1169 const TargetLibraryInfo *TLI, DemandedBits *DB, in LoopVectorizationCostModel() 1840 DemandedBits *DB; 9957 TargetLibraryInfo *TLI, DemandedBits *DB, AssumptionCache *AC, in processLoopInVPlanNativePath() 10590 DemandedBits &DB_, AssumptionCache &AC_, LoopAccessInfoManager &LAIs_, in runImpl()
|
| D | SLPVectorizer.cpp | 978 DominatorTree *Dt, AssumptionCache *AC, DemandedBits *DB, in BoUpSLP() 3431 DemandedBits *DB; 11323 AssumptionCache *AC_, DemandedBits *DB_, in runImpl()
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| D | SIISelLowering.cpp | 11554 APInt DemandedBits = APInt::getBitsSet(32, 8 * Offset, 8 * Offset + 8); in performCvtF32UByteNCombine() local 11555 if (TLI.SimplifyDemandedBits(Src, DemandedBits, DCI)) { in performCvtF32UByteNCombine() 11565 TLI.SimplifyMultipleUseDemandedBits(Src, DemandedBits, DAG)) in performCvtF32UByteNCombine()
|