HomeSort by: relevance | last modified time | path
    Searched refs:Binary (Results 1 - 25 of 129) sorted by relevancy

1 2 3 4 5 6

  /src/external/apache2/llvm/dist/llvm/lib/Object/
Binary.cpp 1 //===- Binary.cpp - A generic binary file ---------------------------------===//
9 // This file defines the Binary class.
13 #include "llvm/Object/Binary.h"
35 Binary::~Binary() = default;
37 Binary::Binary(unsigned int Type, MemoryBufferRef Source)
40 StringRef Binary::getData() const { return Data.getBuffer(); }
42 StringRef Binary::getFileName() const { return Data.getBufferIdentifier();
    [all...]
TapiUniversal.cpp 24 : Binary(ID_TapiUniversal, Source) {
  /src/external/apache2/llvm/dist/llvm/tools/obj2yaml/
obj2yaml.cpp 48 Expected<std::unique_ptr<Binary>> BinOrErr =
53 Binary &Binary = *BinOrErr->get();
55 // here with the other binary types.
56 if (Binary.isMachO() || Binary.isMachOUniversalBinary())
57 return macho2yaml(outs(), Binary);
58 if (ObjectFile *Obj = dyn_cast<ObjectFile>(&Binary))
60 if (MinidumpFile *Minidump = dyn_cast<MinidumpFile>(&Binary))
  /src/external/apache2/llvm/dist/llvm/tools/llvm-profgen/
PerfReader.cpp 14 cl::desc("Print binary load events."));
49 if (Binary->usePseudoProbes()) {
65 bool SameInlinee = Binary->inlineContextEqual(PrevIP, IP.Address);
79 uint64_t CallAddr = Binary->getCallAddrFromFrameAddr(LBR.Target);
97 Binary->getExpandedContextStr(Stack, KeyStr->WasLeafInlined);
128 uint64_t StartOffset = Binary->virtualAddrToOffset(std::get<0>(Item));
129 uint64_t EndOffset = Binary->virtualAddrToOffset(std::get<1>(Item));
134 uint64_t SourceOffset = Binary->virtualAddrToOffset(std::get<0>(Item));
135 uint64_t TargetOffset = Binary->virtualAddrToOffset(std::get<1>(Item));
165 if (Binary->usePseudoProbes())
    [all...]
ProfileGenerator.cpp 21 clEnumValN(SPF_Binary, "binary", "Binary encoding (default)"),
22 clEnumValN(SPF_Compact_Binary, "compbinary", "Compact binary encoding"),
23 clEnumValN(SPF_Ext_Binary, "extbinary", "Extensible binary encoding"),
218 ProfiledBinary *Binary = BI.first;
229 Binary);
232 CI.second.BranchCounter, Binary);
263 ProfiledBinary *Binary) {
269 uint64_t RangeBegin = Binary->offsetToVirtualAddr(Range.first.first);
270 uint64_t RangeEnd = Binary->offsetToVirtualAddr(Range.first.second)
    [all...]
ProfileGenerator.h 204 ProfiledBinary *Binary);
208 ProfiledBinary *Binary);
231 ProfiledBinary *Binary);
236 ProfiledBinary *Binary);
240 SmallVectorImpl<std::string> &ContextStrStack, ProfiledBinary *Binary);
250 ProfiledBinary *Binary);
PerfReader.h 73 // from the current binary with a transition through external code and
74 // eventually landing back in the current binary.
134 // Profiled binary that current frame address belongs to
135 ProfiledBinary *Binary;
149 if (Other->Binary != Binary)
178 Hash = HashCombine(Hash, reinterpret_cast<uint64_t>(Binary));
202 // Profiled binary that current frame address belongs to
203 const ProfiledBinary *Binary;
238 : Binary(Sample->Binary), LBRStack(Sample->LBRStack)
    [all...]
