Searched defs:Binary (Results 1 - 21 of 21) sorted by relevance

/freebsd-head/contrib/llvm-project/llvm/lib/Object/
H A DBinary.cpp1 //===- 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) function in class:Binary
40 StringRef Binary::getData() const { return Data.getBuffer(); }
42 StringRef Binary::getFileName() const { return Data.getBufferIdentifier(); }
44 MemoryBufferRef Binary
[all...]
/freebsd-head/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyMCCodeEmitter.cpp64 uint64_t Binary = getBinaryCodeForInstr(MI, Fixups, STI); local
65 if (Binary <= UINT8_MAX) {
66 OS << uint8_t(Binary);
68 assert(Binary <= UINT16_MAX && "Several-byte opcodes not supported yet");
69 OS << uint8_t(Binary >> 8);
70 encodeULEB128(uint8_t(Binary), OS);
/freebsd-head/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMsgPackReader.h55 Binary, member in class:llvm::msgpack::Type
86 /// Value for \c Type::String and \c Type::Binary.
/freebsd-head/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCCodeEmitter.cpp410 uint64_t Binary; local
419 Binary = getBinaryCodeForInstr(MI, Fixups, STI);
424 if (!Binary && Opc != DuplexIClass0 && Opc != A4_ext) {
429 Binary |= Parse;
439 Binary = ((DupIClass & 0xE) << (29 - 1)) | ((DupIClass & 0x1) << 13);
451 Binary |= SubBits0 | (SubBits1 << 16);
453 support::endian::write<uint32_t>(OS, Binary, support::little);
614 ME->getKind() == MCExpr::Binary);
615 if (ME->getKind() == MCExpr::Binary) {
616 MCBinaryExpr const *Binary local
[all...]
/freebsd-head/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DCodeViewYAMLSymbols.cpp266 yaml::BinaryRef Binary; local
268 Binary = yaml::BinaryRef(Data);
269 io.mapRequired("Data", Binary);
273 Binary.writeAsBinary(OS);
/freebsd-head/contrib/llvm-project/llvm/include/llvm/Object/
H A DBinary.h1 //===- Binary.h - A generic binary file -------------------------*- C++ -*-===//
9 // This file declares the Binary class.
32 class Binary { class in namespace:llvm::object
39 Binary(unsigned int Type, MemoryBufferRef Source);
90 Binary() = delete;
91 Binary(const Binary &other) = delete;
92 virtual ~Binary();
175 DEFINE_ISA_CONVERSION_FUNCTIONS(Binary, LLVMBinaryRef)
177 /// Create a Binary fro
[all...]
/freebsd-head/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MCCodeEmitter.cpp613 uint64_t Binary = getBinaryCodeForInstr(MI, Fixups, STI); local
614 support::endian::write<uint32_t>(OS, Binary, support::little);
/freebsd-head/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVMCCodeEmitter.cpp115 uint32_t Binary; local
125 Binary = getBinaryCodeForInstr(TmpInst, Fixups, STI);
126 support::endian::write(OS, Binary, support::little);
134 Binary = getBinaryCodeForInstr(TmpInst, Fixups, STI);
135 support::endian::write(OS, Binary, support::little);
172 uint32_t Binary = getBinaryCodeForInstr(TmpInst, Fixups, STI); local
173 support::endian::write(OS, Binary, support::little);
/freebsd-head/contrib/llvm-project/llvm/tools/llc/
H A Dllc.cpp231 bool Binary = false; local
237 Binary = true;
244 if (!Binary)
/freebsd-head/contrib/llvm-project/llvm/tools/llvm-readobj/
H A Dllvm-readobj.cpp414 std::vector<OwningBinary<Binary>> Binaries;
560 Expected<std::unique_ptr<Binary>> ChildOrErr = Child.getAsBinary();
578 /// Dumps each object file in \a MachO Universal Binary;
604 Expected<OwningBinary<Binary>> BinaryOrErr = createBinary(File);
607 Binary &Binary = *BinaryOrErr.get().getBinary(); local
609 if (Archive *Arc = dyn_cast<Archive>(&Binary))
612 dyn_cast<MachOUniversalBinary>(&Binary))
614 else if (ObjectFile *Obj = dyn_cast<ObjectFile>(&Binary))
616 else if (COFFImportFile *Import = dyn_cast<COFFImportFile>(&Binary))
[all...]
/freebsd-head/contrib/llvm-project/llvm/lib/MC/
H A DMCExpr.cpp83 bool Binary = UE.getSubExpr()->getKind() == MCExpr::Binary; local
84 if (Binary) OS << "(";
86 if (Binary) OS << ")";
90 case MCExpr::Binary: {
782 case Binary: {
907 case Binary: {
/freebsd-head/contrib/googletest/googlemock/test/
H A Dgmock-more-actions_test.cc107 const char* Binary(const char* input, short n) { return input + n; } // NOLINT function in namespace:testing::gmock_more_actions_test
187 std::string Binary(const std::string& str, char c) const { return str + c; } function in class:testing::gmock_more_actions_test::Foo
246 TEST(InvokeTest, Binary) {
247 Action<const char*(const char*, short)> a = Invoke(Binary); // NOLINT
379 TEST(InvokeMethodTest, Binary) {
381 Action<std::string(const std::string&, char)> a = Invoke(&foo, &Foo::Binary);
H A Dgmock-generated-actions_test.cc94 const char* Binary(const char* input, short n) { return input + n; } // NOLINT function in namespace:testing::gmock_generated_actions_test
248 EXPECT_STREQ("i", a.Perform(make_tuple(&Binary)));
256 EXPECT_STREQ("i", a.Perform(make_tuple(&Binary)));
292 WithArgs<0, 2>(Invoke(Binary));
399 WithArgs<1, 0>(Invoke(Binary));
/freebsd-head/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCExpr.h38 Binary, ///< Binary expressions. enumerator in enum:llvm::MCExpr::ExprKind
422 /// Binary assembler expressions.
457 : MCExpr(MCExpr::Binary, Loc), Op(Op), LHS(LHS), RHS(RHS) {}
578 return E->getKind() == MCExpr::Binary;
/freebsd-head/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMCCodeEmitter.cpp1021 uint32_t Binary = Imm12 & 0xfff; local
1024 Binary |= (1 << 12);
1025 Binary |= (Reg << 13);
1026 return Binary;
1052 uint32_t Binary = Imm & ((1U << Bits) - 1); local
1055 Binary |= (1U << Bits);
1056 return Binary;
1143 uint32_t Binary = (Imm8 >> 2) & 0xff;
1146 Binary |= (1 << 8);
1147 Binary |
[all...]
H A DARMAsmBackend.cpp681 uint32_t Binary = (Value - 4) >> 1; local
682 return ((Binary & 0x20) << 4) | ((Binary & 0x1f) << 3);
/freebsd-head/contrib/llvm-project/clang/tools/driver/
H A Dcc1as_main.cpp312 getOutputStream(StringRef Path, DiagnosticsEngine &Diags, bool Binary) { argument
320 Path, EC, (Binary ? sys::fs::OF_None : sys::fs::OF_Text));
/freebsd-head/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsMCCodeEmitter.cpp183 uint32_t Binary = getBinaryCodeForInstr(TmpInst, Fixups, STI); local
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);
582 unsigned Binary = (MO.getImm() >> 2) & 0x0000ffff; local
583 return (((Binary & 0x8000) >> 7) | (Binary
[all...]
/freebsd-head/contrib/llvm-project/llvm/tools/llvm-cxxdump/
H A Dllvm-cxxdump.cpp502 Expected<std::unique_ptr<Binary>> ChildOrErr = ArcC.getAsBinary();
527 Expected<OwningBinary<Binary>> BinaryOrErr = createBinary(File);
533 Binary &Binary = *BinaryOrErr.get().getBinary(); local
535 if (Archive *Arc = dyn_cast<Archive>(&Binary))
537 else if (ObjectFile *Obj = dyn_cast<ObjectFile>(&Binary))
/freebsd-head/contrib/llvm-project/llvm/tools/llvm-objcopy/
H A DCopyConfig.h34 Binary, member in class:llvm::objcopy::FileFormat
/freebsd-head/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInstance.cpp671 CompilerInstance::createDefaultOutputFile(bool Binary, StringRef InFile, argument
673 return createOutputFile(getFrontendOpts().OutputFile, Binary,
683 CompilerInstance::createOutputFile(StringRef OutputPath, bool Binary, argument
690 OutputPath, EC, Binary, RemoveFileOnSignal, InFile, Extension,
707 StringRef OutputPath, std::error_code &Error, bool Binary,
788 (Binary ? llvm::sys::fs::OF_None : llvm::sys::fs::OF_Text)));
802 if (!Binary || OS->supportsSeeking())
706 createOutputFile( StringRef OutputPath, std::error_code &Error, bool Binary, bool RemoveFileOnSignal, StringRef InFile, StringRef Extension, bool UseTemporary, bool CreateMissingDirectories, std::string *ResultPathName, std::string *TempPathName) argument

Completed in 174 milliseconds