/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/CSKY/MCTargetDesc/ |
H A D | CSKYMCCodeEmitter.cpp | 74 uint32_t Binary; in expandJBTF() 80 Binary = getBinaryCodeForInstr(TmpInst, Fixups, STI); in expandJBTF() 81 writeData(Binary, 2, CB); in expandJBTF() 89 Binary = getBinaryCodeForInstr(TmpInst, Fixups, STI); in expandJBTF() 91 writeData(Binary, 4, CB); in expandJBTF() 99 uint32_t Binary; in expandNEG() 105 Binary = getBinaryCodeForInstr(TmpInst, Fixups, STI); in expandNEG() 106 writeData(Binary, Size, CB); in expandNEG() 112 Binary = getBinaryCodeForInstr(TmpInst, Fixups, STI); in expandNEG() 113 writeData(Binary, Siz in expandNEG() 76 uint32_t Binary; expandJBTF() local 101 uint32_t Binary; expandNEG() local 123 uint32_t Binary; expandRSUBI() local 283 unsigned Binary = ((Reg1 & 0x1f) << 5) | (Reg2 - Reg1); getRegisterSeqOpValue() local [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/ |
H A D | WebAssemblyMCCodeEmitter.cpp | 69 uint64_t Binary = getBinaryCodeForInstr(MI, Fixups, STI); in encodeInstruction() local 70 if (Binary < (1 << 8)) { in encodeInstruction() 71 OS << uint8_t(Binary); in encodeInstruction() 72 } else if (Binary < (1 << 16)) { in encodeInstruction() 73 OS << uint8_t(Binary >> 8); in encodeInstruction() 74 encodeULEB128(uint8_t(Binary), OS); in encodeInstruction() 75 } else if (Binary < (1 << 24)) { in encodeInstruction() 76 OS << uint8_t(Binary >> 16); in encodeInstruction() 77 encodeULEB128(uint16_t(Binary), OS); in encodeInstruction()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMMCCodeEmitter.cpp | 1009 uint32_t Binary = Imm12 & 0xfff; in getAddrModeImm12OpValue() 1012 Binary |= (1 << 12); in getAddrModeImm12OpValue() 1013 Binary |= (Reg << 13); in getAddrModeImm12OpValue() 1014 return Binary; in getAddrModeImm12OpValue() 1040 uint32_t Binary = Imm & ((1U << Bits) - 1); in getT2ScaledImmOpValue() 1043 Binary |= (1U << Bits); in getT2ScaledImmOpValue() 1044 return Binary; in getT2ScaledImmOpValue() 1132 uint32_t Binary = (Imm8 >> 2) & 0xff; in getT2AddrModeImm8s4OpValue() 1135 Binary |= (1 << 8); in getT2AddrModeImm8s4OpValue() 1136 Binary | in getT2AddrModeImm8s4OpValue() 1020 uint32_t Binary = Imm12 & 0xfff; getAddrModeImm12OpValue() local 1051 uint32_t Binary = Imm & ((1U << Bits) - 1); getT2ScaledImmOpValue() local 1143 uint32_t Binary = (Imm8 >> 2) & 0xff; getT2AddrModeImm8s4OpValue() local 1170 uint32_t Binary = (Imm7 >> 2) & 0xff; getT2AddrModeImm7s4OpValue() local 1305 uint32_t Binary = Rm; getLdStSORegOpValue() local 1326 uint32_t Binary = ARM_AM::getAM2Offset(Imm); getAddrMode2OffsetOpValue() local 1479 uint32_t Binary = ARM_AM::getAM5Offset(Imm8); getAddrMode5OpValue() local 1519 uint32_t Binary = ARM_AM::getAM5Offset(Imm8); getAddrMode5FP16OpValue() local 1547 unsigned Binary = CTX.getRegisterInfo()->getEncodingValue(MO.getReg()); getSORegRegOpValue() local 1592 unsigned Binary = CTX.getRegisterInfo()->getEncodingValue(MO.getReg()); getSORegImmOpValue() local 1701 unsigned Binary = CTX.getRegisterInfo()->getEncodingValue(MO.getReg()); getT2SORegOpValue() local 1755 unsigned Binary = 0; getRegisterListOpValue() local 1913 uint32_t Binary = getBinaryCodeForInstr(MI, Fixups, STI); encodeInstruction() local [all...] |
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
H A D | Binary.h | 32 class Binary { 39 Binary(unsigned int Type, MemoryBufferRef Source); 93 Binary() = delete; 94 Binary(const Binary &other) = delete; 95 virtual ~Binary(); 187 DEFINE_ISA_CONVERSION_FUNCTIONS(Binary, LLVMBinaryRef) 192 Expected<std::unique_ptr<Binary>> createBinary(MemoryBufferRef Source, 244 Expected<OwningBinary<Binary>> createBinary(StringRef Path,
|
H A D | OffloadBinary.h | 23 #include "llvm/Object/Binary.h" 61 class OffloadBinary : public Binary { 105 static bool classof(const Binary *V) { return V->isOffloadFile(); } 133 : Binary(Binary::ID_Offload, Source), Buffer(Source.getBufferStart()), in OffloadBinary() 161 OffloadFile(std::unique_ptr<OffloadBinary> Binary, in OffloadFile() 163 : OwningBinary<OffloadBinary>(std::move(Binary), std::move(Buffer)) {} 160 OffloadFile(std::unique_ptr<OffloadBinary> Binary,std::unique_ptr<MemoryBuffer> Buffer) OffloadFile() argument
|
H A D | MachOUniversalWriter.h | 30 class Binary; variable 35 const Binary *B; 66 const Binary *getBinary() const { return B; } in getBinary()
|
H A D | Minidump.h | 23 class MinidumpFile : public Binary { 30 static bool classof(const Binary *B) { return B->isMinidump(); } in classof() 168 : Binary(ID_Minidump, Source), Header(Header), Streams(Streams), in MinidumpFile()
|
/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()
|
H A D | OffloadEmitter.cpp | 21 bool yaml2offload(Binary &Doc, raw_ostream &Out, ErrorHandler EH) { in yaml2offload() 41 std::unique_ptr<MemoryBuffer> Binary = object::OffloadBinary::write(Image); yaml2offload() local
|
/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() 62 const auto Binary = Option.Binary; in process() local 65 const bool SkipBinary = Binary == 0; in process() 73 std::max((int)Option.BinaryMinDigits, Binary + 1); in process() 108 const bool IsBase2 = B == Base::Binary; in process() 140 DigitsPerGroup = Binary; in process()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/ |
H A D | RISCVMCCodeEmitter.cpp | 143 uint32_t Binary; in expandFunctionCall() local 151 Binary = getBinaryCodeForInstr(TmpInst, Fixups, STI); in expandFunctionCall() 152 support::endian::write(CB, Binary, llvm::endianness::little); in expandFunctionCall() 161 Binary = getBinaryCodeForInstr(TmpInst, Fixups, STI); in expandFunctionCall() 162 support::endian::write(CB, Binary, llvm::endianness::little); in expandFunctionCall() 181 uint32_t Binary = getBinaryCodeForInstr(Call, Fixups, STI); in expandTLSDESCCall() local 182 support::endian::write(CB, Binary, llvm::endianness::little); in expandTLSDESCCall() 220 uint32_t Binary = getBinaryCodeForInstr(TmpInst, Fixups, STI); in expandAddTPRel() local 221 support::endian::write(CB, Binary, llvm::endianness::little); in expandAddTPRel() 274 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 | 121 case FileFormat::Binary: in executeObjcopyOnRawBinary() 148 OwningBinary<llvm::object::Binary> BinaryHolder; in executeObjcopy() 151 if (Config.InputFormat == FileFormat::Binary || in executeObjcopy() 159 if (Config.InputFormat == FileFormat::Binary) in executeObjcopy() 171 Expected<OwningBinary<llvm::object::Binary>> BinaryOrErr = in executeObjcopy()
|
/freebsd/contrib/googletest/googlemock/test/ |
H A D | gmock-spec-builders_test.cc | 107 MOCK_METHOD2(Binary, bool(int x, int y)); 944 ON_CALL(a, Binary(_, _)).WillByDefault(Return(true)); in TEST() 945 EXPECT_TRUE(a.Binary(1, 2)); in TEST() 958 ON_CALL(a, Binary(_, _)).WillByDefault(Return(true)); in TEST() 959 EXPECT_CALL(a, Binary(0, 0)); in TEST() 960 a.Binary(0, 0); in TEST() 962 EXPECT_NONFATAL_FAILURE(result = a.Binary(1, 2), in TEST() 1134 ON_CALL(a, Binary(_, _)).WillByDefault(Return(true)); in TEST() 1135 EXPECT_CALL(a, Binary(0, 0)); in TEST() 1136 a.Binary(0, 0); in TEST() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjCopy/ |
H A D | ObjCopy.h | 19 class Binary; variable 37 object::Binary &In, raw_ostream &Out);
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-tli-checker/ |
H A D | llvm-tli-checker.cpp | 202 Expected<std::unique_ptr<object::Binary>> ChildOrErr = C.getAsBinary(); 235 OwningBinary<Binary> OBinary = std::move(*ExpectedBinary); in populateFromFile() 236 Binary &Binary = *OBinary.getBinary(); in populateFromFile() 238 if (Archive *A = dyn_cast<Archive>(&Binary)) in populateFromFile() 240 else if (ObjectFile *O = dyn_cast<ObjectFile>(&Binary)) in populateFromFile() 243 Binary &Binary = *OBinary.getBinary(); populateFromFile() local
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/ |
H A D | LVReaderHandler.cpp | 191 Expected<std::unique_ptr<Binary>> BinOrErr = createBinary(Buffer); in handleBuffer() 244 Binary &Binary) { in handleObject() argument 245 if (PdbOrObj Input = dyn_cast<ObjectFile>(&Binary)) in handleObject() 249 if (MachOUniversalBinary *Fat = dyn_cast<MachOUniversalBinary>(&Binary)) in handleObject() 252 if (Archive *Arch = dyn_cast<Archive>(&Binary)) in handleObject()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
H A D | MemProfReader.h | 187 RawMemProfReader(object::OwningBinary<object::Binary> &&Bin, bool KeepName) in RawMemProfReader() 188 : Binary(std::move(Bin)), KeepSymbolName(KeepName) {} in RawMemProfReader() 212 object::OwningBinary<object::Binary> Binary; variable
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/Symbolize/ |
H A D | Symbolize.h | 20 #include "llvm/Object/Binary.h" 235 CachedBinary(OwningBinary<Binary> Bin) : Bin(std::move(Bin)) {} in evict() 237 OwningBinary<Binary> &operator*() { return Bin; } in evict() 238 OwningBinary<Binary> *operator->() { return &Bin; } in evict() 254 OwningBinary<Binary> Bin;
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/ |
H A D | HexagonMCCodeEmitter.cpp | 403 uint64_t Binary; in encodeSingleInstruction() local 412 Binary = getBinaryCodeForInstr(MI, Fixups, STI); in encodeSingleInstruction() 417 if (!Binary && Opc != DuplexIClass0 && Opc != A4_ext) { in encodeSingleInstruction() 422 Binary |= Parse; in encodeSingleInstruction() 432 Binary = ((DupIClass & 0xE) << (29 - 1)) | ((DupIClass & 0x1) << 13); in encodeSingleInstruction() 444 Binary |= SubBits0 | (SubBits1 << 16); in encodeSingleInstruction() 446 support::endian::write<uint32_t>(CB, Binary, llvm::endianness::little); in encodeSingleInstruction() 606 ME->getKind() == MCExpr::Binary); in getExprOpValue() 607 if (ME->getKind() == MCExpr::Binary) { in getExprOpValue() 608 MCBinaryExpr const *Binary in getExprOpValue() local [all...] |
/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/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)
|