Home
last modified time | relevance | path

Searched refs:Br (Results 1 – 25 of 85) sorted by relevance

1234

/openbsd/src/gnu/llvm/llvm/lib/Target/Mips/
DMipsBranchExpansion.cpp130 MachineInstr *Br = nullptr; member
157 int64_t computeOffset(const MachineInstr *Br);
159 void replaceBranch(MachineBasicBlock &MBB, Iter Br, const DebugLoc &DL,
230 static MachineBasicBlock *getTargetMBB(const MachineInstr &Br) { in getTargetMBB() argument
231 for (unsigned I = 0, E = Br.getDesc().getNumOperands(); I < E; ++I) { in getTargetMBB()
232 const MachineOperand &MO = Br.getOperand(I); in getTargetMBB()
309 int64_t MipsBranchExpansion::computeOffset(const MachineInstr *Br) { in computeOffset() argument
311 int ThisMBB = Br->getParent()->getNumber(); in computeOffset()
312 int TargetMBB = getTargetMBB(*Br)->getNumber(); in computeOffset()
339 void MipsBranchExpansion::replaceBranch(MachineBasicBlock &MBB, Iter Br, in replaceBranch() argument
[all …]
DMipsConstantIslandPass.cpp405 bool fixupImmediateBr(ImmBranch &Br);
406 bool fixupConditionalBr(ImmBranch &Br);
407 bool fixupUnconditionalBr(ImmBranch &Br);
1477 bool MipsConstantIslands::fixupImmediateBr(ImmBranch &Br) { in fixupImmediateBr() argument
1478 MachineInstr *MI = Br.MI; in fixupImmediateBr()
1483 if (isBBInRange(MI, DestBB, Br.MaxDisp)) in fixupImmediateBr()
1486 if (!Br.isCond) in fixupImmediateBr()
1487 return fixupUnconditionalBr(Br); in fixupImmediateBr()
1488 return fixupConditionalBr(Br); in fixupImmediateBr()
1496 MipsConstantIslands::fixupUnconditionalBr(ImmBranch &Br) { in fixupUnconditionalBr() argument
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Target/ARM/
DARMConstantIslandPass.cpp270 bool fixupImmediateBr(ImmBranch &Br);
271 bool fixupConditionalBr(ImmBranch &Br);
272 bool fixupUnconditionalBr(ImmBranch &Br);
1691 bool ARMConstantIslands::fixupImmediateBr(ImmBranch &Br) { in fixupImmediateBr() argument
1692 MachineInstr *MI = Br.MI; in fixupImmediateBr()
1696 if (BBUtils->isBBInRange(MI, DestBB, Br.MaxDisp)) in fixupImmediateBr()
1699 if (!Br.isCond) in fixupImmediateBr()
1700 return fixupUnconditionalBr(Br); in fixupImmediateBr()
1701 return fixupConditionalBr(Br); in fixupImmediateBr()
1709 ARMConstantIslands::fixupUnconditionalBr(ImmBranch &Br) { in fixupUnconditionalBr() argument
[all …]
DARMBlockPlacement.cpp102 MachineInstr *Br = &Preheader->back(); in revertWhileToDoLoop() local
103 assert(Br->getOpcode() == ARM::t2B); in revertWhileToDoLoop()
104 assert(Br->getOperand(1).getImm() == 14); in revertWhileToDoLoop()
116 Br->removeFromParent(); in revertWhileToDoLoop()
117 NewBlock->insert(NewBlock->end(), Br); in revertWhileToDoLoop()
119 Preheader->replaceSuccessor(Br->getOperand(0).getMBB(), NewBlock); in revertWhileToDoLoop()
120 NewBlock->addSuccessor(Br->getOperand(0).getMBB()); in revertWhileToDoLoop()
124 BuildMI(*NewBlock, Br, WLS->getDebugLoc(), in revertWhileToDoLoop()
/openbsd/src/gnu/llvm/llvm/lib/Target/PowerPC/
DPPCPreEmitPeephole.cpp529 MachineInstr *Br = &*I; in runOnMachineFunction() local
530 if (Br->getOpcode() != PPC::BC && Br->getOpcode() != PPC::BCn) in runOnMachineFunction()
533 Register CRBit = Br->getOperand(0).getReg(); in runOnMachineFunction()
536 MachineBasicBlock::reverse_iterator It = Br, Er = MBB.rend(); in runOnMachineFunction()
551 if ((Br->getOpcode() == PPC::BCn && CRSetOp == PPC::CRSET) || in runOnMachineFunction()
552 (Br->getOpcode() == PPC::BC && CRSetOp == PPC::CRUNSET)) { in runOnMachineFunction()
554 InstrsToErase.push_back(Br); in runOnMachineFunction()
555 MBB.removeSuccessor(Br->getOperand(1).getMBB()); in runOnMachineFunction()
560 MachineBasicBlock::iterator It = Br, Er = MBB.end(); in runOnMachineFunction()
566 if (!MBB.isLayoutSuccessor(Br->getOperand(1).getMBB())) { in runOnMachineFunction()
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Scalar/
DStructurizeCFG.cpp843 BranchInst *Br = BranchInst::Create(NewExit, BB); in changeExit() local
844 Br->setDebugLoc(TermDL[BB]); in changeExit()
960 BranchInst *Br = BranchInst::Create(Entry, Next, BoolUndef, Flow); in wireFlow() local
961 Br->setDebugLoc(TermDL[Flow]); in wireFlow()
962 Conditions.push_back(Br); in wireFlow()
1001 BranchInst *Br = BranchInst::Create(Next, LoopStart, BoolUndef, LoopEnd); in handleLoops() local
1002 Br->setDebugLoc(TermDL[LoopEnd]); in handleLoops()
1003 LoopConds.push_back(Br); in handleLoops()
1075 auto Br = dyn_cast<BranchInst>(E->getEntry()->getTerminator()); in hasOnlyUniformBranches() local
1076 if (!Br || !Br->isConditional()) in hasOnlyUniformBranches()
[all …]
DConstraintElimination.cpp690 auto *Br = dyn_cast<BranchInst>(BB.getTerminator()); in addInfoFor() local
691 if (!Br || !Br->isConditional()) in addInfoFor()
694 Value *Cond = Br->getCondition(); in addInfoFor()
708 BasicBlock *Successor = Br->getSuccessor(IsOr ? 1 : 0); in addInfoFor()
740 auto *CmpI = dyn_cast<ICmpInst>(Br->getCondition()); in addInfoFor()
743 if (canAddSuccessor(BB, Br->getSuccessor(0))) in addInfoFor()
745 FactOrCheck::getFact(DT.getNode(Br->getSuccessor(0)), CmpI)); in addInfoFor()
746 if (canAddSuccessor(BB, Br->getSuccessor(1))) in addInfoFor()
748 FactOrCheck::getFact(DT.getNode(Br->getSuccessor(1)), CmpI, true)); in addInfoFor()
DLoopFlatten.cpp572 BranchInst *Br = dyn_cast<BranchInst>(&I); in checkOuterLoopInsts() local
573 if (Br && Br->isUnconditional() && in checkOuterLoopInsts()
574 Br->getSuccessor(0) == FI.InnerLoop->getHeader()) in checkOuterLoopInsts()
/openbsd/src/gnu/llvm/clang/lib/CodeGen/
DCGCleanup.cpp380 if (llvm::BranchInst *Br = dyn_cast<llvm::BranchInst>(Term)) { in TransitionToCleanupSwitch() local
381 assert(Br->isUnconditional()); in TransitionToCleanupSwitch()
385 llvm::SwitchInst::Create(Load, Br->getSuccessor(0), 4, Block); in TransitionToCleanupSwitch()
386 Br->eraseFromParent(); in TransitionToCleanupSwitch()
541 llvm::BranchInst *Br = dyn_cast<llvm::BranchInst>(Pred->getTerminator()); in SimplifyCleanupEntry() local
542 if (!Br || Br->isConditional()) return Entry; in SimplifyCleanupEntry()
543 assert(Br->getSuccessor(0) == Entry); in SimplifyCleanupEntry()
552 Br->eraseFromParent(); in SimplifyCleanupEntry()
602 if (llvm::BranchInst *Br = dyn_cast<llvm::BranchInst>(Term)) { in ForwardPrebranchedFallthrough() local
603 assert(Br->isUnconditional() && Br->getSuccessor(0) == From); in ForwardPrebranchedFallthrough()
[all …]
/openbsd/src/regress/usr.bin/mandoc/mdoc/Bl/
DbreakingIt.out_ascii7 BBrreeaakkiinngg ppaarrttiiaall eexxpplliicciitt mmaaccrrooss
23 BBrreeaakkiinngg ffuullll eexxpplliicciitt mmaaccrrooss
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Vectorize/
DVPlanHCFGBuilder.cpp218 if (auto *Br = dyn_cast<BranchInst>(Inst)) { in createVPInstructionsForVPBB() local
221 if (Br->isConditional()) { in createVPInstructionsForVPBB()
222 VPValue *Cond = getOrCreateVPOperand(Br->getCondition()); in createVPInstructionsForVPBB()
DLoopVectorizationLegality.cpp490 auto *Br = dyn_cast<BranchInst>(BB->getTerminator()); in canVectorizeOuterLoop() local
491 if (!Br) { in canVectorizeOuterLoop()
507 if (Br && Br->isConditional() && in canVectorizeOuterLoop()
508 !TheLoop->isLoopInvariant(Br->getCondition()) && in canVectorizeOuterLoop()
509 !LI->isLoopHeader(Br->getSuccessor(0)) && in canVectorizeOuterLoop()
510 !LI->isLoopHeader(Br->getSuccessor(1))) { in canVectorizeOuterLoop()
/openbsd/src/gnu/llvm/llvm/lib/Target/WebAssembly/
DWebAssemblyFastISel.cpp1303 const auto *Br = cast<BranchInst>(I); in selectBr() local
1304 if (Br->isUnconditional()) { in selectBr()
1305 MachineBasicBlock *MSucc = FuncInfo.MBBMap[Br->getSuccessor(0)]; in selectBr()
1306 fastEmitBranch(MSucc, Br->getDebugLoc()); in selectBr()
1310 MachineBasicBlock *TBB = FuncInfo.MBBMap[Br->getSuccessor(0)]; in selectBr()
1311 MachineBasicBlock *FBB = FuncInfo.MBBMap[Br->getSuccessor(1)]; in selectBr()
1314 unsigned CondReg = getRegForI1Value(Br->getCondition(), Br->getParent(), Not); in selectBr()
1326 finishCondBranch(Br->getParent(), TBB, FBB); in selectBr()
1418 case Instruction::Br: in fastSelectInstruction()
/openbsd/src/regress/lib/libcrypto/x509/bettertls/certificates/
D3297.crt17 AAABMA0GCSqGSIb3DQEBCwUAA4IBAQB5yIVINshVJw0YvBiijNbFudvvDY1YA+Br
D2038.crt10 KoZIhvcNAQEBBQADggEPADCCAQoCggEBAN7wOvsaVQKbWR47egs9xms8hcaqo+Br
D2304.crt15 Br++5S1pTr4vUM4F8g6V6CKfVEP82xnUd0PE0ADvdyH6W3XsTfar08ERvZm1gOMC
D1759.key21 A7FmaUgr5vVT4hdnnsKHlQKBgFEdb4ppQ1UmNOxtnE8qCC4CzWWIJVf+Br/7KWfw
D951.key23 D/z/cFZQu1I6f/76Br/DZy1Eqz4a8+ku/r4XySDLO3k7qkilLw24x79RXop+KYrE
D2299.key19 AXUOsJozHY3+6eMl0Gyj1XiIlyfdlOSrAfmwpK9L6+oMzPTqCYe6F5wf/Br/tfK3
D1923.chain34 mfY2XuX+ketCnga+u08H1dHDZiiX8qp98OoyJ9YSy504y3nrV9OasmwfnnCCk/Br
/openbsd/src/regress/usr.bin/mandoc/mdoc/Brq/
Dempty.out_ascii4 BBrrqq--eemmppttyy - empty implicit enclosure macros
/openbsd/src/gnu/llvm/llvm/lib/Target/AMDGPU/
DAMDGPUTargetTransformInfo.cpp159 if (const BranchInst *Br = dyn_cast<BranchInst>(&I)) { in getUnrollingPreferences() local
160 if (UP.Threshold < MaxBoost && Br->isConditional()) { in getUnrollingPreferences()
161 BasicBlock *Succ0 = Br->getSuccessor(0); in getUnrollingPreferences()
162 BasicBlock *Succ1 = Br->getSuccessor(1); in getUnrollingPreferences()
166 if (dependsOnLocalPhi(L, Br->getCondition())) { in getUnrollingPreferences()
170 << *L << " due to " << *Br << '\n'); in getUnrollingPreferences()
738 case Instruction::Br: { in getCFInstrCost()
DR600TargetTransformInfo.cpp102 case Instruction::Br: in getCFInstrCost()
/openbsd/src/gnu/llvm/llvm/lib/Target/MSP430/
DMSP430InstrInfo.cpp120 I->getOpcode() != MSP430::Br && in removeBranch()
188 if (I->getOpcode() == MSP430::Br || in analyzeBranch()
/openbsd/src/gnu/llvm/llvm/lib/Target/X86/
DX86SpeculativeLoadHardening.cpp227 MachineInstr *Br, MachineInstr *&UncondBr, in splitEdge() argument
241 if (Br) { in splitEdge()
242 assert(Br->getOperand(0).getMBB() == &Succ && in splitEdge()
244 Br->getOperand(0).setMBB(&NewMBB); in splitEdge()
265 TII.insertBranch(NewMBB, &Succ, nullptr, Cond, Br->getDebugLoc()); in splitEdge()
728 MachineInstr *Br, MachineInstr *&UncondBr, in tracePredStateThroughCFG()
735 : splitEdge(MBB, Succ, SuccCount, Br, UncondBr, *TII); in tracePredStateThroughCFG()

1234