ProfiledBinary.h 1 //===-- ProfiledBinary.h - Binary decoder -----------------------*- C++ -*-===//
49 ProfiledBinary *Binary;
51 // Offset of the executable segment of the binary.
56 // Index to the sorted code address array of the binary.
58 InstructionPointer(ProfiledBinary *Binary, uint64_t Address,
72 ProfiledBinary *Binary;
73 PrologEpilogTracker(ProfiledBinary *Bin) : Binary(Bin){};
80 InstructionPointer IP(Binary, I.first);
90 InstructionPointer IP(Binary, Addr);
98 // Absolute path of the binary
    [all...]
ProfiledBinary.cpp 1 //===-- ProfiledBinary.cpp - Binary decoder ---------------------*- C++ -*-===//
20 #define DEBUG_TYPE "load-binary"
88 // Attempt to open the binary.
89 OwningBinary<Binary> OBinary = unwrapOrError(createBinary(Path), Path);
90 Binary &Binary = *OBinary.getBinary();
92 auto *Obj = dyn_cast<ELFObjectFileBase>(&Binary);
276 // empty stack as an entry to indicate a valid binary offset
425 assert(this == IP.Binary &&
426 "Binary should only symbolize its own instruction")
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/Basic/
OperatorKinds.h 23 #define OVERLOADED_OPERATOR(Name,Spelling,Token,Unary,Binary,MemberOnly) \
  /src/external/apache2/llvm/dist/llvm/tools/llvm-lipo/
llvm-lipo.cpp 18 #include "llvm/Object/Binary.h"
318 static SmallVector<OwningBinary<Binary>, 1>
320 SmallVector<OwningBinary<Binary>, 1> InputBinaries;
322 Expected<OwningBinary<Binary>> BinaryOrErr =
326 const Binary *B = BinaryOrErr->getBinary();
329 reportError("File " + IF.FileName + " has unsupported binary format");
354 static void verifyArch(ArrayRef<OwningBinary<Binary>> InputBinaries,
378 llvm_unreachable("Unexpected binary format");
383 static void printBinaryArchs(const Binary *Binary, raw_ostream &OS)
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Object/
Binary.h 1 //===- Binary.h - A generic binary file -------------------------*- C++ -*-===//
9 // This file declares the Binary class.
32 class Binary {
39 Binary(unsigned int Type, MemoryBufferRef Source);
90 Binary() = delete;
91 Binary(const Binary &other) = delete;
92 virtual ~Binary();
178 DEFINE_ISA_CONVERSION_FUNCTIONS(Binary, LLVMBinaryRef
    [all...]
MachOUniversalWriter.h 1 //===- MachOUniversalWriter.h - MachO universal binary writer----*- C++ -*-===//
10 // MachO universal binary file.
18 #include "llvm/Object/Binary.h"
28 const Binary *B;
59 const Binary *getBinary() const { return B; }
TapiUniversal.h 16 #include "llvm/Object/Binary.h"
26 class TapiUniversal : public Binary {
106 static bool classof(const Binary *v) { return v->isTapiUniversal(); }
Error.h 25 class Binary;
45 /// Base class for all errors indicating malformed binary files.
47 /// Having a subclass for all malformed binary files allows archive-walking
49 /// way that a binary file might be malformed.
63 /// Generic binary error.
TapiFile.h 42 static bool classof(const Binary *v) { return v->isTapiFile(); }
MachOUniversal.h 20 #include "llvm/Object/Binary.h"
31 class MachOUniversalBinary : public Binary {
41 /// Index of object in the universal binary.
152 static bool classof(Binary const *V) {
  /src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/MCTargetDesc/
WebAssemblyMCCodeEmitter.cpp 64 uint64_t Binary = getBinaryCodeForInstr(MI, Fixups, STI);
65 if (Binary < (1 << 8)) {
66 OS << uint8_t(Binary);
67 } else if (Binary < (1 << 16)) {
68 OS << uint8_t(Binary >> 8);
69 encodeULEB128(uint8_t(Binary), OS);
70 } else if (Binary < (1 << 24)) {
71 OS << uint8_t(Binary >> 16);
72 encodeULEB128(uint16_t(Binary), OS);
  /src/external/apache2/llvm/dist/llvm/tools/llvm-cfi-verify/lib/
FileAnalysis.h 27 #include "llvm/Object/Binary.h"
91 FileAnalysis(object::OwningBinary<object::Binary> Binary);
173 // allow analysis of raw binary, without requiring a fully valid ELF file.
197 object::OwningBinary<object::Binary> Binary;
FileAnalysis.cpp 26 #include "llvm/Object/Binary.h"
75 Expected<object::OwningBinary<object::Binary>> BinaryOrErr =
80 // Construct the object and allow it to take ownership of the binary.
81 object::OwningBinary<object::Binary> Binary = std::move(BinaryOrErr.get());
82 FileAnalysis Analysis(std::move(Binary));
84 Analysis.Object = dyn_cast<object::ObjectFile>(Analysis.Binary.getBinary());
114 FileAnalysis::FileAnalysis(object::OwningBinary<object::Binary> Binary)
115 : Binary(std::move(Binary)) {
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/
ARMMCCodeEmitter.cpp 79 // binary encoding for an instruction.
84 /// getMachineOpValue - Return binary encoding of operand. If the machine
549 /// getMachineOpValue - Return binary encoding of operand. If the machine
1019 uint32_t Binary = Imm12 & 0xfff;
1022 Binary |= (1 << 12);
1023 Binary |= (Reg << 13);
1024 return Binary;
1050 uint32_t Binary = Imm & ((1U << Bits) - 1);
1053 Binary |= (1U << Bits);
1054 return Binary;
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/BinaryFormat/
MsgPackReader.h 56 Binary,
88 /// Value for \c Type::String and \c Type::Binary.
  /src/external/apache2/llvm/lib/libLLVMObject/
Makefile 11 Binary.cpp \
  /src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/MCTargetDesc/
RISCVMCCodeEmitter.cpp 63 /// TableGen'erated function for getting the binary encoding for an
69 /// Return binary encoding of operand. If the machine operand requires
128 uint32_t Binary;
138 Binary = getBinaryCodeForInstr(TmpInst, Fixups, STI);
139 support::endian::write(OS, Binary, support::little);
148 Binary = getBinaryCodeForInstr(TmpInst, Fixups, STI);
149 support::endian::write(OS, Binary, support::little);
186 uint32_t Binary = getBinaryCodeForInstr(TmpInst, Fixups, STI);
187 support::endian::write(OS, Binary, support::little);
  /src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/
llvm-objcopy.cpp 28 #include "llvm/Object/Binary.h"
160 // output format is binary/ihex or it's not given. This behavior differs from
162 case FileFormat::Binary:
176 /// of the input binary (ELF, MachO or COFF).
178 object::Binary &In, raw_ostream &Out) {
228 Expected<std::unique_ptr<Binary>> ChildOrErr = Child.getAsBinary();
318 /// of input (raw binary, archive or single object file) and takes care of the
333 OwningBinary<llvm::object::Binary> BinaryHolder;
336 if (Config.InputFormat == FileFormat::Binary ||
344 if (Config.InputFormat == FileFormat::Binary)
    [all...]

Completed in 25 milliseconds

1 2 3 4 5 6