Searched refs:BI (Results 101 - 125 of 200) sorted by relevance

12345678

/freebsd-12-stable/contrib/llvm-project/llvm/utils/TableGen/
H A DFixedLenDecoderEmitter.cpp1877 VarBitInit *BI = dyn_cast<VarBitInit>(Bits.getBit(bi));
1878 if (BI)
1879 Var = dyn_cast<VarInit>(BI->getBitVar());
1899 VarBitInit *BI = dyn_cast<VarBitInit>(Bits.getBit(bi));
1900 if (BI)
1901 Var = dyn_cast<VarInit>(BI->getBitVar());
2051 VarBitInit *BI = dyn_cast<VarBitInit>(Bits.getBit(bi));
2052 if (BI)
2053 Var = dyn_cast<VarInit>(BI->getBitVar());
2081 Offset = BI
[all...]
H A DCodeGenTarget.cpp488 BitsInit *BI = R->getValueAsBitsInit("Inst"); local
490 unsigned numBits = BI->getNumBits();
496 Init *OrigBit = BI->getBit(bit);
497 Init *BitSwap = BI->getBit(bitSwapIdx);
503 NewBits[middle] = BI->getBit(middle);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DVectorUtils.cpp916 for (auto BI = AccessStrideInfo.rbegin(), E = AccessStrideInfo.rend();
917 BI != E; ++BI) {
918 Instruction *B = BI->first;
919 StrideDescriptor DesB = BI->second;
939 for (auto AI = std::next(BI); AI != E; ++AI) {
962 if (!canReorderMemAccessesForInterleavedGroups(&*AI, &*BI)) {
H A DLoads.cpp189 if (const Instruction *BI = dyn_cast<Instruction>(B))
190 if (cast<Instruction>(A)->isIdenticalToWhenDefined(BI))
H A DTargetTransformInfo.cpp116 if (BranchInst *BI = dyn_cast<BranchInst>(TI)) {
117 if (!BI->isConditional())
120 ExitBranch = BI;
284 bool TargetTransformInfo::canSaveCmp(Loop *L, BranchInst **BI, argument
288 return TTIImpl->canSaveCmp(L, BI, SE, LI, DT, AC, LibInfo);
/freebsd-12-stable/sys/powerpc/powerpc/
H A Ddb_disasm.c639 u_int BO, BI; local
641 BI = extract_field(instr, 31 - 15, 5);
652 APP_PSTRS(condstr[((BO & 8) >> 1) + (BI & 3)]);
653 if (BI >= 4)
787 u_int BI; local
788 BI = extract_field(instr, 31 - 15, 5);
789 APP_PSTR("%d, ", BI);
/freebsd-12-stable/contrib/llvm-project/clang/lib/Analysis/
H A DThreadSafety.cpp776 for (const auto &BI : *CurrBlock) {
777 switch (BI.getKind()) {
779 CFGStmt CS = BI.castAs<CFGStmt>();
821 for (CFGBlock::const_reverse_iterator BI = CurrBlock->rbegin(),
822 BE = CurrBlock->rend(); BI != BE; ++BI) {
824 if (Optional<CFGStmt> CS = BI->getAs<CFGStmt>()) {
834 for (const auto &BI : *CurrBlock) {
836 if (Optional<CFGStmt> CS = BI.getAs<CFGStmt>()) {
2466 for (const auto &BI
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
H A DMetadata.cpp994 int BI = 0;
997 while (AI < AN && BI < BN) {
999 ConstantInt *BLow = mdconst::extract<ConstantInt>(B->getOperand(2 * BI));
1007 mdconst::extract<ConstantInt>(B->getOperand(2 * BI + 1)));
1008 ++BI;
1016 while (BI < BN) {
1017 addRange(EndPoints, mdconst::extract<ConstantInt>(B->getOperand(2 * BI)),
1018 mdconst::extract<ConstantInt>(B->getOperand(2 * BI + 1)));
1019 ++BI;
H A DVerifier.cpp470 void visitBranchInst(BranchInst &BI);
473 void visitIndirectBrInst(IndirectBrInst &BI);
2470 void Verifier::visitBranchInst(BranchInst &BI) { argument
2471 if (BI.isConditional()) {
2472 Assert(BI.getCondition()->getType()->isIntegerTy(1),
2473 "Branch condition is not 'i1' type!", &BI, BI.getCondition());
2475 visitTerminator(BI);
2512 void Verifier::visitIndirectBrInst(IndirectBrInst &BI) { argument
2513 Assert(BI
[all...]
H A DValue.cpp147 BasicBlock::const_iterator BI = BB->begin(), BE = BB->end(); local
149 for (; BI != BE && UI != UE; ++BI, ++UI) {
150 // Scan basic block: Check if this Value is used by the instruction at BI.
151 if (is_contained(BI->operands(), this))
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUnrollAndJam.cpp252 BranchInst *BI = dyn_cast<BranchInst>(LatchBlock->getTerminator()); local
253 assert(BI && !BI->isUnconditional());
254 bool ContinueOnTrue = L->contains(BI->getSuccessor(0));
255 BasicBlock *LoopExit = BI->getSuccessor(ContinueOnTrue);
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Bitstream/
H A DBitstreamWriter.h519 if (BlockInfo *BI = getBlockInfo(BlockID))
520 return *BI;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DBitTracker.h64 void visitBranchesFrom(const MachineInstr &BI);
476 virtual bool evaluate(const MachineInstr &BI, const CellMapType &Inputs,
H A DHexagonVLIWPacketizer.cpp380 for (auto BI : CurrentPacketMIs) {
381 LLVM_DEBUG(dbgs() << "Cleanup packet has "; BI->dump(););
382 if (HII->isDotCurInst(*BI)) {
383 MI = BI;
387 for (auto &MO : BI->operands())
437 for (auto BI : CurrentPacketMIs) {
438 LLVM_DEBUG(dbgs() << "packet has "; BI->dump(););
439 if (BI->readsRegister(DepReg, MF.getSubtarget().getRegisterInfo()))
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCMIPeephole.cpp994 static bool isEqOrNe(MachineInstr *BI) { argument
995 PPC::Predicate Pred = (PPC::Predicate)BI->getOperand(0).getImm();
1027 static unsigned getPredicateToDecImm(MachineInstr *BI, MachineInstr *CMPI) { argument
1033 PPC::Predicate Pred = (PPC::Predicate)BI->getOperand(0).getImm();
1046 static unsigned getPredicateToIncImm(MachineInstr *BI, MachineInstr *CMPI) { argument
1052 PPC::Predicate Pred = (PPC::Predicate)BI->getOperand(0).getImm();
1174 MachineInstr *BI = &*MBB.getFirstInstrTerminator();
1175 MachineInstr *CMPI = MRI->getVRegDef(BI->getOperand(1).getReg());
H A DPPCFrameLowering.cpp359 for (MachineFunction::const_iterator BI = MF->begin(), BE = MF->end();
360 UsedRegMask != 0 && BI != BE; ++BI) {
361 const MachineBasicBlock &MBB = *BI;
568 for (MachineFunction::iterator BI = MF.begin(), BE = MF.end();
569 BI != BE; ++BI)
570 for (MachineBasicBlock::iterator MBBI = BI->end(); MBBI != BI->begin(); ) {
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp319 for (auto BI : *Buf)
320 os << BI; local
338 for (auto BI : *Buf)
339 os << BI; local
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIFixSGPRCopies.cpp598 for (MachineFunction::iterator BI = MF.begin(), BE = MF.end();
599 BI != BE; ++BI) {
600 MachineBasicBlock &MBB = *BI;
H A DSIShrinkInstructions.cpp560 for (MachineFunction::iterator BI = MF.begin(), BE = MF.end();
561 BI != BE; ++BI) {
563 MachineBasicBlock &MBB = *BI;
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/
H A DAPValue.cpp659 CXXRecordDecl::base_class_const_iterator BI = CD->bases_begin(); local
660 for (unsigned I = 0; I != N; ++I, ++BI) {
661 assert(BI != CD->bases_end());
664 getStructBase(I).printPretty(Out, Ctx, BI->getType());
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopInterchange.cpp1322 // Update BI to jump to NewBB instead of OldBB. Records updates to the
1324 // \p OldBB is exactly once in BI's successor list.
1325 static void updateSuccessor(BranchInst *BI, BasicBlock *OldBB,
1330 llvm::count_if(successors(BI),
1333 }) == 1) && "BI must jump to OldBB exactly once.");
1335 for (Use &Op : BI->operands())
1343 {DominatorTree::UpdateKind::Insert, BI->getParent(), NewBB});
1345 {DominatorTree::UpdateKind::Delete, BI->getParent(), OldBB});
H A DLoopUnrollPass.cpp569 if (BranchInst *BI = dyn_cast<BranchInst>(TI)) {
570 if (BI->isConditional()) {
572 SimplifiedValues.lookup(BI->getCondition())) {
575 KnownSucc = BI->getSuccessor(0);
578 KnownSucc = BI->getSuccessor(SimpleCondVal->isZero() ? 1 : 0);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp222 bool emitCompareAndBranch(const BranchInst *BI);
2293 bool AArch64FastISel::emitCompareAndBranch(const BranchInst *BI) { argument
2301 assert(isa<CmpInst>(BI->getCondition()) && "Expected cmp instruction");
2302 const CmpInst *CI = cast<CmpInst>(BI->getCondition());
2316 MachineBasicBlock *TBB = FuncInfo.MBBMap[BI->getSuccessor(0)];
2317 MachineBasicBlock *FBB = FuncInfo.MBBMap[BI->getSuccessor(1)];
2416 finishCondBranch(BI->getParent(), TBB, FBB);
2421 const BranchInst *BI = cast<BranchInst>(I); local
2422 if (BI->isUnconditional()) {
2423 MachineBasicBlock *MSucc = FuncInfo.MBBMap[BI
2551 const IndirectBrInst *BI = cast<IndirectBrInst>(I); local
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp607 BranchInst *BI = dyn_cast<BranchInst>(BB->getTerminator()); local
608 if (!BI || !BI->isUnconditional())
613 BasicBlock::iterator BBI = BI->getIterator();
626 BasicBlock *DestBB = BI->getSuccessor(0);
830 BranchInst *BI = cast<BranchInst>(BB->getTerminator()); local
831 BasicBlock *DestBB = BI->getSuccessor(0);
1491 if (auto *BI = dyn_cast<BranchInst>(U)) {
1492 assert(BI->isConditional() && "Must be conditional");
1493 BI
2102 BasicBlock::iterator BI = BB->begin(); local
2108 BasicBlock::iterator BI = BB->begin(); local
2154 BranchInst *BI = dyn_cast<BranchInst>(TailCallBB->getTerminator()); local
[all...]
/freebsd-12-stable/contrib/ncurses/form/
H A Dfrm_driver.c4288 const Binding_Info *BI = (Binding_Info *) 0; local
4322 BI = &(bindings[c - MIN_FORM_COMMAND]);
4325 if (BI)
4341 size_t method = (size_t) ((BI->keycode >> ID_Shft) & 0xffff); /* see ID_Mask */
4343 if ((method >= nMethods) || !(BI->cmd))
4351 res = fct(BI->cmd, form);
4355 res = (BI->cmd) (form);
4493 const Binding_Info *BI = (Binding_Info *) 0; local
4528 BI = &(bindings[c - MIN_FORM_COMMAND]);
4531 if (BI)
[all...]

Completed in 570 milliseconds

12345678