Searched refs:Curr (Results 1 - 25 of 27) sorted by relevance

12

/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Scalar/
H A DGVN.h264 LeaderTableEntry &Curr = LeaderTable[N]; local
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]; local
284 while (Curr && (Curr->Val != I || Curr
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/lib/ARCMigrate/
H A DTransProtectedScope.cpp64 SwitchCase *Curr = S->getSwitchCaseList(); local
65 if (!Curr)
67 Stmt *Parent = getCaseParent(Curr);
68 Curr = Curr->getNextSwitchCase();
70 while (Curr) {
71 if (getCaseParent(Curr) != Parent)
73 Curr = Curr->getNextSwitchCase();
77 Curr
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DSuffixTree.h267 SuffixTreeNode *Curr = ToVisit.back(); local
273 unsigned Length = Curr->ConcatLen;
278 for (auto &ChildPair : Curr->Children) {
291 if (Curr->isRoot())
297 N = Curr;
H A DScopedPrinter.h153 uint64_t Curr = Value; local
154 while (Curr > 0) {
155 if (Curr & 1)
157 Curr >>= 1;
/netbsd-current/external/apache2/llvm/dist/llvm/lib/DebugInfo/GSYM/
H A DLineTable.cpp201 for (const auto &Curr : Lines) {
202 if (Curr.Addr < BaseAddr)
206 PRIx64, Curr.Addr, BaseAddr);
207 if (Curr.Addr < Prev.Addr)
210 const uint64_t AddrDelta = Curr.Addr - Prev.Addr;
212 if (Curr.Line > Prev.Line)
213 LineDelta = Curr.Line - Prev.Line;
214 else if (Prev.Line > Curr.Line)
215 LineDelta = -((int32_t)(Prev.Line - Curr.Line));
218 if (Curr
[all...]
H A DGsymCreator.cpp177 FirstIt = std::find_if(FirstIt, LastIt, [&](const auto &Curr) {
178 return Pred(*PrevIt++, Curr);
225 [&](const auto &Prev, const auto &Curr) {
226 if (Prev.Range.intersects(Curr.Range)) {
228 if (Prev.Range == Curr.Range) {
235 if (Prev == Curr) {
245 if (!Prev.hasRichInfo() && Curr.hasRichInfo()) {
255 << Curr << "\n";
263 << Curr << "\n";
266 Curr
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/tools/driver/
H A Dcc1_main.cpp122 size_t Curr = getCurrentStackAllocation();
124 if (Curr < kTargetStack) {
126 static_cast<volatile char *>(alloca(kTargetStack - Curr));
128 Alloc[kTargetStack - Curr - 1] = 0;
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/AggressiveInstCombine/
H A DTruncInstCombine.cpp85 Value *Curr = Worklist.back(); local
87 if (isa<Constant>(Curr)) {
92 auto *I = dyn_cast<Instruction>(Curr);
166 Value *Curr = Worklist.back(); local
168 if (isa<Constant>(Curr)) {
174 auto *I = cast<Instruction>(Curr);
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCBoolRetToInt.cpp78 Value *Curr = WorkList.pop_back_val(); local
79 auto *CurrUser = dyn_cast<User>(Curr);
82 if (CurrUser && !isa<CallInst>(Curr) && !isa<Constant>(Curr))
/netbsd-current/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/MachO/
H A DMachOReader.cpp68 const SectionType *Curr = local
71 for (; reinterpret_cast<const void *>(Curr) < End; Curr++) {
74 memcpy((void *)&Sec, Curr, sizeof(SectionType));
80 std::make_unique<Section>(constructSection(*Curr, NextSectionIndex)));
/netbsd-current/external/apache2/llvm/dist/llvm/tools/obj2yaml/
H A Dmacho2yaml.cpp168 const SectionType *Curr = local
170 for (; reinterpret_cast<const void *>(Curr) < End; Curr++) {
172 memcpy((void *)&Sec, Curr, sizeof(SectionType));
191 return reinterpret_cast<const char *>(Curr);
269 auto Curr = Start + i * sizeof(MachO::build_tool_version); local
271 memcpy((void *)&BV, Curr, sizeof(MachO::build_tool_version));
/netbsd-current/external/apache2/llvm/dist/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp724 BasicBlock *Curr = Instr->getParent(); local
726 BasicBlock *Next = Curr->splitBasicBlock(Loc, "CF");
727 Instr->moveBefore(Curr->getTerminator());
728 if (Curr != &F->getEntryBlock()) {
729 BranchInst::Create(Curr, Next, Instr, Curr->getTerminator());
730 Curr->getTerminator()->eraseFromParent();
/netbsd-current/external/apache2/llvm/dist/llvm/lib/DebugInfo/DWARF/
H A DDWARFVerifier.cpp226 DWARFDie Curr = Die.getParent();
227 for (; Curr.isValid() && !Curr.isSubprogramDIE(); Curr = Die.getParent()) {
228 if (Curr.getTag() == DW_TAG_inlined_subroutine) {
230 Curr.dump(OS);
235 if (!Curr.isValid()) {
242 Curr.find({DW_AT_call_all_calls, DW_AT_call_all_source_calls,
248 Curr.dump(OS);
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A DSparseBitVector.h146 /// "Curr" bit. Returns -1 if the next set bit is not found.
147 int find_next(unsigned Curr) const {
148 if (Curr >= BITS_PER_ELEMENT)
151 unsigned WordPos = Curr / BITWORD_SIZE;
152 unsigned BitPos = Curr % BITWORD_SIZE;
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp104 User const *Curr = ToVisit.pop_back_val(); local
105 if (!Visited.insert(Curr).second)
107 if (isa<BlockAddress const>(Curr))
110 if (isa<Instruction>(Curr) && cast<Instruction>(Curr)->getParent() != &BB)
113 for (auto const &U : Curr->operands()) {
H A DLoopUtils.cpp1202 const Instruction *Curr = WorkList.pop_back_val(); local
1204 if (!L->contains(Curr))
1207 if (Curr->mayHaveSideEffects())
1210 for (auto U : Curr->users()) {
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLoopDistribute.cpp484 for (auto Curr = PartitionContainer.cbegin(),
487 Next != E; ++Curr, ++Next)
490 Curr->getDistributedLoop()->getExitingBlock());
H A DEarlyCSE.cpp1077 Instruction *Curr = WorkList.pop_back_val(); local
1079 AvailableValues.insert(Curr, TorF);
1081 << Curr->getName() << "' as " << *TorF << " in "
1087 if (unsigned Count = replaceDominatedUsesWith(Curr, TorF, DT,
1095 if (MatchBinOp(Curr, PropagateOpcode, LHS, RHS))
H A DGVN.cpp2568 BasicBlock *Curr, unsigned int ValNo) {
2587 VN.phiTranslate(Pred, Curr, VN.lookup(Op), *this);
2567 performScalarPREInsertion(Instruction *Instr, BasicBlock *Pred, BasicBlock *Curr, unsigned int ValNo) argument
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DIRSimilarityIdentifier.cpp401 for (unsigned &Curr : ValueMappingIt->second)
403 if (TargetValueNumbers.contains(Curr))
404 NewSet.insert(Curr);
H A DValueTracking.cpp2151 auto *Curr = WorkList.pop_back_val(); local
2158 if (match(Curr, m_LogicalAnd(m_Value(), m_Value()))) {
2159 for (auto *CurrU : Curr->users())
2165 if (const BranchInst *BI = dyn_cast<BranchInst>(Curr)) {
2173 } else if (NonNullIfTrue && isGuard(Curr) &&
2174 DT->dominates(cast<Instruction>(Curr), CtxI)) {
4383 // Prev = Curr; // Prev = PHI (Prev_0, Curr)
4384 // Curr = A[i];
4385 // *Prev, *Curr;
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/TableGen/
H A DRecord.h1925 const char *Curr = Start; local
1926 bool IsDigitPart = isDigit(Curr[0]);
1928 bool IsDigit = isDigit(Curr[I]);
1932 Start = &Curr[I];
1933 IsDigitPart = isDigit(Curr[I]);
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Object/
H A DWasmObjectFile.cpp1892 int Curr = Order; local
1896 int Next = DisallowedPredecessors[Curr][I];
1909 Curr = WorkList.pop_back_val();
1910 if (Seen[Curr])
/netbsd-current/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp3350 const MachineInstr *Curr = Ors.pop_back_val();
3351 Register OrLHS = Curr->getOperand(1).getReg();
3352 Register OrRHS = Curr->getOperand(2).getReg();
/netbsd-current/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp3092 std::unique_ptr<TypePromotionAction> Curr = Actions.pop_back_val(); local
3093 Curr->undo();

Completed in 424 milliseconds

12