| /src/external/apache2/llvm/dist/llvm/include/llvm/ADT/ |
| ilist_base.h | 41 static void removeRangeImpl(node_base_type &First, node_base_type &Last) { 43 node_base_type *Final = Last.getPrev(); 44 Last.setPrev(Prev); 45 Prev->setNext(&Last); 53 node_base_type &Last) { 54 if (&Next == &Last || &First == &Last) 62 node_base_type &Final = *Last.getPrev(); 65 First.getPrev()->setNext(&Last); 66 Last.setPrev(First.getPrev()) [all...] |
| simple_ilist.h | 74 /// equivalent to the last. 166 void insert(iterator I, Iterator First, Iterator Last) { 167 for (; First != Last; ++First) 205 iterator erase(iterator First, iterator Last) { 206 list_base_type::removeRange(*First.getNodePtr(), *Last.getNodePtr()); 207 return Last; 221 iterator eraseAndDispose(iterator First, iterator Last, Disposer dispose) { 222 while (First != Last) 224 return Last; 248 void splice(iterator I, simple_ilist &, iterator First, iterator Last) { [all...] |
| EnumeratedArray.h | 21 Enumeration LargestEnum = Enumeration::Last, typename IndexType = int,
|
| /src/external/apache2/llvm/dist/clang/include/clang/Basic/ |
| AttrKinds.h | 26 Last##CLASS = LAST_NAME,
|
| SyncScope.h | 39 /// Update enum value Last if necessary. 47 Last = OpenCLSubGroup 104 Last = SubGroup 125 S <= static_cast<unsigned>(Last); 129 static_assert(Last == SubGroup, "Does not include all synch scopes");
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/Demangle/ |
| StringView.h | 25 const char *Last; 31 StringView(const char (&Str)[N]) : First(Str), Last(Str + N - 1) {} 33 : First(First_), Last(Last_) {} 35 : First(First_), Last(First_ + Len) {} 36 StringView(const char *Str) : First(Str), Last(Str + std::strlen(Str)) {} 37 StringView() : First(nullptr), Last(nullptr) {} 58 return StringView(First + N, Last); 64 return StringView(First, Last - N); 107 const char *end() const { return Last; } 108 size_t size() const { return static_cast<size_t>(Last - First); [all...] |
| /src/external/apache2/llvm/dist/clang/lib/Lex/ |
| DependencyDirectivesSourceMinimizer.cpp | 50 const char *Last; 84 Minimizer &append(const char *First, const char *Last) { 85 Out.append(First, Last); 151 const char *Last = ++First; 152 while (Last != End && *Last != '(') 153 ++Last; 154 if (Last == End) { 155 First = Last; // Hit the end... just give up. 159 StringRef Terminator(First, Last - First) [all...] |
| /src/sys/external/bsd/compiler_rt/dist/lib/profile/ |
| InstrProfilingPlatformOther.c | 49 #define UPDATE_LAST(Last, New) Last = New > Last ? New : Last
|
| /src/external/apache2/llvm/dist/clang/lib/Format/ |
| AffectedRangeManager.cpp | 35 FormatToken *Last = Line->Last; 38 Last = (*PPEnd)->Last; 42 if (affectsTokenRange(*Line->First, *Last, 73 const FormatToken &Last, 78 SourceLocation End = Last.getStartOfNonWhitespace(); 79 End = End.getLocWithOffset(Last.TokenText.size()); 139 PreviousLine->Affected && PreviousLine->Last->is(tok::comment);
|
| TokenAnnotator.h | 68 Last = Current; 69 Last->Next = nullptr; 95 return Last && Last->endsSequence(Tokens...); 123 FormatToken *Last;
|
| UnwrappedLineFormatter.cpp | 32 /// getIndent() will return the indent for the last line \c nextLine was called 205 // Can't join the last line with anything. 210 if (TheLine->Last->is(TT_LineComment)) 225 Limit = TheLine->Last->TotalLength > Limit 227 : Limit - TheLine->Last->TotalLength; 229 if (TheLine->Last->is(TT_FunctionLBrace) && 230 TheLine->First == TheLine->Last && 236 if (TheLine->Last->is(tok::l_brace) && TheLine->First == TheLine->Last && 279 I[i + 1]->Last->TotalLength < Limit [all...] |
| AffectedRangeManager.h | 40 // Returns true if the range from 'First' to 'Last' intersects with one of the 42 bool affectsTokenRange(const FormatToken &First, const FormatToken &Last,
|
| /src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| SwitchLoweringUtils.cpp | 24 unsigned First, unsigned Last) { 25 assert(Last >= First); 27 const APInt &HighCase = Clusters[Last].High->getValue(); 38 unsigned First, unsigned Last) { 39 assert(Last >= First); 40 assert(TotalCases[Last] >= TotalCases[First]); 42 TotalCases[Last] - (First == 0 ? 0 : TotalCases[First - 1]); 110 // LastElement[i] is the last element of the partition starting at i. 172 for (unsigned First = 0, Last; First < N; First = Last + 1) [all...] |
| InterferenceCache.cpp | 161 BI->First = BI->Last = SlotIndex(); 214 // Check for last interference in block. 224 if (!BI->Last.isValid() || StopI > BI->Last) 225 BI->Last = StopI; 241 if (!BI->Last.isValid() || StopI > BI->Last) 242 BI->Last = StopI; 248 SlotIndex Limit = BI->Last.isValid() ? BI->Last : Start [all...] |
| ReachingDefAnalysis.cpp | 131 // How many instructions since this reg unit was last written? 363 auto Last = MBB->getLastNonDebugInstr(); 364 if (Last == MBB->end()) 366 return isReachingDefLiveOut(&*Last, PhysReg); 477 for (MachineInstr &Last : 479 LiveRegs.stepBackward(Last); 481 return InstIds.lookup(&Last) > InstIds.lookup(MI); 489 auto Last = MBB->getLastNonDebugInstr(); 490 if (Last != MBB->end() && 491 getReachingDef(MI, PhysReg) != getReachingDef(&*Last, PhysReg) [all...] |
| /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
| CastSizeChecker.cpp | 59 const FieldDecl *Last = nullptr; 61 Last = *Iter; 62 assert(Last && "empty structs should already be handled"); 64 const Type *ElemType = Last->getType()->getArrayElementTypeNoTypeQual(); 67 Ctx.getAsConstantArrayType(Last->getType())) {
|
| /src/external/apache2/llvm/dist/llvm/lib/IR/ |
| DebugLoc.cpp | 75 DILocation *Last = InlinedAt; 82 Last = cast<DILocation>(Found); 94 Cache[MD] = Last = DILocation::getDistinct( 95 Ctx, MD->getLine(), MD->getColumn(), MD->getScope(), Last); 97 return Last;
|
| /src/external/apache2/llvm/dist/llvm/lib/Support/ |
| OptimizedStructLayout.cpp | 182 // last fixed-offset field, or 0 if there are no fixed-offset fields. 215 // the last fixed-layout field, the objects fit in the bins; note that 294 auto spliceFromQueue = [&](AlignmentQueue *Queue, Field *Last, Field *Cur) { 295 assert(Last ? Queue->getNext(Last) == Cur : Queue->Head == Cur); 299 if (Last) { 300 Last->Scratch = Cur->Scratch; 302 // If Cur was the last field in the list, we need to update MinSize. 303 // We can just use the last field's size because the list is in 306 Queue->MinSize = Last->Size [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/ |
| PDBSymbolTypeFunctionSig.cpp | 84 auto Last = SigArguments->getChildAtIndex(NumArgs - 1); 85 if (auto Builtin = llvm::dyn_cast_or_null<PDBSymbolTypeBuiltin>(Last.get())) {
|
| /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Interpreter/ |
| ExternalFunctions.cpp | 360 char Last = *FB++ = *FmtStr++; 362 while (Last != 'c' && Last != 'd' && Last != 'i' && Last != 'u' && 363 Last != 'o' && Last != 'x' && Last != 'X' && Last != 'e' && 364 Last != 'E' && Last != 'g' && Last != 'G' && Last != 'f' & [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/ARC/ |
| ARCFrameLowering.cpp | 78 unsigned Last = 0; 82 if (Reg.getReg() > Last) 83 Last = Reg.getReg(); 85 return Last; 129 unsigned Last = determineLastCalleeSave(CSI); 155 if (UseSaveRestoreFunclet && Last > ARC::R14) { 158 StackSlotsUsedByFunclet = Last - ARC::R12; 165 .addExternalSymbol(store_funclet_name[Last - ARC::R15]) 265 unsigned Last = determineLastCalleeSave(CSI); 268 if (UseSaveRestoreFunclet && Last > ARC::R14) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
| X86OptimizeLEAs.cpp | 264 int calcInstrDist(const MachineInstr &First, const MachineInstr &Last); 280 /// Returns true if the \p Last LEA instruction can be replaced by the 283 /// replacement of the \p Last LEA's uses with the \p First's def register. 284 bool isReplaceable(const MachineInstr &First, const MachineInstr &Last, 320 const MachineInstr &Last) { 323 assert(Last.getParent() == First.getParent() && 326 InstrPos.find(&Last) != InstrPos.end() && 329 return InstrPos[&Last] - InstrPos[&First]; 418 // Check that the Last LEA can be replaced by the First LEA. To be so, 422 // 3) All uses of the Last LEA def register are replaceable, thus th [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| SIInsertHardClauses.cpp | 112 // The last non-internal instruction in the clause. 113 MachineInstr *Last = nullptr; 117 // The base operands of *Last. 125 std::distance(CI.First->getIterator(), CI.Last->getIterator()) + 1; 135 std::next(CI.Last->getIterator())); 187 CI.Last = &MI; 196 // Finish the last clause in the basic block if any.
|
| /src/external/apache2/llvm/dist/llvm/lib/MCA/ |
| Pipeline.cpp | 78 Stage *Last = Stages.back().get(); 79 Last->setNextInSequence(S.get());
|
| /src/external/apache2/llvm/dist/clang/lib/ASTMatchers/Dynamic/ |
| Diagnostics.cpp | 68 ErrorContent &Last = Errors.back(); 69 Last.ContextStack = ContextStack; 70 Last.Messages.emplace_back(); 71 Last.Messages.back().Range = Range; 72 Last.Messages.back().Type = Error; 73 return ArgStream(&Last.Messages.back().Args);
|