/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | BasicBlock.cpp | 520 const_succ_iterator SI = succ_begin(this), E = succ_end(this); in getSingleSuccessor() local 521 if (SI == E) return nullptr; // no successors in getSingleSuccessor() 522 const BasicBlock *TheSucc = *SI; in getSingleSuccessor() 523 ++SI; in getSingleSuccessor() 524 return (SI == E) ? TheSucc : nullptr /* multiple successors */; in getSingleSuccessor() 528 const_succ_iterator SI = succ_begin(this), E = succ_end(this); in getUniqueSuccessor() local 529 if (SI == E) return nullptr; // No successors in getUniqueSuccessor() 530 const BasicBlock *SuccBB = *SI; in getUniqueSuccessor() 531 ++SI; in getUniqueSuccessor() 532 for (;SI != E; ++SI) { in getUniqueSuccessor() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | MIRSampleProfile.cpp | 239 for (MachineBasicBlock::succ_iterator SI = BB->succ_begin(), in setBranchProbs() local 241 SI != SE; ++SI) { in setBranchProbs() 242 MachineBasicBlock *Succ = *SI; in setBranchProbs() 250 BranchProbability OldProb = BFI->getMBPI()->getEdgeProbability(BB, SI); in setBranchProbs() 254 BB->setSuccProbability(SI, NewProb); in setBranchProbs()
|
H A D | CodeGenPrepare.cpp | 1906 SI->swapValues(); in foldICmpWithDominatingICmp() 1907 SI->swapProfMetadata(); in foldICmpWithDominatingICmp() 3660 void insertNewSelect(SelectInst *SI) { AllSelectNodes.insert(SI); } in insertNewSelect() argument 7008 ASI.push_back(SI); in optimizeSelectInst() 7094 IRBuilder<> IB(SI); in optimizeSelectInst() 7095 auto *CondFr = IB.CreateFreeze(SI->getCondition(), SI->getName() + ".frozen"); in optimizeSelectInst() 7171 PN->takeName(SI); in optimizeSelectInst() 7177 SI->eraseFromParent(); in optimizeSelectInst() 7178 INS.erase(SI); in optimizeSelectInst() 7874 if (SI.isVolatile()) in splitMergedValStore() [all …]
|
H A D | MachinePipeliner.cpp | 732 SUnit *SuccSU = SI.getSUnit(); in isSuccOrder() 1614 if (SI.getSUnit()->isBoundaryNode() || SI.isArtificial() || in createAdjacencyStructure() 1615 (SI.getKind() == SDep::Anti && !SI.getSUnit()->getInstr()->isPHI())) in createAdjacencyStructure() 1693 SUnit *W = *SI; in unblock() 1957 for (auto &SI : Cur->Succs) in computePath() local 2168 for (auto &SI : SU->Succs) { in addConnectedNodes() local 2680 std::swap(SI, DI); in isLoopCarriedDep() 2839 if (SI.getKind() == SDep::Order || SI.getKind() == SDep::Output) in latestCycleInChain() 2840 Worklist.push_back(SI); in latestCycleInChain() 3175 for (auto &SI : SU.Succs) in isValidSchedule() local [all …]
|
H A D | VLIWMachineScheduler.cpp | 666 for (const SDep &SI : SU->Succs) in SchedulingCost() local 667 if (isSingleUnscheduledPred(SI.getSUnit(), SU)) in SchedulingCost() 719 for (const SDep &SI : SU->Succs) { in SchedulingCost() local 720 if (!SI.getSUnit()->getInstr()->isPseudo() && SI.isAssignedRegDep() && in SchedulingCost() 721 SI.getLatency() == 0 && in SchedulingCost() 722 Bot.ResourceModel->isInPacket(SI.getSUnit())) { in SchedulingCost() 744 for (const auto &SI : SU->Succs) { in SchedulingCost() local 745 if (SI.getLatency() > 0 && in SchedulingCost() 746 Bot.ResourceModel->isInPacket(SI.getSUnit())) { in SchedulingCost()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopIdiomRecognize.cpp | 197 LegalStoreKind isLegalStore(StoreInst *SI); 404 if (SI->isVolatile()) in isLegalStore() 407 if (!SI->isUnordered()) in isLegalStore() 414 Value *StoredVal = SI->getValueOperand(); in isLegalStore() 415 Value *StorePtr = SI->getPointerOperand(); in isLegalStore() 451 bool UnorderedAtomic = SI->isUnordered() && !SI->isSimple(); in isLegalStore() 516 if (!SI) in collectStores() 520 switch (isLegalStore(SI)) { in collectStores() 536 StoreRefsForMemcpy.push_back(SI); in collectStores() 572 for (auto &SI : StoreRefsForMemcpy) in runOnLoopBlock() local [all …]
|
H A D | TailRecursionElimination.cpp | 717 SelectInst *SI = SelectInst::Create( in eliminateCall() local 719 RetSelects.push_back(SI); in eliminateCall() 721 RetPN->addIncoming(SI, BB); in eliminateCall() 790 SelectInst *SI = SelectInst::Create( in cleanupAndFinalize() local 792 RetSelects.push_back(SI); in cleanupAndFinalize() 793 RI->setOperand(0, SI); in cleanupAndFinalize() 800 for (SelectInst *SI : RetSelects) { in cleanupAndFinalize() 804 SI->getFalseValue()); in cleanupAndFinalize() 805 AccRecInstrNew->insertBefore(SI); in cleanupAndFinalize() 806 SI->setFalseValue(AccRecInstrNew); in cleanupAndFinalize()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | Local.cpp | 200 SI->getNumCases() > 0) { in ConstantFoldTerminator() 207 for (auto It = SI->case_begin(), End = SI->case_end(); It != End;) { in ConstantFoldTerminator() 238 It = SI->removeCase(It); in ConstantFoldTerminator() 239 End = SI->case_end(); in ConstantFoldTerminator() 245 It = SI->case_begin(); in ConstantFoldTerminator() 292 SI->eraseFromParent(); in ConstantFoldTerminator() 305 if (SI->getNumCases() == 1) { in ConstantFoldTerminator() 332 SI->eraseFromParent(); in ConstantFoldTerminator() 1690 Value *DV = SI->getValueOperand(); in ConvertDebugDeclareToDebugValue() 1760 Value *DV = SI->getValueOperand(); in ConvertDebugDeclareToDebugValue() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | LoopVectorizationLegality.cpp | 1077 for (StoreInst *SI : LAI->getStoresToInvariantAddresses()) { in canVectorizeMemory() 1078 if (!isInvariantStoreOfReduction(SI)) in canVectorizeMemory() 1081 if (blockNeedsPredication(SI->getParent())) { in canVectorizeMemory() 1115 if (isInvariantStoreOfReduction(SI)) { in canVectorizeMemory() 1126 erase_if(UnhandledStores, [SE, SI](StoreInst *I) { in canVectorizeMemory() 1127 return storeToSameAddress(SE, SI, I) && in canVectorizeMemory() 1129 SI->getValueOperand()->getType(); in canVectorizeMemory() 1133 UnhandledStores.push_back(SI); in canVectorizeMemory() 1182 return RdxDesc.IntermediateStore == SI; in isInvariantStoreOfReduction() 1287 if (auto *SI = dyn_cast<StoreInst>(&I)) { in blockCanBePredicated() local [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/powerpc/nintendo/ |
H A D | gamecube.txt | 88 1.f) The Serial Interface (SI) node 91 The SI is a proprietary serial interface used normally to control gamepads. 97 - reg : should contain the SI registers location and length 98 - interrupts : should contain the SI interrupt
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/ |
H A D | COFFDump.cpp | 841 for (unsigned SI = 0, SE = coff.getNumberOfSymbols(); SI != SE; ++SI) { in printCOFFSymbolTable() local 842 Expected<COFFSymbolRef> Symbol = coff.getSymbol(SI); in printCOFFSymbolTable() 851 outs() << "[" << format("%2d", SI) << "]" in printCOFFSymbolTable() 873 for (unsigned AI = 0, AE = Symbol->getNumberOfAuxSymbols(); AI < AE; ++AI, ++SI) { in printCOFFSymbolTable() 877 coff.getAuxSymbol<coff_aux_section_definition>(SI + 1, asd)) in printCOFFSymbolTable() 893 if (Error E = coff.getAuxSymbol<char>(SI + 1, FileName)) in printCOFFSymbolTable() 900 SI = SI + Symbol->getNumberOfAuxSymbols(); in printCOFFSymbolTable() 904 if (Error E = coff.getAuxSymbol<coff_aux_weak_external>(SI + 1, awe)) in printCOFFSymbolTable()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | PtrUseVisitor.h | 242 void visitStoreInst(StoreInst &SI) { in visitStoreInst() argument 243 if (SI.getValueOperand() == U->get()) in visitStoreInst() 244 PI.setEscaped(&SI); in visitStoreInst()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | MemoryLocation.cpp | 45 MemoryLocation MemoryLocation::get(const StoreInst *SI) { in get() argument 46 const auto &DL = SI->getModule()->getDataLayout(); in get() 48 return MemoryLocation(SI->getPointerOperand(), in get() 50 SI->getValueOperand()->getType())), in get() 51 SI->getAAMetadata()); in get()
|
H A D | AliasSetTracker.cpp | 327 void AliasSetTracker::add(StoreInst *SI) { in add() argument 328 if (isStrongerThanMonotonic(SI->getOrdering())) in add() 329 return addUnknown(SI); in add() 330 addMemoryLocation(MemoryLocation::get(SI), AliasSet::ModAccess); in add() 379 if (StoreInst *SI = dyn_cast<StoreInst>(I)) in add() local 380 return add(SI); in add()
|
H A D | InlineCost.cpp | 486 bool visitSelectInst(SelectInst &SI); 487 bool visitSwitchInst(SwitchInst &SI); 2363 Value *TrueVal = SI.getTrueValue(); in visitSelectInst() 2364 Value *FalseVal = SI.getFalseValue(); in visitSelectInst() 2378 SimplifiedValues[&SI] = TrueC; in visitSelectInst() 2393 SROAArgValues[&SI] = SROAArg; in visitSelectInst() 2397 return Base::visitSelectInst(SI); in visitSelectInst() 2410 SimplifiedValues[&SI] = C; in visitSelectInst() 2414 return Base::visitSelectInst(SI); in visitSelectInst() 2419 SimplifiedValues[&SI] = SelectedC; in visitSelectInst() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | BoundsChecking.cpp | 163 } else if (StoreInst *SI = dyn_cast<StoreInst>(&I)) { in addBoundsChecking() local 164 if (!SI->isVolatile()) in addBoundsChecking() 165 Or = getBoundsCheckCond(SI->getPointerOperand(), SI->getValueOperand(), in addBoundsChecking()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | Consumed.cpp | 1293 if (*SI) in splitState() 1294 BlockInfo.addInfo(*SI, std::move(CurrStates)); in splitState() 1298 if (*++SI) in splitState() 1299 BlockInfo.addInfo(*SI, std::move(FalseStates)); in splitState() 1387 SE = CurrBlock->succ_end(); SI != SE; ++SI) { in run() 1388 if (*SI == nullptr) continue; in run() 1390 if (BlockInfo.isBackEdge(CurrBlock, *SI)) { in run() 1391 BlockInfo.borrowInfo(*SI)->intersectAtLoopHead( in run() 1392 *SI, CurrBlock, RawState, WarningsHandler); in run() 1395 BlockInfo.discardInfo(*SI); in run() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonCFGOptimizer.cpp | 156 MachineBasicBlock::succ_iterator SI = MBB.succ_begin(); in runOnMachineFunction() local 157 MachineBasicBlock* FirstSucc = *SI; in runOnMachineFunction() 158 MachineBasicBlock* SecondSucc = *(++SI); in runOnMachineFunction()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | PredicateInfo.h | 165 Value *CaseValue, SwitchInst *SI) in PredicateSwitch() argument 167 SI->getCondition()), in PredicateSwitch() 168 CaseValue(CaseValue), Switch(SI) {} in PredicateSwitch()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
H A D | Coroutines.cpp | 356 auto SI = Suspend->value_begin(), SE = Suspend->value_end(); in buildFrom() local 358 for (; SI != SE && RI != RE; ++SI, ++RI) { in buildFrom() 359 auto SrcTy = (*SI)->getType(); in buildFrom() 365 auto BCI = new BitCastInst(*SI, *RI, "", Suspend); in buildFrom() 366 SI->set(BCI); in buildFrom() 378 if (SI != SE || RI != RE) { in buildFrom()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | PartialInlining.cpp | 435 for (auto SI = succ_begin(ThisBB); SI != succ_end(ThisBB); ++SI) { in computeOutliningColdRegionsInfo() local 436 if (VisitedMap[*SI]) in computeOutliningColdRegionsInfo() 438 VisitedMap[*SI] = true; in computeOutliningColdRegionsInfo() 439 DFS.push_back(*SI); in computeOutliningColdRegionsInfo() 446 << SI->getName() in computeOutliningColdRegionsInfo() 450 DT.getDescendants(*SI, DominateVector); in computeOutliningColdRegionsInfo() 456 LLVM_DEBUG(dbgs() << "ABORT: Block " << SI->getName() in computeOutliningColdRegionsInfo() 465 LLVM_DEBUG(dbgs() << "ABORT: Block " << SI->getName() in computeOutliningColdRegionsInfo() 480 &SI->front()) in computeOutliningColdRegionsInfo() 854 if (SwitchInst *SI = dyn_cast<SwitchInst>(&I)) { in computeBBInlineCost() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCInstrHTM.td | 109 def : Pat<(int_ppc_tabortwci i32:$TO, i32:$RA, i32:$SI), 110 (TABORTWCI (HTM_get_imm imm:$TO), $RA, (HTM_get_imm imm:$SI))>; 115 def : Pat<(int_ppc_tabortdci i32:$TO, i32:$RA, i32:$SI), 116 (TABORTDCI (HTM_get_imm imm:$TO), $RA, (HTM_get_imm imm:$SI))>;
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
H A D | BytesOutputStyle.cpp | 36 uint32_t SI = 0; member 44 if (Str.consumeInteger(0, Result.SI)) in parseStreamSpec() 483 if (Spec.SI >= StreamPurposes.size()) { in dumpStreamBytes() 484 P.formatLine("Stream {0}: Not present", Spec.SI); in dumpStreamBytes() 487 P.formatMsfStreamData("Data", File, Spec.SI, in dumpStreamBytes() 488 StreamPurposes[Spec.SI].getShortName(), Spec.Begin, in dumpStreamBytes()
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | VarLenCodeEmitterGen.cpp | 383 auto SI = VLI.begin(), SE = VLI.end(); in emitInstructionBaseValues() local 385 while (i < BitWidth && SI != SE) { in emitInstructionBaseValues() 386 unsigned SegmentNumBits = SI->BitWidth; in emitInstructionBaseValues() 387 if (const auto *BI = dyn_cast<BitsInit>(SI->Value)) { in emitInstructionBaseValues() 393 if (const auto *BI = dyn_cast<BitInit>(SI->Value)) in emitInstructionBaseValues() 397 ++SI; in emitInstructionBaseValues()
|
/freebsd/sys/contrib/device-tree/Bindings/soc/fsl/cpm_qe/ |
H A D | qe.txt | 102 * Serial Interface Block (SI) 104 The SI manages the routing of eight TDM lines to the QE block serial drivers 110 - reg : Address range of SI register set. 121 store the routing entries of SI 126 - reg : Address range of SI RAM.
|