Lines Matching defs:Depth
38 Align GISelKnownBits::computeKnownAlignment(Register R, unsigned Depth) {
42 return computeKnownAlignment(MI->getOperand(1).getReg(), Depth);
56 return TL.computeKnownAlignForTargetInstr(*this, R, MRI, Depth + 1);
77 unsigned Depth) {
82 computeKnownBitsImpl(R, Known, DemandedElts, Depth);
100 dumpResult(const MachineInstr &MI, const KnownBits &Known, unsigned Depth) {
101 dbgs() << "[" << Depth << "] Compute known bits: " << MI << "[" << Depth
102 << "] Computed for: " << MI << "[" << Depth << "] Known: 0x"
104 << "[" << Depth << "] Zero: 0x" << toString(Known.Zero, 16, false)
106 << "[" << Depth << "] One: 0x" << toString(Known.One, 16, false)
114 unsigned Depth) {
116 computeKnownBitsImpl(Src1, Known, DemandedElts, Depth);
123 computeKnownBitsImpl(Src0, Known2, DemandedElts, Depth);
145 unsigned Depth) {
174 LLVM_DEBUG(dumpResult(MI, Known, Depth));
180 // Depth may get bigger than max depth if it gets passed to a different
188 if (Depth >= getMaxDepth())
199 Depth);
209 Depth + 1);
255 Depth + (Opcode != TargetOpcode::COPY));
281 Depth + 1);
283 Depth + 1);
289 Depth + 1);
291 Depth + 1);
307 Depth + 1);
309 Depth + 1);
316 Depth + 1);
318 Depth + 1);
326 Depth + 1);
328 Depth + 1);
335 Depth + 1);
337 Depth + 1);
343 Known, DemandedElts, Depth + 1);
350 Depth + 1);
352 Depth + 1);
360 Depth + 1);
362 Depth + 1);
369 DemandedElts, Depth + 1);
371 DemandedElts, Depth + 1);
378 DemandedElts, Depth + 1);
380 DemandedElts, Depth + 1);
397 Depth + 1);
406 Depth + 1);
412 Depth + 1);
440 Depth + 1);
442 Depth + 1);
449 Depth + 1);
451 Depth + 1);
458 Depth + 1);
460 Depth + 1);
487 computeKnownBitsImpl(SrcReg, Known, DemandedElts, Depth + 1);
510 DemandedElts, Depth + 1);
537 computeKnownBitsImpl(SrcReg, SrcOpKnown, SubDemandedElts, Depth + 1);
547 computeKnownBitsImpl(SrcReg, Known, DemandedElts, Depth + 1);
553 computeKnownBitsImpl(SrcReg, Known, DemandedElts, Depth + 1);
559 Depth + 1);
572 Depth + 1);
574 Depth + 1);
576 Depth + 1);
583 Depth + 1);
585 Depth + 1);
587 Depth + 1);
620 Depth + 1);
629 LLVM_DEBUG(dumpResult(MI, Known, Depth));
638 unsigned Depth) {
640 unsigned Src1SignBits = computeNumSignBits(Src1, DemandedElts, Depth);
643 return std::min(computeNumSignBits(Src0, DemandedElts, Depth), Src1SignBits);
675 unsigned Depth) {
682 if (Depth == getMaxDepth())
704 // Don't increment Depth for this one since we didn't do any work.
705 return computeNumSignBits(Src.getReg(), DemandedElts, Depth);
714 return computeNumSignBits(Src, DemandedElts, Depth + 1) + Tmp;
722 return std::max(computeNumSignBits(Src, DemandedElts, Depth + 1), InRegBits);
766 computeNumSignBits(Src1, DemandedElts, Depth + 1);
770 computeNumSignBits(Src2, DemandedElts, Depth + 1);
782 unsigned NumSrcSignBits = computeNumSignBits(Src, DemandedElts, Depth + 1);
790 Depth + 1);
799 Depth + 1);
839 TL.computeNumSignBitsForTargetInstr(*this, R, DemandedElts, MRI, Depth);
848 KnownBits Known = getKnownBits(R, DemandedElts, Depth);
865 unsigned GISelKnownBits::computeNumSignBits(Register R, unsigned Depth) {
869 return computeNumSignBits(R, DemandedElts, Depth);