Lines Matching refs:Ret
465 CRLogicalOpInfo Ret; in createCRLogicalOpInfo() local
466 Ret.MI = &MIParam; in createCRLogicalOpInfo()
469 Ret.IsNullary = 1; in createCRLogicalOpInfo()
470 Ret.TrueDefs = std::make_pair(nullptr, nullptr); in createCRLogicalOpInfo()
471 Ret.CopyDefs = std::make_pair(nullptr, nullptr); in createCRLogicalOpInfo()
474 Ret.SubregDef1, Ret.CopyDefs.first); in createCRLogicalOpInfo()
476 Ret.DefsSingleUse &= in createCRLogicalOpInfo()
478 Ret.DefsSingleUse &= in createCRLogicalOpInfo()
479 MRI->hasOneNonDBGUse(Ret.CopyDefs.first->getOperand(0).getReg()); in createCRLogicalOpInfo()
481 Ret.IsBinary = 1; in createCRLogicalOpInfo()
483 Ret.SubregDef2, in createCRLogicalOpInfo()
484 Ret.CopyDefs.second); in createCRLogicalOpInfo()
486 Ret.DefsSingleUse &= in createCRLogicalOpInfo()
488 Ret.DefsSingleUse &= in createCRLogicalOpInfo()
489 MRI->hasOneNonDBGUse(Ret.CopyDefs.second->getOperand(0).getReg()); in createCRLogicalOpInfo()
490 Ret.TrueDefs = std::make_pair(Def1, Def2); in createCRLogicalOpInfo()
492 Ret.TrueDefs = std::make_pair(Def1, nullptr); in createCRLogicalOpInfo()
493 Ret.CopyDefs.second = nullptr; in createCRLogicalOpInfo()
497 Ret.ContainedInBlock = 1; in createCRLogicalOpInfo()
503 Ret.FeedsISEL = 1; in createCRLogicalOpInfo()
506 Ret.FeedsBR = 1; in createCRLogicalOpInfo()
507 Ret.FeedsLogical = isCRLogical(UseMI); in createCRLogicalOpInfo()
509 Ret.ContainedInBlock = 0; in createCRLogicalOpInfo()
511 Ret.SingleUse = MRI->hasOneNonDBGUse(MIParam.getOperand(0).getReg()) ? 1 : 0; in createCRLogicalOpInfo()
514 if (!Ret.IsNullary) { in createCRLogicalOpInfo()
515 Ret.ContainedInBlock &= in createCRLogicalOpInfo()
516 (MIParam.getParent() == Ret.TrueDefs.first->getParent()); in createCRLogicalOpInfo()
517 if (Ret.IsBinary) in createCRLogicalOpInfo()
518 Ret.ContainedInBlock &= in createCRLogicalOpInfo()
519 (MIParam.getParent() == Ret.TrueDefs.second->getParent()); in createCRLogicalOpInfo()
521 LLVM_DEBUG(Ret.dump()); in createCRLogicalOpInfo()
522 if (Ret.IsBinary && Ret.ContainedInBlock && Ret.SingleUse) { in createCRLogicalOpInfo()
524 if (Ret.FeedsBR && Ret.DefsSingleUse) in createCRLogicalOpInfo()
527 return Ret; in createCRLogicalOpInfo()