Searched refs:BI (Results 126 - 150 of 200) sorted by relevance

12345678

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DInductiveRangeCheckElimination.cpp219 /// Parse out a set of inductive range checks from \p BI and append them to \p
222 /// NB! There may be conditions feeding into \p BI that aren't inductive range
225 extractRangeChecksFromBranch(BranchInst *BI, Loop *L, ScalarEvolution &SE,
393 BranchInst *BI, Loop *L, ScalarEvolution &SE, BranchProbabilityInfo *BPI,
395 if (BI->isUnconditional() || BI->getParent() == L->getLoopLatch())
401 BPI->getEdgeProbability(BI->getParent(), (unsigned)0) < LikelyTaken)
405 InductiveRangeCheck::extractRangeChecksFromCond(L, SE, BI->getOperandUse(0),
392 extractRangeChecksFromBranch( BranchInst *BI, Loop *L, ScalarEvolution &SE, BranchProbabilityInfo *BPI, SmallVectorImpl<InductiveRangeCheck> &Checks) argument
H A DDeadStoreElimination.cpp619 BasicBlock::iterator BI = (B == FirstBB ? FirstBBI : B->begin()); local
632 for (; BI != EI; ++BI) {
633 Instruction *I = &*BI;
H A DCorrelatedValuePropagation.cpp840 for (BasicBlock::iterator BI = BB->begin(), BE = BB->end(); BI != BE;) {
841 Instruction *II = &*BI++;
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DPatternMatch.h1415 if (auto *BI = dyn_cast<BranchInst>(V))
1416 if (BI->isUnconditional()) {
1417 Succ = BI->getSuccessor(0);
1436 if (auto *BI = dyn_cast<BranchInst>(V))
1437 if (BI->isConditional() && Cond.match(BI->getCondition()))
1438 return T.match(BI->getSuccessor(0)) && F.match(BI->getSuccessor(1));
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARCContract.cpp701 if (const BitCastInst *BI = dyn_cast<BitCastInst>(Arg))
702 Arg = BI->getOperand(0);
/freebsd-12-stable/contrib/gcc/
H A Dtree-ssa-dce.c112 #define EXECUTE_IF_CONTROL_DEPENDENT(BI, N, EDGE_NUMBER) \
114 (EDGE_NUMBER), (BI))
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
H A DInstructions.cpp363 auto BI = Bundles.begin(); local
367 assert(BI != Bundles.end() && "Incorrect allocation?");
369 BOI.Tag = ContextImpl->getOrInsertBundleTag(BI->getTag());
371 BOI.End = CurrentIndex + BI->input_size();
373 BI++;
376 assert(BI == Bundles.end() && "Incorrect allocation?");
1171 BranchInst::BranchInst(const BranchInst &BI) argument
1172 : Instruction(Type::getVoidTy(BI.getContext()), Instruction::Br,
1173 OperandTraits<BranchInst>::op_end(this) - BI.getNumOperands(),
1174 BI
[all...]
/freebsd-12-stable/contrib/llvm-project/clang/lib/Analysis/
H A DConsumed.cpp82 for (CFGBlock::const_reverse_iterator BI = Block->rbegin(),
83 BE = Block->rend(); BI != BE; ++BI) {
84 if (Optional<CFGStmt> CS = BI->getAs<CFGStmt>())
/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCleanup.cpp1052 llvm::BranchInst *BI = Builder.CreateBr(Dest.getBlock());
1073 Fixup.InitialBranch = BI;
1084 createStoreInstBefore(Index, getNormalCleanupDestSlot(), BI);
1086 // Adjust BI to point to the first cleanup block.
1090 BI->setSuccessor(0, CreateNormalEntry(*this, Scope));
H A DCodeGenFunction.cpp314 llvm::BranchInst *BI = local
316 if (BI && BI->isUnconditional() &&
317 BI->getSuccessor(0) == ReturnBlock.getBlock()) {
320 llvm::DebugLoc Loc = BI->getDebugLoc();
321 Builder.SetInsertPoint(BI->getParent());
322 BI->eraseFromParent();
H A DCGStmt.cpp452 llvm::BranchInst *BI = dyn_cast<llvm::BranchInst>(BB->getTerminator()); local
461 if (!BI || !BI->isUnconditional())
465 if (BI->getIterator() != BB->begin())
468 BB->replaceAllUsesWith(BI->getSuccessor(0));
469 BI->eraseFromParent();
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DGVN.h290 bool processFoldableCondBr(BranchInst *BI);
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DLocal.h234 bool FoldBranchToCommonDest(BranchInst *BI, MemorySSAUpdater *MSSAU = nullptr,
/freebsd-12-stable/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeGenInstruction.cpp621 if (BitsInit *BI = dyn_cast<BitsInit>(Arg)) {
624 if (!BI->isComplete())
628 dyn_cast_or_null<IntInit>(BI->convertInitializerTo(IntRecTy::get()));
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonBitTracker.cpp982 bool HexagonEvaluator::evaluate(const MachineInstr &BI,
988 unsigned Opc = BI.getOpcode();
1007 Targets.insert(BI.getOperand(0).getMBB());
1019 // BI is a conditional branch if we got here.
1020 RegisterRef PR = BI.getOperand(0);
1035 Targets.insert(BI.getOperand(1).getMBB());
H A DBitTracker.cpp919 void BT::visitBranchesFrom(const MachineInstr &BI) {
920 const MachineBasicBlock &B = *BI.getParent();
921 MachineBasicBlock::const_iterator It = BI, End = B.end();
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DRegisterCoalescer.cpp726 LiveInterval::iterator BI = llvm::upper_bound(IntB, ASeg.start); local
727 if (BI != IntB.begin())
728 --BI;
729 for (; BI != IntB.end() && ASeg.end >= BI->start; ++BI) {
730 if (BI->valno == BValNo)
732 if (BI->start <= ASeg.start && BI->end > ASeg.start)
734 if (BI
[all...]
H A DMachineTraceMetrics.cpp1092 for (MachineBasicBlock::const_iterator BI = MBB->end(), BB = MBB->begin();
1093 BI != BB;) {
1094 const MachineInstr &MI = *--BI;
H A DWinEHPrepare.cpp702 for (BasicBlock::iterator BI = BB->begin(), BE = BB->end(); BI != BE;) {
703 Instruction *I = &*BI++;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGISel.cpp1444 BasicBlock::const_iterator BI = End; local
1471 for (; BI != Begin; --BI) {
1472 const Instruction *Inst = &*std::prev(BI);
1502 BI = std::next(BasicBlock::const_iterator(BeforeInst));
1542 SelectBasicBlock(Inst->getIterator(), BI, HadTailCall);
1548 --BI;
1554 unsigned RemainingNow = std::distance(Begin, BI);
1596 if (Begin != BI)
1601 if (Begin != BI) {
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DLazyValueInfo.cpp1387 if (BranchInst *BI = dyn_cast<BranchInst>(BBFrom->getTerminator())) {
1390 if (BI->isConditional() &&
1391 BI->getSuccessor(0) != BI->getSuccessor(1)) {
1392 bool isTrueDest = BI->getSuccessor(0) == BBTo;
1393 assert(BI->getSuccessor(!isTrueDest) == BBTo &&
1395 Value *Condition = BI->getCondition();
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMFastISel.cpp1238 const BranchInst *BI = cast<BranchInst>(I); local
1239 MachineBasicBlock *TBB = FuncInfo.MBBMap[BI->getSuccessor(0)];
1240 MachineBasicBlock *FBB = FuncInfo.MBBMap[BI->getSuccessor(1)];
1246 if (const CmpInst *CI = dyn_cast<CmpInst>(BI->getCondition())) {
1268 finishCondBranch(BI->getParent(), TBB, FBB);
1271 } else if (TruncInst *TI = dyn_cast<TruncInst>(BI->getCondition())) {
1292 finishCondBranch(BI->getParent(), TBB, FBB);
1296 dyn_cast<ConstantInt>(BI->getCondition())) {
1303 unsigned CmpReg = getRegForValue(BI->getCondition());
1329 finishCondBranch(BI
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FastISel.cpp1628 const BranchInst *BI = cast<BranchInst>(I); local
1629 MachineBasicBlock *TrueMBB = FuncInfo.MBBMap[BI->getSuccessor(0)];
1630 MachineBasicBlock *FalseMBB = FuncInfo.MBBMap[BI->getSuccessor(1)];
1636 if (const CmpInst *CI = dyn_cast<CmpInst>(BI->getCondition())) {
1705 finishCondBranch(BI->getParent(), TrueMBB, FalseMBB);
1708 } else if (TruncInst *TI = dyn_cast<TruncInst>(BI->getCondition())) {
1738 finishCondBranch(BI->getParent(), TrueMBB, FalseMBB);
1742 } else if (foldX86XALUIntrinsic(CC, BI, BI->getCondition())) {
1745 unsigned TmpReg = getRegForValue(BI
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsFastISel.cpp945 const BranchInst *BI = cast<BranchInst>(I); local
954 MachineBasicBlock *TBB = FuncInfo.MBBMap[BI->getSuccessor(0)];
955 MachineBasicBlock *FBB = FuncInfo.MBBMap[BI->getSuccessor(1)];
960 if (const CmpInst *CI = dyn_cast<CmpInst>(BI->getCondition())) {
970 unsigned CondReg = getRegForValue(BI->getCondition());
982 finishCondBranch(BI->getParent(), TBB, FBB);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCFastISel.cpp770 const BranchInst *BI = cast<BranchInst>(I); local
772 MachineBasicBlock *TBB = FuncInfo.MBBMap[BI->getSuccessor(0)];
773 MachineBasicBlock *FBB = FuncInfo.MBBMap[BI->getSuccessor(1)];
776 if (const CmpInst *CI = dyn_cast<CmpInst>(BI->getCondition())) {
799 finishCondBranch(BI->getParent(), TBB, FBB);
803 dyn_cast<ConstantInt>(BI->getCondition())) {

Completed in 420 milliseconds

12345678