Home
last modified time | relevance | path

Searched refs:BranchCond (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiInstrInfo.cpp622 LPCC::CondCode BranchCond = in analyzeBranch() local
628 Condition.push_back(MachineOperand::CreateImm(BranchCond)); in analyzeBranch()
648 LPCC::CondCode BranchCond = in reverseBranchCondition() local
650 Condition[0].setImm(getOppositeCondition(BranchCond)); in reverseBranchCondition()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DNewGVN.cpp1918 auto *BranchCond = dyn_cast<CmpInst>(PBranch->Condition); in performSymbolicCmpEvaluation() local
1919 if (!BranchCond) in performSymbolicCmpEvaluation()
1921 auto *BranchOp0 = lookupOperandLeader(BranchCond->getOperand(0)); in performSymbolicCmpEvaluation()
1922 auto *BranchOp1 = lookupOperandLeader(BranchCond->getOperand(1)); in performSymbolicCmpEvaluation()
1923 auto BranchPredicate = BranchCond->getPredicate(); in performSymbolicCmpEvaluation()
1926 BranchPredicate = BranchCond->getSwappedPredicate(); in performSymbolicCmpEvaluation()
H A DJumpThreading.cpp3055 Value *BranchCond = BI->getCondition(); in threadGuard() local
3064 auto Impl = isImpliedCondition(BranchCond, GuardCond, DL); in threadGuard()
3069 Impl = isImpliedCondition(BranchCond, GuardCond, DL, /* LHSIsTrue */ false); in threadGuard()
H A DGVN.cpp2667 Value *BranchCond = BI->getCondition(); in processInstruction() local
2679 Changed |= propagateEquality(BranchCond, TrueVal, TrueE, true); in processInstruction()
2683 Changed |= propagateEquality(BranchCond, FalseVal, FalseE, true); in processInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrInfo.cpp3644 SmallVectorImpl<MachineOperand> &BranchCond, in canMakeTailCallConditional() argument
3671 assert(BranchCond.size() == 1); in canMakeTailCallConditional()
3672 if (BranchCond[0].getImm() > X86::LAST_VALID_COND) { in canMakeTailCallConditional()
3688 MachineBasicBlock &MBB, SmallVectorImpl<MachineOperand> &BranchCond, in replaceBranchWithTailCall() argument
3690 assert(canMakeTailCallConditional(BranchCond, TailCall)); in replaceBranchWithTailCall()
3701 assert(BranchCond.size() == 1); in replaceBranchWithTailCall()
3702 if (CC != BranchCond[0].getImm()) in replaceBranchWithTailCall()
3714 MIB->addOperand(BranchCond[0]); // Condition. in replaceBranchWithTailCall()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.td3166 def Bcc : BranchCond<0, "b">;
3171 def BCcc : BranchCond<1, "bc">, Requires<[HasHBC]>;
H A DAArch64InstrFormats.td2125 class BranchCond<bit bit4, string mnemonic>