Lines Matching refs:Depth

35 Align GISelKnownBits::computeKnownAlignment(Register R, unsigned Depth) {  in computeKnownAlignment()  argument
39 return computeKnownAlignment(MI->getOperand(1).getReg(), Depth); in computeKnownAlignment()
52 return TL.computeKnownAlignForTargetInstr(*this, R, MRI, Depth + 1); in computeKnownAlignment()
70 unsigned Depth) { in getKnownBits() argument
93 dumpResult(const MachineInstr &MI, const KnownBits &Known, unsigned Depth) { in dumpResult() argument
94 dbgs() << "[" << Depth << "] Compute known bits: " << MI << "[" << Depth in dumpResult()
95 << "] Computed for: " << MI << "[" << Depth << "] Known: 0x" in dumpResult()
97 << "[" << Depth << "] Zero: 0x" << toString(Known.Zero, 16, false) in dumpResult()
99 << "[" << Depth << "] One: 0x" << toString(Known.One, 16, false) in dumpResult()
107 unsigned Depth) { in computeKnownBitsMin() argument
109 computeKnownBitsImpl(Src1, Known, DemandedElts, Depth); in computeKnownBitsMin()
116 computeKnownBitsImpl(Src0, Known2, DemandedElts, Depth); in computeKnownBitsMin()
138 unsigned Depth) { in computeKnownBitsImpl() argument
157 LLVM_DEBUG(dumpResult(MI, Known, Depth)); in computeKnownBitsImpl()
171 if (Depth >= getMaxDepth()) in computeKnownBitsImpl()
182 Depth); in computeKnownBitsImpl()
192 Depth + 1); in computeKnownBitsImpl()
238 Depth + (Opcode != TargetOpcode::COPY)); in computeKnownBitsImpl()
266 Depth + 1); in computeKnownBitsImpl()
268 Depth + 1); in computeKnownBitsImpl()
275 Depth + 1); in computeKnownBitsImpl()
277 Depth + 1); in computeKnownBitsImpl()
293 Depth + 1); in computeKnownBitsImpl()
295 Depth + 1); in computeKnownBitsImpl()
303 Depth + 1); in computeKnownBitsImpl()
305 Depth + 1); in computeKnownBitsImpl()
313 Depth + 1); in computeKnownBitsImpl()
315 Depth + 1); in computeKnownBitsImpl()
322 Depth + 1); in computeKnownBitsImpl()
324 Depth + 1); in computeKnownBitsImpl()
330 Known, DemandedElts, Depth + 1); in computeKnownBitsImpl()
337 Depth + 1); in computeKnownBitsImpl()
339 Depth + 1); in computeKnownBitsImpl()
347 Depth + 1); in computeKnownBitsImpl()
349 Depth + 1); in computeKnownBitsImpl()
356 DemandedElts, Depth + 1); in computeKnownBitsImpl()
358 DemandedElts, Depth + 1); in computeKnownBitsImpl()
365 DemandedElts, Depth + 1); in computeKnownBitsImpl()
367 DemandedElts, Depth + 1); in computeKnownBitsImpl()
384 Depth + 1); in computeKnownBitsImpl()
393 Depth + 1); in computeKnownBitsImpl()
399 Depth + 1); in computeKnownBitsImpl()
421 Depth + 1); in computeKnownBitsImpl()
423 Depth + 1); in computeKnownBitsImpl()
430 Depth + 1); in computeKnownBitsImpl()
432 Depth + 1); in computeKnownBitsImpl()
439 Depth + 1); in computeKnownBitsImpl()
441 Depth + 1); in computeKnownBitsImpl()
468 computeKnownBitsImpl(SrcReg, Known, DemandedElts, Depth + 1); in computeKnownBitsImpl()
493 DemandedElts, Depth + 1); in computeKnownBitsImpl()
507 computeKnownBitsImpl(SrcReg, SrcOpKnown, DemandedElts, Depth + 1); in computeKnownBitsImpl()
520 computeKnownBitsImpl(SrcReg, Known, DemandedElts, Depth + 1); in computeKnownBitsImpl()
526 computeKnownBitsImpl(SrcReg, Known, DemandedElts, Depth + 1); in computeKnownBitsImpl()
532 Depth + 1); in computeKnownBitsImpl()
545 Depth + 1); in computeKnownBitsImpl()
547 Depth + 1); in computeKnownBitsImpl()
549 Depth + 1); in computeKnownBitsImpl()
556 Depth + 1); in computeKnownBitsImpl()
558 Depth + 1); in computeKnownBitsImpl()
560 Depth + 1); in computeKnownBitsImpl()
593 LLVM_DEBUG(dumpResult(MI, Known, Depth)); in computeKnownBitsImpl()
602 unsigned Depth) { in computeNumSignBitsMin() argument
604 unsigned Src1SignBits = computeNumSignBits(Src1, DemandedElts, Depth); in computeNumSignBitsMin()
607 return std::min(computeNumSignBits(Src0, DemandedElts, Depth), Src1SignBits); in computeNumSignBitsMin()
612 unsigned Depth) { in computeNumSignBits() argument
619 if (Depth == getMaxDepth()) in computeNumSignBits()
642 return computeNumSignBits(Src.getReg(), DemandedElts, Depth); in computeNumSignBits()
651 return computeNumSignBits(Src, DemandedElts, Depth + 1) + Tmp; in computeNumSignBits()
659 return std::max(computeNumSignBits(Src, DemandedElts, Depth + 1), InRegBits); in computeNumSignBits()
686 unsigned NumSrcSignBits = computeNumSignBits(Src, DemandedElts, Depth + 1); in computeNumSignBits()
694 Depth + 1); in computeNumSignBits()
721 TL.computeNumSignBitsForTargetInstr(*this, R, DemandedElts, MRI, Depth); in computeNumSignBits()
730 KnownBits Known = getKnownBits(R, DemandedElts, Depth); in computeNumSignBits()
747 unsigned GISelKnownBits::computeNumSignBits(Register R, unsigned Depth) { in computeNumSignBits() argument
751 return computeNumSignBits(R, DemandedElts, Depth); in computeNumSignBits()