Home
last modified time | relevance | path

Searched refs:BI (Results 1 – 25 of 362) sorted by relevance

12345678910>>...15

/external/llvm/lib/CodeGen/
DInterferenceCache.cpp148 BlockInterference *BI = &Blocks[MBBNum]; in update() local
152 BI->Tag = Tag; in update()
153 BI->First = BI->Last = SlotIndex(); in update()
163 if (!BI->First.isValid() || StartI < BI->First) in update()
164 BI->First = StartI; in update()
176 if (!BI->First.isValid() || StartI < BI->First) in update()
177 BI->First = StartI; in update()
183 SlotIndex Limit = BI->First.isValid() ? BI->First : Stop; in update()
188 BI->First = RegMaskSlots[i]; in update()
193 if (BI->First.isValid()) in update()
[all …]
DSplitKit.cpp181 BlockInfo BI; in calcLiveBlockInfo() local
182 BI.MBB = MFI; in calcLiveBlockInfo()
184 std::tie(Start, Stop) = LIS.getSlotIndexes()->getMBBRange(BI.MBB); in calcLiveBlockInfo()
191 ThroughBlocks.set(BI.MBB->getNumber()); in calcLiveBlockInfo()
198 BI.FirstInstr = *UseI; in calcLiveBlockInfo()
199 assert(BI.FirstInstr >= Start); in calcLiveBlockInfo()
202 BI.LastInstr = UseI[-1]; in calcLiveBlockInfo()
203 assert(BI.LastInstr < Stop); in calcLiveBlockInfo()
206 BI.LiveIn = LVI->start <= Start; in calcLiveBlockInfo()
209 if (!BI.LiveIn) { in calcLiveBlockInfo()
[all …]
DRegAllocGreedy.cpp908 const SplitAnalysis::BlockInfo &BI = UseBlocks[i]; in addSplitConstraints() local
911 BC.Number = BI.MBB->getNumber(); in addSplitConstraints()
913 BC.Entry = BI.LiveIn ? SpillPlacement::PrefReg : SpillPlacement::DontCare; in addSplitConstraints()
914 BC.Exit = BI.LiveOut ? SpillPlacement::PrefReg : SpillPlacement::DontCare; in addSplitConstraints()
915 BC.ChangesValue = BI.FirstDef.isValid(); in addSplitConstraints()
924 if (BI.LiveIn) { in addSplitConstraints()
927 else if (Intf.first() < BI.FirstInstr) in addSplitConstraints()
929 else if (Intf.first() < BI.LastInstr) in addSplitConstraints()
934 if (BI.LiveOut) { in addSplitConstraints()
937 else if (Intf.last() > BI.LastInstr) in addSplitConstraints()
[all …]
/external/llvm/include/llvm/IR/
DInstIterator.h37 BI_t BI; // BasicBlock::iterator variable
51 : BBs(II.BBs), BB(II.BB), BI(II.BI) {} in InstIterator()
55 : BBs(II.BBs), BB(II.BB), BI(II.BI) {} in InstIterator()
60 BI = BB->begin(); in InstIterator()
71 inline BIty &getInstructionIterator() { return BI; } in getInstructionIterator()
73 inline reference operator*() const { return *BI; }
77 return BB == y.BB && (BB == BBs->end() || BI == y.BI);
84 ++BI;
93 while (BB == BBs->end() || BI == BB->begin()) {
95 BI = BB->end();
[all …]
/external/iptables/extensions/
Dlibxt_addrtype.man8 .BI "UNSPEC"
11 .BI "UNICAST"
14 .BI "LOCAL"
17 .BI "BROADCAST"
20 .BI "ANYCAST"
23 .BI "MULTICAST"
26 .BI "BLACKHOLE"
29 .BI "UNREACHABLE"
32 .BI "PROHIBIT"
35 .BI "THROW"
[all …]
/external/clang/include/clang/Basic/
DTargetBuiltins.h27 #define BUILTIN(ID, TYPE, ATTRS) BI##ID,
38 #define BUILTIN(ID, TYPE, ATTRS) BI##ID,
49 #define BUILTIN(ID, TYPE, ATTRS) BI##ID,
59 #define BUILTIN(ID, TYPE, ATTRS) BI##ID,
69 #define BUILTIN(ID, TYPE, ATTRS) BI##ID,
79 #define BUILTIN(ID, TYPE, ATTRS) BI##ID,
89 #define BUILTIN(ID, TYPE, ATTRS) BI##ID,
142 #define BUILTIN(ID, TYPE, ATTRS) BI##ID,
152 #define BUILTIN(ID, TYPE, ATTRS) BI##ID,
162 #define BUILTIN(ID, TYPE, ATTRS) BI##ID,
[all …]
/external/llvm/lib/Target/NVPTX/
DNVPTXImageOptimizer.cpp57 for (Function::iterator BI = F.begin(), BE = F.end(); BI != BE; in runOnFunction() local
58 ++BI) { in runOnFunction()
59 for (BasicBlock::iterator I = (*BI).begin(), E = (*BI).end(); in runOnFunction()
152 if (BranchInst *BI = dyn_cast<BranchInst>(*UI)) { in replaceWith() local
153 if (BI->isUnconditional()) continue; in replaceWith()
157 Dest = BI->getSuccessor(1); in replaceWith()
160 Dest = BI->getSuccessor(0); in replaceWith()
161 BranchInst::Create(Dest, BI); in replaceWith()
162 InstrToDelete.push_back(BI); in replaceWith()
DNVPTXReplaceImageHandles.cpp59 for (MachineFunction::iterator BI = MF.begin(), BE = MF.end(); BI != BE; in runOnMachineFunction() local
60 ++BI) { in runOnMachineFunction()
61 for (MachineBasicBlock::iterator I = (*BI).begin(), E = (*BI).end(); in runOnMachineFunction()
/external/llvm/lib/Transforms/Scalar/
DLowerExpectIntrinsic.cpp74 static bool handleBranchExpect(BranchInst &BI) { in handleBranchExpect() argument
75 if (BI.isUnconditional()) in handleBranchExpect()
89 ICmpInst *CmpI = dyn_cast<ICmpInst>(BI.getCondition()); in handleBranchExpect()
91 CI = dyn_cast<CallInst>(BI.getCondition()); in handleBranchExpect()
120 BI.setMetadata(LLVMContext::MD_prof, Node); in handleBranchExpect()
125 BI.setCondition(ArgValue); in handleBranchExpect()
134 if (BranchInst *BI = dyn_cast<BranchInst>(BB.getTerminator())) { in lowerExpectIntrinsic() local
135 if (handleBranchExpect(*BI)) in lowerExpectIntrinsic()
143 for (BasicBlock::iterator BI = BB.begin(), BE = BB.end(); BI != BE;) { in lowerExpectIntrinsic() local
144 CallInst *CI = dyn_cast<CallInst>(BI++); in lowerExpectIntrinsic()
DLoopDeletion.cpp91 BasicBlock::iterator BI = exitBlock->begin(); in isLoopDead() local
92 while (PHINode *P = dyn_cast<PHINode>(BI)) { in isLoopDead()
108 ++BI; in isLoopDead()
117 for (BasicBlock::iterator BI = (*LI)->begin(), BE = (*LI)->end(); in isLoopDead() local
118 BI != BE; ++BI) { in isLoopDead()
119 if (BI->mayHaveSideEffects()) in isLoopDead()
197 BasicBlock::iterator BI = exitBlock->begin(); in runOnLoop() local
198 while (PHINode *P = dyn_cast<PHINode>(BI)) { in runOnLoop()
204 ++BI; in runOnLoop()
DLoopRotation.cpp289 BranchInst *BI = dyn_cast<BranchInst>(LastExit->getTerminator()); in simplifyLoopLatch() local
290 if (!BI) in simplifyLoopLatch()
300 LastExit->getInstList().splice(BI, Latch->getInstList(), Latch->begin(), Jmp); in simplifyLoopLatch()
302 unsigned FallThruPath = BI->getSuccessor(0) == Latch ? 0 : 1; in simplifyLoopLatch()
307 BI->setSuccessor(FallThruPath, Header); in simplifyLoopLatch()
338 BranchInst *BI = dyn_cast<BranchInst>(OrigHeader->getTerminator()); in rotateLoop() local
339 if (!BI || BI->isUnconditional()) in rotateLoop()
393 BasicBlock *Exit = BI->getSuccessor(0); in rotateLoop()
394 BasicBlock *NewHeader = BI->getSuccessor(1); in rotateLoop()
469 for (BasicBlock::iterator BI = TI->getSuccessor(i)->begin(); in rotateLoop() local
[all …]
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp130 bool SimplifyUncondBranch(BranchInst *BI, IRBuilder <> &Builder);
131 bool SimplifyCondBranch(BranchInst *BI, IRBuilder <>&Builder);
271 BranchInst *BI = dyn_cast<BranchInst>(PBB->getTerminator()); in DominatesMergePoint() local
272 if (!BI || BI->isConditional() || BI->getSuccessor(0) != BB) in DominatesMergePoint()
511 } else if (BranchInst *BI = dyn_cast<BranchInst>(TI)) { in EraseTerminatorInstAndDCECond() local
512 if (BI->isConditional()) in EraseTerminatorInstAndDCECond()
513 Cond = dyn_cast<Instruction>(BI->getCondition()); in EraseTerminatorInstAndDCECond()
532 } else if (BranchInst *BI = dyn_cast<BranchInst>(TI)) in isValueEqualityComparison() local
533 if (BI->isConditional() && BI->getCondition()->hasOneUse()) in isValueEqualityComparison()
534 if (ICmpInst *ICI = dyn_cast<ICmpInst>(BI->getCondition())) { in isValueEqualityComparison()
[all …]
DFlattenCFG.cpp180 for (BasicBlock::iterator BI = Pred->begin(), BE = PBI; BI != BE;) { in FlattenParallelAndOr() local
181 Instruction *CI = BI++; in FlattenParallelAndOr()
243 BranchInst *BI = dyn_cast<BranchInst>(CurrBlock->getTerminator()); in FlattenParallelAndOr() local
244 CmpInst *CI = dyn_cast<CmpInst>(BI->getCondition()); in FlattenParallelAndOr()
252 BI->swapSuccessors(); in FlattenParallelAndOr()
359 for (BasicBlock::iterator BI = PBI2, BE = PTI2; BI != BE; ++BI) { in CompareIfRegionBlock() local
360 if (BI->mayReadFromMemory() || BI->mayWriteToMemory()) { in CompareIfRegionBlock()
362 if (!AA || AA->alias(iter1, BI)) in CompareIfRegionBlock()
428 for (BasicBlock::iterator BI = PBI2, BE = PTI2; BI != BE; ++BI) { in MergeIfRegion() local
429 Instruction *CI = BI; in MergeIfRegion()
DBasicBlockUtils.cpp137 for (BasicBlock::iterator BI = BB->begin(), BE = BB->end(); BI != BE; ++BI) { in MergeBlockIntoPredecessor() local
138 if (PHINode *PN = dyn_cast<PHINode>(BI)) { in MergeBlockIntoPredecessor()
191 BasicBlock::iterator &BI, Value *V) { in ReplaceInstWithValue() argument
192 Instruction &I = *BI; in ReplaceInstWithValue()
201 BI = BIL.erase(BI); in ReplaceInstWithValue()
210 BasicBlock::iterator &BI, Instruction *I) { in ReplaceInstWithInst() argument
215 BasicBlock::iterator New = BIL.insert(BI, I); in ReplaceInstWithInst()
218 ReplaceInstWithValue(BIL, BI, I); in ReplaceInstWithInst()
221 BI = New; in ReplaceInstWithInst()
228 BasicBlock::iterator BI(From); in ReplaceInstWithInst() local
[all …]
DCloneFunction.cpp119 for (Function::const_iterator BI = OldFunc->begin(), BE = OldFunc->end(); in CloneFunctionInto() local
120 BI != BE; ++BI) { in CloneFunctionInto()
121 const BasicBlock &BB = *BI; in CloneFunctionInto()
407 if (const BranchInst *BI = dyn_cast<BranchInst>(OldTI)) { in CloneBlock() local
408 if (BI->isConditional()) { in CloneBlock()
410 ConstantInt *Cond = dyn_cast<ConstantInt>(BI->getCondition()); in CloneBlock()
413 Value *V = VMap[BI->getCondition()]; in CloneBlock()
419 BasicBlock *Dest = BI->getSuccessor(!Cond->getZExtValue()); in CloneBlock()
517 for (Function::const_iterator BI = OldFunc->begin(), BE = OldFunc->end(); in CloneAndPruneIntoFromInst() local
518 BI != BE; ++BI) { in CloneAndPruneIntoFromInst()
[all …]
DSimplifyInstructions.cpp66 for (BasicBlock::iterator BI = BB->begin(), BE = BB->end(); BI != BE;) { in runOnFunction() local
67 Instruction *I = BI++; in runOnFunction()
89 BI = BB->begin(); BE = BB->end(); in runOnFunction()
/external/llvm/include/llvm/Analysis/
DLoopInfoImpl.h37 for (block_iterator BI = block_begin(), BE = block_end(); BI != BE; ++BI) in getExitingBlocks() local
39 BlockTraits::child_begin(*BI), E = BlockTraits::child_end(*BI); in getExitingBlocks()
43 ExitingBlocks.push_back(*BI); in getExitingBlocks()
66 for (block_iterator BI = block_begin(), BE = block_end(); BI != BE; ++BI) in getExitBlocks() local
68 BlockTraits::child_begin(*BI), E = BlockTraits::child_end(*BI); in getExitBlocks()
91 for (block_iterator BI = block_begin(), BE = block_end(); BI != BE; ++BI) in getExitEdges() local
93 BlockTraits::child_begin(*BI), E = BlockTraits::child_end(*BI); in getExitEdges()
97 ExitEdges.push_back(Edge(*BI, *I)); in getExitEdges()
234 BI = df_ext_begin(getHeader(), VisitSet), in verifyLoop() local
241 for ( ; BI != BE; ++BI) { in verifyLoop()
[all …]
/external/llvm/utils/TableGen/
DCodeEmitterGen.cpp36 int getVariableBit(const std::string &VarName, BitsInit *BI, int bit);
38 void AddCodeToMergeInOperand(Record *R, BitsInit *BI,
49 BitsInit *BI, int bit) { in getVariableBit() argument
50 if (VarBitInit *VBI = dyn_cast<VarBitInit>(BI->getBit(bit))) { in getVariableBit()
54 } else if (VarInit *VI = dyn_cast<VarInit>(BI->getBit(bit))) { in getVariableBit()
63 AddCodeToMergeInOperand(Record *R, BitsInit *BI, const std::string &VarName, in AddCodeToMergeInOperand() argument
70 int bit = BI->getNumBits()-1; in AddCodeToMergeInOperand()
74 if (getVariableBit(VarName, BI, bit) != -1) in AddCodeToMergeInOperand()
140 int varBit = getVariableBit(VarName, BI, bit); in AddCodeToMergeInOperand()
154 varBit = getVariableBit(VarName, BI, bit); in AddCodeToMergeInOperand()
[all …]
/external/llvm/lib/Analysis/
DLoopInfo.cpp177 for (block_iterator BI = block_begin(), E = block_end(); BI != E; ++BI) { in isLCSSAForm() local
178 BasicBlock *BB = *BI; in isLCSSAForm()
222 for (BasicBlock::iterator BI = (*I)->begin(), BE = (*I)->end(); BI != BE; ++BI) { in isSafeToClone() local
223 if (const CallInst *CI = dyn_cast<CallInst>(BI)) { in isSafeToClone()
357 for (block_iterator BI = block_begin(), BE = block_end(); BI != BE; ++BI) { in getUniqueExitBlocks() local
359 BasicBlock *current = *BI; in getUniqueExitBlocks()
362 for (succ_iterator I = succ_begin(*BI), E = succ_end(*BI); I != E; ++I) { in getUniqueExitBlocks()
506 for (Loop::block_iterator BI = Unloop->block_begin(), in removeBlocksFromAncestors() local
507 BE = Unloop->block_end(); BI != BE; ++BI) { in removeBlocksFromAncestors()
508 Loop *OuterParent = LI->getLoopFor(*BI); in removeBlocksFromAncestors()
[all …]
DBranchProbabilityInfo.cpp278 BranchInst * BI = dyn_cast<BranchInst>(BB->getTerminator()); in calcPointerHeuristics() local
279 if (!BI || !BI->isConditional()) in calcPointerHeuristics()
282 Value *Cond = BI->getCondition(); in calcPointerHeuristics()
368 BranchInst * BI = dyn_cast<BranchInst>(BB->getTerminator()); in calcZeroHeuristics() local
369 if (!BI || !BI->isConditional()) in calcZeroHeuristics()
372 Value *Cond = BI->getCondition(); in calcZeroHeuristics()
450 BranchInst *BI = dyn_cast<BranchInst>(BB->getTerminator()); in calcFloatingPointHeuristics() local
451 if (!BI || !BI->isConditional()) in calcFloatingPointHeuristics()
454 Value *Cond = BI->getCondition(); in calcFloatingPointHeuristics()
539 for (Function::const_iterator BI = LastF->begin(), BE = LastF->end(); in print() local
[all …]
DAliasDebugger.cpp66 for (BasicBlock::const_iterator BI = FI->begin(), BE = FI->end(); in runOnModule() local
67 BI != BE; ++BI) { in runOnModule()
68 Vals.insert(&*BI); in runOnModule()
69 for (User::const_op_iterator OI = BI->op_begin(), in runOnModule()
70 OE = BI->op_end(); OI != OE; ++OI) in runOnModule()
/external/llvm/docs/HistoricalNotes/
D2002-06-25-MegaPatchInfo.txt34 for (Function::iterator BI = Func->begin(); BI != Func->end(); ++BI)
35 for (BasicBlock::iterator II = (*BI)->begin(); II != (*BI)->end(); ++II)
40 for (Function::iterator BI = Func->begin(); BI != Func->end(); ++BI)
41 for (BasicBlock::iterator II = BI->begin(); II != BI->end(); ++II)
/external/llvm/lib/Target/R600/
DR600Packetizer.cpp78 MachineBasicBlock::instr_iterator BI = I.getInstrIterator(); in getPreviousVector() local
80 BI++; in getPreviousVector()
84 int BISlot = getSlot(BI); in getPreviousVector()
88 if (TII->isPredicated(BI)) in getPreviousVector()
90 int OperandIdx = TII->getOperandIdx(BI->getOpcode(), AMDGPU::OpName::write); in getPreviousVector()
91 if (OperandIdx > -1 && BI->getOperand(OperandIdx).getImm() == 0) in getPreviousVector()
93 int DstIdx = TII->getOperandIdx(BI->getOpcode(), AMDGPU::OpName::dst); in getPreviousVector()
97 unsigned Dst = BI->getOperand(DstIdx).getReg(); in getPreviousVector()
98 if (isTrans || TII->isTransOnly(BI)) { in getPreviousVector()
102 if (BI->getOpcode() == AMDGPU::DOT4_r600 || in getPreviousVector()
[all …]
DSIMachineFunctionInfo.cpp60 for (MachineFunction::iterator BI = MF->begin(), BE = MF->end(); in getSpilledReg() local
61 BI != BE; ++BI) { in getSpilledReg()
62 BI->addLiveIn(LaneVGPR); in getSpilledReg()
/external/llvm/tools/llvm-diff/
DDiffConsumer.cpp36 for (BasicBlock::iterator BI = FI->begin(), BE = FI->end(); BI != BE; ++BI) in ComputeNumbering() local
38 if (!BI->hasName() && !BI->getType()->isVoidTy()) in ComputeNumbering()
39 Numbering[&*BI] = IN++; in ComputeNumbering()

12345678910>>...15