Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Target/X86/MCTargetDesc/
H A DX86InstrRelaxTables.h23 struct X86InstrRelaxTableEntry { struct
27 bool operator<(const X86InstrRelaxTableEntry &RHS) const { argument
30 bool operator==(const X86InstrRelaxTableEntry &RHS) const {
33 friend bool operator<(const X86InstrRelaxTableEntry &TE, unsigned Opcode) {
39 const X86InstrRelaxTableEntry *lookupRelaxTable(unsigned ShortOp);
42 const X86InstrRelaxTableEntry *lookupShortTable(unsigned RelaxOp);
H A DX86InstrRelaxTables.cpp24 static const X86InstrRelaxTableEntry InstrRelaxTable[] = {
94 static const X86InstrRelaxTableEntry *
95 lookupRelaxTableImpl(ArrayRef<X86InstrRelaxTableEntry> Table, in lookupRelaxTableImpl()
110 const X86InstrRelaxTableEntry *Data = llvm::lower_bound(Table, ShortOp); in lookupRelaxTableImpl()
116 const X86InstrRelaxTableEntry *llvm::lookupRelaxTable(unsigned ShortOp) { in lookupRelaxTable()
126 SmallVector<X86InstrRelaxTableEntry, 0> Table;
129 for (const X86InstrRelaxTableEntry &Entry : InstrRelaxTable) in X86ShortFormTable()
141 const X86InstrRelaxTableEntry *llvm::lookupShortTable(unsigned RelaxOp) { in lookupShortTable()
154 if (const X86InstrRelaxTableEntry *I = lookupShortTable(RelaxOp)) in getShortOpcodeArith()
161 if (const X86InstrRelaxTableEntry *I = lookupRelaxTable(ShortOp)) in getRelaxedOpcodeArith()