| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
| H A D | DemandedBits.h | 40 class DemandedBits { 42 DemandedBits(Function &F, AssumptionCache &AC, DominatorTree &DT) : in DemandedBits() function 101 mutable Optional<DemandedBits> DB; 114 DemandedBits &getDemandedBits() { return *DB; } in getDemandedBits() 127 using Result = DemandedBits; 131 DemandedBits run(Function &F, FunctionAnalysisManager &AM);
|
| H A D | IVDescriptors.h | 28 class DemandedBits; variable 154 DemandedBits *DB = nullptr, 164 DemandedBits *DB = nullptr,
|
| H A D | VectorUtils.h | 284 class DemandedBits; variable 434 DemandedBits &DB,
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| H A D | DemandedBits.cpp | 86 void DemandedBits::determineLiveOperandBits( in determineLiveOperandBits() 330 void DemandedBits::performAnalysis() { in performAnalysis() 443 APInt DemandedBits::getDemandedBits(Instruction *I) { in getDemandedBits() 455 bool DemandedBits::isInstructionDead(Instruction *I) { in isInstructionDead() 462 bool DemandedBits::isUseDead(Use *U) { in isUseDead() 487 void DemandedBits::print(raw_ostream &OS) { in print() 556 APInt DemandedBits::determineLiveOperandBitsAdd(unsigned OperandNo, in determineLiveOperandBitsAdd() 564 APInt DemandedBits::determineLiveOperandBitsSub(unsigned OperandNo, in determineLiveOperandBitsSub() 581 DemandedBits DemandedBitsAnalysis::run(Function &F, in run() 585 return DemandedBits(F, AC, DT); in run()
|
| H A D | CMakeLists.txt | 49 DemandedBits.cpp
|
| H A D | IVDescriptors.cpp | 115 DemandedBits *DB, in computeRecurrenceType() 221 DemandedBits *DB, in AddReductionVar() 649 DemandedBits *DB, AssumptionCache *AC, in isReductionPHI()
|
| H A D | VectorUtils.cpp | 484 llvm::computeMinimumValueSizes(ArrayRef<BasicBlock *> Blocks, DemandedBits &DB, in computeMinimumValueSizes()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Vectorize/ |
| H A D | LoopVectorize.h | 68 class DemandedBits; variable 148 DemandedBits *DB; 161 BlockFrequencyInfo &BFI_, TargetLibraryInfo *TLI_, DemandedBits &DB_,
|
| H A D | SLPVectorizer.h | 34 class DemandedBits; variable 71 DemandedBits *DB = nullptr; 80 DominatorTree *DT_, AssumptionCache *AC_, DemandedBits *DB_,
|
| H A D | LoopVectorizationLegality.h | 255 LoopVectorizationRequirements *R, LoopVectorizeHints *H, DemandedBits *DB, in LoopVectorizationLegality() 540 DemandedBits *DB;
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 504 const APInt &DemandedBits, in ShrinkDemandedConstant() argument 511 if (targetShrinkDemandedConstant(Op, DemandedBits, DemandedElts, TLO)) in ShrinkDemandedConstant() 527 if (Opcode == ISD::XOR && DemandedBits.isSubsetOf(C)) in ShrinkDemandedConstant() 530 if (!C.isSubsetOf(DemandedBits)) { in ShrinkDemandedConstant() 532 SDValue NewC = TLO.DAG.getConstant(DemandedBits & C, DL, VT); in ShrinkDemandedConstant() 545 const APInt &DemandedBits, in ShrinkDemandedConstant() argument 551 return ShrinkDemandedConstant(Op, DemandedBits, DemandedElts, TLO); in ShrinkDemandedConstant() 601 bool TargetLowering::SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits, in SimplifyDemandedBits() argument 608 bool Simplified = SimplifyDemandedBits(Op, DemandedBits, Known, TLO); in SimplifyDemandedBits() 616 bool TargetLowering::SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits, in SimplifyDemandedBits() argument [all …]
|
| H A D | SelectionDAG.cpp | 2369 SDValue SelectionDAG::GetDemandedBits(SDValue V, const APInt &DemandedBits) { in GetDemandedBits() argument 2378 return GetDemandedBits(V, DemandedBits, DemandedElts); in GetDemandedBits() 2386 SDValue SelectionDAG::GetDemandedBits(SDValue V, const APInt &DemandedBits, in GetDemandedBits() argument 2390 return TLI->SimplifyMultipleUseDemandedBits(V, DemandedBits, DemandedElts, in GetDemandedBits() 2394 APInt NewVal = CVal & DemandedBits; in GetDemandedBits() 2408 if (Amt >= DemandedBits.getBitWidth()) in GetDemandedBits() 2410 APInt SrcDemandedBits = DemandedBits << Amt; in GetDemandedBits() 2450 APInt DemandedBits = APInt::getAllOnesValue(BitWidth); in MaskedElementsAreZero() local 2451 return MaskedValueIsZero(Op, DemandedBits, DemandedElts, Depth); in MaskedElementsAreZero()
|
| H A D | DAGCombiner.cpp | 322 APInt DemandedBits = APInt::getAllOnesValue(BitWidth); in SimplifyDemandedBits() local 323 return SimplifyDemandedBits(Op, DemandedBits); in SimplifyDemandedBits() 326 bool SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits) { in SimplifyDemandedBits() argument 329 if (!TLI.SimplifyDemandedBits(Op, DemandedBits, Known, TLO, 0, false)) in SimplifyDemandedBits() 352 bool SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits, 1158 bool DAGCombiner::SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits, in SimplifyDemandedBits() argument 1163 if (!TLI.SimplifyDemandedBits(Op, DemandedBits, DemandedElts, Known, TLO, 0, in SimplifyDemandedBits() 18684 APInt DemandedBits = APInt::getAllOnesValue(VecEltBitWidth); in visitEXTRACT_VECTOR_ELT() local 18685 if (SimplifyDemandedBits(VecOp, DemandedBits, DemandedElts, true)) { in visitEXTRACT_VECTOR_ELT()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | BDCE.cpp | 44 static void clearAssumptionsOfUsers(Instruction *I, DemandedBits &DB) { in clearAssumptionsOfUsers() 93 static bool bitTrackingDCE(Function &F, DemandedBits &DB) { in bitTrackingDCE()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/ |
| H A D | TargetLowering.h | 3296 bool ShrinkDemandedConstant(SDValue Op, const APInt &DemandedBits, 3301 bool ShrinkDemandedConstant(SDValue Op, const APInt &DemandedBits, 3308 const APInt &DemandedBits, in targetShrinkDemandedConstant() argument 3333 bool SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits, 3340 bool SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits, 3347 bool SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits, 3353 SDValue SimplifyMultipleUseDemandedBits(SDValue Op, const APInt &DemandedBits, 3360 SDValue SimplifyMultipleUseDemandedBits(SDValue Op, const APInt &DemandedBits, 3466 const APInt &DemandedBits, 3476 SDValue Op, const APInt &DemandedBits, const APInt &DemandedElts,
|
| H A D | SelectionDAG.h | 1679 SDValue GetDemandedBits(SDValue V, const APInt &DemandedBits); 1688 SDValue GetDemandedBits(SDValue V, const APInt &DemandedBits,
|
| /netbsd-src/external/apache2/llvm/lib/libLLVMAnalysis/ |
| H A D | Makefile | 37 DemandedBits.cpp \
|
| /netbsd-src/external/apache2/llvm/dist/llvm/utils/gn/secondary/llvm/lib/Analysis/ |
| H A D | BUILD.gn | 43 "DemandedBits.cpp",
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.h | 1071 bool targetShrinkDemandedConstant(SDValue Op, const APInt &DemandedBits, 1103 const APInt &DemandedBits, 1110 SDValue Op, const APInt &DemandedBits, const APInt &DemandedElts,
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.h | 324 bool targetShrinkDemandedConstant(SDValue Op, const APInt &DemandedBits,
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/ |
| H A D | ARMISelLowering.h | 504 bool targetShrinkDemandedConstant(SDValue Op, const APInt &DemandedBits,
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.h | 509 bool targetShrinkDemandedConstant(SDValue Op, const APInt &DemandedBits,
|
| H A D | AArch64ISelLowering.cpp | 1563 uint64_t DemandedBits = Demanded.getZExtValue(); in optimizeLogicalImm() local 1566 Imm &= DemandedBits; in optimizeLogicalImm() 1576 uint64_t NonDemandedBits = ~DemandedBits; in optimizeLogicalImm() 1577 uint64_t InvertedImm = ~Imm & DemandedBits; in optimizeLogicalImm() 1598 uint64_t Hi = Imm >> EltSize, DemandedBitsHi = DemandedBits >> EltSize; in optimizeLogicalImm() 1601 if (((Imm ^ Hi) & (DemandedBits & DemandedBitsHi) & Mask) != 0) in optimizeLogicalImm() 1606 DemandedBits |= DemandedBitsHi; in optimizeLogicalImm() 1645 SDValue Op, const APInt &DemandedBits, const APInt &DemandedElts, in targetShrinkDemandedConstant() argument 1663 if (DemandedBits.countPopulation() == Size) in targetShrinkDemandedConstant() 1684 return optimizeLogicalImm(Op, Size, Imm, DemandedBits, TLO, NewOpc); in targetShrinkDemandedConstant()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/ |
| H A D | LoopVectorize.cpp | 1225 const TargetLibraryInfo *TLI, DemandedBits *DB, in LoopVectorizationCostModel() 1864 DemandedBits *DB; 9730 TargetLibraryInfo *TLI, DemandedBits *DB, AssumptionCache *AC, in processLoopInVPlanNativePath() 10191 DemandedBits &DB_, AAResults &AA_, AssumptionCache &AC_, in runImpl()
|
| H A D | SLPVectorizer.cpp | 598 DominatorTree *Dt, AssumptionCache *AC, DemandedBits *DB, in BoUpSLP() 2438 DemandedBits *DB; 6489 AssumptionCache *AC_, DemandedBits *DB_, in runImpl()
|