| /freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Core/ |
| H A D | Replacement.cpp | 103 if (LHS.getLength() != RHS.getLength()) in operator <() 104 return LHS.getLength() < RHS.getLength(); in operator <() 113 LHS.getLength() == RHS.getLength() && in operator ==() 208 R.getFilePath(), Prev.getOffset(), Prev.getLength() + R.getLength(), in getCanonicalReplacements() 271 assert(R.getLength() == 0); in add() 273 if (I->getLength() == 0) { in add() 307 return Range(R1.getOffset(), R1.getLength()) in add() 402 Length += R.getLength() - RText.size(); in merge() 404 DeltaFirst += RText.size() - R.getLength(); in merge() 489 return LHS.getLength() < RHS.getLength(); in combineAndSortRanges() [all …]
|
| /freebsd-12.1/contrib/llvm/include/llvm/Support/ |
| H A D | BinaryStreamRef.h | 31 Length = BorrowedImpl.getLength(); in BinaryStreamRefBase() 52 uint32_t getLength() const { in getLength() function 66 N = std::min(N, getLength()); in drop_front() 85 N = std::min(N, getLength()); in drop_back() 93 Result.Length = getLength(); in drop_back() 101 assert(N <= getLength()); in keep_front() 102 return drop_back(getLength() - N); in keep_front() 107 assert(N <= getLength()); in keep_back() 108 return drop_front(getLength() - N); in keep_back() 137 if (Offset > getLength()) in checkOffsetForRead() [all …]
|
| H A D | BinaryStream.h | 54 virtual uint32_t getLength() = 0; 61 if (Offset > getLength()) in checkOffsetForRead() 63 if (getLength() < DataSize + Offset) in checkOffsetForRead() 94 if (Offset > getLength()) in checkOffsetForWrite()
|
| H A D | BinaryByteStream.h | 58 uint32_t getLength() override { return Data.size(); } in getLength() function 111 uint32_t getLength() override { return ImmutableStream.getLength(); } in getLength() function 171 uint32_t getLength() override { return Data.size(); } in getLength() function 183 if (Offset > getLength()) in writeBytes() 254 uint32_t getLength() override { return Impl.getLength(); } in getLength() function
|
| H A D | BinaryStreamArray.h | 114 bool empty() const { return Stream.getLength() == 0; } in empty() 162 if (IterRef.getLength() == 0) in VarStreamArrayIterator() 208 if (IterRef.getLength() == 0) { 267 assert(Stream.getLength() % sizeof(T) == 0); in FixedStreamArray() 294 uint32_t size() const { return Stream.getLength() / sizeof(T); } in size()
|
| H A D | BinaryStreamWriter.h | 172 uint32_t getLength() const { return Stream.getLength(); } in getLength() function 173 uint32_t bytesRemaining() const { return getLength() - getOffset(); } in bytesRemaining()
|
| H A D | BinaryStreamReader.h | 245 uint32_t getLength() const { return Stream.getLength(); } in getLength() function 246 uint32_t bytesRemaining() const { return getLength() - getOffset(); } in bytesRemaining()
|
| /freebsd-12.1/contrib/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFDebugAddr.cpp | 55 uint32_t TmpLength = getLength(); in extract() 63 uint32_t End = HeaderOffset + getLength(); in extract() 65 uint32_t TmpLength = getLength(); in extract() 185 uint32_t DWARFDebugAddrTable::getLength() const { in getLength() function in DWARFDebugAddrTable 195 if (getLength() == 0) in getDataSize() 197 return getLength() - getHeaderSize(); in getDataSize()
|
| H A D | DWARFTypeUnit.cpp | 28 << " length = " << format("0x%08x", getLength()) << '\n'; in dump() 33 << " length = " << format("0x%08x", getLength()) in dump()
|
| /freebsd-12.1/contrib/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | NativeSymbolEnumerator.cpp | 82 assert(Record.Value.isSignedIntN(BT.getLength() * 8)); in getValue() 84 switch (BT.getLength()) { in getValue() 98 assert(Record.Value.isIntN(BT.getLength() * 8)); in getValue() 100 switch (BT.getLength()) { in getValue() 113 assert(Record.Value.isIntN(BT.getLength() * 8)); in getValue()
|
| H A D | NativeTypeArray.cpp | 39 dumpSymbolField(OS, "length", getLength(), Indent); in dump() 59 return getLength() / Element.getLength(); in getCount() 67 uint64_t NativeTypeArray::getLength() const { return Record.Size; } in getLength() function in NativeTypeArray
|
| /freebsd-12.1/contrib/llvm/lib/Support/ |
| H A D | BinaryStreamRef.cpp | 33 uint32_t getLength() override { return BBS.getLength(); } in getLength() function in __anon6be959ef0111::ArrayRefImpl 56 uint32_t getLength() override { return BBS.getLength(); } in getLength() function in __anon6be959ef0111::MutableArrayRefImpl 98 uint32_t MaxLength = getLength() - Offset; in readLongestContiguousChunk()
|
| H A D | BinaryStreamWriter.cpp | 50 return writeStreamRef(Ref, Ref.getLength()); in writeStreamRef() 72 assert(getLength() >= Off); in split() 85 if (NewOffset > getLength()) in padToAlignment()
|
| /freebsd-12.1/contrib/llvm/include/llvm/CodeGen/PBQP/ |
| H A D | ReductionRules.h | 50 for (unsigned j = 0; j < YCosts.getLength(); ++j) { in applyR1() 52 for (unsigned i = 1; i < XCosts.getLength(); ++i) { in applyR1() 60 for (unsigned i = 0; i < YCosts.getLength(); ++i) { in applyR1() 62 for (unsigned j = 1; j < XCosts.getLength(); ++j) { in applyR1() 105 unsigned XLen = XCosts.getLength(), in applyR2() 153 unsigned VL = V.getLength(); in hasRegisterOptions()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-pdbutil/ |
| H A D | PrettyBuiltinDumper.cpp | 33 if (Symbol.getLength() == 4) in getTypeName() 37 switch (Symbol.getLength()) { in getTypeName() 50 switch (Symbol.getLength()) { in getTypeName()
|
| H A D | PrettyCompilandDumper.cpp | 99 if (Line->getLength() > 0) { in start() 101 uint64_t AddrEnd = AddrStart + Line->getLength() - 1; in start() 105 Printer << " (" << Line->getLength() << " bytes)"; in start() 165 if (Symbol.getLength() == 0) in dump() 204 << format_hex(VA + Symbol.getLength(), 10) << "]"; in dump()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/ |
| H A D | TokenConcatenation.cpp | 52 if (Tok.getLength() < 1 || Tok.getLength() > 3) in IsIdentifierStringPrefix() 56 return IsStringPrefix(StringRef(Ptr, Tok.getLength()), in IsIdentifierStringPrefix() 60 if (Tok.getLength() < 256) { in IsIdentifierStringPrefix() 140 } else if (Tok.getLength() < 256) { in GetFirstChar() 170 if (PrevSpellLoc.getLocWithOffset(PrevTok.getLength()) == SpellLoc) in AvoidConcat()
|
| /freebsd-12.1/contrib/llvm/lib/DebugInfo/CodeView/ |
| H A D | DebugSubsectionRecord.cpp | 49 return sizeof(DebugSubsectionHeader) + Data.getLength(); in getRecordLength() 66 : Contents.getRecordData().getLength(); in calculateSerializedLength() 81 : Contents.getRecordData().getLength(); in commit()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULowerIntrinsics.cpp | 75 if (shouldExpandOperationWithSize(Memcpy->getLength())) { in expandMemIntrinsicUses() 88 if (shouldExpandOperationWithSize(Memmove->getLength())) { in expandMemIntrinsicUses() 98 if (shouldExpandOperationWithSize(Memset->getLength())) { in expandMemIntrinsicUses()
|
| /freebsd-12.1/contrib/llvm/lib/DebugInfo/PDB/ |
| H A D | UDTLayout.cpp | 45 return RawType.getLength(); in getTypeLength() 102 ElementSize = VTableType->getLength(); in VTableLayoutItem() 132 : UDTLayoutBase(nullptr, UDT, UDT.getName(), 0, UDT.getLength(), false), in ClassLayout() 155 : UDTLayoutBase(&Parent, *B, B->getName(), OffsetInParent, B->getLength(), in BaseClassLayout() 241 VBPO, VBP->getLength()); in initializeChildren()
|
| H A D | PDBSymbolData.cpp | 23 auto Len = RawSymbol->getLength(); in getLineNumbers() 53 (Section->getAddressOffset() + Section->getLength()) > DataOffset) in getCompilandId()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Tooling/Core/ |
| H A D | Replacement.h | 53 unsigned getLength() const { return Length; } in getLength() function 71 return Offset == RHS.getOffset() && Length == RHS.getLength(); 123 unsigned getLength() const { return ReplacementRange.getLength(); } in getLength() function
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | MemCpyOptimizer.cpp | 433 !isa<ConstantInt>(MSI->getLength())) in INITIALIZE_PASS_DEPENDENCY() 791 if (isa<ConstantInt>(MSI->getLength()) && !MSI->isVolatile()) in processMemSet() 1026 ConstantInt *MLen = dyn_cast<ConstantInt>(M->getLength()); in processMemCpyMemCpyDependence() 1068 M->getLength(), M->isVolatile()); in processMemCpyMemCpyDependence() 1072 M->getLength(), M->isVolatile()); in processMemCpyMemCpyDependence() 1110 Value *DestSize = MemSet->getLength(); in processMemSetMemCpyDependence() 1111 Value *SrcSize = MemCpy->getLength(); in processMemSetMemCpyDependence() 1191 ConstantInt *CopySize = cast<ConstantInt>(MemCpy->getLength()); in performMemCpyToMemSetOptzn() 1251 ConstantInt *CopySize = dyn_cast<ConstantInt>(M->getLength()); in processMemCpy() 1323 M->getLength()->getType() }; in processMemMove() [all …]
|
| /freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFDebugAddr.h | 84 uint32_t getLength() const; 87 bool hasValidLength() const { return getLength() != 0; } in hasValidLength()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Lex/ |
| H A D | Token.h | 127 unsigned getLength() const { in getLength() function 153 : getLocation().getLocWithOffset(getLength()); in getEndLoc() 205 return StringRef(reinterpret_cast<const char *>(PtrData), getLength()); in getRawIdentifier()
|