Home
last modified time | relevance | path

Searched refs:MBP (Results 1 – 8 of 8) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DImplicitNullChecks.cpp563 MachineBranchPredicate MBP; in analyzeBlockForNullChecks() local
565 if (TII->analyzeBranchPredicate(MBB, MBP, true)) in analyzeBlockForNullChecks()
569 if (!(MBP.LHS.isReg() && MBP.RHS.isImm() && MBP.RHS.getImm() == 0 && in analyzeBlockForNullChecks()
576 if (MBP.ConditionDef && !MBP.SingleUseCondition) in analyzeBlockForNullChecks()
582 NotNullSucc = MBP.TrueDest; in analyzeBlockForNullChecks()
583 NullSucc = MBP.FalseDest; in analyzeBlockForNullChecks()
585 NotNullSucc = MBP.FalseDest; in analyzeBlockForNullChecks()
586 NullSucc = MBP.TrueDest; in analyzeBlockForNullChecks()
594 const Register PointerReg = MBP.LHS.getReg(); in analyzeBlockForNullChecks()
596 if (MBP.ConditionDef) { in analyzeBlockForNullChecks()
[all …]
H A DMachineSink.cpp1318 MachineBranchPredicate MBP; in SinkingPreventsImplicitNullCheck() local
1319 if (TII->analyzeBranchPredicate(*PredMBB, MBP, false)) in SinkingPreventsImplicitNullCheck()
1322 return MBP.LHS.isReg() && MBP.RHS.isImm() && MBP.RHS.getImm() == 0 && in SinkingPreventsImplicitNullCheck()
1323 (MBP.Predicate == MachineBranchPredicate::PRED_NE || in SinkingPreventsImplicitNullCheck()
1324 MBP.Predicate == MachineBranchPredicate::PRED_EQ) && in SinkingPreventsImplicitNullCheck()
1325 MBP.LHS.getReg() == BaseOp->getReg(); in SinkingPreventsImplicitNullCheck()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrInfo.h374 TargetInstrInfo::MachineBranchPredicate &MBP,
H A DX86InstrInfo.cpp3844 MachineBranchPredicate &MBP, in analyzeBranchPredicate() argument
3850 if (AnalyzeBranchImpl(MBB, MBP.TrueDest, MBP.FalseDest, Cond, CondBranches, in analyzeBranchPredicate()
3857 assert(MBP.TrueDest && "expected!"); in analyzeBranchPredicate()
3859 if (!MBP.FalseDest) in analyzeBranchPredicate()
3860 MBP.FalseDest = MBB.getNextNode(); in analyzeBranchPredicate()
3886 MBP.ConditionDef = ConditionDef; in analyzeBranchPredicate()
3887 MBP.SingleUseCondition = SingleUseCondition; in analyzeBranchPredicate()
3901 MBP.LHS = ConditionDef->getOperand(0); in analyzeBranchPredicate()
3902 MBP.RHS = MachineOperand::CreateImm(0); in analyzeBranchPredicate()
3903 MBP.Predicate = Cond[0].getImm() == X86::COND_NE in analyzeBranchPredicate()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.h242 MachineBranchPredicate &MBP,
H A DAArch64InstrInfo.cpp448 MachineBranchPredicate &MBP, in analyzeBranchPredicate() argument
483 MBP.TrueDest = LastInst->getOperand(1).getMBB(); in analyzeBranchPredicate()
484 assert(MBP.TrueDest && "expected!"); in analyzeBranchPredicate()
485 MBP.FalseDest = MBB.getNextNode(); in analyzeBranchPredicate()
487 MBP.ConditionDef = nullptr; in analyzeBranchPredicate()
488 MBP.SingleUseCondition = false; in analyzeBranchPredicate()
490 MBP.LHS = LastInst->getOperand(0); in analyzeBranchPredicate()
491 MBP.RHS = MachineOperand::CreateImm(0); in analyzeBranchPredicate()
492 MBP.Predicate = LastOpc == AArch64::CBNZX ? MachineBranchPredicate::PRED_NE in analyzeBranchPredicate()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetInstrInfo.h691 MachineBranchPredicate &MBP,
/freebsd-14.2/contrib/one-true-awk/testdir/
H A Dfunstack.in16925 @Article{Lamport:1975:MBP,