Home
last modified time | relevance | path

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

/freebsd/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()
570 (MBP.Predicate == MachineBranchPredicate::PRED_NE || in analyzeBlockForNullChecks()
571 MBP.Predicate == MachineBranchPredicate::PRED_EQ))) in analyzeBlockForNullChecks()
576 if (MBP.ConditionDef && !MBP.SingleUseCondition) in analyzeBlockForNullChecks()
581 if (MBP in analyzeBlockForNullChecks()
[all...]
H A DMachineSink.cpp1371 MachineBranchPredicate MBP; in SinkingPreventsImplicitNullCheck() local
1372 if (TII->analyzeBranchPredicate(*PredMBB, MBP, false)) in SinkingPreventsImplicitNullCheck()
1375 return MBP.LHS.isReg() && MBP.RHS.isImm() && MBP.RHS.getImm() == 0 && in SinkingPreventsImplicitNullCheck()
1376 (MBP.Predicate == MachineBranchPredicate::PRED_NE || in SinkingPreventsImplicitNullCheck()
1377 MBP.Predicate == MachineBranchPredicate::PRED_EQ) && in SinkingPreventsImplicitNullCheck()
1378 MBP.LHS.getReg() == BaseOp->getReg(); in SinkingPreventsImplicitNullCheck()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrInfo.h403 TargetInstrInfo::MachineBranchPredicate &MBP,
H A DX86InstrInfo.cpp3948 MachineBranchPredicate &MBP, in analyzeBranchPredicate() argument
3954 if (analyzeBranchImpl(MBB, MBP.TrueDest, MBP.FalseDest, Cond, CondBranches, in analyzeBranchPredicate()
3961 assert(MBP.TrueDest && "expected!"); in analyzeBranchPredicate()
3963 if (!MBP.FalseDest) in analyzeBranchPredicate()
3964 MBP.FalseDest = MBB.getNextNode(); in analyzeBranchPredicate()
3990 MBP.ConditionDef = ConditionDef; in analyzeBranchPredicate()
3991 MBP.SingleUseCondition = SingleUseCondition; in analyzeBranchPredicate()
4005 MBP.LHS = ConditionDef->getOperand(0); in analyzeBranchPredicate()
4006 MBP.RHS = MachineOperand::CreateImm(0); in analyzeBranchPredicate()
4007 MBP.Predicate = Cond[0].getImm() == X86::COND_NE in analyzeBranchPredicate()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.h385 MachineBranchPredicate &MBP,
H A DAArch64InstrInfo.cpp450 MachineBranchPredicate &MBP, in analyzeBranchPredicate() argument
485 MBP.TrueDest = LastInst->getOperand(1).getMBB(); in analyzeBranchPredicate()
486 assert(MBP.TrueDest && "expected!"); in analyzeBranchPredicate()
487 MBP.FalseDest = MBB.getNextNode(); in analyzeBranchPredicate()
489 MBP.ConditionDef = nullptr; in analyzeBranchPredicate()
490 MBP.SingleUseCondition = false; in analyzeBranchPredicate()
492 MBP.LHS = LastInst->getOperand(0); in analyzeBranchPredicate()
493 MBP.RHS = MachineOperand::CreateImm(0); in analyzeBranchPredicate()
494 MBP.Predicate = LastOpc == AArch64::CBNZX ? MachineBranchPredicate::PRED_NE in analyzeBranchPredicate()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetInstrInfo.h693 MachineBranchPredicate &MBP,
/freebsd/contrib/one-true-awk/testdir/
H A Dfunstack.in16925 @Article{Lamport:1975:MBP,