| /freebsd/contrib/llvm-project/llvm/lib/Object/ |
| H A D | Binary.cpp | 1 //===- Binary.cpp - A generic binary file ---------------------------------===// 9 // This file defines the Binary class. 13 #include "llvm/Object/Binary.h" 34 Binary::~Binary() = default; 36 Binary::Binary(unsigned int Type, MemoryBufferRef Source) in Binary() function in Binary 39 StringRef Binary::getData() const { return Data.getBuffer(); } in getData() 41 StringRef Binary::getFileName() const { return Data.getBufferIdentifier(); } in getFileName() 43 MemoryBufferRef Binary [all...] |
| /freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/ |
| H A D | OffloadYAML.h | 1 //===- OffloadYAML.h - Offload Binary YAMLIO implementation -----*- C++ -*-===// 26 struct Binary { 50 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::OffloadYAML::Binary::Member) 51 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::OffloadYAML::Binary::StringEntry) argument 64 template <> struct MappingTraits<OffloadYAML::Binary> { in LLVM_YAML_IS_SEQUENCE_VECTOR() 65 static void mapping(IO &IO, OffloadYAML::Binary &O); in LLVM_YAML_IS_SEQUENCE_VECTOR() 68 template <> struct MappingTraits<OffloadYAML::Binary::StringEntry> { in LLVM_YAML_IS_SEQUENCE_VECTOR() 69 static void mapping(IO &IO, OffloadYAML::Binary::StringEntry &M); in LLVM_YAML_IS_SEQUENCE_VECTOR() 72 template <> struct MappingTraits<OffloadYAML::Binary::Member> { in LLVM_YAML_IS_SEQUENCE_VECTOR() 73 static void mapping(IO &IO, OffloadYAML::Binary in LLVM_YAML_IS_SEQUENCE_VECTOR() 27 struct Binary { global() struct [all...] |
| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/ |
| H A D | WebAssemblyMCCodeEmitter.cpp | 67 uint64_t Binary = getBinaryCodeForInstr(MI, Fixups, STI); in encodeInstruction() local 68 if (Binary < (1 << 8)) { in encodeInstruction() 69 OS << uint8_t(Binary); in encodeInstruction() 70 } else if (Binary < (1 << 16)) { in encodeInstruction() 71 OS << uint8_t(Binary >> 8); in encodeInstruction() 72 encodeULEB128(uint8_t(Binary), OS); in encodeInstruction() 73 } else if (Binary < (1 << 24)) { in encodeInstruction() 74 OS << uint8_t(Binary >> 16); in encodeInstruction() 75 encodeULEB128(uint16_t(Binary), OS); in encodeInstruction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/ |
| H A D | ARMMCCodeEmitter.cpp | 1016 uint32_t Binary = Imm12 & 0xfff; in getAddrModeImm12OpValue() local 1019 Binary |= (1 << 12); in getAddrModeImm12OpValue() 1020 Binary |= (Reg << 13); in getAddrModeImm12OpValue() 1021 return Binary; in getAddrModeImm12OpValue() 1047 uint32_t Binary = Imm & ((1U << Bits) - 1); in getT2ScaledImmOpValue() local 1050 Binary |= (1U << Bits); in getT2ScaledImmOpValue() 1051 return Binary; in getT2ScaledImmOpValue() 1139 uint32_t Binary = (Imm8 >> 2) & 0xff; in getT2AddrModeImm8s4OpValue() local 1142 Binary |= (1 << 8); in getT2AddrModeImm8s4OpValue() 1143 Binary |= (Reg << 9); in getT2AddrModeImm8s4OpValue() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
| H A D | Binary.h | 33 class LLVM_ABI Binary { 40 Binary(unsigned int Type, MemoryBufferRef Source); 94 Binary() = delete; 95 Binary(const Binary &other) = delete; 96 virtual ~Binary(); 188 DEFINE_ISA_CONVERSION_FUNCTIONS(Binary, LLVMBinaryRef) 193 LLVM_ABI Expected<std::unique_ptr<Binary>> 245 LLVM_ABI Expected<OwningBinary<Binary>>
|
| H A D | OffloadBinary.h | 63 class OffloadBinary : public Binary { 108 static bool classof(const Binary *V) { return V->isOffloadFile(); } in classof() 136 : Binary(Binary::ID_Offload, Source), Buffer(Source.getBufferStart()), in OffloadBinary() 164 OffloadFile(std::unique_ptr<OffloadBinary> Binary, in OffloadFile() argument 166 : OwningBinary<OffloadBinary>(std::move(Binary), std::move(Buffer)) {} in OffloadFile()
|
| H A D | MachOUniversalWriter.h | 31 class Binary; variable 36 const Binary *B; 68 const Binary *getBinary() const { return B; } in getBinary()
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
| H A D | OffloadYAML.cpp | 46 void MappingTraits<OffloadYAML::Binary>::mapping(IO &IO, in mapping() 47 OffloadYAML::Binary &O) { in mapping() 59 void MappingTraits<OffloadYAML::Binary::StringEntry>::mapping( in mapping() 60 IO &IO, OffloadYAML::Binary::StringEntry &SE) { in mapping() 66 void MappingTraits<OffloadYAML::Binary::Member>::mapping( in mapping() 67 IO &IO, OffloadYAML::Binary::Member &M) { in mapping()
|
| /freebsd/contrib/llvm-project/clang/lib/Format/ |
| H A D | IntegerLiteralSeparatorFixer.cpp | 20 enum class Base { Binary, Decimal, Hex, Other }; enumerator 35 return Base::Binary; in getBase() 65 const auto Binary = Option.Binary; in process() local 68 const bool SkipBinary = Binary == 0; in process() 76 std::max((int)Option.BinaryMinDigits, Binary + 1); in process() 111 const bool IsBase2 = B == Base::Binary; in process() 143 DigitsPerGroup = Binary; in process()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/MCTargetDesc/ |
| H A D | CSKYMCCodeEmitter.cpp | 257 uint32_t Binary; in expandJBTF() local 263 Binary = getBinaryCodeForInstr(TmpInst, Fixups, STI); in expandJBTF() 264 writeData(Binary, 2, CB); in expandJBTF() 272 Binary = getBinaryCodeForInstr(TmpInst, Fixups, STI); in expandJBTF() 274 writeData(Binary, 4, CB); in expandJBTF() 282 uint32_t Binary; in expandNEG() local 288 Binary = getBinaryCodeForInstr(TmpInst, Fixups, STI); in expandNEG() 289 writeData(Binary, Size, CB); in expandNEG() 295 Binary = getBinaryCodeForInstr(TmpInst, Fixups, STI); in expandNEG() 296 writeData(Binary, Size, CB); in expandNEG() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/ |
| H A D | RISCVMCCodeEmitter.cpp | 173 uint32_t Binary; in expandFunctionCall() local 181 Binary = getBinaryCodeForInstr(TmpInst, Fixups, STI); in expandFunctionCall() 182 support::endian::write(CB, Binary, llvm::endianness::little); in expandFunctionCall() 191 Binary = getBinaryCodeForInstr(TmpInst, Fixups, STI); in expandFunctionCall() 192 support::endian::write(CB, Binary, llvm::endianness::little); in expandFunctionCall() 210 uint32_t Binary = getBinaryCodeForInstr(Call, Fixups, STI); in expandTLSDESCCall() local 211 support::endian::write(CB, Binary, llvm::endianness::little); in expandTLSDESCCall() 242 uint32_t Binary = getBinaryCodeForInstr(TmpInst, Fixups, STI); in expandAddTPRel() local 243 support::endian::write(CB, Binary, llvm::endianness::little); in expandAddTPRel() 319 uint16_t Binary = getBinaryCodeForInstr(TmpInst, Fixups, STI); in expandLongCondBr() local [all …]
|
| /freebsd/contrib/file/magic/Magdir/ |
| H A D | bioinformatics | 39 # BAM (Binary Sequence Alignment/Map format) 43 0 string BAM\1 SAMtools BAM (Binary Sequence Alignment/Map) 59 # CRAM (Binary Sequence Alignment/Map format) 68 # BCF (Binary Call Format), version 1 76 >>&(&-0x04) lelong >0 SAMtools BCF (Binary Call Format) 85 # BCF (Binary Call Format), version 2.1 89 0 string BCF\2\1 Binary Call Format (BCF) version 2.1 98 # BCF (Binary Call Format), version 2.2 102 0 string BCF\2\2 Binary Call Format (BCF) version 2.2
|
| H A D | pbf | 6 # OpenStreetMap Protocolbuffer Binary Format (.osm.pbf) 11 >>6 string OSMHeader OpenStreetMap Protocolbuffer Binary Format
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-objcopy/ |
| H A D | llvm-objcopy.cpp | 107 case FileFormat::Binary: in executeObjcopyOnRawBinary() 134 OwningBinary<llvm::object::Binary> BinaryHolder; in executeObjcopy() 137 if (Config.InputFormat == FileFormat::Binary || in executeObjcopy() 145 if (Config.InputFormat == FileFormat::Binary) in executeObjcopy() 157 Expected<OwningBinary<llvm::object::Binary>> BinaryOrErr = in executeObjcopy()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-tli-checker/ |
| H A D | llvm-tli-checker.cpp | 204 Expected<std::unique_ptr<object::Binary>> ChildOrErr = C.getAsBinary(); in populateFromArchive() 237 OwningBinary<Binary> OBinary = std::move(*ExpectedBinary); in populateFromFile() 238 Binary &Binary = *OBinary.getBinary(); in populateFromFile() local 240 if (Archive *A = dyn_cast<Archive>(&Binary)) in populateFromFile() 242 else if (ObjectFile *O = dyn_cast<ObjectFile>(&Binary)) in populateFromFile()
|
| /freebsd/contrib/googletest/googlemock/test/ |
| H A D | gmock-spec-builders_test.cc | 107 MOCK_METHOD2(Binary, bool(int x, int y)); 943 ON_CALL(a, Binary(_, _)).WillByDefault(Return(true)); in TEST() 944 EXPECT_TRUE(a.Binary(1, 2)); in TEST() 957 ON_CALL(a, Binary(_, _)).WillByDefault(Return(true)); in TEST() 958 EXPECT_CALL(a, Binary(0, 0)); in TEST() 959 a.Binary(0, 0); in TEST() 961 EXPECT_NONFATAL_FAILURE(result = a.Binary(1, 2), in TEST() 1133 ON_CALL(a, Binary(_, _)).WillByDefault(Return(true)); in TEST() 1134 EXPECT_CALL(a, Binary(0, 0)); in TEST() 1135 a.Binary(0, 0); in TEST() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ObjCopy/ |
| H A D | ObjCopy.h | 20 class Binary; variable 38 object::Binary &In, raw_ostream &Out);
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/ |
| H A D | LVReaderHandler.cpp | 193 Expected<std::unique_ptr<Binary>> BinOrErr = createBinary(Buffer); in handleBuffer() 246 Binary &Binary) { in handleObject() argument 247 if (PdbOrObj Input = dyn_cast<ObjectFile>(&Binary)) in handleObject() 251 if (MachOUniversalBinary *Fat = dyn_cast<MachOUniversalBinary>(&Binary)) in handleObject() 254 if (Archive *Arch = dyn_cast<Archive>(&Binary)) in handleObject()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
| H A D | MemProfReader.h | 160 RawMemProfReader(object::OwningBinary<object::Binary> &&Bin, bool KeepName) in RawMemProfReader() 161 : Binary(std::move(Bin)), KeepSymbolName(KeepName) {} in RawMemProfReader() 185 object::OwningBinary<object::Binary> Binary; variable
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/Symbolize/ |
| H A D | Symbolize.h | 240 CachedBinary(OwningBinary<Binary> Bin) : Bin(std::move(Bin)) {} in CachedBinary() 242 OwningBinary<Binary> &operator*() { return Bin; } 243 OwningBinary<Binary> *operator->() { return &Bin; } 259 OwningBinary<Binary> Bin;
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/ |
| H A D | MachODump.h | 26 class Binary; variable 70 std::unique_ptr<object::Binary> &DSYMBinary,
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/ |
| H A D | HexagonMCCodeEmitter.cpp | 432 uint64_t Binary; in encodeSingleInstruction() local 441 Binary = getBinaryCodeForInstr(MI, Fixups, STI); in encodeSingleInstruction() 446 if (!Binary && Opc != DuplexIClass0 && Opc != A4_ext) { in encodeSingleInstruction() 451 Binary |= Parse; in encodeSingleInstruction() 461 Binary = ((DupIClass & 0xE) << (29 - 1)) | ((DupIClass & 0x1) << 13); in encodeSingleInstruction() 473 Binary |= SubBits0 | (SubBits1 << 16); in encodeSingleInstruction() 475 support::endian::write<uint32_t>(CB, Binary, llvm::endianness::little); in encodeSingleInstruction() 636 ME->getKind() == MCExpr::Binary); in getExprOpValue() 637 if (ME->getKind() == MCExpr::Binary) { in getExprOpValue() 638 MCBinaryExpr const *Binary = cast<MCBinaryExpr>(ME); in getExprOpValue() local [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/ |
| H A D | MipsMCCodeEmitter.cpp | 188 uint32_t Binary = getBinaryCodeForInstr(TmpInst, Fixups, STI); in encodeInstruction() local 195 (Opcode != Mips::SLL_MM) && (Opcode != Mips::SLL_MMR6) && !Binary) in encodeInstruction() 217 Binary = getBinaryCodeForInstr(TmpInst, Fixups, STI); in encodeInstruction() 223 Binary = (Binary & 0xFFFFFC7F) | (RegPair << 7); in encodeInstruction() 237 support::endian::write<uint16_t>(CB, Binary, Endian); in encodeInstruction() 239 support::endian::write<uint16_t>(CB, Binary >> 16, Endian); in encodeInstruction() 240 support::endian::write<uint16_t>(CB, Binary & 0xffff, Endian); in encodeInstruction() 242 support::endian::write<uint32_t>(CB, Binary, Endian); in encodeInstruction() 582 unsigned Binary = (MO.getImm() >> 2) & 0x0000ffff; in getSImm9AddiuspValue() local 583 return (((Binary & 0x8000) >> 7) | (Binary & 0x00ff)); in getSImm9AddiuspValue()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | OperatorKinds.def | 36 /// Binary: True if the operator can be declared as a binary 50 # define OVERLOADED_OPERATOR(Name,Spelling,Token,Unary,Binary,MemberOnly) 54 # define OVERLOADED_OPERATOR_MULTI(Name,Spelling,Unary,Binary,MemberOnly) \ 55 OVERLOADED_OPERATOR(Name,Spelling,unknown,Unary,Binary,MemberOnly)
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/ |
| H A D | LoongArchMCCodeEmitter.cpp | 243 uint32_t Binary = getBinaryCodeForInstr(TmpInst, Fixups, STI); in expandToVectorLDI() local 244 support::endian::write(CB, Binary, llvm::endianness::little); in expandToVectorLDI() 273 uint32_t Binary = getBinaryCodeForInstr(TmpInst, Fixups, STI); in expandAddTPRel() local 274 support::endian::write(CB, Binary, llvm::endianness::little); in expandAddTPRel()
|