| /src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| GuardUtils.cpp | 63 auto *BI = dyn_cast<BranchInst>(U); 64 if (!BI || !BI->isConditional()) 66 auto *Cond = BI->getCondition(); 70 IfTrueBB = BI->getSuccessor(0); 71 IfFalseBB = BI->getSuccessor(1); 74 WC = &BI->getOperandUse(0);
|
| LoopNestAnalysis.cpp | 83 const BranchInst *BI = dyn_cast<BranchInst>(Latch->getTerminator()); 84 assert(BI && BI->isConditional() && 87 const CmpInst *OuterLoopLatchCmp = dyn_cast<CmpInst>(BI->getCondition()); 287 const BranchInst *BI = dyn_cast<BranchInst>(SingleSucc.getTerminator()); 289 if (!BI || BI != InnerLoop.getLoopGuardBranch()) 296 for (const BasicBlock *Succ : BI->successors()) { 315 // may be inserted before the `OuterLoopLatch` to which `BI` jumps. The
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/ |
| NVPTXLowerAlloca.cpp | 107 auto BI = dyn_cast<BitCastInst>(AllocaUse.getUser()); 108 if (BI && BI->getOperand(0) == allocaInst) { 109 BI->setOperand(0, NewASCToGeneric);
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/ |
| PPCCTRLoops.cpp | 100 MachineBasicBlock::iterator BI = I; 124 if (I != BI && clobbersCTR(*I)) { 128 << printMBBReference(*BI->getParent()) << " (" 129 << BI->getParent()->getFullName() << ") instruction " 130 << *BI << "\n"); 145 << printMBBReference(*BI->getParent()) << " (" 146 << BI->getParent()->getFullName() << ") instruction " 147 << *BI << "\n");
|
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
| CodeMoverUtils.cpp | 130 const BranchInst *BI = dyn_cast<BranchInst>(IDom->getTerminator()); 131 if (!BI) 139 } else if (PDT.dominates(CurBlock, BI->getSuccessor(0))) { 141 << *BI->getCondition() << "\" is true from " 144 ControlCondition(BI->getCondition(), true)); 145 } else if (PDT.dominates(CurBlock, BI->getSuccessor(1))) { 147 << *BI->getCondition() << "\" is false from " 150 ControlCondition(BI->getCondition(), false));
|
| LoopRotationUtils.cpp | 196 BranchInst *BI = dyn_cast<BranchInst>(Header->getTerminator()); 197 assert(BI && BI->isConditional() && "need header with conditional exit"); 198 BasicBlock *HeaderExit = BI->getSuccessor(0); 200 HeaderExit = BI->getSuccessor(1); 222 BranchInst *BI = dyn_cast<BranchInst>(Latch->getTerminator()); 224 if (!BI || !BI->isConditional()) 227 BasicBlock *Exit = BI->getSuccessor(1); 229 Exit = BI->getSuccessor(0) [all...] |
| FlattenCFG.cpp | 190 for (BasicBlock::iterator BI = Pred->begin(), BE = PBI->getIterator(); 191 BI != BE;) { 192 Instruction *CI = &*BI++; 254 auto *BI = cast<BranchInst>(CurrBlock->getTerminator()); 255 auto *CI = dyn_cast<CmpInst>(BI->getCondition()); 263 BI->swapSuccessors(); 360 for (BasicBlock::iterator BI(PBI2), BE(PTI2); BI != BE; ++BI) { 361 if (BI->mayReadFromMemory() || BI->mayWriteToMemory()) [all...] |
| /src/external/apache2/llvm/dist/llvm/utils/TableGen/ |
| CodeBeadsGen.cpp | 66 BitsInit *BI = R->getValueAsBitsInit("Beads"); 67 if (!BI->isComplete()) { 72 MaxBitLength = std::max(MaxBitLength, BI->getNumBits()); 92 BitsInit *BI = R->getValueAsBitsInit("Beads"); 104 if (auto *B = dyn_cast<BitInit>(BI->getBit(i))) {
|
| CodeEmitterGen.cpp | 47 int getVariableBit(const std::string &VarName, BitsInit *BI, int bit); 51 void AddCodeToMergeInOperand(Record *R, BitsInit *BI, 67 BitsInit *BI, int bit) { 68 if (VarBitInit *VBI = dyn_cast<VarBitInit>(BI->getBit(bit))) { 72 } else if (VarInit *VI = dyn_cast<VarInit>(BI->getBit(bit))) { 81 AddCodeToMergeInOperand(Record *R, BitsInit *BI, const std::string &VarName, 88 int bit = BI->getNumBits()-1; 92 if (getVariableBit(VarName, BI, bit) != -1) 174 int varBit = getVariableBit(VarName, BI, tmpBit); 187 varBit = getVariableBit(VarName, BI, tmpBit) [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
| InstIterator.h | 39 BI_t BI; // BasicBlock::iterator 54 : BBs(II.BBs), BB(II.BB), BI(II.BI) {} 58 : BBs(II.BBs), BB(II.BB), BI(II.BI) {} 63 BI = BB->begin(); 74 inline BIty &getInstructionIterator() { return BI; } 76 inline reference operator*() const { return *BI; } 80 return BB == y.BB && (BB == BBs->end() || BI == y.BI); [all...] |
| /src/external/apache2/llvm/dist/llvm/examples/IRTransforms/ |
| SimplifyCFG.cpp | 145 BranchInst *BI = dyn_cast<BranchInst>(BB.getTerminator()); 146 if (!BI || !BI->isConditional()) 150 ConstantInt *CI = dyn_cast<ConstantInt>(BI->getCondition()); 156 BasicBlock *RemovedSucc = BI->getSuccessor(CI->isOne()); 163 BranchInst::Create(BI->getSuccessor(CI->isZero()), BI); 164 BI->eraseFromParent(); 181 BranchInst *BI = dyn_cast<BranchInst>(BB.getTerminator()); 182 if (!BI || !BI->isConditional() [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| InterferenceCache.cpp | 156 BlockInterference *BI = &Blocks[MBBNum]; 160 BI->Tag = Tag; 161 BI->First = BI->Last = SlotIndex(); 171 if (!BI->First.isValid() || StartI < BI->First) 172 BI->First = StartI; 184 if (!BI->First.isValid() || StartI < BI->First) 185 BI->First = StartI [all...] |
| InterleavedAccessPass.cpp | 313 auto *BI = dyn_cast<BinaryOperator>(User); 314 if (BI && BI->hasOneUse()) { 315 if (auto *SVI = dyn_cast<ShuffleVectorInst>(*BI->user_begin())) { 398 BinaryOperator *BI = cast<BinaryOperator>(SVI->getOperand(0)); 399 Type *BIOp0Ty = BI->getOperand(0)->getType(); 406 new ShuffleVectorInst(BI->getOperand(0), PoisonValue::get(BIOp0Ty), 409 BI->getOperand(1), PoisonValue::get(BI->getOperand(1)->getType()), Mask, 411 Value *NewBI = BinaryOperator::Create(BI->getOpcode(), NewSVI1, NewSVI2 [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| LowerConstantIntrinsics.cpp | 62 BranchInst *BI = dyn_cast<BranchInst>(I); 63 if (!BI) 65 if (BI->isUnconditional()) 69 if (match(BI->getOperand(0), m_Zero())) { 70 Target = BI->getSuccessor(1); 71 Other = BI->getSuccessor(0); 72 } else if (match(BI->getOperand(0), m_One())) { 73 Target = BI->getSuccessor(0); 74 Other = BI->getSuccessor(1); 80 BasicBlock *Source = BI->getParent() [all...] |
| SpeculativeExecution.cpp | 170 BranchInst *BI = dyn_cast<BranchInst>(B.getTerminator()); 171 if (BI == nullptr) 174 if (BI->getNumSuccessors() != 2) 176 BasicBlock &Succ0 = *BI->getSuccessor(0); 177 BasicBlock &Succ1 = *BI->getSuccessor(1);
|
| GVNSink.cpp | 275 auto BI = Blocks.begin(); 277 while (BI != Blocks.end()) { 279 if (!llvm::is_contained(NewBlocks, *BI)) { 280 BI = Blocks.erase(BI); 283 ++BI;
|
| LowerExpectIntrinsic.cpp | 190 BranchInst *BI = dyn_cast<BranchInst>(BB->getTerminator()); 191 if (BI && BI->isConditional()) 192 return BI; 196 BI = dyn_cast<BranchInst>(BB->getTerminator()); 197 if (!BI || BI->isUnconditional()) 199 return BI; 218 BranchInst *BI = GetDomConditional(i); 219 if (!BI) [all...] |
| /src/external/gpl3/gdb.old/dist/sim/bfin/ |
| dv-bfin_uart.h | 40 #define BI (1 << 4)
|
| /src/external/gpl3/gdb/dist/sim/bfin/ |
| dv-bfin_uart.h | 40 #define BI (1 << 4)
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/BPF/ |
| BPFAdjustOpt.cpp | 179 auto *BI = dyn_cast<BranchInst>(TI); 180 if (!BI || !BI->isConditional()) 182 auto *Cond = dyn_cast<ICmpInst>(BI->getCondition()); 189 BI = dyn_cast<BranchInst>(TI); 190 if (!BI || !BI->isConditional()) 192 Cond = dyn_cast<ICmpInst>(BI->getCondition()); 211 PassThroughInfo Info(Cond, BI, 0);
|
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
| CrossDSOCFI.cpp | 152 BranchInst *BI = IRBTest.CreateCondBr(Test, ExitBB, TrapBB); 153 BI->setMetadata(LLVMContext::MD_prof, VeryLikelyWeights);
|
| /src/usr.bin/sort/ |
| sort.h | 86 #define BI 0x20 /* ignore blanks in icol */
|
| /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/MSF/ |
| MSFBuilder.cpp | 321 uint32_t BI = 0; 323 while (BI < Layout.SB->NumBlocks) { 327 (BI < Layout.SB->NumBlocks) ? Layout.FreePageMap.test(BI) : true; 330 ++BI;
|
| /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/Native/ |
| PDBFile.cpp | 162 uint32_t BI = 0; 167 ContainerLayout.FreePageMap[BI] = true; 169 ++BI;
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/ |
| HexagonRegisterInfo.cpp | 295 const MachineInstr &BI = *I; 296 LiveRegUnits::accumulateUsedDefed(BI, Defs, Uses, this); 297 PassedCall |= BI.isCall(); 298 for (const MachineOperand &Op : BI.operands()) { 304 if (BI.getOpcode() != Hexagon::A2_addi) 306 if (BI.getOperand(1).getReg() != BP) 308 const auto &Op2 = BI.getOperand(2); 312 Register R = BI.getOperand(0).getReg();
|