| /openbsd/src/gnu/llvm/llvm/lib/Support/ |
| D | AddressRanges.cpp | 20 auto It = llvm::upper_bound(Ranges, Range); in insert() local 21 auto It2 = It; in insert() 24 if (It != It2) { in insert() 26 It = Ranges.erase(It, It2); in insert() 28 if (It != Ranges.begin() && Range.start() <= std::prev(It)->end()) { in insert() 29 --It; in insert() 30 *It = {It->start(), std::max(It->end(), Range.end())}; in insert() 31 return It; in insert() 34 return Ranges.insert(It, Range); in insert() 39 auto It = std::partition_point( in find() local [all …]
|
| /openbsd/src/gnu/llvm/llvm/include/llvm/ADT/ |
| 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 …]
|
| /openbsd/src/gnu/gcc/libstdc++-v3/include/ext/pb_ds/ |
| D | assoc_container.hpp | 217 template<typename It> 218 cc_hash_table(It first, It last) in cc_hash_table() 224 template<typename It> 225 cc_hash_table(It first, It last, const hash_fn& h) in cc_hash_table() 235 template<typename It> 236 cc_hash_table(It first, It last, const hash_fn& h, const eq_fn& e) in cc_hash_table() 247 template<typename It> 248 cc_hash_table(It first, It last, const hash_fn& h, const eq_fn& e, in cc_hash_table() 261 template<typename It> 262 cc_hash_table(It first, It last, const hash_fn& h, const eq_fn& e, in cc_hash_table() [all …]
|
| /openbsd/src/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
| 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()
|
| /openbsd/src/gnu/llvm/clang/include/clang/AST/ |
| 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 …]
|
| /openbsd/src/gnu/llvm/llvm/tools/llvm-mca/ |
| 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 …]
|
| /openbsd/src/gnu/llvm/clang/lib/Analysis/ |
| 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 …]
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| D | R600OptimizeVectorRegisters.cpp | 153 for (auto &It : ToMerge->RegToChan) { in tryMergeVector() local 155 Untouched->RegToChan.find(It.first); in tryMergeVector() 158 std::pair<unsigned, unsigned>(It.second, (*PosInUntouched).second)); in tryMergeVector() 164 It.second, Untouched->UndefReg[CurrentUndexIdx++])); in tryMergeVector() 192 for (const auto &It : RSI->RegToChan) { in RebuildVector() local 194 unsigned SubReg = It.first; in RebuildVector() 195 unsigned Swizzle = It.second; in RebuildVector() 218 for (MachineRegisterInfo::use_instr_iterator It = MRI->use_instr_begin(Reg), in RebuildVector() local 219 E = MRI->use_instr_end(); It != E; ++It) { in RebuildVector() 220 LLVM_DEBUG(dbgs() << " "; (*It).dump(); dbgs() << " ->"); in RebuildVector() [all …]
|
| D | R600MachineCFGStructurizer.cpp | 189 int countActiveBlock(MBBVector::const_iterator It, 324 MBBInfoMap::const_iterator It = BlockInfoMap.find(MBB); in getSCCNum() local 325 if (It == BlockInfoMap.end()) in getSCCNum() 327 return (*It).second->SccNum; in getSCCNum() 332 LoopLandInfoMap::const_iterator It = LLInfoMap.find(LoopRep); in getLoopLandInfo() local 333 if (It == LLInfoMap.end()) in getLoopLandInfo() 335 return (*It).second; in getLoopLandInfo() 347 MBBInfoMap::const_iterator It = BlockInfoMap.find(MBB); in isRetiredBlock() local 348 if (It == BlockInfoMap.end()) in isRetiredBlock() 350 return (*It).second->IsRetired; in isRetiredBlock() [all …]
|
| /openbsd/src/gnu/llvm/compiler-rt/lib/fuzzer/ |
| 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 …]
|
| /openbsd/src/gnu/gcc/libstdc++-v3/include/ext/pb_ds/detail/ov_tree_map_/ |
| D | constructors_destructor_fn_imps.hpp | 106 template<typename It> 109 copy_from_range(It first_it, It last_it) in copy_from_range() 135 template<typename It> 138 copy_from_ordered_range(It first_it, It last_it) in copy_from_ordered_range() 146 It source_it = first_it; in copy_from_ordered_range() 147 It source_end_it = last_it; in copy_from_ordered_range() 177 template<typename It> 180 copy_from_ordered_range(It first_it, It last_it, It other_first_it, in copy_from_ordered_range() 181 It other_last_it) in copy_from_ordered_range() 190 It source_it = first_it; in copy_from_ordered_range() [all …]
|
| /openbsd/src/gnu/llvm/llvm/lib/CodeGen/ |
| 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() 265 for (auto It = Begin; It != End; ++It) { in preassignVRegs() local [all …]
|
| D | FixupStatepointCallerSaved.cpp | 127 for (auto It = ++(RI.getReverse()); It != E; ++It) { in performCopyPropagation() local 128 if (It->readsRegister(Reg, &TRI) && !Use) in performCopyPropagation() 129 Use = &*It; in performCopyPropagation() 130 if (It->modifiesRegister(Reg, &TRI)) { in performCopyPropagation() 131 Def = &*It; in performCopyPropagation() 241 for (auto &It : Cache) in reset() local 242 It.second.Index = 0; in reset() 253 auto It = GlobalIndices.find(EHPad); in getFrameIndex() local 254 if (It != GlobalIndices.end()) { in getFrameIndex() 255 auto &Vec = It->second; in getFrameIndex() [all …]
|
| /openbsd/src/gnu/llvm/clang/lib/AST/Interp/ |
| D | Record.cpp | 31 auto It = FieldMap.find(FD); in getField() local 32 assert(It != FieldMap.end() && "Missing field"); in getField() 33 return It->second; in getField() 37 auto It = BaseMap.find(FD); in getBase() local 38 assert(It != BaseMap.end() && "Missing base"); in getBase() 39 return It->second; in getBase() 43 auto It = VirtualBaseMap.find(FD); in getVirtualBase() local 44 assert(It != VirtualBaseMap.end() && "Missing virtual base"); in getVirtualBase() 45 return It->second; in getVirtualBase()
|
| /openbsd/src/regress/usr.bin/mandoc/mdoc/Bl/ |
| D | emptyitem.out_lint | 1 mandoc: emptyitem.in:11:2: ERROR: skipping all arguments: It head argument 2 mandoc: emptyitem.in:13:2: WARNING: empty list item: Bl -bullet It 3 mandoc: emptyitem.in:21:2: WARNING: empty list item: Bl -dash It 4 mandoc: emptyitem.in:21:2: ERROR: skipping all arguments: It head argument 5 mandoc: emptyitem.in:29:2: WARNING: empty list item: Bl -enum It 6 mandoc: emptyitem.in:30:2: ERROR: skipping all arguments: It head argument 7 mandoc: emptyitem.in:35:2: ERROR: skipping all arguments: It Sy 8 mandoc: emptyitem.in:37:2: WARNING: empty list item: Bl -hyphen It
|
| D | breakingIt.out_lint | 1 mandoc: breakingIt.in:14:2: ERROR: inserting missing end of block: It breaks Ao 2 mandoc: breakingIt.in:21:2: ERROR: inserting missing end of block: It breaks Ao 3 mandoc: breakingIt.in:29:2: ERROR: inserting missing end of block: It breaks Ao 4 mandoc: breakingIt.in:37:2: ERROR: inserting missing end of block: It breaks Ao 5 mandoc: breakingIt.in:45:2: ERROR: inserting missing end of block: It breaks Bd 6 mandoc: breakingIt.in:52:2: ERROR: inserting missing end of block: It breaks Bd 7 mandoc: breakingIt.in:60:2: ERROR: inserting missing end of block: It breaks Bd 8 mandoc: breakingIt.in:68:2: ERROR: inserting missing end of block: It breaks Bd
|
| /openbsd/src/gnu/llvm/llvm/include/llvm/XRay/ |
| 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 …]
|
| /openbsd/src/gnu/llvm/lldb/source/Plugins/SymbolFile/Breakpad/ |
| 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() 244 LineIterator It(*m_objfile_sp, Record::Func, data.bookmark); in GetOrCreateFunction() local 245 assert(Record::classify(*It) == Record::Func); in GetOrCreateFunction() 247 if (auto record = FuncRecord::parse(*It)) { in GetOrCreateFunction() [all …]
|
| /openbsd/src/gnu/llvm/llvm/include/llvm/IR/ |
| D | CFG.h | 52 USE_iterator It; variable 56 while (!It.atEnd()) { in advancePastNonTerminators() 57 if (auto *Inst = dyn_cast<Instruction>(*It)) in advancePastNonTerminators() 61 ++It; in advancePastNonTerminators() 67 explicit inline PredIterator(Ptr *bb) : It(bb->user_begin()) { in PredIterator() 70 inline PredIterator(Ptr *bb, bool) : It(bb->user_end()) {} in PredIterator() 72 inline bool operator==(const Self& x) const { return It == x.It; } 76 assert(!It.atEnd() && "pred_iterator out of range!"); 77 return cast<Instruction>(*It)->getParent(); 82 assert(!It.atEnd() && "pred_iterator out of range!"); [all …]
|
| /openbsd/src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| D | AssignmentTrackingAnalysis.h | 66 const auto *It = VarLocRecords.begin(); in single_locs_end() local 67 std::advance(It, SingleVarLocEnd); in single_locs_end() 68 return It; in single_locs_end() 73 const auto *It = VarLocRecords.begin(); in locs_begin() local 74 std::advance(It, Span.first); in locs_begin() 75 return It; in locs_begin() 81 const auto *It = VarLocRecords.begin(); in locs_end() local 82 std::advance(It, Span.second); in locs_end() 83 return It; in locs_end()
|
| /openbsd/src/sys/arch/amd64/stand/boot/ |
| D | boot.8 | 50 .It 52 .It 54 .It 57 .It 59 .It 76 .It 79 .It 89 .It 96 .It 99 .It [all …]
|
| /openbsd/src/gnu/llvm/llvm/tools/llvm-xray/ |
| 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()
|
| /openbsd/src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| D | LoopUnrollAndJam.cpp | 362 for (unsigned It = 1; It != Count; ++It) { in UnrollAndJamLoop() local 372 BasicBlock *New = CloneBasicBlock(*BB, VMap, "." + Twine(It)); in UnrollAndJamLoop() 398 PrevItValueMap[New] = (It == 1 ? *BB : LastValueMap[*BB]); in UnrollAndJamLoop() 403 const_cast<Value *>(It == 1 ? VI->first : LastValueMap[VI->first]); in UnrollAndJamLoop() 411 DT->addNewBlock(New, ForeBlocksLast[It - 1]); in UnrollAndJamLoop() 413 DT->addNewBlock(New, SubLoopBlocksLast[It - 1]); in UnrollAndJamLoop() 415 DT->addNewBlock(New, AftBlocksLast[It - 1]); in UnrollAndJamLoop() 440 for (PHINode &Phi : ForeBlocksFirst[It]->phis()) { in UnrollAndJamLoop() 441 Value *OldValue = Phi.getIncomingValueForBlock(AftBlocksLast[It]); in UnrollAndJamLoop() 448 Phi.setIncomingBlock(0, ForeBlocksLast[It - 1]); in UnrollAndJamLoop() [all …]
|
| /openbsd/src/gnu/llvm/llvm/lib/Transforms/ObjCARC/ |
| D | BlotMapVector.h | 80 typename MapTy::iterator It = Map.find(Key); in find() local 81 if (It == Map.end()) in find() 83 return Vector.begin() + It->second; in find() 87 typename MapTy::const_iterator It = Map.find(Key); in find() local 88 if (It == Map.end()) in find() 90 return Vector.begin() + It->second; in find() 97 typename MapTy::iterator It = Map.find(Key); in blot() local 98 if (It == Map.end()) in blot() 100 Vector[It->second].first = KeyT(); in blot() 101 Map.erase(It); in blot()
|
| D | ObjCARC.h | 132 auto It = RVCalls.find(CI); in eraseInst() local 133 if (It != RVCalls.end()) { in eraseInst() 135 for (User *U : It->second->users()) in eraseInst() 143 It->second, LLVMContext::OB_clang_arc_attachedcall, It->second); in eraseInst() 144 NewCall->copyMetadata(*It->second); in eraseInst() 145 It->second->replaceAllUsesWith(NewCall); in eraseInst() 146 It->second->eraseFromParent(); in eraseInst() 147 RVCalls.erase(It); in eraseInst()
|