Home
last modified time | relevance | path

Searched refs:getBinary (Results 1 – 25 of 142) sorted by relevance

123456

/external/llvm-project/llvm/lib/XRay/
DInstrumentationMap.cpp61 if ((!ObjFile.getBinary()->isELF() && !ObjFile.getBinary()->isMachO()) || in loadObj()
62 !(ObjFile.getBinary()->getArch() == Triple::x86_64 || in loadObj()
63 ObjFile.getBinary()->getArch() == Triple::ppc64le || in loadObj()
64 ObjFile.getBinary()->getArch() == Triple::arm || in loadObj()
65 ObjFile.getBinary()->getArch() == Triple::aarch64)) in loadObj()
72 const auto &Sections = ObjFile.getBinary()->sections(); in loadObj()
95 if (ObjFile.getBinary()->isELF()) { in loadObj()
110 }(ObjFile.getBinary()); in loadObj()
115 object::getRelocationResolver(*ObjFile.getBinary()); in loadObj()
119 if (ObjFile.getBinary()->getArch() == Triple::arm) { in loadObj()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/XRay/
DInstrumentationMap.cpp61 if ((!ObjFile.getBinary()->isELF() && !ObjFile.getBinary()->isMachO()) || in loadObj()
62 !(ObjFile.getBinary()->getArch() == Triple::x86_64 || in loadObj()
63 ObjFile.getBinary()->getArch() == Triple::ppc64le || in loadObj()
64 ObjFile.getBinary()->getArch() == Triple::aarch64)) in loadObj()
70 const auto &Sections = ObjFile.getBinary()->sections(); in loadObj()
90 if (ObjFile.getBinary()->isELF()) { in loadObj()
102 }(ObjFile.getBinary()); in loadObj()
107 object::getRelocationResolver(*ObjFile.getBinary()); in loadObj()
/external/llvm-project/llvm/tools/llvm-lipo/
Dllvm-lipo.cpp326 const Binary *B = BinaryOrErr->getBinary(); in readInputBinaries()
364 dyn_cast<MachOUniversalBinary>(InputBinaries.front().getBinary())) { in verifyArch()
372 dyn_cast<MachOObjectFile>(InputBinaries.front().getBinary())) { in verifyArch()
439 printBinaryArchs(InputBinaries.front().getBinary(), outs()); in printArchs()
447 const Binary *Binary = IB.getBinary(); in printInfo()
455 const Binary *Binary = IB.getBinary(); in printInfo()
473 if (InputBinaries.front().getBinary()->isMachO()) { in thinSlice()
475 InputBinaries.front().getBinary()->getFileName() + in thinSlice()
480 auto *UO = cast<MachOUniversalBinary>(InputBinaries.front().getBinary()); in thinSlice()
519 auto Entry = CPUIds.try_emplace(S.getCPUID(), S.getBinary()); in checkArchDuplicates()
[all …]
/external/llvm-project/llvm/tools/llvm-profgen/
DPerfReader.cpp49 State.getBinary()->inlineContextEqual(PrevIP, IP.Address); in unwindLinear()
61 uint64_t CallAddr = State.getBinary()->getCallAddrFromFrameAddr(LBR.Target); in unwindReturn()
78 uint64_t StartOffset = State.getBinary()->virtualAddrToOffset(Start); in recordRangeCount()
79 uint64_t EndOffset = State.getBinary()->virtualAddrToOffset(End); in recordRangeCount()
88 uint64_t SourceOffset = State.getBinary()->virtualAddrToOffset(Branch.Source); in recordBranchCount()
89 uint64_t TargetOffset = State.getBinary()->virtualAddrToOffset(Branch.Target); in recordBranchCount()
191 ProfiledBinary *PerfReader::getBinary(uint64_t Address) { in getBinary() function in llvm::sampleprof::PerfReader
319 Binary = getBinary(FrameAddr); in extractCallstack()
379 Sample.Binary = getBinary(Sample.CallStack.front()); in parseHybridSample()
DPerfReader.h155 const ProfiledBinary *getBinary() const { return Binary; } in getBinary() function
240 return State.getBinary()->addressIsCall(State.getCurrentLBRSource()); in isCallState()
246 return State.getBinary()->addressIsReturn(State.getCurrentLBRSource()); in isReturnState()
339 ProfiledBinary *getBinary(uint64_t Address);
/external/llvm/include/llvm/Object/
DBinary.h152 T* getBinary();
153 const T* getBinary() const;
180 template <typename T> T* OwningBinary<T>::getBinary() { in getBinary() function
184 template <typename T> const T* OwningBinary<T>::getBinary() const { in getBinary() function
/external/llvm/unittests/ExecutionEngine/Orc/
DObjectLinkingLayerTest.cpp86 Objs.push_back(OwningObj.getBinary()); in TEST()
149 Obj1Set.push_back(Obj1.getBinary()); in TEST_F()
162 Obj2Set.push_back(Obj2.getBinary()); in TEST_F()
219 Obj1Set.push_back(Obj1.getBinary()); in TEST_F()
233 Obj2Set.push_back(Obj2.getBinary()); in TEST_F()
/external/llvm-project/llvm/include/llvm/Object/
DBinary.h198 T* getBinary();
199 const T* getBinary() const;
226 template <typename T> T* OwningBinary<T>::getBinary() { in getBinary() function
230 template <typename T> const T* OwningBinary<T>::getBinary() const { in getBinary() function
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DBinary.h195 T* getBinary();
196 const T* getBinary() const;
223 template <typename T> T* OwningBinary<T>::getBinary() { in getBinary() function
227 template <typename T> const T* OwningBinary<T>::getBinary() const { in getBinary() function
/external/llvm/lib/Object/
DObject.cpp84 section_iterator SI = OB->getBinary()->section_begin(); in LLVMGetSections()
95 return (*unwrap(SI) == OB->getBinary()->section_end()) ? 1 : 0; in LLVMIsSectionIteratorAtEnd()
118 symbol_iterator SI = OB->getBinary()->symbol_begin(); in LLVMGetSymbols()
129 return (*unwrap(SI) == OB->getBinary()->symbol_end()) ? 1 : 0; in LLVMIsSymbolIteratorAtEnd()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
DRTDyldObjectLinkingLayer.h228 if (this->Parent.NotifyFreed && ObjForNotify.getBinary()) in ~ConcreteLinkedObject()
229 this->Parent.NotifyFreed(K, *ObjForNotify.getBinary()); in ~ConcreteLinkedObject()
245 PFC->RTDyld->loadObject(*PFC->Obj.getBinary()); in finalize()
255 Parent.NotifyLoaded(K, *PFC->Obj.getBinary(), *Info); in finalize()
264 Parent.NotifyFinalized(K, *PFC->Obj.getBinary(), *Info); in finalize()
293 for (auto &Symbol : Obj.getBinary()->symbols()) { in buildInitialSymbolTable()
/external/llvm-project/llvm/lib/ExecutionEngine/
DGDBRegistrationListener.cpp156 if (!DebugObj.getBinary()) in notifyObjectLoaded()
159 const char *Buffer = DebugObj.getBinary()->getMemoryBufferRef().getBufferStart(); in notifyObjectLoaded()
160 size_t Size = DebugObj.getBinary()->getMemoryBufferRef().getBufferSize(); in notifyObjectLoaded()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/
DGDBRegistrationListener.cpp156 if (!DebugObj.getBinary()) in notifyObjectLoaded()
159 const char *Buffer = DebugObj.getBinary()->getMemoryBufferRef().getBufferStart(); in notifyObjectLoaded()
160 size_t Size = DebugObj.getBinary()->getMemoryBufferRef().getBufferSize(); in notifyObjectLoaded()
/external/llvm/lib/ExecutionEngine/
DGDBRegistrationListener.cpp166 if (!DebugObj.getBinary()) in NotifyObjectEmitted()
169 const char *Buffer = DebugObj.getBinary()->getMemoryBufferRef().getBufferStart(); in NotifyObjectEmitted()
170 size_t Size = DebugObj.getBinary()->getMemoryBufferRef().getBufferSize(); in NotifyObjectEmitted()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICUResourceBundleImpl.java70 public ByteBuffer getBinary() { in getBinary() method in ICUResourceBundleImpl.ResourceBinary
71 return wholeBundle.reader.getBinary(resource); in getBinary()
74 public byte [] getBinary(byte []ba) { in getBinary() method in ICUResourceBundleImpl.ResourceBinary
75 return wholeBundle.reader.getBinary(resource, ba); in getBinary()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICUResourceBundleImpl.java69 public ByteBuffer getBinary() { in getBinary() method in ICUResourceBundleImpl.ResourceBinary
70 return wholeBundle.reader.getBinary(resource); in getBinary()
73 public byte [] getBinary(byte []ba) { in getBinary() method in ICUResourceBundleImpl.ResourceBinary
74 return wholeBundle.reader.getBinary(resource, ba); in getBinary()
/external/icu/icu4c/source/tools/ctestfw/unicode/
Ddatamap.h84 virtual const uint8_t *getBinary(int32_t &length, const char *key, UErrorCode &status) const = 0;
128 virtual const uint8_t *getBinary(int32_t &length, const char *key, UErrorCode &status) const;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DObject.cpp200 section_iterator SI = OB->getBinary()->section_begin(); in LLVMGetSections()
211 return (*unwrap(SI) == OB->getBinary()->section_end()) ? 1 : 0; in LLVMIsSectionIteratorAtEnd()
234 symbol_iterator SI = OB->getBinary()->symbol_begin(); in LLVMGetSymbols()
245 return (*unwrap(SI) == OB->getBinary()->symbol_end()) ? 1 : 0; in LLVMIsSymbolIteratorAtEnd()
/external/llvm-project/llvm/lib/Object/
DObject.cpp200 section_iterator SI = OB->getBinary()->section_begin(); in LLVMGetSections()
211 return (*unwrap(SI) == OB->getBinary()->section_end()) ? 1 : 0; in LLVMIsSectionIteratorAtEnd()
234 symbol_iterator SI = OB->getBinary()->symbol_begin(); in LLVMGetSymbols()
245 return (*unwrap(SI) == OB->getBinary()->symbol_end()) ? 1 : 0; in LLVMIsSymbolIteratorAtEnd()
DMachOUniversalWriter.cpp249 Twine(Offset) + " for " + S.getBinary()->getFileName() + in buildFatArchList()
258 FatArch.size = S.getBinary()->getMemoryBufferRef().getBufferSize(); in buildFatArchList()
296 MemoryBufferRef BufferRef = Slices[Index].getBinary()->getMemoryBufferRef(); in writeUniversalBinaryToStream()
310 return sys::fs::can_execute(S.getBinary()->getFileName()); in writeUniversalBinary()
/external/llvm/lib/ExecutionEngine/OProfileJIT/
DOProfileJITEventListener.cpp86 const ObjectFile &DebugObj = *DebugObjOwner.getBinary(); in NotifyObjectEmitted()
125 const ObjectFile &DebugObj = *DebugObjects[Obj.getData().data()].getBinary(); in NotifyFreeingObject()
/external/llvm/include/llvm/ExecutionEngine/Orc/
DIRCompileLayer.h72 if (!Object->getBinary()) { in addModuleSet()
76 Object->getBinary()->getMemoryBufferRef()); in addModuleSet()
/external/llvm-project/llvm/lib/ExecutionEngine/OProfileJIT/
DOProfileJITEventListener.cpp88 const ObjectFile &DebugObj = *DebugObjOwner.getBinary(); in notifyObjectLoaded()
150 const ObjectFile &DebugObj = *DebugObjects[Key].getBinary(); in notifyFreeingObject()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/OProfileJIT/
DOProfileJITEventListener.cpp88 const ObjectFile &DebugObj = *DebugObjOwner.getBinary(); in notifyObjectLoaded()
150 const ObjectFile &DebugObj = *DebugObjects[Key].getBinary(); in notifyFreeingObject()
/external/deqp/external/vulkancts/framework/vulkan/
DvkPrograms.cpp96 if (*(const deUint32*)binary.getBinary() != spirvMagicBytes) in isSaneSpirVBinary()
316 const deUint8* bin = binary->getBinary(); in shadercacheSave()
660 disassembleSpirV(program.getSize()/sizeof(deUint32), (const deUint32*)program.getBinary(), dst, in disassembleProgram()
680 …return validateSpirV(program.getSize()/sizeof(deUint32), (const deUint32*)program.getBinary(), dst… in validateProgram()
698 (const deUint32*)binary.getBinary(), in createShaderModule()
796 …const SpirvBinaryHeader* header = reinterpret_cast<const SpirvBinaryHeader*>(binary.getBinary(… in extractSpirvVersion()

123456