| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | AddressRanges.h | 76 typename Collection::const_iterator It = find(Addr, Addr + 1); in getRangeThatContains() local 77 if (It == Ranges.end()) in getRangeThatContains() 80 return *It; in getRangeThatContains() 100 auto It = llvm::partition_point( in find() local 103 if (It == Ranges.begin()) in find() 106 --It; in find() 107 if (End > AddressRange(*It).end()) in find() 110 return It; in find() 125 auto It = upper_bound(Ranges, Range); in insert() local 126 auto It2 = It; in insert() [all …]
|
| H A D | CoalescingBitVector.h | 87 for (auto It = Intervals.begin(), End = Intervals.end(); It != End; ++It) in count() local 88 Bits += 1 + It.stop() - It.start(); in count() 108 for (auto It = Other.Intervals.begin(), End = Other.Intervals.end(); in set() local 109 It != End; ++It) in set() 110 insert(It.start(), It.stop()); in set() 121 const auto It = Intervals.find(Index); in test() local 122 if (It == Intervals.end()) in test() 124 assert(It.stop() >= Index && "Interval must end after Index"); in test() 125 return It.start() <= Index; in test() 136 auto It = Intervals.find(Index); in reset() local [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/SandboxIR/ |
| H A D | Context.cpp | 19 auto It = LLVMValueToValueMap.find(V); in detachLLVMValue() local 20 if (It != LLVMValueToValueMap.end()) { in detachLLVMValue() 21 auto *Val = It->second.release(); in detachLLVMValue() 23 LLVMValueToValueMap.erase(It); in detachLLVMValue() 58 auto It = Pair.first; in getOrCreateValueInternal() local 60 return It->second.get(); in getOrCreateValueInternal() 67 It->second = std::unique_ptr<VAArgInst>(new VAArgInst(LLVMVAArg, *this)); in getOrCreateValueInternal() 68 return It->second.get(); in getOrCreateValueInternal() 72 It->second = in getOrCreateValueInternal() 74 return It->second.get(); in getOrCreateValueInternal() [all …]
|
| H A D | BasicBlock.cpp | 18 assert(It != ItE && "Already at end!"); in operator ++() 19 ++It; in operator ++() 20 if (It == ItE) in operator ++() 22 Instruction &NextI = *cast<sandboxir::Instruction>(Ctx->getValue(&*It)); in operator ++() 25 It = std::next(It, Num - 1); in operator ++() 30 assert(It != BB->begin() && "Already at begin!"); in operator --() 31 if (It == BB->end()) { in operator --() 32 --It; in operator --() 38 assert(std::prev(It, Num - 1) != BB->begin() && "Already at begin!"); in operator --() 39 It = std::prev(It, Num); in operator --() [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_leb128.h | 17 template <typename T, typename It> 18 It EncodeSLEB128(T value, It begin, It end) { in EncodeSLEB128() 35 template <typename T, typename It> 36 It DecodeSLEB128(It begin, It end, T* v) { in DecodeSLEB128() 54 template <typename T, typename It> 55 It EncodeULEB128(T value, It begin, It end) { in EncodeULEB128() 68 template <typename T, typename It> 69 It DecodeULEB128(It begin, It end, T* v) { in DecodeULEB128()
|
| /freebsd/contrib/ntp/ntpq/ |
| H A D | ntpq-opts.def | 226 .It Ic ? Op Ar command 227 .It Ic help Op Ar command 237 .It Ic addvars Ar name Ns Oo \&= Ns Ar value Oc Ns Op ,... 238 .It Ic rmvars Ar name Ns Op ,... 239 .It Ic clearvars 240 .It Ic showvars 272 .It Ic authenticate Op Cm yes Ns | Ns Cm no 291 .It Ic cooked 302 .It Ic debug Op Cm more Ns | Ns Cm less Ns | Ns Cm off 305 .It Ic delay Op Ar milliseconds [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | DeclLookups.h | 29 StoredDeclsMap::iterator It, End; variable 39 all_lookups_iterator(StoredDeclsMap::iterator It, in all_lookups_iterator() argument 41 : It(It), End(End) {} in all_lookups_iterator() 43 DeclarationName getLookupName() const { return It->first; } in getLookupName() 45 reference operator*() const { return It->second.getLookupResult(); } 46 pointer operator->() const { return It->second.getLookupResult(); } 53 ++It; 54 } while (It != End && 55 It->first == DeclarationName::getUsingDirectiveName()); 67 return x.It == y.It; [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | InstructionPrecedenceTracking.cpp | 50 auto [It, Inserted] = FirstSpecialInsts.try_emplace(BB); in getFirstSpecialInstruction() 55 It->second = &I; in getFirstSpecialInstruction() 60 return It->second; in getFirstSpecialInstruction() 77 auto It = FirstSpecialInsts.find(BB); in validate() local 79 if (It == FirstSpecialInsts.end()) in validate() 84 assert(It->second == &Insn && in validate() 89 assert(It->second == nullptr && in validate() 96 for (const auto &It : FirstSpecialInsts) in validateAll() local 97 validate(It.first); in validateAll() 110 auto It = FirstSpecialInsts.find(BB); in removeInstruction() local [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | MacroExpansionContext.cpp | 61 MacroExpansionContext::ExpansionRangeMap::iterator It; in MacroExpands() local 63 std::tie(It, Inserted) = in MacroExpands() 67 It->getFirst().print(llvm::dbgs(), SM); llvm::dbgs() << " to "; in MacroExpands() 68 It->getSecond().print(llvm::dbgs(), SM); in MacroExpands() 71 if (SM.isBeforeInTranslationUnit(It->getSecond(), ExpansionEnd)) { in MacroExpands() 72 It->getSecond() = ExpansionEnd; in MacroExpands() 74 llvm::dbgs() << "remaps "; It->getFirst().print(llvm::dbgs(), SM); in MacroExpands() 75 llvm::dbgs() << " to "; It->getSecond().print(llvm::dbgs(), SM); in MacroExpands() 110 const auto It = ExpandedTokens.find_as(MacroExpansionLoc); in getExpandedText() local 111 if (It == ExpandedTokens.end()) in getExpandedText() [all …]
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-mca/ |
| H A D | CodeRegion.cpp | 50 auto It = ActiveRegions.find(Description); in beginRegion() local 51 if (It != ActiveRegions.end()) { in beginRegion() 52 const CodeRegion &R = *Regions[It->second]; in beginRegion() 82 auto It = ActiveRegions.begin(); in endRegion() local 83 Regions[It->second]->setEndLocation(Loc); in endRegion() 84 ActiveRegions.erase(It); in endRegion() 96 auto It = ActiveRegions.find(Description); in endRegion() local 97 if (It != ActiveRegions.end()) { in endRegion() 98 Regions[It->second]->setEndLocation(Loc); in endRegion() 99 ActiveRegions.erase(It); in endRegion() [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerDataFlowTrace.h | 53 auto It = Functions.find(FunctionId); in GetCounter() local 54 if (It == Functions.end()) in GetCounter() 56 const auto &Counters = It->second; in GetCounter() 63 auto It = Functions.find(FunctionId); in GetNumberOfBlocks() local 64 if (It == Functions.end()) return 0; in GetNumberOfBlocks() 65 const auto &Counters = It->second; in GetNumberOfBlocks() 70 auto It = Functions.find(FunctionId); in GetNumberOfCoveredBlocks() local 71 if (It == Functions.end()) return 0; in GetNumberOfCoveredBlocks() 72 const auto &Counters = It->second; in GetNumberOfCoveredBlocks() 123 auto It = Traces.find(InputSha1); in Get() local [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | BitcastBuffer.cpp | 22 for (unsigned It = 0; It != BitWidth.getQuantity(); ++It) { in pushData() local 23 bool BitValue = bitof(In, Bits(It)); in pushData() 29 DstBit = BitOffset + Bits(It); in pushData() 31 DstBit = size() - BitOffset - BitWidth + Bits(It); in pushData() 45 for (unsigned It = 0; It != BitWidth.getQuantity(); ++It) { in copyBits() local 48 BitIndex = BitOffset + Bits(It); in copyBits() 50 BitIndex = size() - BitWidth - BitOffset + Bits(It); in copyBits() 56 Bits DstBit = Bits(It); in copyBits() 94 auto It = llvm::upper_bound(InitializedBits, Element); in markInitialized() local 95 InitializedBits.insert(It, Element); in markInitialized()
|
| H A D | Record.cpp | 41 auto It = FieldMap.find(FD->getFirstDecl()); in getField() local 42 assert(It != FieldMap.end() && "Missing field"); in getField() 43 return It->second; in getField() 47 auto It = BaseMap.find(FD); in getBase() local 48 assert(It != BaseMap.end() && "Missing base"); in getBase() 49 return It->second; in getBase() 61 auto It = VirtualBaseMap.find(FD); in getVirtualBase() local 62 assert(It != VirtualBaseMap.end() && "Missing virtual base"); in getVirtualBase() 63 return It->second; in getVirtualBase()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/XRay/ |
| H A D | Graph.h | 213 auto It = NL.find(A); in begin() local 214 if (It == NL.end()) in begin() 216 return iterator(It->second.begin(), &M, A); in begin() 220 auto It = NL.find(A); in cbegin() local 221 if (It == NL.end()) in cbegin() 223 return const_iterator(It->second.begin(), &M, A); in cbegin() 229 auto It = NL.find(A); in end() local 230 if (It == NL.end()) in end() 232 return iterator(It->second.end(), &M, A); in end() 235 auto It = NL.find(A); in cend() local [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/TextAPI/ |
| H A D | InterfaceFile.cpp | 95 auto It = lower_bound( in inlineLibrary() local 101 if (Overwrite && It != Documents.end() && in inlineLibrary() 102 Reexport->getInstallName() == (*It)->getInstallName()) { in inlineLibrary() 103 llvm::replace(Documents, *It, std::move(Reexport)); in inlineLibrary() 107 if ((It != Documents.end()) && in inlineLibrary() 108 !(Reexport->getInstallName() < (*It)->getInstallName())) in inlineLibrary() 111 Documents.emplace(It, std::move(Reexport)); in inlineLibrary() 171 for (const auto &It : umbrellas()) { in merge() local 172 if (!It.second.empty()) in merge() 173 IF->addParentUmbrella(It.first, It.second); in merge() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | SwiftErrorValueTracking.cpp | 29 auto It = VRegDefMap.find(Key); in getOrCreateVReg() local 34 if (It == VRegDefMap.end()) { in getOrCreateVReg() 42 return It->second; in getOrCreateVReg() 53 auto It = VRegDefUses.find(Key); in getOrCreateVRegDefAt() local 54 if (It != VRegDefUses.end()) in getOrCreateVRegDefAt() 55 return It->second; in getOrCreateVRegDefAt() 68 auto It = VRegDefUses.find(Key); in getOrCreateVRegUseAt() local 69 if (It != VRegDefUses.end()) in getOrCreateVRegUseAt() 70 return It->second; in getOrCreateVRegUseAt() 284 for (auto It = Begin; It != End; ++It) { in preassignVRegs() local [all …]
|
| H A D | FixupStatepointCallerSaved.cpp | 132 for (auto It = ++(RI.getReverse()); It != E; ++It) { in performCopyPropagation() local 133 if (It->readsRegister(Reg, &TRI) && !Use) in performCopyPropagation() 134 Use = &*It; in performCopyPropagation() 135 if (It->modifiesRegister(Reg, &TRI)) { in performCopyPropagation() 136 Def = &*It; in performCopyPropagation() 239 for (auto &It : Cache) in reset() local 240 It.second.Index = 0; in reset() 244 if (auto It = GlobalIndices.find(EHPad); It != GlobalIndices.end()) in reset() local 245 ReservedSlots.insert_range(llvm::make_second_range(It->second)); in reset() 251 auto It = GlobalIndices.find(EHPad); in getFrameIndex() local [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | BlockCoverageInference.cpp | 68 auto It = PredecessorDependencies.find(&BB); in getDependencies() local 69 if (It != PredecessorDependencies.end()) in getDependencies() 70 Dependencies.set_union(It->second); in getDependencies() 71 It = SuccessorDependencies.find(&BB); in getDependencies() 72 if (It != SuccessorDependencies.end()) in getDependencies() 73 Dependencies.set_union(It->second); in getDependencies() 93 auto It = PredecessorDependencies.find(&BB); in shouldInstrumentBlock() local 94 if (It != PredecessorDependencies.end() && It->second.size()) in shouldInstrumentBlock() 96 It = SuccessorDependencies.find(&BB); in shouldInstrumentBlock() 97 if (It != SuccessorDependencies.end() && It->second.size()) in shouldInstrumentBlock() [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/Breakpad/ |
| H A D | SymbolFileBreakpad.cpp | 205 LineIterator It(*m_objfile_sp, Record::Func, data.bookmark), in ParseCompileUnitAtIndex() local 207 assert(Record::classify(*It) == Record::Func); in ParseCompileUnitAtIndex() 208 ++It; // Skip FUNC record. in ParseCompileUnitAtIndex() 210 while (It != End && Record::classify(*It) == Record::Inline) in ParseCompileUnitAtIndex() 211 ++It; in ParseCompileUnitAtIndex() 213 if (It != End) { in ParseCompileUnitAtIndex() 214 auto record = LineRecord::parse(*It); in ParseCompileUnitAtIndex() 245 LineIterator It(*m_objfile_sp, Record::Func, data.bookmark); in GetOrCreateFunction() local 246 assert(Record::classify(*It) == Record::Func); in GetOrCreateFunction() 248 if (auto record = FuncRecord::parse(*It)) { in GetOrCreateFunction() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | AssignmentTrackingAnalysis.h | 74 const auto *It = VarLocRecords.begin(); in locs_begin() 75 std::advance(It, SingleVarLocEnd); in locs_begin() 76 return It; in locs_begin() 81 const auto *It = VarLocRecords.begin(); in locs_end() local 82 std::advance(It, Span.first); in locs_end() 83 return It; in locs_end() 89 const auto *It = VarLocRecords.begin(); 90 std::advance(It, Span.second); 91 return It; 66 const auto *It = VarLocRecords.begin(); single_locs_end() local 73 const auto *It = VarLocRecords.begin(); locs_begin() local
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | CFG.h | 52 USE_iterator It; variable 56 while (!It.atEnd()) { in advancePastNonTerminators() 57 if (auto *Inst = dyn_cast<Instruction>(*It)) { in advancePastNonTerminators() 62 ++It; in advancePastNonTerminators() 68 explicit inline PredIterator(Ptr *bb) : It(bb->user_begin()) { in PredIterator() 71 inline PredIterator(Ptr *bb, bool) : It(bb->user_end()) {} in PredIterator() 73 inline bool operator==(const Self& x) const { return It == x.It; } 77 assert(!It.atEnd() && "pred_iterator out of range!"); 78 return cast<Instruction>(*It)->getParent(); 83 assert(!It.atEnd() && "pred_iterator out of range!"); [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | R600OptimizeVectorRegisters.cpp | 152 for (auto &It : ToMerge->RegToChan) { in tryMergeVector() local 154 Untouched->RegToChan.find(It.first); in tryMergeVector() 156 Remap.emplace_back(It.second, (*PosInUntouched).second); in tryMergeVector() 161 Remap.emplace_back(It.second, Untouched->UndefReg[CurrentUndexIdx++]); in tryMergeVector() 189 for (const auto &It : RSI->RegToChan) { in RebuildVector() local 191 unsigned SubReg = It.first; in RebuildVector() 192 unsigned Swizzle = It.second; in RebuildVector() 215 for (MachineRegisterInfo::use_instr_iterator It = MRI->use_instr_begin(Reg), in RebuildVector() local 216 E = MRI->use_instr_end(); It != E; ++It) { in RebuildVector() 217 LLVM_DEBUG(dbgs() << " "; (*It).dump(); dbgs() << " ->"); in RebuildVector() [all …]
|
| H A D | R600MachineCFGStructurizer.cpp | 180 int countActiveBlock(MBBVector::const_iterator It, 315 MBBInfoMap::const_iterator It = BlockInfoMap.find(MBB); in getSCCNum() local 316 if (It == BlockInfoMap.end()) in getSCCNum() 318 return (*It).second->SccNum; in getSCCNum() 323 LoopLandInfoMap::const_iterator It = LLInfoMap.find(LoopRep); in getLoopLandInfo() local 324 if (It == LLInfoMap.end()) in getLoopLandInfo() 326 return (*It).second; in getLoopLandInfo() 338 MBBInfoMap::const_iterator It = BlockInfoMap.find(MBB); in isRetiredBlock() local 339 if (It == BlockInfoMap.end()) in isRetiredBlock() 341 return (*It).second->IsRetired; in isRetiredBlock() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | LoopUnrollAndJam.cpp | 362 for (unsigned It = 1; It != Count; ++It) { in UnrollAndJamLoop() local 372 BasicBlock *New = CloneBasicBlock(*BB, VMap, "." + Twine(It)); in UnrollAndJamLoop() 399 PrevItValueMap[New] = (It == 1 ? *BB : Last); in UnrollAndJamLoop() 405 const_cast<Value *>(It == 1 ? VI->first : LVM); in UnrollAndJamLoop() 413 DT->addNewBlock(New, ForeBlocksLast[It - 1]); in UnrollAndJamLoop() 415 DT->addNewBlock(New, SubLoopBlocksLast[It - 1]); in UnrollAndJamLoop() 417 DT->addNewBlock(New, AftBlocksLast[It - 1]); in UnrollAndJamLoop() 442 for (PHINode &Phi : ForeBlocksFirst[It]->phis()) { in UnrollAndJamLoop() 443 Value *OldValue = Phi.getIncomingValueForBlock(AftBlocksLast[It]); in UnrollAndJamLoop() 450 Phi.setIncomingBlock(0, ForeBlocksLast[It - 1]); in UnrollAndJamLoop() [all …]
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-xray/ |
| H A D | func-id-helper.cpp | 27 auto It = FunctionAddresses.find(FuncId); in SymbolOrNumber() local 28 if (It == FunctionAddresses.end()) { in SymbolOrNumber() 34 ModuleAddress.Address = It->second; in SymbolOrNumber() 41 F << "@(" << std::hex << It->second << ")"; in SymbolOrNumber() 46 F << "@(" << std::hex << It->second << ")"; in SymbolOrNumber() 55 auto It = FunctionAddresses.find(FuncId); in FileLineAndColumn() local 56 if (It == FunctionAddresses.end()) in FileLineAndColumn() 61 ModuleAddress.Address = It->second; in FileLineAndColumn()
|