/external/llvm/lib/Transforms/Scalar/ |
D | LowerExpectIntrinsic.cpp | 74 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
|
D | LoopDeletion.cpp | 91 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
|
D | SampleProfile.cpp | 391 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
|
D | LoopRotation.cpp | 289 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
|
D | MergedLoadStoreMotion.cpp | 198 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
|
D | JumpThreading.cpp | 199 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
|
D | SCCP.cpp | 521 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/ |
D | CodeEmitterGen.cpp | 49 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/ |
D | FlattenCFG.cpp | 180 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
|
D | BasicBlockUtils.cpp | 137 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
|
D | SimplifyCFG.cpp | 271 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 …]
|
D | SimplifyInstructions.cpp | 66 for (BasicBlock::iterator BI = BB->begin(), BE = BB->end(); BI != BE;) { in runOnFunction() local
|
D | CloneFunction.cpp | 119 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/ |
D | LoopInfoImpl.h | 37 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/ |
D | NVPTXImageOptimizer.cpp | 57 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
|
D | NVPTXAllocaHoisting.cpp | 49 for (BasicBlock::iterator BI = I->begin(), BE = I->end(); BI != BE;) { in runOnFunction() local
|
/external/llvm/lib/Analysis/ |
D | LoopInfo.cpp | 177 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
|
D | BranchProbabilityInfo.cpp | 278 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
|
D | Loads.cpp | 49 if (const Instruction *BI = dyn_cast<Instruction>(B)) in AreEquivalentAddressValues() local
|
/external/llvm/lib/Target/R600/ |
D | SIMachineFunctionInfo.cpp | 60 for (MachineFunction::iterator BI = MF->begin(), BE = MF->end(); in getSpilledReg() local
|
D | SILowerI1Copies.cpp | 79 for (MachineFunction::iterator BI = MF.begin(), BE = MF.end(); in runOnMachineFunction() local
|
D | SIFixSGPRLiveRanges.cpp | 135 for (MachineFunction::iterator BI = MF.begin(), BE = MF.end(); in runOnMachineFunction() local
|
D | SIPrepareScratchRegs.cpp | 115 for (MachineFunction::iterator BI = MF.begin(), BE = MF.end(); in runOnMachineFunction() local
|
/external/llvm/unittests/IR/ |
D | VerifierTest.cpp | 37 BranchInst *BI = BranchInst::Create(Exit, Exit, False, Entry); in TEST() local
|
/external/llvm/lib/CodeGen/ |
D | SplitKit.cpp | 181 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()
|