/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | InterferenceCache.cpp | 160 BlockInterference *BI = &Blocks[MBBNum]; in update() local 164 BI->Tag = Tag; in update() 165 BI->First = BI->Last = SlotIndex(); in update() 175 if (!BI->First.isValid() || StartI < BI->First) in update() 176 BI->First = StartI; in update() 188 if (!BI->First.isValid() || StartI < BI->First) in update() 189 BI->First = StartI; in update() 195 SlotIndex Limit = BI->First.isValid() ? BI->First : Stop; in update() 200 BI->First = RegMaskSlots[i]; in update() 205 if (BI->First.isValid()) in update() [all …]
|
D | SplitKit.cpp | 228 BlockInfo BI; in calcLiveBlockInfo() local 229 BI.MBB = &*MFI; in calcLiveBlockInfo() 231 std::tie(Start, Stop) = LIS.getSlotIndexes()->getMBBRange(BI.MBB); in calcLiveBlockInfo() 238 ThroughBlocks.set(BI.MBB->getNumber()); in calcLiveBlockInfo() 245 BI.FirstInstr = *UseI; in calcLiveBlockInfo() 246 assert(BI.FirstInstr >= Start); in calcLiveBlockInfo() 249 BI.LastInstr = UseI[-1]; in calcLiveBlockInfo() 250 assert(BI.LastInstr < Stop); in calcLiveBlockInfo() 253 BI.LiveIn = LVI->start <= Start; in calcLiveBlockInfo() 256 if (!BI.LiveIn) { in calcLiveBlockInfo() [all …]
|
D | RegAllocGreedy.cpp | 1194 const SplitAnalysis::BlockInfo &BI = UseBlocks[i]; in addSplitConstraints() local 1197 BC.Number = BI.MBB->getNumber(); in addSplitConstraints() 1199 BC.Entry = BI.LiveIn ? SpillPlacement::PrefReg : SpillPlacement::DontCare; in addSplitConstraints() 1200 BC.Exit = (BI.LiveOut && in addSplitConstraints() 1201 !LIS->getInstructionFromIndex(BI.LastInstr)->isImplicitDef()) in addSplitConstraints() 1204 BC.ChangesValue = BI.FirstDef.isValid(); in addSplitConstraints() 1213 if (BI.LiveIn) { in addSplitConstraints() 1217 } else if (Intf.first() < BI.FirstInstr) { in addSplitConstraints() 1220 } else if (Intf.first() < BI.LastInstr) { in addSplitConstraints() 1227 SlotIndex::isEarlierInstr(BI.FirstInstr, in addSplitConstraints() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LowerExpectIntrinsic.cpp | 171 BranchInst *BI = dyn_cast<BranchInst>(BB->getTerminator()); in handlePhiDef() local 172 if (BI && BI->isConditional()) in handlePhiDef() 173 return BI; in handlePhiDef() 177 BI = dyn_cast<BranchInst>(BB->getTerminator()); in handlePhiDef() 178 if (!BI || BI->isUnconditional()) in handlePhiDef() 180 return BI; in handlePhiDef() 199 BranchInst *BI = GetDomConditional(i); in handlePhiDef() local 200 if (!BI) in handlePhiDef() 219 if (OpndIncomingBB == BI->getParent() && Succ == PhiDef->getParent()) in handlePhiDef() 227 if (IsOpndComingFromSuccessor(BI->getSuccessor(1))) in handlePhiDef() [all …]
|
D | LowerConstantIntrinsics.cpp | 57 BranchInst *BI = dyn_cast<BranchInst>(I); in replaceConditionalBranchesOnConstant() local 58 if (!BI) in replaceConditionalBranchesOnConstant() 60 if (BI->isUnconditional()) in replaceConditionalBranchesOnConstant() 64 if (match(BI->getOperand(0), m_Zero())) { in replaceConditionalBranchesOnConstant() 65 Target = BI->getSuccessor(1); in replaceConditionalBranchesOnConstant() 66 Other = BI->getSuccessor(0); in replaceConditionalBranchesOnConstant() 67 } else if (match(BI->getOperand(0), m_One())) { in replaceConditionalBranchesOnConstant() 68 Target = BI->getSuccessor(0); in replaceConditionalBranchesOnConstant() 69 Other = BI->getSuccessor(1); in replaceConditionalBranchesOnConstant() 75 BasicBlock *Source = BI->getParent(); in replaceConditionalBranchesOnConstant() [all …]
|
D | SimpleLoopUnswitch.cpp | 365 static bool unswitchTrivialBranch(Loop &L, BranchInst &BI, DominatorTree &DT, in unswitchTrivialBranch() argument 368 assert(BI.isConditional() && "Can only unswitch a conditional branch!"); in unswitchTrivialBranch() 369 LLVM_DEBUG(dbgs() << " Trying to unswitch branch: " << BI << "\n"); in unswitchTrivialBranch() 378 if (L.isLoopInvariant(BI.getCondition())) { in unswitchTrivialBranch() 379 Invariants.push_back(BI.getCondition()); in unswitchTrivialBranch() 382 if (auto *CondInst = dyn_cast<Instruction>(BI.getCondition())) in unswitchTrivialBranch() 392 auto *LoopExitBB = BI.getSuccessor(0); in unswitchTrivialBranch() 396 LoopExitBB = BI.getSuccessor(1); in unswitchTrivialBranch() 400 auto *ContinueBB = BI.getSuccessor(1 - LoopExitSuccIdx); in unswitchTrivialBranch() 401 auto *ParentBB = BI.getParent(); in unswitchTrivialBranch() [all …]
|
D | JumpThreading.cpp | 420 auto *BI = dyn_cast<BranchInst>(BB.getTerminator()); in runImpl() local 421 if (BI && BI->isUnconditional() && in runImpl() 426 !LoopHeaders.count(&BB) && !LoopHeaders.count(BI->getSuccessor(0)) && in runImpl() 1022 if (BranchInst *BI = dyn_cast<BranchInst>(Terminator)) { in ProcessBlock() local 1024 if (BI->isUnconditional()) return false; in ProcessBlock() 1025 Condition = BI->getCondition(); in ProcessBlock() 1202 auto *BI = dyn_cast<BranchInst>(BB->getTerminator()); in ProcessImpliedCondition() local 1203 if (!BI || !BI->isConditional()) in ProcessImpliedCondition() 1206 Value *Cond = BI->getCondition(); in ProcessImpliedCondition() 1224 BasicBlock *KeepSucc = BI->getSuccessor(*Implication ? 0 : 1); in ProcessImpliedCondition() [all …]
|
D | LoopPredication.cpp | 817 BranchInst *BI, SCEVExpander &Expander) { in widenWidenableBranchGuardConditions() argument 818 assert(isGuardAsWidenableBranch(BI) && "Must be!"); in widenWidenableBranchGuardConditions() 820 LLVM_DEBUG(BI->dump()); in widenWidenableBranchGuardConditions() 824 unsigned NumWidened = collectChecks(Checks, BI->getCondition(), in widenWidenableBranchGuardConditions() 825 Expander, BI); in widenWidenableBranchGuardConditions() 832 IRBuilder<> Builder(findInsertPt(BI, Checks)); in widenWidenableBranchGuardConditions() 834 auto *OldCond = BI->getCondition(); in widenWidenableBranchGuardConditions() 835 BI->setCondition(AllChecks); in widenWidenableBranchGuardConditions() 837 assert(isGuardAsWidenableBranch(BI) && in widenWidenableBranchGuardConditions() 853 auto *BI = dyn_cast<BranchInst>(LoopLatch->getTerminator()); in parseLoopLatchICmp() local [all …]
|
D | LoopUnswitch.cpp | 729 if (BranchInst *BI = dyn_cast<BranchInst>(TI)) { in processCurrentLoop() local 738 if (BI->isConditional()) { in processCurrentLoop() 741 Value *LoopCond = FindLIVLoopCondition(BI->getCondition(), currentLoop, in processCurrentLoop() 959 BranchInst *BI = in EmitPreheaderBranchOnCondition() local 962 BI->swapProfMetadata(); in EmitPreheaderBranchOnCondition() 991 SplitCriticalEdge(BI, 0, Options); in EmitPreheaderBranchOnCondition() 992 SplitCriticalEdge(BI, 1, Options); in EmitPreheaderBranchOnCondition() 1094 if (BranchInst *BI = dyn_cast<BranchInst>(CurrentTerm)) { in TryTrivialLoopUnswitch() local 1095 if (BI->isUnconditional()) { in TryTrivialLoopUnswitch() 1096 CurrentBB = BI->getSuccessor(0); in TryTrivialLoopUnswitch() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | InstIterator.h | 39 BI_t BI; // BasicBlock::iterator variable 54 : BBs(II.BBs), BB(II.BB), BI(II.BI) {} in InstIterator() 58 : BBs(II.BBs), BB(II.BB), BI(II.BI) {} in InstIterator() 63 BI = BB->begin(); in InstIterator() 74 inline BIty &getInstructionIterator() { return BI; } in getInstructionIterator() 76 inline reference operator*() const { return *BI; } 80 return BB == y.BB && (BB == BBs->end() || BI == y.BI); 87 ++BI; 96 while (BB == BBs->end() || BI == BB->begin()) { 98 BI = BB->end(); [all …]
|
/third_party/iptables/extensions/ |
D | libxt_addrtype.man | 8 .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 …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
D | NVPTXImageOptimizer.cpp | 60 for (Function::iterator BI = F.begin(), BE = F.end(); BI != BE; in runOnFunction() local 61 ++BI) { in runOnFunction() 62 for (BasicBlock::iterator I = (*BI).begin(), E = (*BI).end(); in runOnFunction() 153 if (BranchInst *BI = dyn_cast<BranchInst>(*UI)) { in replaceWith() local 154 if (BI->isUnconditional()) continue; in replaceWith() 158 Dest = BI->getSuccessor(1); in replaceWith() 161 Dest = BI->getSuccessor(0); in replaceWith() 162 BranchInst::Create(Dest, BI); in replaceWith() 163 InstrToDelete.push_back(BI); in replaceWith()
|
D | NVPTXLowerAggrCopies.cpp | 69 for (Function::iterator BI = F.begin(), BE = F.end(); BI != BE; ++BI) { in runOnFunction() local 70 for (BasicBlock::iterator II = BI->begin(), IE = BI->end(); II != IE; in runOnFunction()
|
D | NVPTXLowerAlloca.cpp | 107 auto BI = dyn_cast<BitCastInst>(AllocaUse.getUser()); in runOnFunction() local 108 if (BI && BI->getOperand(0) == allocaInst) { in runOnFunction() 109 BI->setOperand(0, NewASCToGeneric); in runOnFunction()
|
D | NVPTXReplaceImageHandles.cpp | 59 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()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 203 bool SimplifyUncondBranch(BranchInst *BI, IRBuilder<> &Builder); 204 bool SimplifyCondBranch(BranchInst *BI, IRBuilder<> &Builder); 371 BranchInst *BI = dyn_cast<BranchInst>(PBB->getTerminator()); in DominatesMergePoint() local 372 if (!BI || BI->isConditional() || BI->getSuccessor(0) != BB) in DominatesMergePoint() 686 } else if (BranchInst *BI = dyn_cast<BranchInst>(TI)) { in EraseTerminatorAndDCECond() local 687 if (BI->isConditional()) in EraseTerminatorAndDCECond() 688 Cond = dyn_cast<Instruction>(BI->getCondition()); in EraseTerminatorAndDCECond() 707 } else if (BranchInst *BI = dyn_cast<BranchInst>(TI)) in isValueEqualityComparison() local 708 if (BI->isConditional() && BI->getCondition()->hasOneUse()) in isValueEqualityComparison() 709 if (ICmpInst *ICI = dyn_cast<ICmpInst>(BI->getCondition())) { in isValueEqualityComparison() [all …]
|
D | FlattenCFG.cpp | 190 for (BasicBlock::iterator BI = Pred->begin(), BE = PBI->getIterator(); in FlattenParallelAndOr() local 191 BI != BE;) { in FlattenParallelAndOr() 192 Instruction *CI = &*BI++; in FlattenParallelAndOr() 254 auto *BI = cast<BranchInst>(CurrBlock->getTerminator()); in FlattenParallelAndOr() local 255 auto *CI = dyn_cast<CmpInst>(BI->getCondition()); in FlattenParallelAndOr() 263 BI->swapSuccessors(); in FlattenParallelAndOr() 369 for (BasicBlock::iterator BI(PBI2), BE(PTI2); BI != BE; ++BI) { in CompareIfRegionBlock() local 370 if (BI->mayReadFromMemory() || BI->mayWriteToMemory()) { in CompareIfRegionBlock() 372 if (!AA || AA->alias(&*iter1, &*BI)) in CompareIfRegionBlock() 436 for (BasicBlock::iterator BI(PBI2), BE(PTI2); BI != BE; ++BI) { in MergeIfRegion() local [all …]
|
D | CloneFunction.cpp | 164 for (Function::const_iterator BI = OldFunc->begin(), BE = OldFunc->end(); in CloneFunctionInto() local 165 BI != BE; ++BI) { in CloneFunctionInto() 166 const BasicBlock &BB = *BI; in CloneFunctionInto() 385 if (const BranchInst *BI = dyn_cast<BranchInst>(OldTI)) { in CloneBlock() local 386 if (BI->isConditional()) { in CloneBlock() 388 ConstantInt *Cond = dyn_cast<ConstantInt>(BI->getCondition()); in CloneBlock() 391 Value *V = VMap.lookup(BI->getCondition()); in CloneBlock() 397 BasicBlock *Dest = BI->getSuccessor(!Cond->getZExtValue()); in CloneBlock() 493 for (const BasicBlock &BI : *OldFunc) { in CloneAndPruneIntoFromInst() 494 Value *V = VMap.lookup(&BI); in CloneAndPruneIntoFromInst() [all …]
|
D | BasicBlockUtils.cpp | 436 BasicBlock::iterator &BI, Value *V) { in ReplaceInstWithValue() argument 437 Instruction &I = *BI; in ReplaceInstWithValue() 446 BI = BIL.erase(BI); in ReplaceInstWithValue() 450 BasicBlock::iterator &BI, Instruction *I) { in ReplaceInstWithInst() argument 457 I->setDebugLoc(BI->getDebugLoc()); in ReplaceInstWithInst() 460 BasicBlock::iterator New = BIL.insert(BI, I); in ReplaceInstWithInst() 463 ReplaceInstWithValue(BIL, BI, I); in ReplaceInstWithInst() 466 BI = New; in ReplaceInstWithInst() 470 BasicBlock::iterator BI(From); in ReplaceInstWithInst() local 471 ReplaceInstWithInst(From->getParent()->getInstList(), BI, To); in ReplaceInstWithInst() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | GuardUtils.cpp | 63 auto *BI = dyn_cast<BranchInst>(U); in parseWidenableBranch() local 64 if (!BI || !BI->isConditional()) in parseWidenableBranch() 66 auto *Cond = BI->getCondition(); in parseWidenableBranch() 70 IfTrueBB = BI->getSuccessor(0); in parseWidenableBranch() 71 IfFalseBB = BI->getSuccessor(1); in parseWidenableBranch() 74 WC = &BI->getOperandUse(0); in parseWidenableBranch()
|
D | BranchProbabilityInfo.cpp | 424 const BranchInst *BI = dyn_cast<BranchInst>(BB->getTerminator()); in calcPointerHeuristics() local 425 if (!BI || !BI->isConditional()) in calcPointerHeuristics() 428 Value *Cond = BI->getCondition(); in calcPointerHeuristics() 515 const BranchInst *BI = dyn_cast<BranchInst>(BB->getTerminator()); in computeUnlikelySuccessors() local 516 if (!BI || !BI->isConditional()) in computeUnlikelySuccessors() 520 CmpInst *CI = dyn_cast<CmpInst>(BI->getCondition()); in computeUnlikelySuccessors() 588 ((Result->isZeroValue() && B == BI->getSuccessor(0)) || in computeUnlikelySuccessors() 589 (Result->isOneValue() && B == BI->getSuccessor(1)))) in computeUnlikelySuccessors() 684 const BranchInst *BI = dyn_cast<BranchInst>(BB->getTerminator()); in calcZeroHeuristics() local 685 if (!BI || !BI->isConditional()) in calcZeroHeuristics() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCCTRLoops.cpp | 130 MachineBasicBlock::iterator BI = I; in verifyCTRBranch() local 154 if (I != BI && clobbersCTR(*I)) { in verifyCTRBranch() 158 << printMBBReference(*BI->getParent()) << " (" in verifyCTRBranch() 159 << BI->getParent()->getFullName() << ") instruction " in verifyCTRBranch() 160 << *BI << "\n"); in verifyCTRBranch() 175 << printMBBReference(*BI->getParent()) << " (" in verifyCTRBranch() 176 << BI->getParent()->getFullName() << ") instruction " in verifyCTRBranch() 177 << *BI << "\n"); in verifyCTRBranch()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | MergeFunctions.cpp | 557 for (BasicBlock::iterator BI = GEntryBlock->begin(), BIE = GEntryBlock->end(); in filterInstsUnrelatedToPDI() local 558 BI != BIE; ++BI) { in filterInstsUnrelatedToPDI() 559 if (auto *DVI = dyn_cast<DbgValueInst>(&*BI)) { in filterInstsUnrelatedToPDI() 561 LLVM_DEBUG(BI->print(dbgs())); in filterInstsUnrelatedToPDI() 566 LLVM_DEBUG(BI->print(dbgs())); in filterInstsUnrelatedToPDI() 568 PDIRelated.insert(&*BI); in filterInstsUnrelatedToPDI() 571 LLVM_DEBUG(BI->print(dbgs())); in filterInstsUnrelatedToPDI() 574 } else if (auto *DDI = dyn_cast<DbgDeclareInst>(&*BI)) { in filterInstsUnrelatedToPDI() 576 LLVM_DEBUG(BI->print(dbgs())); in filterInstsUnrelatedToPDI() 599 LLVM_DEBUG(BI->print(dbgs())); in filterInstsUnrelatedToPDI() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | SIWholeQuadMode.cpp | 324 for (auto BI = RPOT.begin(), BE = RPOT.end(); BI != BE; ++BI) { in scanInstructions() local 325 MachineBasicBlock &MBB = **BI; in scanInstructions() 432 BlockInfo &BI = Blocks[MBB]; in propagateInstruction() local 444 BI.Needs |= StateWQM; in propagateInstruction() 445 if (!(BI.InNeeds & StateWQM)) { in propagateInstruction() 446 BI.InNeeds |= StateWQM; in propagateInstruction() 472 BI.Needs |= StateWWM; in propagateInstruction() 477 BlockInfo BI = Blocks[&MBB]; // Make a copy to prevent dangling references. in propagateBlock() local 483 if ((LastII.OutNeeds | BI.OutNeeds) != LastII.OutNeeds) { in propagateBlock() 484 LastII.OutNeeds |= BI.OutNeeds; in propagateBlock() [all …]
|
D | R600Packetizer.cpp | 74 MachineBasicBlock::instr_iterator BI = I.getInstrIterator(); in getPreviousVector() local 76 BI++; in getPreviousVector() 80 int BISlot = getSlot(*BI); in getPreviousVector() 84 if (TII->isPredicated(*BI)) in getPreviousVector() 86 int OperandIdx = TII->getOperandIdx(BI->getOpcode(), R600::OpName::write); in getPreviousVector() 87 if (OperandIdx > -1 && BI->getOperand(OperandIdx).getImm() == 0) in getPreviousVector() 89 int DstIdx = TII->getOperandIdx(BI->getOpcode(), R600::OpName::dst); in getPreviousVector() 93 Register Dst = BI->getOperand(DstIdx).getReg(); in getPreviousVector() 94 if (isTrans || TII->isTransOnly(*BI)) { in getPreviousVector() 98 if (BI->getOpcode() == R600::DOT4_r600 || in getPreviousVector() [all …]
|