Home
last modified time | relevance | path

Searched refs:insn (Results 1 – 2 of 2) sorted by relevance

/frameworks/compile/mclinker/lib/Target/AArch64/
DAArch64InsnHelpers.h25 static unsigned getBits(InsnType insn, int pos, int l) { in getBits() argument
26 return (insn >> pos) & ((1 << l) - 1); in getBits()
29 static unsigned getRt(InsnType insn) { in getRt() argument
30 return getBits(insn, 0, 5); in getRt()
33 static unsigned getRt2(InsnType insn) { in getRt2() argument
34 return getBits(insn, 10, 5); in getRt2()
37 static unsigned getRa(InsnType insn) { in getRa() argument
38 return getBits(insn, 10, 5); in getRa()
41 static unsigned getRd(InsnType insn) { in getRd() argument
42 return getBits(insn, 0, 5); in getRd()
[all …]
/frameworks/compile/mclinker/lib/Target/Hexagon/
DHexagonRelocator.cpp141 static uint32_t findBitMask(uint32_t insn, in findBitMask() argument
145 if (((insn & 0xc000) == 0) && !(encodings[i].isDuplex)) in findBitMask()
148 if (((insn & 0xc000) != 0) && (encodings[i].isDuplex)) in findBitMask()
151 if (((encodings[i].insnMask) & insn) == encodings[i].insnCmpMask) in findBitMask()