Lines Matching full:depth
39 Align GISelKnownBits::computeKnownAlignment(Register R, unsigned Depth) {
43 return computeKnownAlignment(MI->getOperand(1).getReg(), Depth);
57 return TL.computeKnownAlignForTargetInstr(*this, R, MRI, Depth + 1);
78 unsigned Depth) {
83 computeKnownBitsImpl(R, Known, DemandedElts, Depth);
101 dumpResult(const MachineInstr &MI, const KnownBits &Known, unsigned Depth) {
102 dbgs() << "[" << Depth << "] Compute known bits: " << MI << "[" << Depth
103 << "] Computed for: " << MI << "[" << Depth << "] Known: 0x"
105 << "[" << Depth << "] Zero: 0x" << toString(Known.Zero, 16, false)
107 << "[" << Depth << "] One: 0x" << toString(Known.One, 16, false)
115 unsigned Depth) {
117 computeKnownBitsImpl(Src1, Known, DemandedElts, Depth);
124 computeKnownBitsImpl(Src0, Known2, DemandedElts, Depth);
146 unsigned Depth) {
165 LLVM_DEBUG(dumpResult(MI, Known, Depth));
171 // Depth may get bigger than max depth if it gets passed to a different
174 // with some max depth, but then we hit TL.computeKnownBitsForTargetInstr
176 // depth. If we just check for equality, we would never exit if the depth
178 // already bigger than its max depth.
179 if (Depth >= getMaxDepth())
190 Depth);
200 Depth + 1);
244 // For COPYs we don't do anything, don't increase the depth.
246 Depth + (Opcode != TargetOpcode::COPY));
271 Depth + 1);
273 Depth + 1);
280 Depth + 1);
282 Depth + 1);
298 Depth + 1);
300 Depth + 1);
308 Depth + 1);
310 Depth + 1);
318 Depth + 1);
320 Depth + 1);
327 Depth + 1);
329 Depth + 1);
335 Known, DemandedElts, Depth + 1);
342 Depth + 1);
344 Depth + 1);
352 Depth + 1);
354 Depth + 1);
361 DemandedElts, Depth + 1);
363 DemandedElts, Depth + 1);
370 DemandedElts, Depth + 1);
372 DemandedElts, Depth + 1);
389 Depth + 1);
398 Depth + 1);
404 Depth + 1);
432 Depth + 1);
434 Depth + 1);
441 Depth + 1);
443 Depth + 1);
450 Depth + 1);
452 Depth + 1);
479 computeKnownBitsImpl(SrcReg, Known, DemandedElts, Depth + 1);
502 DemandedElts, Depth + 1);
516 computeKnownBitsImpl(SrcReg, SrcOpKnown, DemandedElts, Depth + 1);
529 computeKnownBitsImpl(SrcReg, Known, DemandedElts, Depth + 1);
535 computeKnownBitsImpl(SrcReg, Known, DemandedElts, Depth + 1);
541 Depth + 1);
554 Depth + 1);
556 Depth + 1);
558 Depth + 1);
565 Depth + 1);
567 Depth + 1);
569 Depth + 1);
603 Depth + 1);
612 LLVM_DEBUG(dumpResult(MI, Known, Depth));
621 unsigned Depth) {
623 unsigned Src1SignBits = computeNumSignBits(Src1, DemandedElts, Depth);
626 return std::min(computeNumSignBits(Src0, DemandedElts, Depth), Src1SignBits);
658 unsigned Depth) {
665 if (Depth == getMaxDepth())
687 // Don't increment Depth for this one since we didn't do any work.
688 return computeNumSignBits(Src.getReg(), DemandedElts, Depth);
697 return computeNumSignBits(Src, DemandedElts, Depth + 1) + Tmp;
705 return std::max(computeNumSignBits(Src, DemandedElts, Depth + 1), InRegBits);
749 computeNumSignBits(Src1, DemandedElts, Depth + 1);
753 computeNumSignBits(Src2, DemandedElts, Depth + 1);
765 unsigned NumSrcSignBits = computeNumSignBits(Src, DemandedElts, Depth + 1);
773 Depth + 1);
814 TL.computeNumSignBitsForTargetInstr(*this, R, DemandedElts, MRI, Depth);
823 KnownBits Known = getKnownBits(R, DemandedElts, Depth);
840 unsigned GISelKnownBits::computeNumSignBits(Register R, unsigned Depth) {
844 return computeNumSignBits(R, DemandedElts, Depth);