/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | BinaryStreamRef.h | 29 Length = BorrowedImpl.getLength(); in BinaryStreamRefBase() 48 uint64_t getLength() const { in getEndian() 52 return BorrowedImpl ? (BorrowedImpl->getLength() - ViewOffset) : 0; in getLength() 62 N = std::min(N, getLength()); in drop_front() 81 N = std::min(N, getLength()); in drop_back() 89 Result.Length = getLength(); in drop_back() 97 assert(N <= getLength()); 98 return drop_back(getLength() - N); in keep_front() 103 assert(N <= getLength()); 104 return drop_front(getLength() 50 uint64_t getLength() const { getLength() function [all...] |
H A D | BinaryStream.h | 52 virtual uint64_t getLength() = 0; 59 if (Offset > getLength()) in checkOffsetForRead() 61 if (getLength() < DataSize + Offset) in checkOffsetForRead() 92 if (Offset > getLength()) in checkOffsetForWrite()
|
H A D | BinaryByteStream.h | 56 uint64_t getLength() override { return Data.size(); } in getLength() function 109 uint64_t getLength() override { return ImmutableStream.getLength(); } in getLength() function 168 uint64_t getLength() override { return Data.size(); } 180 if (Offset > getLength()) in writeBytes() 247 uint64_t getLength() override { return Impl.getLength(); } in readLongestContiguousChunk() 169 uint64_t getLength() override { return Data.size(); } getLength() function 250 uint64_t getLength() override { return Impl.getLength(); } getLength() function
|
H A D | BinaryStreamArray.h | 119 bool empty() const { return Stream.getLength() == 0; } in empty() 167 if (IterRef.getLength() == 0) in VarStreamArrayIterator() 208 if (IterRef.getLength() == 0) { 267 assert(Stream.getLength() % sizeof(T) == 0); in FixedStreamArray() 295 uint32_t size() const { return Stream.getLength() / sizeof(T); } in size()
|
H A D | BinaryStreamWriter.h | 178 uint64_t getLength() const { return Stream.getLength(); } in getOffset() 179 uint64_t bytesRemaining() const { return getLength() - getOffset(); } in getLength() function
|
H A D | BinaryStreamReader.h | 247 uint64_t getLength() const { return Stream.getLength(); } in setOffset() 248 uint64_t bytesRemaining() const { return getLength() - getOffset(); } in getOffset() 249 uint64_t getLength() const { return Stream.getLength(); } getLength() function
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
H A D | NativeSymbolEnumerator.cpp | 83 assert(Record.Value.isSignedIntN(BT.getLength() * 8)); in getValue() 85 switch (BT.getLength()) { in getValue() 99 assert(Record.Value.isIntN(BT.getLength() * 8)); in getValue() 101 switch (BT.getLength()) { in getValue() 114 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
|
H A D | DbiModuleList.cpp | 176 if (ModInfo.getLength() == 0) in initializeModInfo() 181 if (auto EC = Reader.readArray(Descriptors, ModInfo.getLength())) in initializeModInfo() 190 if (FileInfo.getLength() == 0) in initializeFileInfo()
|
H A D | NativeTypeUDT.cpp | 55 dumpSymbolField(OS, "length", getLength(), Indent); in dump() 100 uint64_t NativeTypeUDT::getLength() const { in getLength() function in NativeTypeUDT 102 return UnmodifiedType->getLength(); in getLength()
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | BinaryStreamRef.cpp | 29 uint64_t getLength() override { return BBS.getLength(); } in readLongestContiguousChunk() 50 uint64_t getLength() override { return BBS.getLength(); } in readBytes() 91 uint64_t MaxLength = getLength() - Offset; in readLongestContiguousChunk() 32 uint64_t getLength() override { return BBS.getLength(); } getLength() function in __anon8e400b6a0111::ArrayRefImpl 55 uint64_t getLength() override { return BBS.getLength(); } getLength() function in __anon8e400b6a0111::MutableArrayRefImpl
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/PBQP/ |
H A D | ReductionRules.h | 49 for (unsigned j = 0; j < YCosts.getLength(); ++j) { in applyR1() 51 for (unsigned i = 1; i < XCosts.getLength(); ++i) { in applyR1() 59 for (unsigned i = 0; i < YCosts.getLength(); ++i) { in applyR1() 61 for (unsigned j = 1; j < XCosts.getLength(); ++j) { in applyR1() 104 unsigned XLen = XCosts.getLength(), in applyR2() 152 unsigned VL = V.getLength(); in hasRegisterOptions()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
H A D | PrettyBuiltinDumper.cpp | 32 if (Symbol.getLength() == 4) in getTypeName() 36 switch (Symbol.getLength()) { in getTypeName() 49 switch (Symbol.getLength()) { in getTypeName()
|
H A D | PrettyCompilandDumper.cpp | 98 if (Line->getLength() > 0) { in start() 100 uint64_t AddrEnd = AddrStart + Line->getLength() - 1; in start() 104 Printer << " (" << Line->getLength() << " bytes)"; in start() 164 if (Symbol.getLength() == 0) in dump() 203 << format_hex(VA + Symbol.getLength(), 10) << "]"; in dump()
|
/freebsd/contrib/llvm-project/clang/lib/Lex/ |
H A D | TokenConcatenation.cpp | 51 if (Tok.getLength() < 1 || Tok.getLength() > 3) in IsIdentifierStringPrefix() 55 return IsStringPrefix(StringRef(Ptr, Tok.getLength()), in IsIdentifierStringPrefix() 59 if (Tok.getLength() < 256) { in IsIdentifierStringPrefix() 139 } else if (Tok.getLength() < 256) { in GetFirstChar() 174 if (PrevSpellLoc.getLocWithOffset(PrevTok.getLength()) == SpellLoc) in AvoidConcat()
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/ |
H A D | DebugSubsectionRecord.cpp | 44 return sizeof(DebugSubsectionHeader) + Data.getLength(); in getRecordLength() 61 : Contents.getRecordData().getLength(); in calculateSerializedLength() 77 : Contents.getRecordData().getLength(); in commit()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | MemCpyOptimizer.cpp | 189 int64_t Size = cast<ConstantInt>(MSI->getLength())->getZExtValue(); in addMemSet() 436 !isa<ConstantInt>(MSI->getLength())) in tryMergingIntoMemset() 841 if (isa<ConstantInt>(MSI->getLength()) && !MSI->isVolatile()) in processMemSet() 1154 if (MForwardOffset != 0 || MDep->getLength() != M->getLength()) { in processMemCpyMemCpyDependence() 1155 auto *MDepLen = dyn_cast<ConstantInt>(MDep->getLength()); in processMemCpyMemCpyDependence() 1156 auto *MLen = dyn_cast<ConstantInt>(M->getLength()); in processMemCpyMemCpyDependence() 1248 CopySourceAlign, M->getLength(), M->isVolatile()); in processMemCpyMemCpyDependence() 1255 M->getLength(), M->isVolatile()); in processMemCpyMemCpyDependence() 1259 CopySourceAlign, M->getLength(), M->isVolatile()); in processMemCpyMemCpyDependence() 1303 Value *SrcSize = MemCpy->getLength(); in processMemSetMemCpyDependence() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/ |
H A D | UDTLayout.cpp | 47 return RawType.getLength(); in getTypeLength() 104 ElementSize = VTableType->getLength(); in VTableLayoutItem() 134 : UDTLayoutBase(nullptr, UDT, UDT.getName(), 0, UDT.getLength(), false), in ClassLayout() 157 : UDTLayoutBase(&Parent, *B, B->getName(), OffsetInParent, B->getLength(), in BaseClassLayout() 243 VBPO, VBP->getLength()); in initializeChildren()
|
H A D | PDBSymbolData.cpp | 21 auto Len = RawSymbol->getLength(); in getLineNumbers() 51 (Section->getAddressOffset() + Section->getLength()) > DataOffset) in getCompilandId()
|
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Core/ |
H A D | Replacement.h | 52 unsigned getLength() const { return Length; } in getLength() function 70 return Offset == RHS.getOffset() && Length == RHS.getLength(); 122 unsigned getLength() const { return ReplacementRange.getLength(); } in getLength() function
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFTypeUnit.cpp | 26 << ", length = " << format("0x%0*" PRIx64, OffsetDumpWidth, getLength()) in dump() 32 << " length = " << format("0x%0*" PRIx64, OffsetDumpWidth, getLength()) in dump()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | MacroExpansionContext.cpp | 44 MacroName.getLocation().getLocWithOffset(MacroName.getLength())); in MacroExpands() 54 << "' with length " << MacroName.getLength() << " at "; in MacroExpands() 191 OS << StringRef(Tok.getLiteralData(), Tok.getLength()); in dumpTokenInto() 194 if (Tok.getLength() < sizeof(Tmp)) { in dumpTokenInto()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | PreISelIntrinsicLowering.cpp | 220 if (shouldExpandMemIntrinsicWithSize(Memcpy->getLength(), TTI)) { in expandMemIntrinsicUses() 238 if (isa<ConstantInt>(Memcpy->getLength())) in expandMemIntrinsicUses() 252 if (shouldExpandMemIntrinsicWithSize(Memmove->getLength(), TTI)) { in expandMemIntrinsicUses() 269 if (shouldExpandMemIntrinsicWithSize(Memset->getLength(), TTI)) { in expandMemIntrinsicUses() 286 if (isa<ConstantInt>(Memset->getLength())) in expandMemIntrinsicUses()
|
/freebsd/contrib/llvm-project/clang/include/clang/Lex/ |
H A D | Token.h | 135 unsigned getLength() const { in getLength() function 161 : getLocation().getLocWithOffset(getLength()); in getEndLoc() 215 return StringRef(reinterpret_cast<const char *>(PtrData), getLength()); in getRawIdentifier()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | PGOMemOPSizeOpt.cpp | 123 Value *getLength() { in getLength() function 125 return MI->getLength(); in getLength() 198 Value *Length = MI.getLength(); in visitMemIntrinsic() 383 Value *SizeVar = MO.getLength(); in perform() 415 auto *SizeType = dyn_cast<IntegerType>(NewMO.getLength()->getType()); in perform()
|