Lines Matching refs:Depth

39 Align GISelKnownBits::computeKnownAlignment(Register R, unsigned Depth) {  in computeKnownAlignment()  argument
43 return computeKnownAlignment(MI->getOperand(1).getReg(), Depth); in computeKnownAlignment()
57 return TL.computeKnownAlignForTargetInstr(*this, R, MRI, Depth + 1); in computeKnownAlignment()
78 unsigned Depth) { in getKnownBits() argument
83 computeKnownBitsImpl(R, Known, DemandedElts, Depth); in getKnownBits()
101 dumpResult(const MachineInstr &MI, const KnownBits &Known, unsigned Depth) { in dumpResult() argument
102 dbgs() << "[" << Depth << "] Compute known bits: " << MI << "[" << Depth in dumpResult()
103 << "] Computed for: " << MI << "[" << Depth << "] Known: 0x" in dumpResult()
105 << "[" << Depth << "] Zero: 0x" << toString(Known.Zero, 16, false) in dumpResult()
107 << "[" << Depth << "] One: 0x" << toString(Known.One, 16, false) in dumpResult()
115 unsigned Depth) { in computeKnownBitsMin() argument
117 computeKnownBitsImpl(Src1, Known, DemandedElts, Depth); in computeKnownBitsMin()
124 computeKnownBitsImpl(Src0, Known2, DemandedElts, Depth); in computeKnownBitsMin()
146 unsigned Depth) { in computeKnownBitsImpl() argument
165 LLVM_DEBUG(dumpResult(MI, Known, Depth)); in computeKnownBitsImpl()
179 if (Depth >= getMaxDepth()) in computeKnownBitsImpl()
190 Depth); in computeKnownBitsImpl()
200 Depth + 1); in computeKnownBitsImpl()
246 Depth + (Opcode != TargetOpcode::COPY)); in computeKnownBitsImpl()
271 Depth + 1); in computeKnownBitsImpl()
273 Depth + 1); in computeKnownBitsImpl()
280 Depth + 1); in computeKnownBitsImpl()
282 Depth + 1); in computeKnownBitsImpl()
298 Depth + 1); in computeKnownBitsImpl()
300 Depth + 1); in computeKnownBitsImpl()
308 Depth + 1); in computeKnownBitsImpl()
310 Depth + 1); in computeKnownBitsImpl()
318 Depth + 1); in computeKnownBitsImpl()
320 Depth + 1); in computeKnownBitsImpl()
327 Depth + 1); in computeKnownBitsImpl()
329 Depth + 1); in computeKnownBitsImpl()
335 Known, DemandedElts, Depth + 1); in computeKnownBitsImpl()
342 Depth + 1); in computeKnownBitsImpl()
344 Depth + 1); in computeKnownBitsImpl()
352 Depth + 1); in computeKnownBitsImpl()
354 Depth + 1); in computeKnownBitsImpl()
361 DemandedElts, Depth + 1); in computeKnownBitsImpl()
363 DemandedElts, Depth + 1); in computeKnownBitsImpl()
370 DemandedElts, Depth + 1); in computeKnownBitsImpl()
372 DemandedElts, Depth + 1); in computeKnownBitsImpl()
389 Depth + 1); in computeKnownBitsImpl()
398 Depth + 1); in computeKnownBitsImpl()
404 Depth + 1); in computeKnownBitsImpl()
432 Depth + 1); in computeKnownBitsImpl()
434 Depth + 1); in computeKnownBitsImpl()
441 Depth + 1); in computeKnownBitsImpl()
443 Depth + 1); in computeKnownBitsImpl()
450 Depth + 1); in computeKnownBitsImpl()
452 Depth + 1); in computeKnownBitsImpl()
479 computeKnownBitsImpl(SrcReg, Known, DemandedElts, Depth + 1); in computeKnownBitsImpl()
502 DemandedElts, Depth + 1); in computeKnownBitsImpl()
516 computeKnownBitsImpl(SrcReg, SrcOpKnown, DemandedElts, Depth + 1); in computeKnownBitsImpl()
529 computeKnownBitsImpl(SrcReg, Known, DemandedElts, Depth + 1); in computeKnownBitsImpl()
535 computeKnownBitsImpl(SrcReg, Known, DemandedElts, Depth + 1); in computeKnownBitsImpl()
541 Depth + 1); in computeKnownBitsImpl()
554 Depth + 1); in computeKnownBitsImpl()
556 Depth + 1); in computeKnownBitsImpl()
558 Depth + 1); in computeKnownBitsImpl()
565 Depth + 1); in computeKnownBitsImpl()
567 Depth + 1); in computeKnownBitsImpl()
569 Depth + 1); in computeKnownBitsImpl()
603 Depth + 1); in computeKnownBitsImpl()
612 LLVM_DEBUG(dumpResult(MI, Known, Depth)); in computeKnownBitsImpl()
621 unsigned Depth) { in computeNumSignBitsMin() argument
623 unsigned Src1SignBits = computeNumSignBits(Src1, DemandedElts, Depth); in computeNumSignBitsMin()
626 return std::min(computeNumSignBits(Src0, DemandedElts, Depth), Src1SignBits); in computeNumSignBitsMin()
658 unsigned Depth) { in computeNumSignBits() argument
665 if (Depth == getMaxDepth()) in computeNumSignBits()
688 return computeNumSignBits(Src.getReg(), DemandedElts, Depth); in computeNumSignBits()
697 return computeNumSignBits(Src, DemandedElts, Depth + 1) + Tmp; in computeNumSignBits()
705 return std::max(computeNumSignBits(Src, DemandedElts, Depth + 1), InRegBits); in computeNumSignBits()
749 computeNumSignBits(Src1, DemandedElts, Depth + 1); in computeNumSignBits()
753 computeNumSignBits(Src2, DemandedElts, Depth + 1); in computeNumSignBits()
765 unsigned NumSrcSignBits = computeNumSignBits(Src, DemandedElts, Depth + 1); in computeNumSignBits()
773 Depth + 1); in computeNumSignBits()
814 TL.computeNumSignBitsForTargetInstr(*this, R, DemandedElts, MRI, Depth); in computeNumSignBits()
823 KnownBits Known = getKnownBits(R, DemandedElts, Depth); in computeNumSignBits()
840 unsigned GISelKnownBits::computeNumSignBits(Register R, unsigned Depth) { in computeNumSignBits() argument
844 return computeNumSignBits(R, DemandedElts, Depth); in computeNumSignBits()