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

1 2

  /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...]
  /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/include/llvm/BinaryFormat/
MsgPackReader.h 56 Binary,
88 /// Value for \c Type::String and \c Type::Binary.
  /src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/
CodeViewYAMLSymbols.cpp 289 yaml::BinaryRef Binary;
291 Binary = yaml::BinaryRef(Data);
292 io.mapRequired("Data", Binary);
296 Binary.writeAsBinary(OS);
386 // TODO: The binary annotations
  /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-cvtres/
llvm-cvtres.cpp 15 #include "llvm/Object/Binary.h"
183 std::unique_ptr<WindowsResource> Binary = error(
187 WindowsResource *RF = Binary.get();
  /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...]
  /src/external/apache2/llvm/dist/llvm/lib/MC/
MCExpr.cpp 107 bool Binary = UE.getSubExpr()->getKind() == MCExpr::Binary;
108 if (Binary) OS << "(";
110 if (Binary) OS << ")";
114 case MCExpr::Binary: {
896 case Binary: {
1022 case Binary: {
  /src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/MCTargetDesc/
AArch64MCCodeEmitter.cpp 55 // binary encoding for an instruction.
60 /// getMachineOpValue - Return binary encoding of operand. If the machine
198 /// getMachineOpValue - Return binary encoding of operand. If the machine
618 uint64_t Binary = getBinaryCodeForInstr(MI, Fixups, STI);
619 support::endian::write<uint32_t>(OS, Binary, support::little);
  /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/
HexagonMCCodeEmitter.cpp 404 uint64_t Binary;
413 Binary = getBinaryCodeForInstr(MI, Fixups, STI);
418 if (!Binary && Opc != DuplexIClass0 && Opc != A4_ext) {
423 Binary |= Parse;
433 Binary = ((DupIClass & 0xE) << (29 - 1)) | ((DupIClass & 0x1) << 13);
445 Binary |= SubBits0 | (SubBits1 << 16);
447 support::endian::write<uint32_t>(OS, Binary, support::little);
608 ME->getKind() == MCExpr::Binary);
609 if (ME->getKind() == MCExpr::Binary) {
610 MCBinaryExpr const *Binary = cast<MCBinaryExpr>(ME)
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/llc/
llc.cpp 264 // Decide if we need "binary" output.
265 bool Binary = false;
271 Binary = true;
278 if (!Binary)
703 "To generate the one-run comparison binary, just run without\n"
  /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;
  /src/external/apache2/llvm/dist/llvm/tools/llvm-profgen/
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...]
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...]
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...]
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...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/Mips/MCTargetDesc/
MipsMCCodeEmitter.cpp 183 uint32_t Binary = getBinaryCodeForInstr(TmpInst, Fixups, STI);
186 // Unfortunately in MIPS both NOP and SLL will come in with Binary == 0
190 (Opcode != Mips::SLL_MM) && (Opcode != Mips::SLL_MMR6) && !Binary)
212 Binary = getBinaryCodeForInstr(TmpInst, Fixups, STI);
218 Binary = (Binary & 0xFFFFFC7F) | (RegPair << 7);
229 emitInstruction(Binary, Size, STI, OS);
232 /// getBranchTargetOpValue - Return binary encoding of the branch
254 /// getBranchTargetOpValue1SImm16 - Return binary encoding of the branch
276 /// getBranchTargetOpValueMMR6 - Return binary encoding of the branc
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/dsymutil/
dsymutil.cpp 29 #include "llvm/Object/Binary.h"
397 Expected<OwningBinary<Binary>> BinOrErr = createBinary(OutputFile);
403 Binary &Binary = *BinOrErr.get().getBinary();
404 if (auto *Obj = dyn_cast<MachOObjectFile>(&Binary)) {
580 // Shared a single binary holder for all the link steps.
  /src/external/apache2/llvm/dist/llvm/tools/llvm-exegesis/lib/
BenchmarkResult.cpp 299 NormalizedBinary(IO &, std::vector<uint8_t> &Data) : Binary(Data) {}
304 Binary.writeAsBinary(OSS);
310 BinaryRef Binary;
326 Io.mapOptional("assembled_snippet", BinaryString->Binary);
  /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/
ARMAsmBackend.cpp 698 uint32_t Binary = (Value - 4) >> 1;
699 return ((Binary & 0x20) << 4) | ((Binary & 0x1f) << 3);
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/tools/llvm-cxxdump/
llvm-cxxdump.cpp 502 Expected<std::unique_ptr<Binary>> ChildOrErr = ArcC.getAsBinary();
526 // Attempt to open the binary.
527 Expected<OwningBinary<Binary>> BinaryOrErr = createBinary(File);
533 Binary &Binary = *BinaryOrErr.get().getBinary();
535 if (Archive *Arc = dyn_cast<Archive>(&Binary))
537 else if (ObjectFile *Obj = dyn_cast<ObjectFile>(&Binary))
  /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/tools/llvm-objcopy/
CommonConfig.h 31 Binary,
152 // Only applicable when --output-format!=binary (e.g. elf64-x86-64).
  /src/external/apache2/llvm/dist/llvm/tools/llvm-rc/
llvm-rc.cpp 682 std::unique_ptr<object::WindowsResource> Binary =
687 ExitOnErr(Parser.parse(Binary.get(), Duplicates));

Completed in 35 milliseconds

1 2