Searched refs:MBP (Results 1 – 5 of 5) sorted by relevance
/external/llvm/lib/CodeGen/ |
D | ImplicitNullChecks.cpp | 333 MachineBranchPredicate MBP; in analyzeBlockForNullChecks() local 335 if (TII->analyzeBranchPredicate(MBB, MBP, true)) in analyzeBlockForNullChecks() 339 if (!(MBP.LHS.isReg() && MBP.RHS.isImm() && MBP.RHS.getImm() == 0 && in analyzeBlockForNullChecks() 340 (MBP.Predicate == MachineBranchPredicate::PRED_NE || in analyzeBlockForNullChecks() 341 MBP.Predicate == MachineBranchPredicate::PRED_EQ))) in analyzeBlockForNullChecks() 346 if (!MBP.SingleUseCondition) in analyzeBlockForNullChecks() 351 if (MBP.Predicate == MachineBranchPredicate::PRED_NE) { in analyzeBlockForNullChecks() 352 NotNullSucc = MBP.TrueDest; in analyzeBlockForNullChecks() 353 NullSucc = MBP.FalseDest; in analyzeBlockForNullChecks() 355 NotNullSucc = MBP.FalseDest; in analyzeBlockForNullChecks() [all …]
|
D | MachineSink.cpp | 706 MachineBranchPredicate MBP; in SinkingPreventsImplicitNullCheck() local 707 if (TII->analyzeBranchPredicate(*PredMBB, MBP, false)) in SinkingPreventsImplicitNullCheck() 710 return MBP.LHS.isReg() && MBP.RHS.isImm() && MBP.RHS.getImm() == 0 && in SinkingPreventsImplicitNullCheck() 711 (MBP.Predicate == MachineBranchPredicate::PRED_NE || in SinkingPreventsImplicitNullCheck() 712 MBP.Predicate == MachineBranchPredicate::PRED_EQ) && in SinkingPreventsImplicitNullCheck() 713 MBP.LHS.getReg() == BaseReg; in SinkingPreventsImplicitNullCheck()
|
/external/llvm/lib/Target/X86/ |
D | X86InstrInfo.h | 316 TargetInstrInfo::MachineBranchPredicate &MBP,
|
D | X86InstrInfo.cpp | 4130 MachineBranchPredicate &MBP, in analyzeBranchPredicate() argument 4136 if (AnalyzeBranchImpl(MBB, MBP.TrueDest, MBP.FalseDest, Cond, CondBranches, in analyzeBranchPredicate() 4143 assert(MBP.TrueDest && "expected!"); in analyzeBranchPredicate() 4145 if (!MBP.FalseDest) in analyzeBranchPredicate() 4146 MBP.FalseDest = MBB.getNextNode(); in analyzeBranchPredicate() 4172 MBP.ConditionDef = ConditionDef; in analyzeBranchPredicate() 4173 MBP.SingleUseCondition = SingleUseCondition; in analyzeBranchPredicate() 4187 MBP.LHS = ConditionDef->getOperand(0); in analyzeBranchPredicate() 4188 MBP.RHS = MachineOperand::CreateImm(0); in analyzeBranchPredicate() 4189 MBP.Predicate = Cond[0].getImm() == X86::COND_NE in analyzeBranchPredicate()
|
/external/llvm/include/llvm/Target/ |
D | TargetInstrInfo.h | 517 MachineBranchPredicate &MBP,
|