Home
last modified time | relevance | path

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

123456

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLowerExpectIntrinsic.cpp171 BranchInst *BI = dyn_cast<BranchInst>(BB->getTerminator()); in handlePhiDef() local
199 BranchInst *BI = GetDomConditional(i); in handlePhiDef() local
315 static bool handleBranchExpect(BranchInst &BI) { in handleBranchExpect()
327 if (BranchInst *BI = dyn_cast<BranchInst>(BB.getTerminator())) { in lowerExpectIntrinsic() local
338 for (auto BI = BB.rbegin(), BE = BB.rend(); BI != BE;) { in lowerExpectIntrinsic() local
DJumpThreading.cpp420 auto *BI = dyn_cast<BranchInst>(BB.getTerminator()); in runImpl() local
1022 if (BranchInst *BI = dyn_cast<BranchInst>(Terminator)) { in ProcessBlock() local
1202 auto *BI = dyn_cast<BranchInst>(BB->getTerminator()); in ProcessImpliedCondition() local
1595 else if (BranchInst *BI = dyn_cast<BranchInst>(BB->getTerminator())) { in ProcessThreadableEdges() local
1980 JumpThreadingPass::CloneInstructions(BasicBlock::iterator BI, in CloneInstructions()
2361 BasicBlock::iterator BI = BB->begin(); in DuplicateCondBranchOnPHIIntoPred() local
2458 for (BasicBlock::iterator BI = BB->begin(); in UnfoldSelectInstr() local
2573 for (BasicBlock::iterator BI = BB->begin(); in TryToUnfoldSelectInCurrBB() local
2680 if (auto *BI = dyn_cast<BranchInst>(Parent->getTerminator())) in ProcessGuards() local
2692 BranchInst *BI) { in ThreadGuard()
[all …]
DIndVarSimplify.cpp779 if (auto *BI = dyn_cast<BranchInst>(TermInst)) { in rewriteFirstIterationLoopExitValues() local
838 BasicBlock::iterator BI = ExitBlock->begin(); in canLoopBeDeleted() local
1879 auto *BI = dyn_cast<BranchInst>(TI); in calculatePostIncRange() local
2060 BranchInst *BI = cast<BranchInst>(ExitingBB->getTerminator()); in isLoopExitTestBasedOn() local
2079 BranchInst *BI = cast<BranchInst>(ExitingBB->getTerminator()); in needsLFTR() local
2368 BranchInst *BI = cast<BranchInst>(ExitingBB->getTerminator()); in genLoopLimit() local
2412 BranchInst *BI = cast<BranchInst>(ExitingBB->getTerminator()); in genLoopLimit() local
2480 BranchInst *BI = cast<BranchInst>(ExitingBB->getTerminator()); in linearFunctionTestReplace() local
2697 BranchInst *BI = dyn_cast<BranchInst>(ExitingBB->getTerminator()); in optimizeLoopExits() local
2739 BranchInst *BI = cast<BranchInst>(ExitingBB->getTerminator()); in optimizeLoopExits() local
[all …]
DLowerConstantIntrinsics.cpp57 BranchInst *BI = dyn_cast<BranchInst>(I); in replaceConditionalBranchesOnConstant() local
DSCCP.cpp670 if (auto *BI = dyn_cast<BranchInst>(&TI)) { in getFeasibleSuccessors() local
1673 if (auto *BI = dyn_cast<BranchInst>(TI)) { in ResolvedUndefsIn() local
1843 for (BasicBlock::iterator BI = BB.begin(), E = BB.end(); BI != E;) { in runSCCP() local
1981 } else if (BranchInst *BI = dyn_cast<BranchInst>(I)) { in forceIndeterminateEdge() local
2095 for (BasicBlock::iterator BI = BB->begin(), E = BB->end(); BI != E; ) { in runIPSCCP() local
2153 BranchInst *BI = cast<BranchInst>(InstBB->getTerminator()); in runIPSCCP() local
2165 for (BasicBlock::iterator BI = BB.begin(), E = BB.end(); BI != E;) { in runIPSCCP() local
DLoopUnswitch.cpp729 if (BranchInst *BI = dyn_cast<BranchInst>(TI)) { in processCurrentLoop() local
959 BranchInst *BI = in EmitPreheaderBranchOnCondition() local
1094 if (BranchInst *BI = dyn_cast<BranchInst>(CurrentTerm)) { in TryTrivialLoopUnswitch() local
1126 if (BranchInst *BI = dyn_cast<BranchInst>(CurrentTerm)) { in TryTrivialLoopUnswitch() local
1615 if (BranchInst *BI = dyn_cast<BranchInst>(I)) { in SimplifyCode() local
DLoopPredication.cpp817 BranchInst *BI, SCEVExpander &Expander) { in widenWidenableBranchGuardConditions()
853 auto *BI = dyn_cast<BranchInst>(LoopLatch->getTerminator()); in parseLoopLatchICmp() local
1090 auto *BI = dyn_cast<BranchInst>(ExitingBB->getTerminator()); in predicateLoopExits() local
1137 auto *BI = dyn_cast<BranchInst>(ExitingBB->getTerminator()); in predicateLoopExits() local
DTailRecursionElimination.cpp576 BranchInst *BI = BranchInst::Create(OldEntry, NewEntry); in eliminateRecursiveTailCall() local
706 if (BranchInst *BI = dyn_cast<BranchInst>(PTI)) in foldReturnAndProcessPred() local
712 BranchInst *BI = UncondBranchPreds.pop_back_val(); in foldReturnAndProcessPred() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DFlattenCFG.cpp190 for (BasicBlock::iterator BI = Pred->begin(), BE = PBI->getIterator(); in FlattenParallelAndOr() local
254 auto *BI = cast<BranchInst>(CurrBlock->getTerminator()); in FlattenParallelAndOr() local
369 for (BasicBlock::iterator BI(PBI2), BE(PTI2); BI != BE; ++BI) { in CompareIfRegionBlock() local
436 for (BasicBlock::iterator BI(PBI2), BE(PTI2); BI != BE; ++BI) { in MergeIfRegion() local
DBasicBlockUtils.cpp436 BasicBlock::iterator &BI, Value *V) { in ReplaceInstWithValue()
450 BasicBlock::iterator &BI, Instruction *I) { in ReplaceInstWithInst()
470 BasicBlock::iterator BI(From); in ReplaceInstWithInst() local
644 ArrayRef<BasicBlock *> Preds, BranchInst *BI, in UpdatePHINodes()
734 BranchInst *BI = BranchInst::Create(BB, NewBB); in SplitBlockPredecessors() local
1075 BranchInst *BI = dyn_cast<BranchInst>(CommonPred->getTerminator()); in GetIfCondition() local
DLoopRotationUtils.cpp219 BranchInst *BI = dyn_cast<BranchInst>(OrigHeader->getTerminator()); in rotateLoop() local
396 for (BasicBlock::iterator BI = SuccBB->begin(); in rotateLoop() local
617 BranchInst *BI = dyn_cast<BranchInst>(LastExit->getTerminator()); in simplifyLoopLatch() local
DSimplifyCFG.cpp371 BranchInst *BI = dyn_cast<BranchInst>(PBB->getTerminator()); in DominatesMergePoint() local
686 } else if (BranchInst *BI = dyn_cast<BranchInst>(TI)) { in EraseTerminatorAndDCECond() local
707 } else if (BranchInst *BI = dyn_cast<BranchInst>(TI)) in isValueEqualityComparison() local
737 BranchInst *BI = cast<BranchInst>(TI); in GetValueEqualityComparisonCases() local
981 if (BranchInst *BI = dyn_cast<BranchInst>(TI)) { in GetBranchWeights() local
1238 static bool HoistThenElseCodeToIf(BranchInst *BI, in HoistThenElseCodeToIf()
1963 static bool SpeculativelyExecuteBB(BranchInst *BI, BasicBlock *ThenBB, in SpeculativelyExecuteBB()
2181 static bool FoldCondBranchOnPHI(BranchInst *BI, const DataLayout &DL, in FoldCondBranchOnPHI()
2457 static bool SimplifyCondBranchToTwoReturns(BranchInst *BI, in SimplifyCondBranchToTwoReturns()
2562 static bool extractPredSuccWeights(BranchInst *PBI, BranchInst *BI, in extractPredSuccWeights()
[all …]
DCloneFunction.cpp164 for (Function::const_iterator BI = OldFunc->begin(), BE = OldFunc->end(); in CloneFunctionInto() local
385 if (const BranchInst *BI = dyn_cast<BranchInst>(OldTI)) { in CloneBlock() local
680 BranchInst *BI = dyn_cast<BranchInst>(I->getTerminator()); in CloneAndPruneIntoFromInst() local
844 BasicBlock::iterator BI = BB->begin(); in DuplicateInstructionsInSplitBetween() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXImageOptimizer.cpp60 for (Function::iterator BI = F.begin(), BE = F.end(); BI != BE; in runOnFunction() local
153 if (BranchInst *BI = dyn_cast<BranchInst>(*UI)) { in replaceWith() local
DNVPTXAllocaHoisting.cpp46 for (BasicBlock::iterator BI = I->begin(), BE = I->end(); BI != BE;) { in runOnFunction() local
DNVPTXLowerAlloca.cpp107 auto BI = dyn_cast<BitCastInst>(AllocaUse.getUser()); in runOnFunction() local
DNVPTXLowerAggrCopies.cpp69 for (Function::iterator BI = F.begin(), BE = F.end(); BI != BE; ++BI) { in runOnFunction() local
DNVPTXReplaceImageHandles.cpp59 for (MachineFunction::iterator BI = MF.begin(), BE = MF.end(); BI != BE; in runOnMachineFunction() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIWholeQuadMode.cpp324 for (auto BI = RPOT.begin(), BE = RPOT.end(); BI != BE; ++BI) { in scanInstructions() local
432 BlockInfo &BI = Blocks[MBB]; in propagateInstruction() local
477 BlockInfo BI = Blocks[&MBB]; // Make a copy to prevent dangling references. in propagateBlock() local
698 const BlockInfo &BI = BII->second; in processBlock() local
DSIAddIMGInit.cpp69 for (MachineFunction::iterator BI = MF.begin(), BE = MF.end(); BI != BE; in runOnMachineFunction() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DGuardUtils.cpp63 auto *BI = dyn_cast<BranchInst>(U); in parseWidenableBranch() local
DBranchProbabilityInfo.cpp424 const BranchInst *BI = dyn_cast<BranchInst>(BB->getTerminator()); in calcPointerHeuristics() local
515 const BranchInst *BI = dyn_cast<BranchInst>(BB->getTerminator()); in computeUnlikelySuccessors() local
684 const BranchInst *BI = dyn_cast<BranchInst>(BB->getTerminator()); in calcZeroHeuristics() local
802 const BranchInst *BI = dyn_cast<BranchInst>(BB->getTerminator()); in calcFloatingPointHeuristics() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCCTRLoops.cpp130 MachineBasicBlock::iterator BI = I; in verifyCTRBranch() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DControlHeightReduction.cpp665 static bool checkBiasedBranch(BranchInst *BI, Region *R, in checkBiasedBranch()
781 auto *BI = dyn_cast<BranchInst>(Entry->getTerminator()); in findScope() local
1049 auto *BI = cast<BranchInst>(RI.R->getEntry()->getTerminator()); in getCHRConditionValuesForRegion() local
1412 auto *BI = cast<BranchInst>(R->getEntry()->getTerminator()); in setCHRRegions() local
1512 auto *BI = cast<BranchInst>(R->getEntry()->getTerminator()); in hoistScopeConditions() local
1544 if (auto *BI = dyn_cast<BranchInst>(U)) { in negateICmpIfUsedByBranchOrSelectOnly() local
1674 auto *BI = cast<BranchInst>(R->getEntry()->getTerminator()); in assertBranchOrSelectConditionHoisted() local
1895 auto *BI = cast<BranchInst>(R->getEntry()->getTerminator()); in fixupBranch() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DBasicBlock.cpp166 if (auto *BI = dyn_cast<BitCastInst>(Prev)) { in getTerminatingMustTailCall() local
429 BranchInst *BI = BranchInst::Create(New, this); in splitBasicBlock() local

123456