| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
| H A D | SpeculateAnalyses.cpp | 150 auto Itr = VisitedBlocks.find(AtBB); in traverseToEntryBlock() local 151 if (Itr != VisitedBlocks.end()) { // already visited. in traverseToEntryBlock() 152 if (!Itr->second.Upward) in traverseToEntryBlock() 154 Itr->second.Upward = false; in traverseToEntryBlock() 193 auto Itr = VisitedBlocks.find(AtBB); in traverseToExitBlock() local 194 if (Itr != VisitedBlocks.end()) { // already visited. in traverseToExitBlock() 195 if (!Itr->second.Downward) in traverseToExitBlock() 197 Itr->second.Downward = false; in traverseToExitBlock()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaOpenACCClause.cpp | 162 const auto *Itr = in DiagGangWorkerVectorSeqConflict() local 165 if (Itr != ExistingClauses.end()) { in DiagGangWorkerVectorSeqConflict() 167 << Clause.getClauseKind() << (*Itr)->getClauseKind() in DiagGangWorkerVectorSeqConflict() 169 SemaRef.Diag((*Itr)->getBeginLoc(), diag::note_acc_previous_clause_here) in DiagGangWorkerVectorSeqConflict() 170 << (*Itr)->getClauseKind(); in DiagGangWorkerVectorSeqConflict() 562 const auto *Itr = in VisitIfClause() local 564 if (Itr != ExistingClauses.end()) { in VisitIfClause() 566 SemaRef.Diag((*Itr)->getBeginLoc(), diag::note_acc_previous_clause_here) in VisitIfClause() 567 << (*Itr)->getClauseKind(); in VisitIfClause() 586 const auto *Itr = in VisitSelfClause() local [all …]
|
| H A D | SemaOpenACC.cpp | 168 auto *Itr = llvm::find_if(Clauses, llvm::IsaPred<OpenACCGangClause>); in AssociatedStmtRAII() local 169 if (Itr != Clauses.end()) in AssociatedStmtRAII() 170 SemaRef.LoopGangClauseOnKernel = {(*Itr)->getBeginLoc(), DirKind}; in AssociatedStmtRAII() 174 auto *Itr = llvm::find_if(Clauses, llvm::IsaPred<OpenACCWorkerClause>); in AssociatedStmtRAII() local 175 if (Itr != Clauses.end()) in AssociatedStmtRAII() 176 SemaRef.LoopWorkerClauseLoc = (*Itr)->getBeginLoc(); in AssociatedStmtRAII() 206 auto *Itr = llvm::find_if(Clauses, llvm::IsaPred<OpenACCGangClause>); in AssociatedStmtRAII() local 207 if (Itr != Clauses.end()) in AssociatedStmtRAII() 208 SemaRef.LoopGangClauseOnKernel = {(*Itr)->getBeginLoc(), in AssociatedStmtRAII() 213 auto *Itr = llvm::find_if(Clauses, llvm::IsaPred<OpenACCWorkerClause>); in AssociatedStmtRAII() local [all …]
|
| H A D | SemaRISCV.cpp | 485 auto Itr = Intrinsics.find(Name); in CreateIntrinsicIfFound() local 486 if (Itr != Intrinsics.end()) { in CreateIntrinsicIfFound() 487 CreateRVVIntrinsicDecl(LR, II, PP, Itr->second, in CreateIntrinsicIfFound()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | IR2Vec.h | 88 double &operator[](size_t Itr) { 89 assert(Itr < Data.size() && "Index out of bounds"); 90 return Data[Itr]; 93 const double &operator[](size_t Itr) const { 94 assert(Itr < Data.size() && "Index out of bounds"); 95 return Data[Itr];
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | IR2Vec.cpp | 117 for (size_t Itr = 0; Itr < this->size(); ++Itr) in scaleAndAdd() local 118 (*this)[Itr] += Src[Itr] * Factor; in scaleAndAdd() 125 for (size_t Itr = 0; Itr < this->size(); ++Itr) in approximatelyEquals() local 126 if (std::abs((*this)[Itr] - RHS[Itr]) > Tolerance) in approximatelyEquals()
|
| H A D | ScalarEvolution.cpp | 7418 auto Itr = LoopPropertiesCache.find(L); in getLoopProperties() local 7419 if (Itr == LoopPropertiesCache.end()) { in getLoopProperties() 7442 Itr = InsertPair.first; in getLoopProperties() 7445 return Itr->second; in getLoopProperties() 8968 auto Itr = TripCountMap.find({ExitCond, ControlsOnlyExit}); in find() local 8969 if (Itr == TripCountMap.end()) in find() 8971 return Itr->second; in find()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | TruncInstCombine.cpp | 274 for (auto Itr : InstInfoMap) { in getBestTruncatedType() local 275 Instruction *I = Itr.first; in getBestTruncatedType() 306 for (auto &Itr : InstInfoMap) { in getBestTruncatedType() local 307 Instruction *I = Itr.first; in getBestTruncatedType() 326 Itr.second.MinBitWidth = MinBitWidth; in getBestTruncatedType() 338 Itr.second.MinBitWidth = MinBitWidth; in getBestTruncatedType() 383 for (auto &Itr : InstInfoMap) { // Forward in ReduceExpressionGraph() local 384 Instruction *I = Itr.first; in ReduceExpressionGraph() 385 TruncInstCombine::Info &NodeInfo = Itr.second; in ReduceExpressionGraph()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64RedundantCopyElimination.cpp | 301 MachineBasicBlock::iterator Itr = std::next(CondBr); in optimizeBlock() local 303 --Itr; in optimizeBlock() 305 if (!knownRegValInBlock(*Itr, MBB, KnownRegs, FirstUse)) in optimizeBlock() 314 for (auto PredI = Itr;; --PredI) { in optimizeBlock() 359 } while (Itr != PredMBB->begin() && Itr->isTerminator()); in optimizeBlock()
|
| H A D | AArch64FastISel.cpp | 3422 for (auto Itr = std::prev(Start); Itr != End; --Itr) { in foldXALUIntrinsic() local 3425 if (!isa<ExtractValueInst>(Itr)) in foldXALUIntrinsic() 3429 const auto *EVI = cast<ExtractValueInst>(Itr); in foldXALUIntrinsic()
|
| H A D | AArch64ISelLowering.cpp | 16764 for (int Itr = 0; Itr < 16; Itr++) { in createTblForTrunc() local 16765 if (Itr < NumElements) in createTblForTrunc() 16767 IsLittleEndian ? Itr * TruncFactor in createTblForTrunc() 16768 : Itr * TruncFactor + (TruncFactor - 1))); in createTblForTrunc()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/MCTargetDesc/ |
| H A D | CSKYTargetStreamer.cpp | 53 auto Itr = C ? CachedEntries.find(C->getValue()) : CachedEntries.end(); in addEntry() local 54 if (Itr != CachedEntries.end()) in addEntry() 55 return Itr->second; in addEntry()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | ConstantHoisting.cpp | 380 ConstCandMapType::iterator Itr; in collectConstantCandidates() local 383 std::tie(Itr, Inserted) = ConstCandMap.try_emplace(Cand); in collectConstantCandidates() 386 Itr->second = ConstIntCandVec.size() - 1; in collectConstantCandidates() 388 ConstIntCandVec[Itr->second].addUser(Inst, Idx, Cost.getValue()); in collectConstantCandidates() 438 ConstCandMapType::iterator Itr; in collectConstantCandidates() local 441 std::tie(Itr, Inserted) = ConstCandMap.try_emplace(Cand); in collectConstantCandidates() 446 Itr->second = ExprCandVec.size() - 1; in collectConstantCandidates() 448 ExprCandVec[Itr->second].addUser(Inst, Idx, Cost.getValue()); in collectConstantCandidates()
|
| H A D | Scalarizer.cpp | 55 BasicBlock::iterator skipPastPhiNodesAndDbg(BasicBlock::iterator Itr) { in skipPastPhiNodesAndDbg() argument 56 BasicBlock *BB = Itr->getParent(); in skipPastPhiNodesAndDbg() 57 if (isa<PHINode>(Itr)) in skipPastPhiNodesAndDbg() 58 Itr = BB->getFirstInsertionPt(); in skipPastPhiNodesAndDbg() 59 if (Itr != BB->end()) in skipPastPhiNodesAndDbg() 60 Itr = skipDebugIntrinsics(Itr); in skipPastPhiNodesAndDbg() 61 return Itr; in skipPastPhiNodesAndDbg()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | ItaniumCXXABI.cpp | 208 ManglingItr Itr = ManglingNumbers.find(CallOperator); in getDeviceManglingNumber() local 209 assert(Itr != ManglingNumbers.end() && "Lambda not yet mangled?"); in getDeviceManglingNumber() 211 return Itr->second; in getDeviceManglingNumber()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | SpillUtils.cpp | 405 auto [Itr, Inserted] = AliasOffetMap.try_emplace(&I, Offset); in handleAlias() 406 if (!Inserted && Itr->second && *Itr->second != Offset) { in handleAlias() 409 Itr->second.reset(); in handleAlias()
|
| H A D | CoroFrame.cpp | 72 auto Itr = FieldIndexMap.find(V); in getFieldIndex() local 73 assert(Itr != FieldIndexMap.end() && in getFieldIndex() 75 return Itr->second; in getFieldIndex()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ScheduleDAGInstrs.cpp | 664 iterator Itr = find(V); in clearList() local 665 if (Itr != end()) { in clearList() 666 assert(NumNodes >= Itr->second.size()); in clearList() 667 NumNodes -= Itr->second.size(); in clearList() 669 Itr->second.clear(); in clearList() 705 Value2SUsMap::iterator Itr = Val2SUsMap.find(V); in addChainDependencies() local 706 if (Itr != Val2SUsMap.end()) in addChainDependencies() 707 addChainDependencies(SU, Itr->second, in addChainDependencies()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonVLIWPacketizer.cpp | 1480 auto Itr = find(IgnoreDepMIs, &J); in isLegalToPacketizeTogether() local 1481 if (Itr != IgnoreDepMIs.end()) { in isLegalToPacketizeTogether()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86FastISel.cpp | 264 for (auto Itr = std::prev(Start); Itr != End; --Itr) { in foldX86XALUIntrinsic() local 267 if (!isa<ExtractValueInst>(Itr)) in foldX86XALUIntrinsic() 271 const auto *EVI = cast<ExtractValueInst>(Itr); in foldX86XALUIntrinsic()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Verifier.cpp | 7629 auto Itr = TBAABaseNodes.find(BaseNode); in verifyTBAABaseNode() local 7630 if (Itr != TBAABaseNodes.end()) in verifyTBAABaseNode() 7631 return Itr->second; in verifyTBAABaseNode()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | LoopVectorize.cpp | 1120 auto Itr = WideningDecisions.find(InstOnVF); in getWideningDecision() local 1121 if (Itr == WideningDecisions.end()) in getWideningDecision() 1123 return Itr->second.first; in getWideningDecision()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZISelLowering.cpp | 11087 std::map<const Function *, bool>::iterator Itr = IsInternalCache.find(Fn); in isInternal() local 11088 if (Itr == IsInternalCache.end()) in isInternal() 11089 Itr = IsInternalCache in isInternal() 11093 return Itr->second; in isInternal()
|