13#ifndef LLVM_TARGET_HEXAGON_HEXAGONRELOCATION_H
14#define LLVM_TARGET_HEXAGON_HEXAGONRELOCATION_H
LLVM_ABI bool LLVMHexagonVerifyAlignment(uint32_t RelocType, uint32_t Value)
Return true if Value satisfies the alignment required by RelocType.
LLVM_ABI bool LLVMHexagonIsTruncated(uint32_t RelocType, uint32_t Value)
Return true if applying the unsigned relocation RelocType to Value would lose set bits.
LLVM_ABI uint32_t LLVMHexagonApplyRelocation(uint32_t RelocType, uint32_t Instruction, uint32_t Value)
Apply the ELF relocation RelocType with value Value to Instruction.
LLVM_ABI bool LLVMHexagonVerifyRange(uint32_t RelocType, uint32_t Value)
Return true if Value fits the range the ABI specifies for RelocType.
LLVM_ABI bool LLVMHexagonGetRelocationInfo(uint32_t RelocType, LLVMHexagonRelocInfo *Info)
Fill Info with the properties of RelocType.
ABI properties of a Hexagon ELF relocation type, as listed in the Hexagon ABI document.
uint32_t BitMask
0 if the mask depends on the instruction encoding.