Home
last modified time | relevance | path

Searched defs:BI (Results 1 – 25 of 145) sorted by relevance

123456

/external/llvm/lib/Transforms/Scalar/
DLowerExpectIntrinsic.cpp74 static bool handleBranchExpect(BranchInst &BI) { in handleBranchExpect()
134 if (BranchInst *BI = dyn_cast<BranchInst>(BB.getTerminator())) { in lowerExpectIntrinsic() local
143 for (BasicBlock::iterator BI = BB.begin(), BE = BB.end(); BI != BE;) { in lowerExpectIntrinsic() local
DLoopDeletion.cpp91 BasicBlock::iterator BI = exitBlock->begin(); in isLoopDead() local
117 for (BasicBlock::iterator BI = (*LI)->begin(), BE = (*LI)->end(); in isLoopDead() local
197 BasicBlock::iterator BI = exitBlock->begin(); in runOnLoop() local
DSampleProfile.cpp391 for (auto &BI : F) { in findEquivalenceClasses() local
435 for (auto &BI : F) { in propagateThroughEdges() local
537 for (auto &BI : F) { in buildEdges() local
599 for (auto &BI : F) { in propagateWeights() local
DLoopRotation.cpp289 BranchInst *BI = dyn_cast<BranchInst>(LastExit->getTerminator()); in simplifyLoopLatch() local
338 BranchInst *BI = dyn_cast<BranchInst>(OrigHeader->getTerminator()); in rotateLoop() local
469 for (BasicBlock::iterator BI = TI->getSuccessor(i)->begin(); in rotateLoop() local
DMergedLoadStoreMotion.cpp198 BranchInst *BI = (BranchInst *)(BB->getTerminator()); in getDiamondTail() local
215 BranchInst *BI = (BranchInst *)(BB->getTerminator()); in isDiamondHead() local
363 BranchInst *BI = dyn_cast<BranchInst>(BB->getTerminator()); in mergeLoads() local
DJumpThreading.cpp199 BranchInst *BI = dyn_cast<BranchInst>(BB->getTerminator()); in runOnFunction() local
692 if (BranchInst *BI = dyn_cast<BranchInst>(Terminator)) { in ProcessBlock() local
1166 else if (BranchInst *BI = dyn_cast<BranchInst>(BB->getTerminator())) in ProcessThreadableEdges() local
1441 BasicBlock::iterator BI = BB->begin(); in ThreadEdge() local
1585 BasicBlock::iterator BI = BB->begin(); in DuplicateCondBranchOnPHIIntoPred() local
1741 for (BasicBlock::iterator BI = BB->begin(); in TryToUnfoldSelect() local
DSCCP.cpp521 if (BranchInst *BI = dyn_cast<BranchInst>(&TI)) { in getFeasibleSuccessors() local
592 if (BranchInst *BI = dyn_cast<BranchInst>(TI)) { in isEdgeFeasible() local
1456 if (BranchInst *BI = dyn_cast<BranchInst>(TI)) { in ResolvedUndefsIn() local
1601 for (BasicBlock::iterator BI = BB->begin(), E = BB->end(); BI != E; ) { in runOnFunction() local
1810 for (BasicBlock::iterator BI = BB->begin(), E = BB->end(); BI != E; ) { in runOnModule() local
1863 if (BranchInst *BI = dyn_cast<BranchInst>(I)) { in runOnModule() local
/external/llvm/utils/TableGen/
DCodeEmitterGen.cpp49 BitsInit *BI, int bit) { in getVariableBit()
63 AddCodeToMergeInOperand(Record *R, BitsInit *BI, const std::string &VarName, in AddCodeToMergeInOperand()
182 BitsInit *BI = R->getValueAsBitsInit("Inst"); in getInstructionCase() local
254 BitsInit *BI = R->getValueAsBitsInit("Inst"); in run() local
/external/llvm/lib/Transforms/Utils/
DFlattenCFG.cpp180 for (BasicBlock::iterator BI = Pred->begin(), BE = PBI; BI != BE;) { in FlattenParallelAndOr() local
243 BranchInst *BI = dyn_cast<BranchInst>(CurrBlock->getTerminator()); in FlattenParallelAndOr() local
359 for (BasicBlock::iterator BI = PBI2, BE = PTI2; BI != BE; ++BI) { in CompareIfRegionBlock() local
428 for (BasicBlock::iterator BI = PBI2, BE = PTI2; BI != BE; ++BI) { in MergeIfRegion() local
DBasicBlockUtils.cpp137 for (BasicBlock::iterator BI = BB->begin(), BE = BB->end(); BI != BE; ++BI) { in MergeBlockIntoPredecessor() local
191 BasicBlock::iterator &BI, Value *V) { in ReplaceInstWithValue()
210 BasicBlock::iterator &BI, Instruction *I) { in ReplaceInstWithInst()
228 BasicBlock::iterator BI(From); in ReplaceInstWithInst() local
390 ArrayRef<BasicBlock *> Preds, BranchInst *BI, in UpdatePHINodes()
493 BranchInst *BI = BranchInst::Create(BB, NewBB); in SplitBlockPredecessors() local
859 BranchInst *BI = dyn_cast<BranchInst>(CommonPred->getTerminator()); in GetIfCondition() local
DSimplifyCFG.cpp271 BranchInst *BI = dyn_cast<BranchInst>(PBB->getTerminator()); in DominatesMergePoint() local
511 } else if (BranchInst *BI = dyn_cast<BranchInst>(TI)) { in EraseTerminatorInstAndDCECond() local
532 } else if (BranchInst *BI = dyn_cast<BranchInst>(TI)) in isValueEqualityComparison() local
564 BranchInst *BI = cast<BranchInst>(TI); in GetValueEqualityComparisonCases() local
802 if (BranchInst* BI = dyn_cast<BranchInst>(TI)) { in GetBranchWeights() local
1055 static bool HoistThenElseCodeToIf(BranchInst *BI, in HoistThenElseCodeToIf()
1468 static bool SpeculativelyExecuteBB(BranchInst *BI, BasicBlock *ThenBB, in SpeculativelyExecuteBB()
1662 BranchInst *BI = cast<BranchInst>(BB->getTerminator()); in BlockIsSimpleEnoughToThreadThrough() local
1688 static bool FoldCondBranchOnPHI(BranchInst *BI, const DataLayout &DL) { in FoldCondBranchOnPHI()
1926 static bool SimplifyCondBranchToTwoReturns(BranchInst *BI, in SimplifyCondBranchToTwoReturns()
[all …]
DSimplifyInstructions.cpp66 for (BasicBlock::iterator BI = BB->begin(), BE = BB->end(); BI != BE;) { in runOnFunction() local
DCloneFunction.cpp119 for (Function::const_iterator BI = OldFunc->begin(), BE = OldFunc->end(); in CloneFunctionInto() local
407 if (const BranchInst *BI = dyn_cast<BranchInst>(OldTI)) { in CloneBlock() local
517 for (Function::const_iterator BI = OldFunc->begin(), BE = OldFunc->end(); in CloneAndPruneIntoFromInst() local
664 BranchInst *BI = dyn_cast<BranchInst>(I->getTerminator()); in CloneAndPruneIntoFromInst() local
/external/llvm/include/llvm/Analysis/
DLoopInfoImpl.h37 for (block_iterator BI = block_begin(), BE = block_end(); BI != BE; ++BI) in getExitingBlocks() local
66 for (block_iterator BI = block_begin(), BE = block_end(); BI != BE; ++BI) in getExitBlocks() local
91 for (block_iterator BI = block_begin(), BE = block_end(); BI != BE; ++BI) in getExitEdges() local
234 BI = df_ext_begin(getHeader(), VisitSet), in verifyLoop() local
291 for (block_iterator BI = (*I)->block_begin(), BE = (*I)->block_end(); in verifyLoop() local
/external/llvm/lib/Target/NVPTX/
DNVPTXImageOptimizer.cpp57 for (Function::iterator BI = F.begin(), BE = F.end(); BI != BE; in runOnFunction() local
152 if (BranchInst *BI = dyn_cast<BranchInst>(*UI)) { in replaceWith() local
DNVPTXAllocaHoisting.cpp49 for (BasicBlock::iterator BI = I->begin(), BE = I->end(); BI != BE;) { in runOnFunction() local
/external/llvm/lib/Analysis/
DLoopInfo.cpp177 for (block_iterator BI = block_begin(), E = block_end(); BI != E; ++BI) { in isLCSSAForm() local
222 for (BasicBlock::iterator BI = (*I)->begin(), BE = (*I)->end(); BI != BE; ++BI) { in isSafeToClone() local
357 for (block_iterator BI = block_begin(), BE = block_end(); BI != BE; ++BI) { in getUniqueExitBlocks() local
506 for (Loop::block_iterator BI = Unloop->block_begin(), in removeBlocksFromAncestors() local
DBranchProbabilityInfo.cpp278 BranchInst * BI = dyn_cast<BranchInst>(BB->getTerminator()); in calcPointerHeuristics() local
368 BranchInst * BI = dyn_cast<BranchInst>(BB->getTerminator()); in calcZeroHeuristics() local
450 BranchInst *BI = dyn_cast<BranchInst>(BB->getTerminator()); in calcFloatingPointHeuristics() local
539 for (Function::const_iterator BI = LastF->begin(), BE = LastF->end(); in print() local
DLoads.cpp49 if (const Instruction *BI = dyn_cast<Instruction>(B)) in AreEquivalentAddressValues() local
/external/llvm/lib/Target/R600/
DSIMachineFunctionInfo.cpp60 for (MachineFunction::iterator BI = MF->begin(), BE = MF->end(); in getSpilledReg() local
DSILowerI1Copies.cpp79 for (MachineFunction::iterator BI = MF.begin(), BE = MF.end(); in runOnMachineFunction() local
DSIFixSGPRLiveRanges.cpp135 for (MachineFunction::iterator BI = MF.begin(), BE = MF.end(); in runOnMachineFunction() local
DSIPrepareScratchRegs.cpp115 for (MachineFunction::iterator BI = MF.begin(), BE = MF.end(); in runOnMachineFunction() local
/external/llvm/unittests/IR/
DVerifierTest.cpp37 BranchInst *BI = BranchInst::Create(Exit, Exit, False, Entry); in TEST() local
/external/llvm/lib/CodeGen/
DSplitKit.cpp181 BlockInfo BI; in calcLiveBlockInfo() local
1110 bool SplitAnalysis::shouldSplitSingleBlock(const BlockInfo &BI, in shouldSplitSingleBlock()
1128 void SplitEditor::splitSingleBlock(const SplitAnalysis::BlockInfo &BI) { in splitSingleBlock()
1259 void SplitEditor::splitRegInBlock(const SplitAnalysis::BlockInfo &BI, in splitRegInBlock()
1351 void SplitEditor::splitRegOutBlock(const SplitAnalysis::BlockInfo &BI, in splitRegOutBlock()

123456