| /freebsd/contrib/llvm-project/clang/lib/InstallAPI/ |
| H A D | DirectoryScanner.cpp | 145 StringRef Curr = i->path(); in scanMultipleFrameworks() local 153 return createStringError(ec, Curr); in scanMultipleFrameworks() 155 if (sys::fs::is_symlink_file(Curr)) in scanMultipleFrameworks() 158 if (isFramework(Curr)) { in scanMultipleFrameworks() 159 if (!FM.getOptionalDirectoryRef(Curr)) in scanMultipleFrameworks() 161 Library &Framework = getOrCreateLibrary(Curr, Libs); in scanMultipleFrameworks() 162 if (Error Err = scanFrameworkDirectory(Curr, Framework)) in scanMultipleFrameworks() 189 const StringRef Curr = i->path(); in scanFrameworkVersionsDirectory() local 197 return createStringError(ec, Curr); in scanFrameworkVersionsDirectory() 199 if (sys::fs::is_symlink_file(Curr)) in scanFrameworkVersionsDirectory() [all …]
|
| H A D | DylibVerifier.cpp | 143 const DylibVerifier::Result Curr) { in updateResult() argument 144 if (Prev == Curr) in updateResult() 154 Curr == DylibVerifier::Result::Ignore) in updateResult() 157 return Curr; in updateResult()
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/ |
| H A D | LineTable.cpp | 201 for (const auto &Curr : Lines) { in encode() local 202 if (Curr.Addr < BaseAddr) in encode() 206 PRIx64, Curr.Addr, BaseAddr); in encode() 207 if (Curr.Addr < Prev.Addr) in encode() 210 const uint64_t AddrDelta = Curr.Addr - Prev.Addr; in encode() 212 if (Curr.Line > Prev.Line) in encode() 213 LineDelta = Curr.Line - Prev.Line; in encode() 214 else if (Prev.Line > Curr.Line) in encode() 215 LineDelta = -((int32_t)(Prev.Line - Curr.Line)); in encode() 218 if (Curr in encode() [all...] |
| H A D | GsymCreator.cpp | 286 FunctionInfo &Curr = Funcs[Idx]; in finalize() local 290 const bool ranges_equal = Prev.Range == Curr.Range; in finalize() 291 if (ranges_equal || Prev.Range.intersects(Curr.Range)) { in finalize() 300 if (!(Prev == Curr)) { in finalize() 301 if (Prev.hasRichInfo() && Curr.hasRichInfo()) in finalize() 309 << Curr << "\n"; in finalize() 315 std::swap(Prev, Curr); in finalize() 322 << Curr << "\n"; in finalize() 324 FinalizedFuncs.emplace_back(std::move(Curr)); in finalize() 327 if (Prev.Range.size() == 0 && Curr.Range.contains(Prev.Range.start())) { in finalize() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | SuffixTree.cpp | 308 auto *Curr = InternalNodesToVisit.pop_back_val(); in advance() local 312 unsigned Length = Curr->getConcatLen(); in advance() 316 for (auto &ChildPair : Curr->Children) in advance() 328 if (Curr->isRoot()) in advance() 333 for (unsigned I = Curr->getLeftLeafIdx(); I <= Curr->getRightLeafIdx(); in advance() 337 for (auto &ChildPair : Curr->Children) in advance() 347 N = Curr; in advance()
|
| /freebsd/contrib/llvm-project/clang/lib/ExtractAPI/ |
| H A D | API.cpp | 96 for (APIRecord *Curr = First; Curr != Record; Curr = Curr->NextInContext) in removeFromRecordChain() local 97 Prev = Curr; in removeFromRecordChain()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
| H A D | LoongArchMergeBaseOffset.cpp | 356 MachineInstr *Curr = MRI->getVRegDef(Reg); in foldLargeOffset() local 357 if (!Curr) in foldLargeOffset() 360 switch (Curr->getOpcode()) { in foldLargeOffset() 365 MachineOperand ImmOp = Curr->getOperand(2); in foldLargeOffset() 369 Reg = Curr->getOperand(1).getReg(); in foldLargeOffset() 370 Instrs.push_back(Curr); in foldLargeOffset() 374 MachineOperand ImmOp = Curr->getOperand(1); in foldLargeOffset() 379 Instrs.push_back(Curr); in foldLargeOffset() 383 MachineOperand ImmOp = Curr->getOperand(2); in foldLargeOffset() 388 Reg = Curr->getOperand(1).getReg(); in foldLargeOffset() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CGData/ |
| H A D | CodeGenData.cpp | 174 Expected<Header> Header::readFromBuffer(const unsigned char *Curr) { in readFromBuffer() argument 181 H.Magic = endian::readNext<uint64_t, endianness::little, unaligned>(Curr); in readFromBuffer() 184 H.Version = endian::readNext<uint32_t, endianness::little, unaligned>(Curr); in readFromBuffer() 187 H.DataKind = endian::readNext<uint32_t, endianness::little, unaligned>(Curr); in readFromBuffer() 193 endian::readNext<uint64_t, endianness::little, unaligned>(Curr); in readFromBuffer() 196 endian::readNext<uint64_t, endianness::little, unaligned>(Curr); in readFromBuffer()
|
| H A D | OutlinedHashTreeRecord.cpp | 155 HashNode *Curr = IdNodeMap[Id]; in convertFromStableData() local 156 Curr->Hash = NodeStable.Hash; in convertFromStableData() 158 Curr->Terminals = NodeStable.Terminals; in convertFromStableData() 159 auto &Successors = Curr->Successors; in convertFromStableData()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | MemoryProfileInfo.cpp | 128 CallStackTrieNode *Curr = nullptr; in addCallStack() local 140 Curr = Alloc; in addCallStack() 144 auto [Next, Inserted] = Curr->Callers.try_emplace(StackId); in addCallStack() 146 Curr = Next->second; in addCallStack() 147 Curr->addAllocType(AllocType); in addCallStack() 153 Curr = New; in addCallStack() 155 assert(Curr); in addCallStack() 156 llvm::append_range(Curr->ContextSizeInfo, ContextSizeInfo); in addCallStack()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCBoolRetToInt.cpp | 76 Value *Curr = WorkList.pop_back_val(); in findAllDefs() local 77 auto *CurrUser = dyn_cast<User>(Curr); in findAllDefs() 80 if (CurrUser && !isa<CallInst>(Curr) && !isa<Constant>(Curr)) in findAllDefs()
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/Windows/ |
| H A D | Threading.inc | 151 for (auto *Curr = Info; Curr < End; 152 Curr = (SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX *)((uint8_t *)Curr + 153 Curr->Size)) { 154 if (Curr->Relationship != Relationship) 156 Fn(Curr);
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | TruncInstCombine.cpp | 96 Value *Curr = Worklist.back(); in buildTruncExpressionGraph() local 98 if (isa<Constant>(Curr)) { in buildTruncExpressionGraph() 103 auto *I = dyn_cast<Instruction>(Curr); in buildTruncExpressionGraph() 191 Value *Curr = Worklist.back(); in getMinBitWidth() local 193 if (isa<Constant>(Curr)) { in getMinBitWidth() 199 auto *I = cast<Instruction>(Curr); in getMinBitWidth()
|
| /freebsd/contrib/llvm-project/llvm/lib/SandboxIR/ |
| H A D | Tracker.cpp | 40 const ContextSnapshot &Curr) const { in diff() 43 auto CurrFSIt = Curr.find(F); in diff() 44 if (CurrFSIt == Curr.end()) { in diff() 59 for (const auto &[F, CurrFS] : Curr) { in diff()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-stress/ |
| H A D | llvm-stress.cpp | 707 BasicBlock *Curr = Instr->getParent(); in IntroduceControlFlow() local 709 BasicBlock *Next = Curr->splitBasicBlock(Loc, "CF"); in IntroduceControlFlow() 710 Instr->moveBefore(Curr->getTerminator()->getIterator()); in IntroduceControlFlow() 711 if (Curr != &F->getEntryBlock()) { in IntroduceControlFlow() 712 BranchInst::Create(Curr, Next, Instr, in IntroduceControlFlow() 713 Curr->getTerminator()->getIterator()); in IntroduceControlFlow() 714 Curr->getTerminator()->eraseFromParent(); in IntroduceControlFlow()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | GVN.cpp | 795 LeaderListNode &Curr = NumToLeaders[N]; in insert() local 796 if (!Curr.Entry.Val) { in insert() 797 Curr.Entry.Val = V; in insert() 798 Curr.Entry.BB = BB; in insert() 805 Node->Next = Curr.Next; in insert() 806 Curr.Next = Node; in insert() 814 LeaderListNode *Curr = &NumToLeaders[N]; in erase() local 816 while (Curr && (Curr->Entry.Val != I || Curr->Entry.BB != BB)) { in erase() 817 Prev = Curr; in erase() 818 Curr = Curr->Next; in erase() [all …]
|
| H A D | LoopDistribute.cpp | 476 for (auto Curr = PartitionContainer.cbegin(), in cloneLoops() local 479 Next != E; ++Curr, ++Next) in cloneLoops() 482 Curr->getDistributedLoop()->getExitingBlock()); in cloneLoops()
|
| H A D | EarlyCSE.cpp | 1210 Instruction *Curr = WorkList.pop_back_val(); in handleBranchCondition() local 1212 AvailableValues.insert(Curr, TorF); in handleBranchCondition() 1214 << Curr->getName() << "' as " << *TorF << " in " in handleBranchCondition() 1220 if (unsigned Count = replaceDominatedUsesWith(Curr, TorF, DT, in handleBranchCondition() 1228 if (MatchBinOp(Curr, PropagateOpcode, LHS, RHS)) in handleBranchCondition()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVISelLowering.cpp | 512 MachineBasicBlock *Curr = MI.getParent(); in finalizeLowering() local 514 if (Type->getParent() == Curr && !Curr->pred_empty()) in finalizeLowering() 564 MachineBasicBlock *Curr = MI->getParent(); in finalizeLowering() local 565 MachineBasicBlock *Pred = *Curr->pred_begin(); in finalizeLowering() 566 Pred->insert(Pred->getFirstTerminator(), Curr->remove_instr(MI)); in finalizeLowering()
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/ |
| H A D | MachOReader.cpp | 64 for (auto Curr = reinterpret_cast<const SectionType *>(LoadCmd.Ptr + in extractSections() local 68 Curr < End; ++Curr) { in extractSections() 70 memcpy((void *)&Sec, reinterpret_cast<const char *>(Curr), in extractSections()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | Store.cpp | 54 BindResult Curr = Bind(S, Location.castAs<Loc>(), Val); in enterStackFrame() local 55 Result.ResultingStore = Curr.ResultingStore; in enterStackFrame() 56 llvm::append_range(Result.FailedToBindValues, Curr.FailedToBindValues); in enterStackFrame()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | SparseBitVector.h | 147 /// "Curr" bit. Returns -1 if the next set bit is not found. 148 int find_next(unsigned Curr) const { in find_next() 149 if (Curr >= BITS_PER_ELEMENT) in find_next() 152 unsigned WordPos = Curr / BITWORD_SIZE; in find_next() 153 unsigned BitPos = Curr % BITWORD_SIZE; in find_next()
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFVerifier.cpp | 332 DWARFDie Curr = Die.getParent(); in verifyDebugInfoCallSite() local 333 for (; Curr.isValid() && !Curr.isSubprogramDIE(); Curr = Die.getParent()) { in verifyDebugInfoCallSite() 334 if (Curr.getTag() == DW_TAG_inlined_subroutine) { in verifyDebugInfoCallSite() 338 Curr.dump(OS); in verifyDebugInfoCallSite() 344 if (!Curr.isValid()) { in verifyDebugInfoCallSite() 353 std::optional<DWARFFormValue> CallAttr = Curr.find( in verifyDebugInfoCallSite() 362 Curr.dump(OS); in verifyDebugInfoCallSite()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | ScopedPrinter.h | 201 uint64_t Curr = Value; in printFlags() local 202 while (Curr > 0) { in printFlags() 203 if (Curr & 1) in printFlags() 205 Curr >>= 1; in printFlags()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | CodeExtractor.cpp | 97 User const *Curr = ToVisit.pop_back_val(); in isBlockValidForExtraction() local 98 if (!Visited.insert(Curr).second) in isBlockValidForExtraction() 100 if (isa<BlockAddress const>(Curr)) in isBlockValidForExtraction() 103 if (isa<Instruction>(Curr) && cast<Instruction>(Curr)->getParent() != &BB) in isBlockValidForExtraction() 106 for (auto const &U : Curr->operands()) { in isBlockValidForExtraction()
|