/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Scalar/ |
H A D | GVN.h | 264 LeaderTableEntry &Curr = LeaderTable[N]; 265 if (!Curr.Val) { 266 Curr.Val = V; 267 Curr.BB = BB; 274 Node->Next = Curr.Next; 275 Curr.Next = Node; 282 LeaderTableEntry *Curr = &LeaderTable[N]; 284 while (Curr && (Curr->Val != I || Curr->BB != BB)) { 285 Prev = Curr; 286 Curr = Curr->Next; [all …]
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/ARCMigrate/ |
H A D | TransProtectedScope.cpp | 64 SwitchCase *Curr = S->getSwitchCaseList(); in VisitSwitchStmt() local 65 if (!Curr) in VisitSwitchStmt() 67 Stmt *Parent = getCaseParent(Curr); in VisitSwitchStmt() 68 Curr = Curr->getNextSwitchCase(); in VisitSwitchStmt() 70 while (Curr) { in VisitSwitchStmt() 71 if (getCaseParent(Curr) != Parent) in VisitSwitchStmt() 73 Curr = Curr->getNextSwitchCase(); in VisitSwitchStmt() 77 Curr = S->getSwitchCaseList(); in VisitSwitchStmt() 79 while (Curr) { in VisitSwitchStmt() 81 CaseInfo(Curr, SourceRange(Curr->getBeginLoc(), NextLoc))); in VisitSwitchStmt() [all …]
|
/netbsd-src/external/apache2/llvm/dist/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.File != Prev.File) { in encode() [all …]
|
H A D | GsymCreator.cpp | 177 FirstIt = std::find_if(FirstIt, LastIt, [&](const auto &Curr) { in removeIfBinary() argument 178 return Pred(*PrevIt++, Curr); in removeIfBinary() 225 [&](const auto &Prev, const auto &Curr) { in finalize() argument 226 if (Prev.Range.intersects(Curr.Range)) { in finalize() 228 if (Prev.Range == Curr.Range) { in finalize() 235 if (Prev == Curr) { in finalize() 245 if (!Prev.hasRichInfo() && Curr.hasRichInfo()) { in finalize() 255 << Curr << "\n"; in finalize() 263 << Curr << "\n"; in finalize() 266 Curr.Range.contains(Prev.Range.Start)) { in finalize() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
H A D | SuffixTree.h | 267 SuffixTreeNode *Curr = ToVisit.back(); in advance() local 273 unsigned Length = Curr->ConcatLen; in advance() 278 for (auto &ChildPair : Curr->Children) { in advance() 291 if (Curr->isRoot()) in advance() 297 N = Curr; in advance()
|
H A D | ScopedPrinter.h | 153 uint64_t Curr = Value; in printFlags() local 154 while (Curr > 0) { in printFlags() 155 if (Curr & 1) in printFlags() 157 Curr >>= 1; in printFlags()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/AggressiveInstCombine/ |
H A D | TruncInstCombine.cpp | 85 Value *Curr = Worklist.back(); in buildTruncExpressionDag() local 87 if (isa<Constant>(Curr)) { in buildTruncExpressionDag() 92 auto *I = dyn_cast<Instruction>(Curr); in buildTruncExpressionDag() 166 Value *Curr = Worklist.back(); in getMinBitWidth() local 168 if (isa<Constant>(Curr)) { in getMinBitWidth() 174 auto *I = cast<Instruction>(Curr); in getMinBitWidth()
|
/netbsd-src/external/apache2/llvm/dist/clang/tools/driver/ |
H A D | cc1_main.cpp | 122 size_t Curr = getCurrentStackAllocation(); in ensureStackAddressSpace() local 124 if (Curr < kTargetStack) { in ensureStackAddressSpace() 126 static_cast<volatile char *>(alloca(kTargetStack - Curr)); in ensureStackAddressSpace() 128 Alloc[kTargetStack - Curr - 1] = 0; in ensureStackAddressSpace()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/Windows/ |
H A D | Threading.inc | 152 for (auto *Curr = Info; Curr < End; 153 Curr = (SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX *)((uint8_t *)Curr + 154 Curr->Size)) { 155 if (Curr->Relationship != Relationship) 157 Fn(Curr);
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/ |
H A D | PPCBoolRetToInt.cpp | 78 Value *Curr = WorkList.pop_back_val(); in findAllDefs() local 79 auto *CurrUser = dyn_cast<User>(Curr); in findAllDefs() 82 if (CurrUser && !isa<CallInst>(Curr) && !isa<Constant>(Curr)) in findAllDefs()
|
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/MachO/ |
H A D | MachOReader.cpp | 68 const SectionType *Curr = in extractSections() local 71 for (; reinterpret_cast<const void *>(Curr) < End; Curr++) { in extractSections() 74 memcpy((void *)&Sec, Curr, sizeof(SectionType)); in extractSections() 80 std::make_unique<Section>(constructSection(*Curr, NextSectionIndex))); in extractSections()
|
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-stress/ |
H A D | llvm-stress.cpp | 724 BasicBlock *Curr = Instr->getParent(); in IntroduceControlFlow() local 726 BasicBlock *Next = Curr->splitBasicBlock(Loc, "CF"); in IntroduceControlFlow() 727 Instr->moveBefore(Curr->getTerminator()); in IntroduceControlFlow() 728 if (Curr != &F->getEntryBlock()) { in IntroduceControlFlow() 729 BranchInst::Create(Curr, Next, Instr, Curr->getTerminator()); in IntroduceControlFlow() 730 Curr->getTerminator()->eraseFromParent(); in IntroduceControlFlow()
|
/netbsd-src/external/apache2/llvm/dist/llvm/tools/obj2yaml/ |
H A D | macho2yaml.cpp | 168 const SectionType *Curr = in extractSections() local 170 for (; reinterpret_cast<const void *>(Curr) < End; Curr++) { in extractSections() 172 memcpy((void *)&Sec, Curr, sizeof(SectionType)); in extractSections() 191 return reinterpret_cast<const char *>(Curr); in extractSections() 269 auto Curr = Start + i * sizeof(MachO::build_tool_version); in processLoadCommandData() local 271 memcpy((void *)&BV, Curr, sizeof(MachO::build_tool_version)); in processLoadCommandData()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFVerifier.cpp | 226 DWARFDie Curr = Die.getParent(); in verifyDebugInfoCallSite() local 227 for (; Curr.isValid() && !Curr.isSubprogramDIE(); Curr = Die.getParent()) { in verifyDebugInfoCallSite() 228 if (Curr.getTag() == DW_TAG_inlined_subroutine) { in verifyDebugInfoCallSite() 230 Curr.dump(OS); in verifyDebugInfoCallSite() 235 if (!Curr.isValid()) { in verifyDebugInfoCallSite() 242 Curr.find({DW_AT_call_all_calls, DW_AT_call_all_source_calls, in verifyDebugInfoCallSite() 248 Curr.dump(OS); in verifyDebugInfoCallSite()
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/ |
H A D | SparseBitVector.h | 147 int find_next(unsigned Curr) const { in find_next() 148 if (Curr >= BITS_PER_ELEMENT) in find_next() 151 unsigned WordPos = Curr / BITWORD_SIZE; in find_next() 152 unsigned BitPos = Curr % BITWORD_SIZE; in find_next()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
H A D | IRSimilarityIdentifier.cpp | 401 for (unsigned &Curr : ValueMappingIt->second) in checkNumberingAndReplaceCommutative() local 403 if (TargetValueNumbers.contains(Curr)) in checkNumberingAndReplaceCommutative() 404 NewSet.insert(Curr); in checkNumberingAndReplaceCommutative()
|
H A D | ValueTracking.cpp | 2151 auto *Curr = WorkList.pop_back_val(); in isKnownNonNullFromDominatingCondition() local 2158 if (match(Curr, m_LogicalAnd(m_Value(), m_Value()))) { in isKnownNonNullFromDominatingCondition() 2159 for (auto *CurrU : Curr->users()) in isKnownNonNullFromDominatingCondition() 2165 if (const BranchInst *BI = dyn_cast<BranchInst>(Curr)) { in isKnownNonNullFromDominatingCondition() 2173 } else if (NonNullIfTrue && isGuard(Curr) && in isKnownNonNullFromDominatingCondition() 2174 DT->dominates(cast<Instruction>(Curr), CtxI)) { in isKnownNonNullFromDominatingCondition()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | CodeExtractor.cpp | 104 User const *Curr = ToVisit.pop_back_val(); in isBlockValidForExtraction() local 105 if (!Visited.insert(Curr).second) in isBlockValidForExtraction() 107 if (isa<BlockAddress const>(Curr)) in isBlockValidForExtraction() 110 if (isa<Instruction>(Curr) && cast<Instruction>(Curr)->getParent() != &BB) in isBlockValidForExtraction() 113 for (auto const &U : Curr->operands()) { in isBlockValidForExtraction()
|
H A D | LoopUtils.cpp | 1202 const Instruction *Curr = WorkList.pop_back_val(); in hasHardUserWithinLoop() local 1204 if (!L->contains(Curr)) in hasHardUserWithinLoop() 1207 if (Curr->mayHaveSideEffects()) in hasHardUserWithinLoop() 1210 for (auto U : Curr->users()) { in hasHardUserWithinLoop()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
H A D | EarlyCSE.cpp | 1077 Instruction *Curr = WorkList.pop_back_val(); in handleBranchCondition() local 1079 AvailableValues.insert(Curr, TorF); in handleBranchCondition() 1081 << Curr->getName() << "' as " << *TorF << " in " in handleBranchCondition() 1087 if (unsigned Count = replaceDominatedUsesWith(Curr, TorF, DT, in handleBranchCondition() 1095 if (MatchBinOp(Curr, PropagateOpcode, LHS, RHS)) in handleBranchCondition()
|
H A D | LoopDistribute.cpp | 484 for (auto Curr = PartitionContainer.cbegin(), in cloneLoops() local 487 Next != E; ++Curr, ++Next) in cloneLoops() 490 Curr->getDistributedLoop()->getExitingBlock()); in cloneLoops()
|
H A D | GVN.cpp | 2568 BasicBlock *Curr, unsigned int ValNo) { in performScalarPREInsertion() argument 2587 VN.phiTranslate(Pred, Curr, VN.lookup(Op), *this); in performScalarPREInsertion()
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/TableGen/ |
H A D | Record.h | 1925 const char *Curr = Start; in RecordParts() local 1926 bool IsDigitPart = isDigit(Curr[0]); in RecordParts() 1928 bool IsDigit = isDigit(Curr[I]); in RecordParts() 1932 Start = &Curr[I]; in RecordParts() 1933 IsDigitPart = isDigit(Curr[I]); in RecordParts()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Object/ |
H A D | WasmObjectFile.cpp | 1892 int Curr = Order; in isValidSectionOrder() local 1896 int Next = DisallowedPredecessors[Curr][I]; in isValidSectionOrder() 1909 Curr = WorkList.pop_back_val(); in isValidSectionOrder() 1910 if (Seen[Curr]) in isValidSectionOrder()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/ |
H A D | CombinerHelper.cpp | 3350 const MachineInstr *Curr = Ors.pop_back_val(); in findCandidatesForLoadOrCombine() local 3351 Register OrLHS = Curr->getOperand(1).getReg(); in findCandidatesForLoadOrCombine() 3352 Register OrRHS = Curr->getOperand(2).getReg(); in findCandidatesForLoadOrCombine()
|